Changeset View
Changeset View
Standalone View
Standalone View
etc/Makefile
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
.elif exists(${.CURDIR}/etc.${MACHINE_ARCH}/ttys) | .elif exists(${.CURDIR}/etc.${MACHINE_ARCH}/ttys) | ||||
BIN1+= etc.${MACHINE_ARCH}/ttys | BIN1+= etc.${MACHINE_ARCH}/ttys | ||||
.elif exists(${.CURDIR}/etc.${MACHINE_CPUARCH}/ttys) | .elif exists(${.CURDIR}/etc.${MACHINE_CPUARCH}/ttys) | ||||
BIN1+= etc.${MACHINE_CPUARCH}/ttys | BIN1+= etc.${MACHINE_CPUARCH}/ttys | ||||
.else | .else | ||||
.error etc.MACHINE/ttys missing | .error etc.MACHINE/ttys missing | ||||
.endif | .endif | ||||
OPENBSMDIR= ${.CURDIR}/../contrib/openbsm | OPENBSMDIR= ${SRCTOP}/contrib/openbsm | ||||
BSM_ETC_OPEN_FILES= ${OPENBSMDIR}/etc/audit_class \ | BSM_ETC_OPEN_FILES= ${OPENBSMDIR}/etc/audit_class \ | ||||
${OPENBSMDIR}/etc/audit_event | ${OPENBSMDIR}/etc/audit_event | ||||
BSM_ETC_RESTRICTED_FILES= ${OPENBSMDIR}/etc/audit_control \ | BSM_ETC_RESTRICTED_FILES= ${OPENBSMDIR}/etc/audit_control \ | ||||
${OPENBSMDIR}/etc/audit_user | ${OPENBSMDIR}/etc/audit_user | ||||
BSM_ETC_EXEC_FILES= ${OPENBSMDIR}/etc/audit_warn | BSM_ETC_EXEC_FILES= ${OPENBSMDIR}/etc/audit_warn | ||||
BSM_ETC_DIR= ${DESTDIR}/etc/security | BSM_ETC_DIR= ${DESTDIR}/etc/security | ||||
# NB: keep these sorted by MK_* knobs | # NB: keep these sorted by MK_* knobs | ||||
Show All 22 Lines | |||||
BIN1+= ftpusers | BIN1+= ftpusers | ||||
.endif | .endif | ||||
.if ${MK_INETD} != "no" | .if ${MK_INETD} != "no" | ||||
BIN1+= inetd.conf | BIN1+= inetd.conf | ||||
.endif | .endif | ||||
.if ${MK_LOCATE} != "no" | .if ${MK_LOCATE} != "no" | ||||
BIN1+= ${.CURDIR}/../usr.bin/locate/locate/locate.rc | BIN1+= ${SRCTOP}/usr.bin/locate/locate/locate.rc | ||||
.endif | .endif | ||||
.if ${MK_LPR} != "no" | .if ${MK_LPR} != "no" | ||||
BIN1+= hosts.lpd printcap | BIN1+= hosts.lpd printcap | ||||
.endif | .endif | ||||
.if ${MK_MAIL} != "no" | .if ${MK_MAIL} != "no" | ||||
BIN1+= ${.CURDIR}/../usr.bin/mail/misc/mail.rc | BIN1+= ${SRCTOP}/usr.bin/mail/misc/mail.rc | ||||
.endif | .endif | ||||
.if ${MK_NTP} != "no" | .if ${MK_NTP} != "no" | ||||
BIN1+= ntp.conf | BIN1+= ntp.conf | ||||
.endif | .endif | ||||
.if ${MK_OPENSSH} != "no" | .if ${MK_OPENSSH} != "no" | ||||
SSH= ${.CURDIR}/../crypto/openssh/ssh_config \ | SSH= ${SRCTOP}/crypto/openssh/ssh_config \ | ||||
${.CURDIR}/../crypto/openssh/sshd_config \ | ${SRCTOP}/crypto/openssh/sshd_config \ | ||||
${.CURDIR}/../crypto/openssh/moduli | ${SRCTOP}/crypto/openssh/moduli | ||||
.endif | .endif | ||||
.if ${MK_OPENSSL} != "no" | .if ${MK_OPENSSL} != "no" | ||||
SSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf | SSL= ${SRCTOP}/crypto/openssl/apps/openssl.cnf | ||||
.endif | .endif | ||||
.if ${MK_NS_CACHING} != "no" | .if ${MK_NS_CACHING} != "no" | ||||
BIN1+= nscd.conf | BIN1+= nscd.conf | ||||
.endif | .endif | ||||
.if ${MK_PORTSNAP} != "no" | .if ${MK_PORTSNAP} != "no" | ||||
BIN1+= portsnap.conf | BIN1+= portsnap.conf | ||||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
# Special top level files for FreeBSD | # Special top level files for FreeBSD | ||||
FREEBSD=COPYRIGHT | FREEBSD=COPYRIGHT | ||||
# Sanitize DESTDIR | # Sanitize DESTDIR | ||||
DESTDIR:= ${DESTDIR:C://*:/:g} | DESTDIR:= ${DESTDIR:C://*:/:g} | ||||
afterinstall: | afterinstall: | ||||
.if ${MK_MAN} != "no" | .if ${MK_MAN} != "no" | ||||
${_+_}cd ${.CURDIR}/../share/man; ${MAKE} makedb | ${_+_}cd ${SRCTOP}/share/man; ${MAKE} makedb | ||||
.endif | .endif | ||||
distribute: | distribute: | ||||
# Avoid installing tests here; "make distribution" will do this and | # Avoid installing tests here; "make distribution" will do this and | ||||
# correctly place them in the right location. | # correctly place them in the right location. | ||||
${_+_}cd ${.CURDIR} ; ${MAKE} MK_TESTS=no install \ | ${_+_}cd ${.CURDIR} ; ${MAKE} MK_TESTS=no install \ | ||||
DESTDIR=${DISTDIR}/${DISTRIBUTION} | DESTDIR=${DISTDIR}/${DISTRIBUTION} | ||||
${_+_}cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/${DISTRIBUTION} | ${_+_}cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/${DISTRIBUTION} | ||||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
.if ${MK_NTP} != "no" | .if ${MK_NTP} != "no" | ||||
${_+_}cd ${.CURDIR}/ntp; ${MAKE} install | ${_+_}cd ${.CURDIR}/ntp; ${MAKE} install | ||||
.endif | .endif | ||||
${_+_}cd ${.CURDIR}/periodic; ${MAKE} install | ${_+_}cd ${.CURDIR}/periodic; ${MAKE} install | ||||
.if ${MK_PKGBOOTSTRAP} != "no" | .if ${MK_PKGBOOTSTRAP} != "no" | ||||
${_+_}cd ${.CURDIR}/pkg; ${MAKE} install | ${_+_}cd ${.CURDIR}/pkg; ${MAKE} install | ||||
.endif | .endif | ||||
${_+_}cd ${.CURDIR}/rc.d; ${MAKE} install | ${_+_}cd ${.CURDIR}/rc.d; ${MAKE} install | ||||
${_+_}cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap | ${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap | ||||
${_+_}cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt | ${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt | ||||
${_+_}cd ${.CURDIR}/pam.d; ${MAKE} install | ${_+_}cd ${.CURDIR}/pam.d; ${MAKE} install | ||||
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0444 \ | cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0444 \ | ||||
${BSM_ETC_OPEN_FILES} ${BSM_ETC_DIR} | ${BSM_ETC_OPEN_FILES} ${BSM_ETC_DIR} | ||||
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0600 \ | cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0600 \ | ||||
${BSM_ETC_RESTRICTED_FILES} ${BSM_ETC_DIR} | ${BSM_ETC_RESTRICTED_FILES} ${BSM_ETC_DIR} | ||||
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0500 \ | cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0500 \ | ||||
${BSM_ETC_EXEC_FILES} ${BSM_ETC_DIR} | ${BSM_ETC_EXEC_FILES} ${BSM_ETC_DIR} | ||||
.if ${MK_UNBOUND} != "no" | .if ${MK_UNBOUND} != "no" | ||||
▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | .if ${MK_LOCATE} != "no" | ||||
${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \ | ${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \ | ||||
${DESTDIR}/var/db/locate.database | ${DESTDIR}/var/db/locate.database | ||||
.endif | .endif | ||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \ | ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \ | ||||
${DESTDIR}/var/crash | ${DESTDIR}/var/crash | ||||
cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ | cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ | ||||
${FREEBSD} ${DESTDIR}/ | ${FREEBSD} ${DESTDIR}/ | ||||
.if ${MK_BOOT} != "no" | .if ${MK_BOOT} != "no" | ||||
.if exists(${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints) | .if exists(${SRCTOP}/sys/${MACHINE}/conf/GENERIC.hints) | ||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ | ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ | ||||
${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints \ | ${SRCTOP}/sys/${MACHINE}/conf/GENERIC.hints \ | ||||
${DESTDIR}/boot/device.hints | ${DESTDIR}/boot/device.hints | ||||
.endif | .endif | ||||
.endif | .endif | ||||
.if ${MK_NIS} == "no" | .if ${MK_NIS} == "no" | ||||
sed -i "" -e 's/.*_compat:/# &/' -e 's/compat$$/files/' \ | sed -i "" -e 's/.*_compat:/# &/' -e 's/compat$$/files/' \ | ||||
${DESTDIR}/etc/nsswitch.conf | ${DESTDIR}/etc/nsswitch.conf | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |