1994-02-21 22:53:20 +01:00
|
|
|
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
|
1999-08-28 01:37:10 +02:00
|
|
|
# $FreeBSD$
|
1998-08-04 17:54:27 +02:00
|
|
|
|
2001-03-01 04:51:18 +01:00
|
|
|
.if !defined(NO_SENDMAIL)
|
1998-08-04 17:54:27 +02:00
|
|
|
SUBDIR= sendmail
|
2001-03-01 04:51:18 +01:00
|
|
|
.endif
|
1993-06-20 15:41:45 +02:00
|
|
|
|
2000-08-13 20:38:58 +02:00
|
|
|
BIN1= amd.map apmd.conf auth.conf \
|
1999-12-29 19:22:52 +01:00
|
|
|
crontab csh.cshrc csh.login csh.logout \
|
|
|
|
dhclient.conf dm.conf fbtab ftpusers gettytab group \
|
Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.
= Hesiod has been added to libc (see hesiod(3)).
= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).
= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr
= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.
Obtained from: NetBSD
2000-09-06 20:16:48 +02:00
|
|
|
hosts hosts.allow hosts.equiv hosts.lpd \
|
1999-12-29 19:22:52 +01:00
|
|
|
inetd.conf login.access login.conf \
|
Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.
Bring in required TLI library routines to support this.
Since we don't support TLI we've essentially copied what NetBSD
has done, adding a thin layer to emulate direct the TLI calls
into BSD socket calls.
This is mostly from Sun's tirpc release that was made in 1994,
however some fixes were backported from the 1999 release (supposedly
only made available after this porting effort was underway).
The submitter has agreed to continue on and bring us up to the
1999 release.
Several key features are introduced with this update:
Client calls are thread safe. (1999 code has server side thread
safe)
Updated, a more modern interface.
Many userland updates were done to bring the code up to par with
the recent RPC API.
There is an update to the pthreads library, a function
pthread_main_np() was added to emulate a function of Sun's threads
library.
While we're at it, bring in NetBSD's lockd, it's been far too
long of a wait.
New rpcbind(8) replaces portmap(8) (supporting communication over
an authenticated Unix-domain socket, and by default only allowing
set and unset requests over that channel). It's much more secure
than the old portmapper.
Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
to support TI-RPC and to support IPV6.
Umount(8) is also fixed to unmount pathnames longer than 80 chars,
which are currently truncated by the Kernel statfs structure.
Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul
2001-03-19 13:50:13 +01:00
|
|
|
motd modems netconfig networks newsyslog.conf \
|
2000-04-15 18:48:41 +02:00
|
|
|
pam.conf phones pim6dd.conf pim6sd.conf \
|
2000-03-13 05:59:43 +01:00
|
|
|
printcap profile protocols \
|
2000-10-30 08:12:21 +01:00
|
|
|
rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
|
|
|
|
rc.isdn rc.network rc.network6 rc.pccard rc.serial rc.shutdown \
|
2001-01-09 23:28:17 +01:00
|
|
|
rc.syscons rc.sysctl remote rpc security services shells syslog.conf \
|
|
|
|
usbd.conf \
|
1999-12-29 19:22:52 +01:00
|
|
|
etc.${MACHINE_ARCH}/disktab \
|
|
|
|
etc.${MACHINE_ARCH}/rc.${MACHINE_ARCH} \
|
|
|
|
etc.${MACHINE_ARCH}/ttys \
|
1994-06-15 22:43:20 +02:00
|
|
|
${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config \
|
1996-08-18 00:27:08 +02:00
|
|
|
${.CURDIR}/../usr.bin/mail/misc/mail.rc \
|
|
|
|
${.CURDIR}/../usr.bin/locate/locate/locate.rc
|
1993-06-20 15:41:45 +02:00
|
|
|
|
2000-02-25 12:08:50 +01:00
|
|
|
.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH)
|
2000-02-25 15:27:33 +01:00
|
|
|
SSH= ${.CURDIR}/../crypto/openssh/ssh_config \
|
2000-02-25 00:12:04 +01:00
|
|
|
${.CURDIR}/../crypto/openssh/sshd_config
|
|
|
|
.endif
|
|
|
|
|
2000-05-18 07:21:50 +02:00
|
|
|
.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSL)
|
|
|
|
SSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf
|
|
|
|
.endif
|
|
|
|
|
1994-06-25 00:18:46 +02:00
|
|
|
# -rwxr-xr-x root.wheel, for the new cron root.wheel
|
1999-07-10 20:02:42 +02:00
|
|
|
BIN2= netstart pccard_ether rc.suspend rc.resume
|
1993-07-19 20:54:09 +02:00
|
|
|
|
1997-07-18 05:49:47 +02:00
|
|
|
MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \
|
2000-08-28 22:22:25 +02:00
|
|
|
BSD.var.dist BSD.x11.dist BSD.x11-4.dist
|
1998-05-08 01:42:33 +02:00
|
|
|
NAMEDB= PROTO.localhost.rev named.conf named.root make-localhost
|
1999-02-11 17:30:56 +01:00
|
|
|
PPPCNF= ppp.deny ppp.shells.sample
|
1999-07-26 12:49:37 +02:00
|
|
|
PPPCF2= ppp.conf
|
2000-08-13 11:01:12 +02:00
|
|
|
ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
|
|
|
|
mailertable.sample aliases
|
1993-06-20 15:41:45 +02:00
|
|
|
|
1996-08-18 00:27:08 +02:00
|
|
|
|
1993-08-09 19:02:17 +02:00
|
|
|
# Special top level files for FreeBSD
|
1994-09-15 06:44:03 +02:00
|
|
|
COPYRIGHT= COPYRIGHT
|
1995-05-30 05:57:47 +02:00
|
|
|
FREEBSD=
|
1994-01-22 09:27:56 +01:00
|
|
|
FREEBSD+= ${COPYRIGHT}
|
1993-08-28 05:33:06 +02:00
|
|
|
|
1998-08-04 17:54:27 +02:00
|
|
|
etc:
|
1993-06-20 15:41:45 +02:00
|
|
|
|
1994-11-14 21:56:17 +01:00
|
|
|
distribute:
|
1995-02-25 22:01:48 +01:00
|
|
|
cd ${.CURDIR} ; ${MAKE} distribution DESTDIR=${DISTDIR}/bin
|
1998-09-23 10:06:30 +02:00
|
|
|
.if defined(OBJFORMAT)
|
1998-09-25 10:21:15 +02:00
|
|
|
echo OBJFORMAT=${OBJFORMAT} > ${DISTDIR}/bin/etc/objformat
|
1998-09-23 10:06:30 +02:00
|
|
|
.endif
|
|
|
|
@echo
|
1995-01-27 03:20:42 +01:00
|
|
|
|
1994-11-14 21:56:17 +01:00
|
|
|
distribution:
|
1994-06-20 05:39:59 +02:00
|
|
|
(cd ${.CURDIR}; \
|
1995-08-06 14:24:38 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc; \
|
1998-06-11 22:25:56 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 755 ${BIN2} ${DESTDIR}/etc; \
|
1999-02-10 10:14:05 +01:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/rc.conf ${DESTDIR}/etc/defaults/; \
|
1999-10-28 23:31:46 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/make.conf ${DESTDIR}/etc/defaults/; \
|
2000-04-03 21:24:25 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/pccard.conf ${DESTDIR}/etc/defaults/; \
|
2000-06-23 03:18:31 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 defaults/periodic.conf ${DESTDIR}/etc/defaults/; \
|
1995-08-06 14:24:38 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
|
1999-09-06 22:10:27 +02:00
|
|
|
${DESTDIR}/var/log/cron; \
|
1995-08-06 14:24:38 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \
|
1994-06-20 05:39:59 +02:00
|
|
|
master.passwd ${DESTDIR}/etc; \
|
2000-02-25 15:27:33 +01:00
|
|
|
( cd ${.CURDIR}/periodic; ${MAKE} install ); \
|
|
|
|
( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \
|
1996-08-18 00:27:08 +02:00
|
|
|
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
|
1996-08-18 13:05:08 +02:00
|
|
|
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
|
2000-02-25 15:27:33 +01:00
|
|
|
( cd ${.CURDIR}/isdn; ${MAKE} install ); \
|
2001-03-13 04:05:42 +01:00
|
|
|
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; )
|
2001-03-01 04:51:18 +01:00
|
|
|
.if !defined(NO_SENDMAIL)
|
|
|
|
( cd ${.CURDIR}/sendmail; ${MAKE} distribution );
|
|
|
|
.endif
|
2000-10-29 07:57:59 +01:00
|
|
|
.if !defined(NOUUCP)
|
|
|
|
( cd ${.CURDIR}/../gnu/libexec/uucp/sample; ${MAKE} install )
|
|
|
|
.endif
|
2000-02-25 15:27:33 +01:00
|
|
|
.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH)
|
|
|
|
(cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSH} \
|
|
|
|
${DESTDIR}/etc/ssh )
|
|
|
|
.endif
|
2000-05-18 07:21:50 +02:00
|
|
|
.if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSL)
|
|
|
|
(cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${SSL} \
|
|
|
|
${DESTDIR}/etc/ssl )
|
|
|
|
.endif
|
2000-02-09 05:08:18 +01:00
|
|
|
.if !defined(NO_MAKEDEV)
|
2001-03-13 04:05:42 +01:00
|
|
|
( cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
|
|
|
|
MAKEDEV.local MAKEDEV ${DESTDIR}/dev )
|
2000-02-25 15:27:33 +01:00
|
|
|
(cd ${DESTDIR}/dev; sh MAKEDEV all)
|
2000-02-09 05:08:18 +01:00
|
|
|
.endif
|
1994-06-15 22:14:29 +02:00
|
|
|
(cd ${.CURDIR}/root; \
|
1995-08-06 14:24:38 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.cshrc \
|
1993-06-20 15:41:45 +02:00
|
|
|
${DESTDIR}/root/.cshrc; \
|
1995-08-06 14:24:38 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.klogin \
|
1993-06-20 15:41:45 +02:00
|
|
|
${DESTDIR}/root/.klogin; \
|
1995-08-06 14:24:38 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.login \
|
1993-06-20 15:41:45 +02:00
|
|
|
${DESTDIR}/root/.login; \
|
1995-08-06 14:24:38 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 dot.profile \
|
1993-06-20 15:41:45 +02:00
|
|
|
${DESTDIR}/root/.profile; \
|
|
|
|
rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
|
|
|
|
ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
|
|
|
|
ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
|
1995-08-06 14:24:38 +02:00
|
|
|
cd ${.CURDIR}/mtree; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
1994-06-15 22:14:29 +02:00
|
|
|
${MTREE} ${DESTDIR}/etc/mtree
|
1995-08-06 14:24:38 +02:00
|
|
|
cd ${.CURDIR}/namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
|
1994-06-15 22:14:29 +02:00
|
|
|
${NAMEDB} ${DESTDIR}/etc/namedb
|
1995-08-06 14:24:38 +02:00
|
|
|
cd ${.CURDIR}/ppp; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
|
1995-02-04 12:16:47 +01:00
|
|
|
${PPPCNF} ${DESTDIR}/etc/ppp
|
1999-07-26 12:49:37 +02:00
|
|
|
cd ${.CURDIR}/ppp; ${INSTALL} -c -o root -g ${BINGRP} -m 600 \
|
|
|
|
${PPPCF2} ${DESTDIR}/etc/ppp
|
1997-10-20 02:35:38 +02:00
|
|
|
cd ${.CURDIR}/mail; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
|
2000-08-13 11:01:12 +02:00
|
|
|
${ETCMAIL} ${DESTDIR}/etc/mail
|
2000-08-14 04:49:39 +02: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
|
1995-08-06 14:24:38 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \
|
1993-06-20 15:41:45 +02:00
|
|
|
${DESTDIR}/etc/dumpdates
|
2000-07-14 03:12:50 +02:00
|
|
|
${INSTALL} -c -o nobody -g ${BINGRP} -m 644 /dev/null \
|
1993-07-19 20:54:09 +02:00
|
|
|
${DESTDIR}/var/db/locate.database
|
2000-07-14 03:12:50 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
1993-07-19 20:54:09 +02:00
|
|
|
${DESTDIR}/var/log/lpd-errs
|
2000-07-14 03:12:50 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
1993-06-20 15:41:45 +02:00
|
|
|
${DESTDIR}/var/log/maillog
|
2000-07-14 03:12:50 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
1993-08-13 08:11:18 +02:00
|
|
|
${DESTDIR}/var/log/lastlog
|
2000-07-14 03:12:50 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
1993-07-19 20:54:09 +02:00
|
|
|
${DESTDIR}/var/log/messages
|
1999-08-21 20:24:29 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
|
|
|
|
${DESTDIR}/var/log/security
|
1996-01-10 22:22:28 +01:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
|
|
|
|
${DESTDIR}/var/log/slip.log
|
1996-07-11 23:22:50 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
|
|
|
|
${DESTDIR}/var/log/ppp.log
|
2000-07-14 03:12:50 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
1993-07-19 20:54:09 +02:00
|
|
|
${DESTDIR}/var/log/wtmp
|
2000-07-14 03:12:50 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
|
1993-06-20 15:41:45 +02:00
|
|
|
${DESTDIR}/var/run/utmp
|
2000-08-15 11:42:12 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \
|
1994-06-20 05:39:59 +02:00
|
|
|
${DESTDIR}/var/crash
|
|
|
|
(cd ${.CURDIR}/..; \
|
1995-08-06 14:24:38 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FREEBSD} \
|
|
|
|
${DESTDIR}/)
|
2000-06-21 07:08:45 +02:00
|
|
|
.if !defined(NOMAN)
|
1994-06-20 05:39:59 +02:00
|
|
|
(cd ${.CURDIR}/../share/man; ${MAKE} makedb; )
|
2000-06-21 07:08:45 +02:00
|
|
|
.endif
|
1993-06-20 15:41:45 +02:00
|
|
|
|
1993-07-19 20:54:09 +02:00
|
|
|
distrib-dirs:
|
2000-09-15 10:07:05 +02:00
|
|
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/
|
|
|
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.var.dist -p ${DESTDIR}/var
|
|
|
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr
|
|
|
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
|
1995-03-18 08:01:53 +01:00
|
|
|
-p ${DESTDIR}/usr/include
|
2000-09-15 10:07:05 +02:00
|
|
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
|
2000-07-02 17:55:25 +02:00
|
|
|
-p ${DESTDIR}/usr/libdata/perl/5.6.0/mach
|
1993-09-07 21:35:38 +02:00
|
|
|
cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys
|
2001-02-19 14:08:14 +01:00
|
|
|
cd ${DESTDIR}/usr/share/man/en.ISO_8859-1; ln -sf ../man* .
|
1995-03-18 08:01:53 +01:00
|
|
|
cd ${DESTDIR}/usr/share/locale; \
|
1995-10-22 01:38:16 +01:00
|
|
|
set - `cat ${.CURDIR}/locale.alias`; \
|
|
|
|
while [ $$# -gt 0 ] ; \
|
|
|
|
do \
|
|
|
|
rm -rf "$$1"; \
|
|
|
|
ln -s "$$2" "$$1"; \
|
|
|
|
shift; shift; \
|
1995-03-18 08:01:53 +01:00
|
|
|
done
|
1995-10-22 01:38:16 +01:00
|
|
|
cd ${DESTDIR}/usr/share/nls; \
|
|
|
|
set - `cat ${.CURDIR}/locale.alias`; \
|
|
|
|
while [ $$# -gt 0 ] ; \
|
|
|
|
do \
|
|
|
|
rm -rf "$$1"; \
|
|
|
|
ln -s "$$2" "$$1"; \
|
|
|
|
shift; shift; \
|
|
|
|
done; \
|
|
|
|
rm -rf POSIX; \
|
|
|
|
ln -s C POSIX
|
1993-07-19 20:54:09 +02:00
|
|
|
|
1999-06-24 11:45:30 +02:00
|
|
|
etc-examples:
|
|
|
|
(cd ${.CURDIR}; \
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BIN1} ${BIN2} \
|
|
|
|
${DESTDIR}/usr/share/examples/etc; \
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/rc.conf \
|
1999-10-28 23:31:46 +02:00
|
|
|
${DESTDIR}/usr/share/examples/etc/defaults; \
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/make.conf \
|
2000-04-03 21:24:25 +02:00
|
|
|
${DESTDIR}/usr/share/examples/etc/defaults; \
|
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/pccard.conf \
|
2000-06-23 14:38:46 +02:00
|
|
|
${DESTDIR}/usr/share/examples/etc/defaults; \
|
2000-06-23 03:18:31 +02:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/periodic.conf \
|
1999-06-24 11:45:30 +02:00
|
|
|
${DESTDIR}/usr/share/examples/etc/defaults)
|
|
|
|
|
1993-06-20 15:41:45 +02:00
|
|
|
.include <bsd.prog.mk>
|