1# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 2# $FreeBSD: src/etc/Makefile,v 1.219.2.38 2003/03/04 09:49:00 ru Exp $ 3 4SUBDIR= sendmail 5 6# Files that should be installed read-only (444) 7# 8BINUPDATE= devd.conf fbtab network.subr \ 9 pf.os \ 10 protocols \ 11 rc rc.firewall rc.firewall6 \ 12 rc.sendmail rc.shutdown \ 13 rc.subr rpc \ 14 etc.${MACHINE_ARCH}/disktab 15.if defined(BINARY_UPGRADE) # location of these depends on upgrade method 16BINUPDATE+=mail.rc locate.rc 17.else 18BINUPDATE+=${.CURDIR}/../usr.bin/mail/misc/mail.rc \ 19 ${.CURDIR}/../usr.bin/locate/locate/locate.rc \ 20 ${.CURDIR}/../contrib/openresolv/resolvconf.conf \ 21 ${.CURDIR}/../contrib/dhcpcd/src/dhcpcd.conf 22.endif 23 24# Initial distribution files are installed read-write (644) 25# 26BIN1= auth.conf \ 27 crontab csh.cshrc csh.login csh.logout \ 28 devtab dhclient.conf dntpd.conf \ 29 ftpusers gettytab group \ 30 hosts hosts.allow hosts.equiv hosts.lpd \ 31 inetd.conf login.access login.conf \ 32 motd modems netconfig networks newsyslog.conf \ 33 nscd.conf pf.conf phones printcap profile \ 34 regdomain.xml remote sensorsd.conf services \ 35 shells sysctl.conf syslog.conf \ 36 wpa_supplicant.conf \ 37 etc.${MACHINE_ARCH}/ttys 38 39DIRS+= lib/libssh usr.bin/openssl usr.bin/ssh usr.sbin/sshd 40 41# Files that should be installed read-only-executable (555) root:wheel 42# 43BIN2= pccard_ether rc.suspend rc.resume 44 45DEFAULTS= compilers.conf devfs.conf make.conf periodic.conf \ 46 pfi.conf rc.conf uuids 47 48MTREE= BSD.include.dist BSD.root.dist BSD.usr.dist BSD.var.dist 49.if !defined(NOFSCHG) 50MTREE_FSCHG= -i 51.endif 52 53PPPCNF= ppp.conf 54 55ETCMAIL=aliases mailer.conf access.sample virtusertable.sample \ 56 mailertable.sample 57 58# Use this directory as the source for new configuration files when upgrading 59UPGRADE_SRCDIR?=${.CURDIR} 60 61CHECK_DEPRECATED_DIRS+= /usr/local 62 63# Include file which contains obsolete files 64.if exists(${DESTDIR}/etc/upgrade/Makefile_upgrade.inc) 65.include "${DESTDIR}/etc/upgrade/Makefile_upgrade.inc" 66.endif 67 68remove-obsolete-files: 69 @if [ -z "${TO_REMOVE}" ]; then \ 70 echo "Please do a 'make installworld' first."; \ 71 echo "See build(7) for further information."; \ 72 /usr/bin/false; \ 73 fi; 74 @echo "===> Remove now obsolete files" 75 @for item in ${TO_REMOVE}; do \ 76 if [ -e ${DESTDIR}$${item} -o -L ${DESTDIR}$${item} ]; then \ 77 echo "${DESTDIR}$${item}"; \ 78 chflags -Rf noschg "${DESTDIR}$${item}"; \ 79 rm -rf "${DESTDIR}$${item}"; \ 80 fi; \ 81 done; 82 83remove-deprecated-files: 84.if defined(REMOVE_DEPRECATED) 85 @echo "===> Remove now deprecated files" 86 @for item in ${TO_REMOVE_LATE}; do \ 87 if [ -e ${DESTDIR}$${item} -o -L ${DESTDIR}$${item} ]; then \ 88 echo "${DESTDIR}$${item}"; \ 89 chflags -Rf noschg "${DESTDIR}$${item}"; \ 90 rm -rf "${DESTDIR}$${item}"; \ 91 fi; \ 92 done; 93.else 94 @make check-deprecated-files 95.endif 96 97check-deprecated-files: 98 @echo "===> Checking for deprecated files" 99 @echo " (harmless ELF linker warnings may appear here)" 100 @tmpldd=`mktemp -t chkldd`; \ 101 chroot ${DESTDIR}/ find ${CHECK_DEPRECATED_DIRS:O:u} \ 102 -type f \( -name '*.so*' -o -perm +111 \) | \ 103 chroot ${DESTDIR}/ xargs ldd 2>/dev/null > $${tmpldd}; \ 104 count=0; for item in ${TO_REMOVE_LATE}; do \ 105 if [ -e ${DESTDIR}$${item} -o -L ${DESTDIR}$${item} ]; then \ 106 echo "${DESTDIR}$${item} is deprecated"; \ 107 deps=""; \ 108 for object in `cat $${tmpldd} | awk -v library=$${item} \ 109 -f ${.CURDIR}/../tools/tools/chkldd/chkldd.awk`; do \ 110 echo "${TO_REMOVE_LATE}" | grep -q "$${object}" \ 111 || deps="$${deps} $${object}"; \ 112 done; \ 113 if [ -n "$${deps}" ]; then \ 114 echo " but it's still linked from these objects:"; \ 115 echo " " $${deps}; \ 116 echo ""; \ 117 fi; \ 118 count=`expr $$count + 1`; \ 119 fi; \ 120 done; \ 121 rm $${tmpldd}; \ 122 if [ "$$count" -gt 0 ]; then \ 123 echo "==================================================================" ; \ 124 echo "= You have $$count now deprecated files." ; \ 125 echo "= Once you are sure that none of your third party (ports or local)" ; \ 126 echo "= software are still using them, rerun with:" ; \ 127 echo "= make upgrade -DREMOVE_DEPRECATED" ; \ 128 echo "==================================================================" ; \ 129 fi; 130 131preupgrade: 132 (pw -V ${DESTDIR}/etc usershow mail -q > /dev/null) || \ 133 pw -V ${DESTDIR}/etc useradd mail -u 6 -g 6 \ 134 -c "Mail user" \ 135 -d /nonexistent -s /sbin/nologin 136 (pw -V ${DESTDIR}/etc usershow _pflogd -q > /dev/null) || \ 137 pw -V ${DESTDIR}/etc useradd _pflogd -u 64 \ 138 -c "pflogd privsep user" \ 139 -d /var/empty -s /sbin/nologin 140 (pw -V ${DESTDIR}/etc usershow _sdpd -q > /dev/null) || \ 141 pw -V ${DESTDIR}/etc useradd _sdpd -u 70 \ 142 -c "sdpd privsep user" \ 143 -d /var/empty -s /sbin/nologin 144 (pw -V ${DESTDIR}/etc usershow _dhcp -q > /dev/null) || \ 145 pw -V ${DESTDIR}/etc useradd _dhcp -u 77 \ 146 -c "DHCP programs" \ 147 -d /var/empty -s /sbin/nologin 148 (pw -V ${DESTDIR}/etc groupshow input -q > /dev/null) || \ 149 pw -V ${DESTDIR}/etc groupadd input -g 43 150 (pw -V ${DESTDIR}/etc groupshow video -q > /dev/null) || \ 151 pw -V ${DESTDIR}/etc groupadd video -g 44 152 (pw -V ${DESTDIR}/etc groupshow authpf -q > /dev/null) || \ 153 pw -V ${DESTDIR}/etc groupadd authpf -g 63 154 (pw -V ${DESTDIR}/etc groupshow _pflogd -q > /dev/null) || \ 155 pw -V ${DESTDIR}/etc groupadd _pflogd -g 64 156 (pw -V ${DESTDIR}/etc groupshow _sdpd -q > /dev/null) || \ 157 pw -V ${DESTDIR}/etc groupadd _sdpd -g 70 158 (pw -V ${DESTDIR}/etc groupshow _dhcp -q > /dev/null) || \ 159 pw -V ${DESTDIR}/etc groupadd _dhcp -g 77 160 161upgrade_check: 162 @if [ -n "`grep '^sendmail.*/usr/libexec/sendmail/sendmail' ${DESTDIR}/etc/mail/mailer.conf`" ]; then \ 163 echo "==================================================================" ; \ 164 echo "= sendmail is being removed from the base system." ; \ 165 echo "= /etc/mail/mailer.conf is still configured to use sendmail." ; \ 166 echo "= See http://www.dragonflybsd.com/docs/docs/newhandbook/mta/" ; \ 167 echo "= Quick: cp /usr/src/libexec/dma/mailer-conf/mailer.conf.dma " ; \ 168 echo "= ${DESTDIR}/etc/mail/mailer.conf ; make upgrade" ; \ 169 echo "==================================================================" ; \ 170 /usr/bin/false ; \ 171 fi 172 173upgrade_base: upgrade_check preupgrade remove-obsolete-files 174 # files that should be dirs (not possible with Makefile_upgrade.inc) 175.for f in usr/include/dev/misc/ppi usr/share/initrd/sbin var/db/entropy 176 [ -d ${DESTDIR}/${f} ] || rm -f ${DESTDIR}/${f} 177.endfor 178.if !defined(BINARY_UPGRADE) # binary upgrade just copies these files 179 cd ${UPGRADE_SRCDIR}/../share/mk; ${MAKE} install 180.endif 181 cd ${UPGRADE_SRCDIR}; \ 182 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 183 ${BINUPDATE} ${DESTDIR}/etc; \ 184 cap_mkdb ${DESTDIR}/etc/login.conf; \ 185 for f in ${BIN1}; do \ 186 [ -e "${DESTDIR}/etc/$${f##*/}" ] || \ 187 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 188 $$f ${DESTDIR}/etc; \ 189 done; \ 190 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 555 \ 191 ${BIN2} ${DESTDIR}/etc; 192 cd ${UPGRADE_SRCDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 193 ${DEFAULTS} ${DESTDIR}/etc/defaults 194 cd ${UPGRADE_SRCDIR}/periodic; ${MAKE} install 195 mkdir -p ${DESTDIR}/etc/rc.d 196 cd ${UPGRADE_SRCDIR}/rc.d; ${MAKE} install 197 cd ${UPGRADE_SRCDIR}/devd; ${MAKE} install 198 # "../share/termcap/make etc-termcap" expanded inline here: 199 ${LN} -fs /usr/share/misc/termcap ${DESTDIR}/etc/termcap 200 # "../usr.sbin/rmt/make etc-rmt" expanded inline here: 201 ${LN} -fs /usr/sbin/rmt ${DESTDIR}/etc/rmt 202 cd ${UPGRADE_SRCDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 203 ${MTREE} ${DESTDIR}/etc/mtree 204 cd ${UPGRADE_SRCDIR}/bluetooth; ${MAKE} install 205 cd ${UPGRADE_SRCDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 Makefile.usr ${DESTDIR}/usr/Makefile 206.if !exists(${DESTDIR}/etc/pam.d) 207 mkdir -p ${DESTDIR}/etc/pam.d 208 cd ${UPGRADE_SRCDIR}/pam.d; ${MAKE} install 209 sh ${DESTDIR}/etc/pam.d/convert.sh ${DESTDIR}/etc/pam.d ${DESTDIR}/etc/pam.conf 210.else 211.for pamconf in README convert.sh atrun cron passwd su system 212.if !exists(${DESTDIR}/etc/pam.d/${pamconf}) 213 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${UPGRADE_SRCDIR}/pam.d/${pamconf} ${DESTDIR}/etc/pam.d 214.endif 215.endfor 216.endif 217.if !defined(BINARY_UPGRADE) # binary upgrade just copies these files 218 cd ${UPGRADE_SRCDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 219 COPYRIGHT ${DESTDIR}/ 220.endif 221 rm -f ${DESTDIR}/usr/include/machine/ioctl_meteor.h 222 rm -f ${DESTDIR}/usr/include/machine/ioctl_bt848.h 223 ${LN} -s "../dev/video/bktr/ioctl_bt848.h" ${DESTDIR}/usr/include/machine/ioctl_bt848.h 224 ${LN} -s "../dev/video/meteor/ioctl_meteor.h" ${DESTDIR}/usr/include/machine/ioctl_meteor.h 225.if exists(${DESTDIR}/usr/lib/gcc2) 226 ldconfig -m ${DESTDIR}/usr/lib/gcc2 227.endif 228.for lib in ${COMPAT_LIBS:M*.so.*} 229.if exists(${DESTDIR}/usr/lib/${lib}) 230 chflags noschg ${DESTDIR}/usr/lib/${lib} 231 rm -f ${DESTDIR}/usr/lib/${lib} 232.endif 233.endfor 234 cd ${.CURDIR}/../lib/libssh; ${MAKE} -f Makefile.etc install 235.if exists(${DESTDIR}/boot) 236.if exists(${DESTDIR}/kernel) 237 chflags noschg ${DESTDIR}/kernel 238 mv ${DESTDIR}/kernel ${DESTDIR}/boot/kernel 239 chflags schg ${DESTDIR}/boot/kernel 240.endif 241.if exists(${DESTDIR}/modules) 242 mv ${DESTDIR}/modules ${DESTDIR}/boot/modules 243 rm -rf ${DESTDIR}/boot/modules/modules 244.endif 245.if exists(${DESTDIR}/kernel.old) 246 mv ${DESTDIR}/kernel.old ${DESTDIR}/boot/kernel.old 247.endif 248.if exists(${DESTDIR}/modules.old) 249 mv ${DESTDIR}/modules.old ${DESTDIR}/boot/modules.old 250 rm -rf ${DESTDIR}/boot/modules.old/modules.old 251.endif 252.endif 253.if exists(${DESTDIR}/etc/settings.conf) 254 mv ${DESTDIR}/etc/settings.conf ${DESTDIR}/etc/pkg_radd.conf 255.endif 256 for ext in a so.0; do \ 257 f=${DESTDIR}/usr/lib/libpthread.$$ext; \ 258 dest=$$(readlink "$$f"); \ 259 case "$$dest" in \ 260 libthread_xu.*) \ 261 ln -fs thread/$$dest $$f ;; \ 262 esac; \ 263 done 264 ldconfig -R 265 mkdir -p ${DESTDIR}/dev 266 mkdir -p ${DESTDIR}/var/run/sem 267 chmod 1777 ${DESTDIR}/var/run/sem 268 269# The existence of cleartext_pass_ok means pam config files are out of date. 270 @set - `fgrep -e cleartext_pass_ok -e pam_opie ${DESTDIR}/etc/pam.d/*`; \ 271 if [ $$# -gt 0 ] ; \ 272 then \ 273 echo "It appears your PAM configuration files need to be updated"; \ 274 echo "This can be done by manually editing the files or:"; \ 275 echo " cd ${UPGRADE_SRCDIR}/pam.d"; \ 276 echo " make install"; \ 277 fi 278 279# Move the dhcpcd duid, secret and lease files back outside the chroot. 280# Then ensure the chroot is empty. 281 DHCPCD_DB="${DESTDIR}/var/db/dhcpcd"; \ 282 DHCPCD_CHROOT=`pw -V ${DESTDIR}/etc usershow _dhcp | cut -d: -f9`; \ 283 DHCPCD_CHROOT_DB="${DESTDIR}$$DHCPCD_CHROOT/var/db/dhcpcd"; \ 284 if [ -f "$$DHCPCD_CHROOT_DB/duid" ] && \ 285 [ ! -f "$$DHCPCD_DB/duid" ]; then \ 286 mkdir -p "$$DHCPCD_DB" && \ 287 mv "$$DHCPCD_CHROOT_DB"/* "$$DHCPCD_DB"; \ 288 chown -R root:wheel "$$DHCPCD_DB"; \ 289 rm -rf "$$DHCPCD_CHROOT"/*; \ 290 fi; \ 291 if [ "$$DHCPCD_CHROOT" != /var/empty ]; then \ 292 pw -V ${DESTDIR}/etc usermod _dhcp -d /var/empty; \ 293 rm -rf "$$DHCPCD_CHROOT"; \ 294 fi 295 296upgrade_etc: upgrade_base remove-deprecated-files 297 @echo "Upgrade was successful" 298 299distribution: 300 cd ${.CURDIR}; \ 301 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 302 ${BINUPDATE} ${DESTDIR}/etc; \ 303 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 304 ${BIN1} ${DESTDIR}/etc; \ 305 cap_mkdb ${DESTDIR}/etc/login.conf; \ 306 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 555 \ 307 ${BIN2} ${DESTDIR}/etc; \ 308 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ 309 master.passwd nsmb.conf ${DESTDIR}/etc; \ 310 pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd 311 cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 312 ${DEFAULTS} ${DESTDIR}/etc/defaults 313 cd ${.CURDIR}/pam.d; ${MAKE} install 314 cd ${.CURDIR}/bluetooth; ${MAKE} install 315 cd ${.CURDIR}/periodic; ${MAKE} install 316 cd ${.CURDIR}/rc.d; ${MAKE} install 317 cd ${.CURDIR}/devd; ${MAKE} install 318 cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap 319 cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt 320 cd ${.CURDIR}; \ 321 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 322 Makefile.usr ${DESTDIR}/usr/Makefile 323.for dir in ${DIRS} 324.if exists(${.CURDIR}/../${dir}/Makefile.etc) 325 cd ${.CURDIR}/../${dir}; ${MAKE} -f Makefile.etc obj 326 cd ${.CURDIR}/../${dir}; ${MAKE} -f Makefile.etc install 327.endif 328.endfor 329 mkdir -p ${DESTDIR}/dev 330 cd ${.CURDIR}/../share/skel; \ 331 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 332 dot.cshrc ${DESTDIR}/root/.cshrc; \ 333 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 334 dot.login ${DESTDIR}/root/.login; \ 335 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 336 dot.profile ${DESTDIR}/root/.profile; \ 337 rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ 338 cd ${.CURDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 339 ${MTREE} ${DESTDIR}/etc/mtree 340 cd ${.CURDIR}/ppp; ${INSTALL} -o root -g ${BINGRP} -m 600 \ 341 ${PPPCNF} ${DESTDIR}/etc/ppp 342 cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ 343 ${ETCMAIL} ${DESTDIR}/etc/mail 344 @if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \ 345 ! -f ${DESTDIR}/etc/aliases ]; then \ 346 set -x; \ 347 ${LN} -s mail/aliases ${DESTDIR}/etc/aliases; \ 348 fi 349 ${INSTALL} -o ${BINOWN} -g operator -m 664 /dev/null \ 350 ${DESTDIR}/etc/dumpdates 351 ${INSTALL} -o nobody -g ${BINGRP} -m 644 /dev/null \ 352 ${DESTDIR}/var/db/locate.database 353 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 354 ${DESTDIR}/var/log/auth.log 355 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 356 ${DESTDIR}/var/log/cron 357 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \ 358 ${DESTDIR}/var/log/daemon 359 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 360 ${DESTDIR}/var/log/lpd-errs 361 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \ 362 ${DESTDIR}/var/log/maillog 363 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 364 ${DESTDIR}/var/log/lastlogx 365 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 366 ${DESTDIR}/var/log/messages 367 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ 368 ${DESTDIR}/var/log/security 369 ${INSTALL} -o ${BINOWN} -g network -m 640 /dev/null \ 370 ${DESTDIR}/var/log/slip.log 371 ${INSTALL} -o ${BINOWN} -g network -m 640 /dev/null \ 372 ${DESTDIR}/var/log/ppp.log 373 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 374 ${DESTDIR}/var/log/wtmpx 375 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ 376 ${DESTDIR}/var/run/utmpx 377 ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/minfree \ 378 ${DESTDIR}/var/crash 379 cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 380 COPYRIGHT ${DESTDIR}/ 381 rm -f ${DESTDIR}/usr/include/machine/ioctl_bt848.h 382 rm -f ${DESTDIR}/usr/include/machine/ioctl_meteor.h 383 ${LN} -s "../dev/video/bktr/ioctl_bt848.h" ${DESTDIR}/usr/include/machine/ioctl_bt848.h 384 ${LN} -s "../dev/video/meteor/ioctl_meteor.h" ${DESTDIR}/usr/include/machine/ioctl_meteor.h 385.if !defined(NOMAN) 386 cd ${.CURDIR}/../share/man; ${MAKE} makedb 387.endif 388 389# 390# 391distrib-dirs: 392 mtree ${MTREE_FSCHG} -deU -f ${.CURDIR}/mtree/BSD.root.dist \ 393 -p ${DESTDIR}/ 394 mtree ${MTREE_FSCHG} -deU -f ${.CURDIR}/mtree/BSD.var.dist \ 395 -p ${DESTDIR}/var 396 mtree ${MTREE_FSCHG} -deU -f ${.CURDIR}/mtree/BSD.usr.dist \ 397 -p ${DESTDIR}/usr 398 mtree ${MTREE_FSCHG} -deU -f ${.CURDIR}/mtree/BSD.include.dist \ 399 -p ${DESTDIR}/usr/include 400 -chflags xlink ${DESTDIR}/* ${DESTDIR}/usr/* ${DESTDIR}/var/* \ 401 ${DESTDIR}/home/* 402 cd ${DESTDIR}/; test -e sys || (rm -f sys; ${LN} -s usr/src/sys sys) 403.if !defined(NO_SHARE) 404 cd ${DESTDIR}/usr/share/nls; \ 405 rm -rf "POSIX"; \ 406 rm -rf "en_US.US-ASCII"; \ 407 ${LN} -s "C" "POSIX"; \ 408 ${LN} -s "C" "en_US.US-ASCII" 409.endif 410 411etc-examples: 412 cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 413 ${BINUPDATE} ${BIN1} ${BIN2} nsmb.conf \ 414 ${DESTDIR}/usr/share/examples/etc 415 cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ 416 ${DEFAULTS} ${DESTDIR}/usr/share/examples/etc/defaults 417 418.include <bsd.prog.mk> 419