(pw -V /build/snapshots/root/etc groupshow smmsp -q > /dev/null) || pw -V /build/snapshots/root/etc groupadd smmsp -g 25 (pw -V /build/snapshots/root/etc usershow smmsp -q > /dev/null) || pw -V /build/snapshots/root/etc useradd smmsp -u 25 -c "Sendmail Submission User" -d /var/spool/clientmqueue -s /sbin/nologin (pw -V /build/snapshots/root/etc usershow _pflogd -q > /dev/null) || pw -V /build/snapshots/root/etc useradd _pflogd -u 64 -c "pflogd privsep user" -d /var/empty -s /sbin/nologin (pw -V /build/snapshots/root/etc usershow _sdpd -q > /dev/null) || pw -V /build/snapshots/root/etc useradd _sdpd -u 70 -c "sdpd privsep user" -d /var/empty -s /sbin/nologin (pw -V /build/snapshots/root/etc usershow _dhcp -q > /dev/null) || pw -V /build/snapshots/root/etc useradd _dhcp -u 77 -c "DHCP programs" -d /var/empty -s /sbin/nologin (pw -V /build/snapshots/root/etc groupshow authpf -q > /dev/null) || pw -V /build/snapshots/root/etc groupadd authpf -g 63 (pw -V /build/snapshots/root/etc groupshow _pflogd -q > /dev/null) || pw -V /build/snapshots/root/etc groupadd _pflogd -g 64 (pw -V /build/snapshots/root/etc groupshow _sdpd -q > /dev/null) || pw -V /build/snapshots/root/etc groupadd _sdpd -g 70 (pw -V /build/snapshots/root/etc groupshow _dhcp -q > /dev/null) || pw -V /build/snapshots/root/etc groupadd _dhcp -g 77 ===> Remove now obsolete files # files that should be dirs (not possible with Makefile_upgrade.inc) [ -d /build/snapshots/root/usr/include/dev/misc/ppi ] || rm -f /build/snapshots/root/usr/include/dev/misc/ppi [ -d /build/snapshots/root/usr/share/initrd/sbin ] || rm -f /build/snapshots/root/usr/share/initrd/sbin cd /build/snapshots/root/usr/src/etc/../share/mk; make install install -o root -g wheel -m 444 bsd.README bsd.cpu.mk bsd.cpu.gcc41.mk bsd.cpu.custom.mk bsd.cpu.gcc44.mk bsd.dep.mk bsd.doc.mk bsd.files.mk bsd.patch.mk bsd.incs.mk bsd.info.mk bsd.init.mk bsd.kmod.mk bsd.hostlib.mk bsd.lib.mk bsd.libnames.mk bsd.links.mk bsd.man.mk bsd.nls.mk bsd.obj.mk bsd.own.mk bsd.hostprog.mk bsd.prog.mk bsd.subdir.mk bsd.sys.mk sys.mk /build/snapshots/root/usr/share/mk cd /build/snapshots/root/usr/src/etc; install -o root -g wheel -m 444 apmd.conf fbtab gettytab network.subr pf.os protocols rc rc.firewall6 rc.sendmail rc.shutdown rc.subr rpc services etc.i386/disktab /build/snapshots/root/usr/src/etc/../usr.bin/mail/misc/mail.rc /build/snapshots/root/usr/src/etc/../usr.bin/locate/locate/locate.rc /build/snapshots/root/etc; cap_mkdb /build/snapshots/root/etc/login.conf; for f in amd.map auth.conf crontab csh.cshrc csh.login csh.logout devd.conf devtab dhclient.conf dm.conf dntpd.conf ftpusers group hosts hosts.allow hosts.equiv hosts.lpd inetd.conf login.access login.conf motd modems netconfig networks newsyslog.conf nscd.conf pf.conf phones printcap profile regdomain.xml remote sensorsd.conf shells sysctl.conf syslog.conf usbd.conf etc.i386/ttys /build/snapshots/root/usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config; do [ -e "/build/snapshots/root/etc/${f##*/}" ] || install -o root -g wheel -m 644 $f /build/snapshots/root/etc; done; install -o root -g wheel -m 555 pccard_ether rc.firewall rc.suspend rc.resume /build/snapshots/root/etc; cd /build/snapshots/root/usr/src/etc/defaults; install -o root -g wheel -m 444 compilers.conf devfs.conf make.conf periodic.conf rc.conf uuids /build/snapshots/root/etc/defaults cd /build/snapshots/root/usr/src/etc/periodic; make install ===> daily install -o root -g wheel -m 755 100.clean-disks 110.clean-tmps 120.clean-preserve 130.clean-msgs 140.clean-rwho 150.clean-hoststat 160.clean-hammer 200.backup-passwd 210.backup-aliases 220.backup-distfile 300.calendar 310.accounting 320.rdist 330.news 400.status-disks 420.status-network 430.status-rwho 440.status-mailq 450.status-security 460.status-mail-rejects 470.status-named 500.queuerun 999.local /build/snapshots/root/etc/periodic/daily ===> security install -o root -g wheel -m 755 100.chksetuid 200.chkmounts 300.chkuid0 400.passwdless 410.logincheck 500.ipfwdenied 520.pfdenied 550.ipfwlimit 600.ip6fwdenied 650.ip6fwlimit 670.pkgsrcaudit 700.kernelmsg 800.loginfail 900.tcpwrap security.functions /build/snapshots/root/etc/periodic/security ===> weekly install -o root -g wheel -m 755 120.clean-kvmdb 310.locate 320.whatis 330.catman 340.noid 999.local /build/snapshots/root/etc/periodic/weekly ===> monthly install -o root -g wheel -m 755 200.accounting 300.statistics 999.local /build/snapshots/root/etc/periodic/monthly mkdir -p /build/snapshots/root/etc/rc.d cd /build/snapshots/root/usr/src/etc/rc.d; make install install -o root -g wheel -m 555 DAEMON LOGIN NETWORKING SERVERS abi accounting addswap adjkerntz amd apm apmd atm1 atm2 atm3 battd bootconf bootparams btconfig bthcid ccd cleanvar cryptdisks cleartmp cron devd devfs dhclient diskless dmesg dumpon fixbootfile fsck ftpd hostapd hostname hotplugd inetd initdiskless initrandom ip6fw ipfw ipsec ipxrouted isdnd jail keyserv ldconfig local localdaemons lockd lpd lvm mixer motd mountcritlocal mountcritremote mountd moused mroute6d mrouted msgs named netif netoptions newsyslog network_ipv6 nfsclient nfsd nfsserver nisdomain nscd nsswitch dntpd othermta pf pflog powerd ppp ppp-user pppoed pwcheck quota random rarpd rcconf resident rndcontrol root route6d routed routing rpcbind rtadvd rtsold rwho sysdb savecore sdpd securelevel sendmail sensorsd serial sppp sshd statd swap1 syscons sysctl syslogd timed ttys udevd udevd_early usbd varsym vinum vkernel virecover watchdogd wpa_supplicant ypbind yppasswdd ypserv ypset ypupdated ypxfrd /build/snapshots/root/etc/rc.d # "../share/termcap/make etc-termcap" expanded inline here: ln -fs /usr/share/misc/termcap /build/snapshots/root/etc/termcap # "../usr.sbin/rmt/make etc-rmt" expanded inline here: ln -fs /usr/sbin/rmt /build/snapshots/root/etc/rmt cd /build/snapshots/root/usr/src/etc/sendmail; make upgrade install -o root -g wheel -m 444 /build/snapshots/root/usr/src/etc/sendmail/dragonfly.mc /build/snapshots/root/etc/mail install -o root -g wheel -m 444 /build/snapshots/root/usr/src/etc/sendmail/dragonfly.submit.mc /build/snapshots/root/etc/mail install -o root -g wheel -m 444 /build/snapshots/root/usr/src/etc/sendmail/../../contrib/sendmail-8.14/sendmail/helpfile /build/snapshots/root/etc/mail cd /build/snapshots/root/usr/src/etc/isdn; make install for i in answer isdntel.sh record tell tell-record ; do install -o root -g wheel -m 700 $i /build/snapshots/root/etc/isdn ; done ; for i in holidays.D isdnd.rates.A isdnd.rates.D isdnd.rates.F isdnd.rates.L isdnd.rates.UK.BT isdnd.rc.sample isdntel.alias.sample ; do install -o root -g wheel -m 600 $i /build/snapshots/root/etc/isdn ; done cd /build/snapshots/root/usr/src/etc/mtree; install -o root -g wheel -m 444 BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist BSD.var.dist BSD.sendmail.dist /build/snapshots/root/etc/mtree cd /build/snapshots/root/usr/src/etc/bluetooth; make install install -o root -g wheel -m 444 protocols /build/snapshots/root/etc/bluetooth cd /build/snapshots/root/usr/src/etc; install -o root -g wheel -m 444 Makefile.usr /build/snapshots/root/usr/Makefile # these removals must occur AFTER any pam conversion csh -c "rm -f /usr/lib/pam_{cleartext_pass_ok,deny,opie,opieaccess,permit,radius,skey,ssh,tacplus,unix}.so" rm -f /etc/pam.conf cd /build/snapshots/root/usr/src/etc/..; install -o root -g wheel -m 444 COPYRIGHT /build/snapshots/root/ rm -f /build/snapshots/root/usr/include/machine/ioctl_meteor.h rm -f /build/snapshots/root/usr/include/machine/ioctl_bt848.h ln -s "../dev/video/bktr/ioctl_bt848.h" /build/snapshots/root/usr/include/machine/ioctl_bt848.h ln -s "../dev/video/meteor/ioctl_meteor.h" /build/snapshots/root/usr/include/machine/ioctl_meteor.h cd /build/snapshots/root/usr/src/etc/../secure/lib/libssh; make -f Makefile.etc obj cd /build/snapshots/root/usr/src/etc/../secure/lib/libssh; make -f Makefile.etc install install -o root -g wheel -m 644 /build/snapshots/root/usr/src/secure/lib/libssh/../../../crypto/openssh/moduli blacklist.DSA-1024 blacklist.RSA-1024 blacklist.RSA-2048 blacklist.RSA-4096 blacklist.DSA-2048 /build/snapshots/root/etc/ssh for ext in a so.0; do f=/build/snapshots/root/usr/lib/libpthread.$ext; dest=$(readlink "$f"); case "$dest" in libthread_xu.*|libc_r.*) ln -fs thread/$dest $f ;; esac; done ldconfig -R mkdir -p /build/snapshots/root/dev cd /build/snapshots/root/usr/src/share/man; make makedb /usr/sbin/makewhatis /build/snapshots/root/usr/share/man /usr/sbin/makewhatis /build/snapshots/root/usr/share/openssl/man