Changeset View
Changeset View
Standalone View
Standalone View
etc/Makefile
Show All 27 Lines | BIN1= crontab \ | ||||
login.access \ | login.access \ | ||||
login.conf \ | login.conf \ | ||||
mac.conf \ | mac.conf \ | ||||
motd \ | motd \ | ||||
netconfig \ | netconfig \ | ||||
networks \ | networks \ | ||||
nsswitch.conf \ | nsswitch.conf \ | ||||
phones \ | phones \ | ||||
profile \ | |||||
protocols \ | protocols \ | ||||
rc.bsdextended \ | rc.bsdextended \ | ||||
rc.firewall \ | rc.firewall \ | ||||
remote \ | remote \ | ||||
rpc \ | rpc \ | ||||
services \ | services \ | ||||
syslog.conf \ | syslog.conf \ | ||||
termcap.small | termcap.small | ||||
Show All 38 Lines | |||||
.if ${MK_OPENSSL} != "no" | .if ${MK_OPENSSL} != "no" | ||||
SSL= ${SRCTOP}/crypto/openssl/apps/openssl.cnf | SSL= ${SRCTOP}/crypto/openssl/apps/openssl.cnf | ||||
.endif | .endif | ||||
.if ${MK_SENDMAIL} != "no" | .if ${MK_SENDMAIL} != "no" | ||||
BIN1+= rc.sendmail | BIN1+= rc.sendmail | ||||
.endif | .endif | ||||
.if ${MK_TCSH} != "no" | |||||
BIN1+= csh.cshrc csh.login csh.logout | |||||
.endif | |||||
.if ${MK_WIRELESS} != "no" | .if ${MK_WIRELESS} != "no" | ||||
BIN1+= regdomain.xml | BIN1+= regdomain.xml | ||||
.endif | .endif | ||||
.if ${MK_SENDMAIL} == "no" | .if ${MK_SENDMAIL} == "no" | ||||
ETCMAIL=mailer.conf aliases | ETCMAIL=mailer.conf aliases | ||||
.else | .else | ||||
ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \ | ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \ | ||||
Show All 37 Lines | cd ${.CURDIR}; \ | ||||
master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; | master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; | ||||
.if ${MK_SERVICESDB} != "no" | .if ${MK_SERVICESDB} != "no" | ||||
cd ${.CURDIR}; \ | cd ${.CURDIR}; \ | ||||
services_mkdb ${CAP_MKDB_ENDIAN} -q -o ${DESTDIR}/var/db/services.db \ | services_mkdb ${CAP_MKDB_ENDIAN} -q -o ${DESTDIR}/var/db/services.db \ | ||||
${DESTDIR}/etc/services; | ${DESTDIR}/etc/services; | ||||
.endif | .endif | ||||
.if ${MK_TCSH} == "no" | |||||
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd | |||||
.endif | |||||
pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd | |||||
.if defined(NO_ROOT) | .if defined(NO_ROOT) | ||||
( \ | ( \ | ||||
echo "./etc/login.conf.db type=file mode=0644 uname=root gname=wheel"; \ | echo "./etc/login.conf.db type=file mode=0644 uname=root gname=wheel"; \ | ||||
echo "./etc/passwd type=file mode=0644 uname=root gname=wheel"; \ | echo "./etc/passwd type=file mode=0644 uname=root gname=wheel"; \ | ||||
echo "./etc/pwd.db type=file mode=0644 uname=root gname=wheel"; \ | echo "./etc/pwd.db type=file mode=0644 uname=root gname=wheel"; \ | ||||
echo "./etc/spwd.db type=file mode=0600 uname=root gname=wheel"; \ | echo "./etc/spwd.db type=file mode=0600 uname=root gname=wheel"; \ | ||||
echo "./var/db/services.db type=file mode=0644 uname=root gname=wheel"; \ | echo "./var/db/services.db type=file mode=0644 uname=root gname=wheel"; \ | ||||
) | ${METALOG.add} | ) | ${METALOG.add} | ||||
Show All 25 Lines | .if ${MK_OPENSSL} != "no" | ||||
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | ||||
${SSL} ${DESTDIR}/etc/ssl | ${SSL} ${DESTDIR}/etc/ssl | ||||
.endif | .endif | ||||
.if ${MK_KERBEROS} != "no" | .if ${MK_KERBEROS} != "no" | ||||
cd ${.CURDIR}/root; \ | cd ${.CURDIR}/root; \ | ||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | ||||
dot.k5login ${DESTDIR}/root/.k5login; | dot.k5login ${DESTDIR}/root/.k5login; | ||||
.endif | .endif | ||||
cd ${.CURDIR}/root; \ | |||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | |||||
dot.profile ${DESTDIR}/root/.profile; \ | |||||
rm -f ${DESTDIR}/.profile; \ | |||||
${INSTALL_LINK} ${DESTDIR}/root/.profile ${DESTDIR}/.profile | |||||
.if ${MK_TCSH} != "no" | |||||
cd ${.CURDIR}/root; \ | |||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | |||||
dot.cshrc ${DESTDIR}/root/.cshrc; \ | |||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | |||||
dot.login ${DESTDIR}/root/.login; \ | |||||
rm -f ${DESTDIR}/.cshrc; \ | |||||
${INSTALL_LINK} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc | |||||
.endif | |||||
.if ${MK_MAIL} != "no" | .if ${MK_MAIL} != "no" | ||||
cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | ||||
${ETCMAIL} ${DESTDIR}/etc/mail | ${ETCMAIL} ${DESTDIR}/etc/mail | ||||
if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \ | if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \ | ||||
! -f ${DESTDIR}/etc/aliases ]; then \ | ! -f ${DESTDIR}/etc/aliases ]; then \ | ||||
${INSTALL_SYMLINK} mail/aliases ${DESTDIR}/etc/aliases; \ | ${INSTALL_SYMLINK} mail/aliases ${DESTDIR}/etc/aliases; \ | ||||
fi | fi | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |