1994-02-21 16:53:20 -05:00
|
|
|
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
|
1999-08-27 19:37:10 -04:00
|
|
|
# $FreeBSD$
|
1998-08-04 11:54:27 -04:00
|
|
|
|
2006-03-17 13:54:44 -05:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
|
|
.if ${MK_SENDMAIL} != "no"
|
1998-08-04 11:54:27 -04:00
|
|
|
SUBDIR= sendmail
|
2001-02-28 22:51:18 -05:00
|
|
|
.endif
|
1993-06-20 09:41:45 -04:00
|
|
|
|
2008-09-21 18:02:26 -04:00
|
|
|
BIN1= auth.conf \
|
2008-10-27 12:13:28 -04:00
|
|
|
crontab devd.conf devfs.conf \
|
2008-09-21 18:02:26 -04:00
|
|
|
ddb.conf dhclient.conf disktab fbtab \
|
2006-08-31 05:51:34 -04:00
|
|
|
ftpusers gettytab group \
|
2008-09-21 18:02:26 -04:00
|
|
|
hosts hosts.allow hosts.equiv \
|
Summer of Code 2005: improve libalias - part 1 of 2
With the first part of my previous Summer of Code work, we get:
-made libalias modular:
-support for 'particular' protocols (like ftp/irc/etcetc) is no more
hardcoded inside libalias, but it's available through external
modules loadable at runtime
-modules are available both in kernel (/boot/kernel/alias_*.ko) and
user land (/lib/libalias_*)
-protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp,
skinny and smedia
-added logging support for kernel side
-cleanup
After a buildworld, do a 'mergemaster -i' to install the file libalias.conf
in /etc or manually copy it.
During startup (and after every HUP signal) user land applications running
the new libalias will try to read a file in /etc called libalias.conf:
that file contains the list of modules to load.
User land applications affected by this commit are ppp and natd:
if libalias.conf is present in /etc you won't notice any difference.
The only kernel land bit affected by this commit is ng_nat:
if you are using ng_nat, and it doesn't correctly handle
ftp/irc/etcetc sessions anymore, remember to kldload
the correspondent module (i.e. kldload alias_ftp).
General information and details about the inner working are available
in the libalias man page under the section 'MODULAR ARCHITECTURE
(AND ipfw(4) SUPPORT)'.
NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat
support will be part of the next libalias-related commit.
Approved by: glebius
Reviewed by: glebius, ru
2006-09-26 19:26:53 -04:00
|
|
|
inetd.conf libalias.conf login.access login.conf mac.conf motd \
|
2006-05-03 11:14:47 -04:00
|
|
|
netconfig network.subr networks newsyslog.conf nsswitch.conf \
|
2008-09-21 18:02:26 -04:00
|
|
|
phones profile protocols \
|
2005-04-29 19:02:56 -04:00
|
|
|
rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless \
|
|
|
|
|
rc.sendmail rc.shutdown \
|
2008-09-21 18:02:26 -04:00
|
|
|
rc.subr remote rpc services shells \
|
|
|
|
|
sysctl.conf syslog.conf \
|
|
|
|
|
etc.${MACHINE_ARCH}/ttys
|
2006-02-02 05:03:43 -05:00
|
|
|
|
|
|
|
|
OPENBSMDIR= ${.CURDIR}/../contrib/openbsm
|
|
|
|
|
BSM_ETC_OPEN_FILES= ${OPENBSMDIR}/etc/audit_class \
|
|
|
|
|
${OPENBSMDIR}/etc/audit_event
|
|
|
|
|
BSM_ETC_RESTRICTED_FILES= ${OPENBSMDIR}/etc/audit_control \
|
|
|
|
|
${OPENBSMDIR}/etc/audit_user
|
|
|
|
|
BSM_ETC_EXEC_FILES= ${OPENBSMDIR}/etc/audit_warn
|
|
|
|
|
BSM_ETC_DIR= ${DESTDIR}/etc/security
|
|
|
|
|
|
2008-09-21 18:02:26 -04:00
|
|
|
# NB: keep these sorted by MK_* knobs
|
|
|
|
|
|
|
|
|
|
.if ${MK_AMD} != "no"
|
|
|
|
|
BIN1+= amd.map
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.if ${MK_APM} != "no"
|
|
|
|
|
BIN1+= apmd.conf
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.if ${MK_BSNMP} != "no"
|
|
|
|
|
BIN1+= snmpd.config
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.if ${MK_FREEBSD_UPDATE} != "no"
|
|
|
|
|
BIN1+= freebsd-update.conf
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.if ${MK_LOCATE} != "no"
|
|
|
|
|
BIN1+= ${.CURDIR}/../usr.bin/locate/locate/locate.rc
|
|
|
|
|
.endif
|
|
|
|
|
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_LPR} != "no"
|
2008-09-21 18:02:26 -04:00
|
|
|
BIN1+= hosts.lpd printcap
|
2003-11-02 17:13:36 -05:00
|
|
|
.endif
|
1993-06-20 09:41:45 -04:00
|
|
|
|
2008-09-21 18:02:26 -04:00
|
|
|
.if ${MK_MAIL} != "no"
|
|
|
|
|
BIN1+= ${.CURDIR}/../usr.bin/mail/misc/mail.rc
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.if ${MK_MAN} != "no"
|
|
|
|
|
BIN1+= ${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config
|
2006-04-28 08:03:38 -04:00
|
|
|
.endif
|
|
|
|
|
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_OPENSSH} != "no"
|
2000-02-25 09:27:33 -05:00
|
|
|
SSH= ${.CURDIR}/../crypto/openssh/ssh_config \
|
2001-03-26 22:58:12 -05:00
|
|
|
${.CURDIR}/../crypto/openssh/sshd_config \
|
2004-01-07 06:55:44 -05:00
|
|
|
${.CURDIR}/../crypto/openssh/moduli
|
2000-02-24 18:12:04 -05:00
|
|
|
.endif
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_OPENSSL} != "no"
|
2000-05-18 01:21:50 -04:00
|
|
|
SSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf
|
|
|
|
|
.endif
|
|
|
|
|
|
2008-09-21 18:02:26 -04:00
|
|
|
.if ${MK_NS_CACHING} != "no"
|
|
|
|
|
BIN1+= nscd.conf
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.if ${MK_PORTSNAP} != "no"
|
|
|
|
|
BIN1+= portsnap.conf
|
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
|
.if ${MK_PF} != "no"
|
|
|
|
|
BIN1+= pf.os
|
|
|
|
|
.endif
|
|
|
|
|
|
2008-10-27 12:13:28 -04:00
|
|
|
.if ${MK_TCSH} != "no"
|
|
|
|
|
BIN1+= csh.cshrc csh.login csh.logout
|
|
|
|
|
.endif
|
|
|
|
|
|
2008-09-22 11:37:47 -04:00
|
|
|
.if ${MK_WIRELESS} != "no"
|
|
|
|
|
BIN1+= regdomain.xml
|
|
|
|
|
.endif
|
|
|
|
|
|
2001-08-29 15:59:30 -04:00
|
|
|
# -rwxr-xr-x root:wheel, for the new cron root:wheel
|
2002-12-17 16:23:36 -05:00
|
|
|
BIN2= netstart pccard_ether rc.suspend rc.resume
|
1993-07-19 14:54:09 -04:00
|
|
|
|
1997-07-17 23:49:47 -04:00
|
|
|
MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \
|
2000-08-28 16:22:25 -04:00
|
|
|
BSD.var.dist BSD.x11.dist BSD.x11-4.dist
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_SENDMAIL} != "no"
|
2002-04-20 15:00:11 -04:00
|
|
|
MTREE+= BSD.sendmail.dist
|
|
|
|
|
.endif
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_BIND} != "no"
|
2004-09-27 04:23:43 -04:00
|
|
|
MTREE+= BIND.chroot.dist
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_BIND_LIBS} != "no"
|
2004-09-27 04:23:43 -04:00
|
|
|
MTREE+= BIND.include.dist
|
|
|
|
|
.endif
|
|
|
|
|
.endif
|
2002-07-05 09:39:38 -04:00
|
|
|
|
|
|
|
|
PPPCNF= ppp.conf
|
|
|
|
|
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_SENDMAIL} == "no"
|
2003-07-06 15:23:31 -04:00
|
|
|
ETCMAIL=mailer.conf aliases
|
|
|
|
|
.else
|
2000-08-13 05:01:12 -04:00
|
|
|
ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
|
|
|
|
|
mailertable.sample aliases
|
2003-07-06 15:23:31 -04:00
|
|
|
.endif
|
1993-06-20 09:41:45 -04:00
|
|
|
|
1993-08-09 13:02:17 -04:00
|
|
|
# Special top level files for FreeBSD
|
2002-07-05 09:17:24 -04:00
|
|
|
FREEBSD=COPYRIGHT
|
1993-08-27 23:33:06 -04:00
|
|
|
|
2004-01-22 03:18:37 -05:00
|
|
|
afterinstall:
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_MAN} != "no"
|
2007-10-29 03:37:08 -04:00
|
|
|
${_+_}cd ${.CURDIR}/../share/man; ${MAKE} makedb
|
2004-01-22 03:18:37 -05:00
|
|
|
.endif
|
|
|
|
|
|
1994-11-14 15:56:17 -05:00
|
|
|
distribute:
|
2007-10-29 03:37:08 -04:00
|
|
|
${_+_}cd ${.CURDIR} ; ${MAKE} install DESTDIR=${DISTDIR}/${DISTRIBUTION}
|
|
|
|
|
${_+_}cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/${DISTRIBUTION}
|
1995-01-26 21:20:42 -05:00
|
|
|
|
2005-02-28 09:16:53 -05:00
|
|
|
.include <bsd.endian.mk>
|
|
|
|
|
.if ${TARGET_ENDIANNESS} == "1234"
|
2005-11-16 02:24:31 -05:00
|
|
|
CAP_MKDB_ENDIAN?= -l
|
|
|
|
|
PWD_MKDB_ENDIAN?= -L
|
2005-02-28 09:16:53 -05:00
|
|
|
.elif ${TARGET_ENDIANNESS} == "4321"
|
2005-11-16 02:24:31 -05:00
|
|
|
CAP_MKDB_ENDIAN?= -b
|
|
|
|
|
PWD_MKDB_ENDIAN?= -B
|
2005-02-28 09:16:53 -05:00
|
|
|
.else
|
2005-08-26 14:54:06 -04:00
|
|
|
CAP_MKDB_ENDIAN?=
|
|
|
|
|
PWD_MKDB_ENDIAN?=
|
2005-02-28 09:16:53 -05:00
|
|
|
.endif
|
|
|
|
|
|
1994-11-14 15:56:17 -05:00
|
|
|
distribution:
|
2005-07-22 06:35:35 -04:00
|
|
|
.if !defined(DESTDIR)
|
|
|
|
|
@echo "set DESTDIR before running \"make ${.TARGET}\""
|
|
|
|
|
@false
|
|
|
|
|
.endif
|
2002-07-05 09:17:24 -04:00
|
|
|
cd ${.CURDIR}; \
|
2002-07-29 05:40:17 -04:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
2002-07-05 09:39:38 -04:00
|
|
|
${BIN1} ${DESTDIR}/etc; \
|
2005-02-28 09:16:53 -05:00
|
|
|
cap_mkdb ${CAP_MKDB_ENDIAN} ${DESTDIR}/etc/login.conf; \
|
2002-07-29 05:40:17 -04:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
2002-07-05 09:39:38 -04:00
|
|
|
${BIN2} ${DESTDIR}/etc; \
|
2002-07-29 05:40:17 -04:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
2008-10-27 12:13:28 -04:00
|
|
|
master.passwd nsmb.conf opieaccess ${DESTDIR}/etc;
|
|
|
|
|
.if ${MK_TCSH} == "no"
|
2008-10-29 14:46:47 -04:00
|
|
|
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd
|
2008-10-27 12:13:28 -04:00
|
|
|
.endif
|
|
|
|
|
pwd_mkdb ${PWD_MKDB_ENDIAN} -i -p -d ${DESTDIR}/etc \
|
|
|
|
|
${DESTDIR}/etc/master.passwd
|
2008-09-21 18:02:26 -04:00
|
|
|
.if ${MK_BLUETOOTH} != "no"
|
2007-10-29 03:37:08 -04:00
|
|
|
${_+_}cd ${.CURDIR}/bluetooth; ${MAKE} install
|
2008-09-21 18:02:26 -04:00
|
|
|
.endif
|
2007-10-29 03:37:08 -04:00
|
|
|
${_+_}cd ${.CURDIR}/defaults; ${MAKE} install
|
2008-12-17 14:12:30 -05:00
|
|
|
${_+_}cd ${.CURDIR}/devd; ${MAKE} install
|
2007-10-29 03:37:08 -04:00
|
|
|
${_+_}cd ${.CURDIR}/gss; ${MAKE} install
|
|
|
|
|
${_+_}cd ${.CURDIR}/periodic; ${MAKE} install
|
|
|
|
|
${_+_}cd ${.CURDIR}/rc.d; ${MAKE} install
|
|
|
|
|
${_+_}cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall
|
|
|
|
|
${_+_}cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap
|
|
|
|
|
${_+_}cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt
|
|
|
|
|
${_+_}cd ${.CURDIR}/pam.d; ${MAKE} install
|
2006-02-02 05:03:43 -05:00
|
|
|
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0444 \
|
|
|
|
|
${BSM_ETC_OPEN_FILES} ${BSM_ETC_DIR}
|
2006-02-12 08:01:39 -05:00
|
|
|
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0600 \
|
2006-02-02 05:03:43 -05:00
|
|
|
${BSM_ETC_RESTRICTED_FILES} ${BSM_ETC_DIR}
|
|
|
|
|
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0500 \
|
|
|
|
|
${BSM_ETC_EXEC_FILES} ${BSM_ETC_DIR}
|
2007-06-18 01:44:38 -04:00
|
|
|
.if ${MK_BIND_MTREE} != "no"
|
|
|
|
|
@if [ ! -e ${DESTDIR}/etc/namedb ]; then \
|
|
|
|
|
set -x; \
|
|
|
|
|
ln -s ../var/named/etc/namedb ${DESTDIR}/etc/namedb; \
|
|
|
|
|
fi
|
|
|
|
|
.endif
|
|
|
|
|
.if ${MK_BIND_ETC} != "no"
|
2007-10-29 03:37:08 -04:00
|
|
|
${_+_}cd ${.CURDIR}/namedb; ${MAKE} install
|
2007-06-18 01:44:38 -04:00
|
|
|
.endif
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_SENDMAIL} != "no"
|
2007-10-29 03:37:08 -04:00
|
|
|
${_+_}cd ${.CURDIR}/sendmail; ${MAKE} distribution
|
2001-02-28 22:51:18 -05:00
|
|
|
.endif
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_OPENSSH} != "no"
|
2002-07-29 05:40:17 -04:00
|
|
|
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
2002-07-05 09:39:38 -04:00
|
|
|
${SSH} ${DESTDIR}/etc/ssh
|
2000-02-25 09:27:33 -05:00
|
|
|
.endif
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_OPENSSL} != "no"
|
2002-07-29 05:40:17 -04:00
|
|
|
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
2002-07-05 09:39:38 -04:00
|
|
|
${SSL} ${DESTDIR}/etc/ssl
|
2000-02-08 23:08:18 -05:00
|
|
|
.endif
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_KERBEROS} != "no"
|
2002-07-05 09:17:24 -04:00
|
|
|
cd ${.CURDIR}/root; \
|
2002-07-29 05:40:17 -04:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
2003-10-03 15:38:21 -04:00
|
|
|
dot.k5login ${DESTDIR}/root/.k5login;
|
|
|
|
|
.endif
|
2008-10-27 12:13:28 -04:00
|
|
|
cd ${.CURDIR}/root; \
|
|
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
|
|
|
|
dot.profile ${DESTDIR}/root/.profile; \
|
|
|
|
|
rm -f ${DESTDIR}/.profile; \
|
|
|
|
|
ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile
|
|
|
|
|
.if ${MK_TCSH} != "no"
|
2003-10-03 15:38:21 -04:00
|
|
|
cd ${.CURDIR}/root; \
|
2002-07-29 05:40:17 -04:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
2003-10-03 15:38:21 -04:00
|
|
|
dot.cshrc ${DESTDIR}/root/.cshrc; \
|
2002-07-29 05:40:17 -04:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
2002-07-05 09:39:38 -04:00
|
|
|
dot.login ${DESTDIR}/root/.login; \
|
2008-10-27 12:13:28 -04:00
|
|
|
rm -f ${DESTDIR}/.cshrc; \
|
|
|
|
|
ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc
|
|
|
|
|
.endif
|
2002-07-29 05:40:17 -04:00
|
|
|
cd ${.CURDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
1994-06-15 16:14:29 -04:00
|
|
|
${MTREE} ${DESTDIR}/etc/mtree
|
2008-09-21 18:02:26 -04:00
|
|
|
.if ${MK_PPP} != "no"
|
2003-08-17 20:36:31 -04:00
|
|
|
cd ${.CURDIR}/ppp; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
2002-01-28 19:23:35 -05:00
|
|
|
${PPPCNF} ${DESTDIR}/etc/ppp
|
2008-09-21 18:02:26 -04:00
|
|
|
.endif
|
|
|
|
|
.if ${MK_MAIL} != "no"
|
2002-07-29 05:40:17 -04:00
|
|
|
cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
2000-08-13 05:01:12 -04:00
|
|
|
${ETCMAIL} ${DESTDIR}/etc/mail
|
2000-08-13 22:49:39 -04:00
|
|
|
@if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \
|
|
|
|
|
! -f ${DESTDIR}/etc/aliases ]; then \
|
|
|
|
|
set -x; \
|
|
|
|
|
ln -s mail/aliases ${DESTDIR}/etc/aliases; \
|
|
|
|
|
fi
|
2008-09-21 18:02:26 -04:00
|
|
|
.endif
|
2002-07-29 05:40:17 -04:00
|
|
|
${INSTALL} -o ${BINOWN} -g operator -m 664 /dev/null \
|
1993-06-20 09:41:45 -04:00
|
|
|
${DESTDIR}/etc/dumpdates
|
2002-07-29 05:40:17 -04:00
|
|
|
${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \
|
1993-07-19 14:54:09 -04:00
|
|
|
${DESTDIR}/var/db/locate.database
|
2002-07-29 05:40:17 -04:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \
|
1994-06-19 23:39:59 -04:00
|
|
|
${DESTDIR}/var/crash
|
2002-07-29 05:40:17 -04:00
|
|
|
cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
2002-07-05 09:39:38 -04:00
|
|
|
${FREEBSD} ${DESTDIR}/
|
2007-07-13 10:28:10 -04:00
|
|
|
.if exists(${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints)
|
2004-03-14 12:18:39 -05:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
|
|
|
${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints \
|
|
|
|
|
${DESTDIR}/boot/device.hints
|
2007-07-13 10:28:10 -04:00
|
|
|
.endif
|
1993-06-20 09:41:45 -04:00
|
|
|
|
1993-07-19 14:54:09 -04:00
|
|
|
distrib-dirs:
|
2004-03-23 17:17:34 -05:00
|
|
|
mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/
|
|
|
|
|
mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var
|
|
|
|
|
mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr
|
|
|
|
|
mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
|
1995-03-18 02:01:53 -05:00
|
|
|
-p ${DESTDIR}/usr/include
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_BIND_LIBS} != "no"
|
2004-09-27 04:23:43 -04:00
|
|
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BIND.include.dist \
|
|
|
|
|
-p ${DESTDIR}/usr/include
|
2004-09-28 05:46:00 -04:00
|
|
|
.endif
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_BIND_MTREE} != "no"
|
2004-09-28 05:46:00 -04:00
|
|
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BIND.chroot.dist \
|
|
|
|
|
-p ${DESTDIR}/var/named
|
2004-10-07 20:14:28 -04:00
|
|
|
.endif
|
2006-03-17 13:54:44 -05:00
|
|
|
.if ${MK_SENDMAIL} != "no"
|
2004-09-28 05:46:00 -04:00
|
|
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.sendmail.dist -p ${DESTDIR}/
|
2002-04-20 15:00:11 -04:00
|
|
|
.endif
|
1993-09-07 15:35:38 -04:00
|
|
|
cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys
|
2001-06-10 12:36:09 -04:00
|
|
|
cd ${DESTDIR}/usr/share/man/en.ISO8859-1; ln -sf ../man* .
|
2008-10-08 09:28:02 -04:00
|
|
|
cd ${DESTDIR}/usr/share/man/en.UTF-8; ln -sf ../man* .
|
2001-06-10 12:36:09 -04:00
|
|
|
cd ${DESTDIR}/usr/share/man; \
|
|
|
|
|
set - `grep "^[a-zA-Z]" ${.CURDIR}/man.alias`; \
|
|
|
|
|
while [ $$# -gt 0 ] ; \
|
|
|
|
|
do \
|
|
|
|
|
rm -rf "$$1"; \
|
|
|
|
|
ln -s "$$2" "$$1"; \
|
|
|
|
|
shift; shift; \
|
|
|
|
|
done
|
2003-02-10 20:08:51 -05:00
|
|
|
cd ${DESTDIR}/usr/share/openssl/man; \
|
|
|
|
|
set - `grep "^[a-zA-Z]" ${.CURDIR}/man.alias`; \
|
|
|
|
|
while [ $$# -gt 0 ] ; \
|
|
|
|
|
do \
|
|
|
|
|
rm -rf "$$1"; \
|
|
|
|
|
ln -s "$$2" "$$1"; \
|
|
|
|
|
shift; shift; \
|
|
|
|
|
done
|
2003-02-10 14:57:56 -05:00
|
|
|
cd ${DESTDIR}/usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
|
1995-10-21 20:38:16 -04:00
|
|
|
cd ${DESTDIR}/usr/share/nls; \
|
2001-06-10 14:44:01 -04:00
|
|
|
set - `grep "^[a-zA-Z]" ${.CURDIR}/nls.alias`; \
|
1995-10-21 20:38:16 -04:00
|
|
|
while [ $$# -gt 0 ] ; \
|
|
|
|
|
do \
|
|
|
|
|
rm -rf "$$1"; \
|
|
|
|
|
ln -s "$$2" "$$1"; \
|
|
|
|
|
shift; shift; \
|
2001-06-10 14:44:01 -04:00
|
|
|
done
|
1993-07-19 14:54:09 -04:00
|
|
|
|
1999-06-24 05:45:30 -04:00
|
|
|
etc-examples:
|
2002-07-29 05:40:17 -04:00
|
|
|
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
2002-07-05 09:39:38 -04:00
|
|
|
${BIN1} ${BIN2} nsmb.conf opieaccess \
|
|
|
|
|
${DESTDIR}/usr/share/examples/etc
|
2007-10-29 03:37:08 -04:00
|
|
|
${_+_}cd ${.CURDIR}/defaults; ${MAKE} install \
|
2003-08-23 23:24:54 -04:00
|
|
|
DESTDIR=${DESTDIR}/usr/share/examples
|
1999-06-24 05:45:30 -04:00
|
|
|
|
1993-06-20 09:41:45 -04:00
|
|
|
.include <bsd.prog.mk>
|