# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= dhcp VERSION= 4.4.3.P1 KEYWORDS= net VARIANTS= standard SDESC[standard]= ISC DHCP Server and Relay Agent HOMEPAGE= https://www.isc.org/downloads/dhcp/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://ftp.isc.org/isc/dhcp/4.4.3-P1/ DISTFILE[1]= dhcp-4.4.3-P1.tar.gz:main DF_INDEX= 1 SPKGS[standard]= complete server client relay OPTIONS_AVAILABLE= BINLEASES DHCP4O6 LDAP BIND_SYMBOLS OPTIONS_STANDARD= BINLEASES DHCP4O6 LDAP BIND_SYMBOLS EXRUN[client]= ssl EXRUN[relay]= ssl USERS= dhcpd GROUPS= dhcpd USERGROUP_SPKG= server USES= cpe gmake ssl shebangfix cclibs:server,client,relay DISTNAME= dhcp-4.4.3-P1 LICENSE= ISCL:server LICENSE_FILE= ISCL:{{WRKSRC}}/LICENSE LICENSE_SCHEME= solo CPE_VENDOR= isc SHEBANG_FILES= contrib/ldap/dhcpd-conf-to-ldap MUST_CONFIGURE= gnu CONFIGURE_ARGS= --localstatedir=/var --enable-paranoia --enable-early-chroot --enable-dhcpv6 SINGLE_JOB= yes RC_SUBR= isc-dhcpd:server isc-dhcrelay:relay SUB_FILES= pkg-message-client-netbsd pkg-message-client-freebsd pkg-message-client-dragonfly pkg-message-client-midnightbsd pkg-message-server-netbsd pkg-message-server-freebsd pkg-message-server-dragonfly pkg-message-server-midnightbsd SUB_LIST= MANPREFIX={{MANPREFIX}} CFLAGS= -fPIC CPPFLAGS= -D_PATH_DHCLIENT_SCRIPT='\"{{PREFIX}}/sbin/dhclient-script\"' -D_PATH_DHCLIENT_CONF='\"{{PREFIX}}/etc/dhclient.conf\"' -D_PATH_DHCPD_CONF='\"{{PREFIX}}/etc/dhcpd.conf\"' LDFLAGS= -lssl VAR_OPSYS[sunos]= CPPFLAGS=-D_XOPEN_SOURCE=600 CPPFLAGS=-D__EXTENSIONS__ VAR_OPSYS[midnightbsd]= MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-raven-freebsd12.3 [BINLEASES].DESCRIPTION= Enable support for binary insertion of leases [BINLEASES].CONFIGURE_ENABLE_BOTH= binary-leases [LDAP].BUILDRUN_DEPENDS_ON= openldap:client:standard [LDAP].BUILD_DEPENDS_ON= openldap:dev:standard [LDAP].CONFIGURE_WITH_BOTH= ldap ldapcrypto [DHCP4O6].DESCRIPTION= Enable DHCPv4-over-DHCPv6 (TSV) [DHCP4O6].CONFIGURE_ENABLE_BOTH= dhcpv4o6 [BIND_SYMBOLS].DESCRIPTION= Enable BIND internal symbol table [BIND_SYMBOLS].USES_ON= perl:build post-patch: ${REINPLACE_CMD} -e 's|/usr/local||g' \ ${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf # a second dhcp configure script is run during build # make sure it gets the proper build machine target ${REINPLACE_CMD} \ -e '/^bindconfig =/ s|=|= --build=${CONFIGURE_TARGET}|'\ ${WRKSRC}/bind/Makefile.in post-install: ${INSTALL_SCRIPT} ${WRKSRC}/client/scripts/freebsd \ ${STAGEDIR}${PREFIX}/sbin/dhclient-script post-patch-BIND_SYMBOLS-ON: ${REINPLACE_CMD} -e '/^bindconfig =/ s|--disable-symtable ||' \ ${WRKSRC}/bind/Makefile.in post-install-LDAP-ON: ${MKDIR} ${STAGEDIR}${PREFIX}/share/isc-dhcp ${INSTALL_SCRIPT} ${WRKSRC}/contrib/ldap/dhcpd-conf-to-ldap \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/contrib/ldap/dhcp.schema \ ${STAGEDIR}${PREFIX}/share/isc-dhcp/ [FILE:287:descriptions/desc.server] The ISC Dynamic Host Configuration Protocol Distribution provides a freely redistributable reference implementation of all aspects of the DHCP protocol, through a suite of DHCP tools: * A DHCP server * A DHCP client * A DHCP relay agent This subpackage contains the DHCP server. [FILE:287:descriptions/desc.client] The ISC Dynamic Host Configuration Protocol Distribution provides a freely redistributable reference implementation of all aspects of the DHCP protocol, through a suite of DHCP tools: * A DHCP server * A DHCP client * A DHCP relay agent This subpackage contains the DHCP client. [FILE:292:descriptions/desc.relay] The ISC Dynamic Host Configuration Protocol Distribution provides a freely redistributable reference implementation of all aspects of the DHCP protocol, through a suite of DHCP tools: * A DHCP server * A DHCP client * A DHCP relay agent This subpackage contains the DHCP relay agent. [FILE:99:distinfo] 0ac416bb55997ca8632174fd10737fd61cdb8dba2752160a335775bc21dc73c7 10081055 dhcp-4.4.3-P1.tar.gz [FILE:497:manifests/plist.server] @sample etc/dhcpd.conf.example etc/dhcpd.conf %%LDAP-ON%%bin/dhcpd-conf-to-ldap %%LDAP-ON%%share/isc-dhcp/dhcp.schema bin/omshell include/dhcpctl/dhcpctl.h include/omapip/ alloc.h buffer.h convert.h hash.h isclib.h omapip.h omapip_p.h result.h trace.h lib/ libdhcp.a libdhcpctl.a libomapi.a sbin/dhcpd share/man/man1/omshell.1.gz share/man/man3/ dhcpctl.3.gz omapi.3.gz share/man/man5/ dhcp-eval.5.gz dhcp-options.5.gz dhcpd.conf.5.gz dhcpd.leases.5.gz share/man/man8/dhcpd.8.gz [FILE:342:manifests/plist.client] @sample etc/dhclient.conf.example etc/dhclient.conf sbin/ dhclient dhclient-script share/man/man5/ dhclient.conf.5.gz dhclient.leases.5.gz share/man/man8/ dhclient-script.8.gz dhclient.8.gz @exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases @unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases [FILE:43:manifests/plist.relay] sbin/dhcrelay share/man/man8/dhcrelay.8.gz [FILE:560:patches/patch-bind_Makefile.in] # To enable internal build, sed --disable-symtable out again --- bind/Makefile.in.orig 2022-09-28 14:39:15 UTC +++ bind/Makefile.in @@ -21,7 +21,7 @@ bindsrcdir=@BINDSRCDIR@ prefix = @prefix@ exec_prefix = @exec_prefix@ -bindconfig = --without-openssl --without-libxml2 --without-libjson \ +bindconfig = --disable-symtable --without-openssl --without-libxml2 --without-libjson \ --without-gssapi --disable-threads --without-lmdb \ --includedir=@includedir@ --libdir=@libdir@ --without-python\ @BINDLT@ @BINDIOMUX@ @BINDCONFIG@ --enable-full-report [FILE:454:patches/patch-server_mdb6.c] --- server/mdb6.c.orig 2022-09-28 14:39:15 UTC +++ server/mdb6.c @@ -1129,7 +1129,7 @@ create_lease6(struct ipv6_pool *pool, st } new_ds.data = new_ds.buffer->data; memcpy(new_ds.buffer->data, ds.data, ds.len); - memcpy(new_ds.buffer->data + ds.len, &tmp, sizeof(tmp)); + memcpy(&new_ds.buffer->data[0] + ds.len, &tmp, sizeof(tmp)); data_string_forget(&ds, MDL); data_string_copy(&ds, &new_ds, MDL); data_string_forget(&new_ds, MDL); [FILE:12136:files/isc-dhcpd.in] #! /bin/sh # PROVIDE: dhcpd # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable dhcpd: # # dhcpd_enable="YES" . /etc/rc.subr # service(8) does not create an authentic environment, try to guess, # and as of 10.3-RELEASE-p0, it will not find the indented name= # assignments below. So give it a default. # Trailing semicolon also for service(8)'s benefit: name="$file" ; case $0 in /etc/rc*) # during boot (shutdown) $0 is /etc/rc (/etc/rc.shutdown), # so get the name of the script from $_file name=$_file ;; *) name=$0 ;; esac # default name to "dhcpd" if guessing failed # Trailing semicolon also for service(8)'s benefit: name="${name:-dhcpd}" ; name=${name##*/isc-} paranoia=yes # compiled in paranoia load_rc_config ${name} # override these variables in /etc/rc.conf eval ": \${${name}_enable:=\"NO\"}" # dhcpd_flags="" # -q -early_chroot # command option(s) # dhcpd_ifaces="" # ethernet interface(s) eval ": \${${name}_conf:=%%PREFIX%%/etc/${name}.conf}" # configuration file eval ": \${${name}_withumask:=022}" # file creation mask eval ": \${${name}_chuser_enable:=\"yes\"}" # runs w/o privileges? eval ": \${${name}_withuser:=dhcpd}" # user name to run as eval ": \${${name}_withgroup:=dhcpd}" # group name to run as eval ": \${${name}_chroot_enable:=\"NO\"}" # runs chrooted? eval ": \${${name}_devfs_enable:=\"YES\"}" # devfs if available? eval ": \${${name}_chrootdir:=/var/db/${name}}" # directory to run in # dhcpd_includedir="" # directory for included config files safe_run () # rc command [args...] { local _rc _rc=$1 shift if [ "${_rc}" -eq 0 ]; then debug safe_run: "$@" "$@" || _rc=1 else warn safe_run: "$@" fi return ${_rc} } precious () # entry... { local _entry _rc _rc=0 for _entry; do # do nothing if /dev, /var/run or /var/db echo ${_entry} | egrep -q '^//*(dev|var//*(run|db))?/*$' || _rc=1 done debug precious: "$@" rc=${_rc} return ${_rc} } lsmod () # user group file... { local _entry _user _group _rc _user=$1 _group=$2 shift 2 _rc=0 for _entry; do ls -ld ${_entry} 2> /dev/null | awk -v u=${_user} -v g=${_group} '{ exit ((u && $3 != u) || (g && $4 != g)) }' || _rc=1 done debug lsmod: "$@" rc=${_rc} return ${_rc} } safe_chmog () # entry... { local _entry _user _group _usergroup _rc eval "_user=\${${name}_withuser}" eval "_group=\${${name}_withgroup}" _rc=0 if [ -n "${_user}" -o -n "${_group}" ]; then _usergroup=${_user}${_group:+:${_group}} for _entry; do if [ -d ${_entry} ] && mounted ${_entry}; then continue fi if [ -e ${_entry} ] && ! precious ${_entry} && ! lsmod ${_user} ${_group} ${_entry} && ! safe_run ${_rc} chown ${_usergroup} ${_entry}; then warn "unable to change permissions of ${_entry}" _rc=1 fi done fi return ${_rc} } safe_mkdir () # dir... { local _dir _rc _rc=0 for _dir; do if [ ! -d ${_dir} ] && ! precious ${_dir} && ! safe_run ${_rc} mkdir -p ${_dir}; then err 1 "unable to create directory ${_dir}" _rc=1 fi done safe_run ${_rc} safe_chmog "$@" || _rc=1 return ${_rc} } safe_rmdir () # dir... { local _dir _rc _rc=0 for _dir; do if [ -d ${_dir} ] && ! precious ${_dir} && ! mounted ${_dir}; then if safe_run ${_rc} rmdir ${_dir}; then safe_run ${_rc} safe_rmdir ${_dir%/*} || _rc=1 else warn "unable to remove directory ${_dir}" _rc=1 fi fi done return ${_rc} } safe_touch () # file... { local _file _rc _rc=0 for _file; do if [ ! -e ${_file} ] && ! safe_run ${_rc} touch ${_file}; then err 1 "unable to create file ${_file}" _rc=1 fi done safe_run ${_rc} safe_chmog "$@" || _rc=1 return ${_rc} } safe_remove () # entry... { local _entry _rc _rc=0 for _entry; do if [ -f ${_entry} ]; then if ! safe_run ${_rc} rm -f ${_entry}; then warn "unable to remove file ${_entry}" _rc=1 fi elif [ -d ${_entry} ] && ! precious ${_entry} && ! mounted ${_entry}; then if ! safe_run ${_rc} rm -rf ${_entry}; then warn "unable to remove directory ${_entry}" _rc=1 fi fi done return ${_rc} } safe_copy () # src dst { local _src _dst _rc _src=$1 _dst=$2 _rc=0 if [ -f ${_src} ]; then if ! safe_run ${_rc} safe_remove ${_dst} || ! safe_run ${_rc} cp -p ${_src} ${_dst}; then err 1 "unable to copy file ${_src} to ${_dst}" _rc=1 fi safe_run ${_rc} safe_chmog ${_dst} || _rc=1 elif [ -d ${_src} ] && ! precious ${_dst} && ! mounted ${_dst}; then if ! safe_run ${_rc} pax -rw -pe -ts "|^${_src}||" \ ${_src} ${_dst}; then err 1 "unable to copy directory ${_src} to ${_dst}" _rc=1 fi else err 1 "unable to copy ${_src} to ${_dst}" \ "-- not a file or a directory" _rc=1 fi return ${_rc} } mounted () # dir... { local _rc _rc=1 if checkyesno ${name}_devfs_enable; then mount -t devfs | awk ' BEGIN { n = ARGC; ARGC = 2 } { for (i = 2; i != n; i++) if ($3 == ARGV[i]) exit 1 } ' - "$@" || _rc=0 fi debug mounted: "$@" rc=${_rc} return ${_rc} } safe_mount () # dir { local _dir _rc _dir=$1 _rc=0 if checkyesno ${name}_devfs_enable && ! mounted ${_dir} && ! safe_run ${_rc} mount -t devfs devfs ${_dir}; then err 1 "unable to mount ${_dir}" _rc=1 fi return ${_rc} } safe_umount () # dir { local _dir _rc _dir=$1 _rc=0 if checkyesno ${name}_devfs_enable && mounted ${_dir} && ! safe_run ${_rc} umount ${_dir}; then warn "unable to unmount ${_dir}" _rc=1 fi return ${_rc} } check_chuser () { if checkyesno paranoia; then if checkyesno ${name}_chuser_enable && eval "[ -z \"\${${name}_withuser}\" -a -z \"\${${name}_withgroup}\" ]"; then err 1 "one of ${name}_withuser and ${name}_withgroup" \ "must be set if ${name}_chuser_enable is enabled" fi else if checkyesno ${name}_chuser_enable; then warn "${name}_chuser_enable disabled -- not compiled in" eval "${name}_chuser_enable=NO" fi fi } check_chroot () { if checkyesno paranoia; then if checkyesno ${name}_chroot_enable; then if eval "[ -z \"\${${name}_chrootdir}\" ]"; then err 1 "${name}_chrootdir must be set" \ "if ${name}_chroot_enable is enabled" fi else eval "${name}_devfs_enable=NO" fi else if checkyesno ${name}_chroot_enable; then warn "${name}_chroot_enable disabled -- not compiled in" eval "${name}_chroot_enable=NO" fi eval "${name}_devfs_enable=NO" fi } _rcvar_chuser () { if checkyesno paranoia && checkyesno ${name}_chuser_enable; then eval "${name}_piddir=\${__dhcpd_piddir}/\${name}" eval "${name}_leasesdir=\${__dhcpd_leasesdir}/\${name}" else eval unset "${name}_withuser= ${name}_withgroup=" fi } _rcvar_chroot () { if ! checkyesno paranoia || ! checkyesno ${name}_chroot_enable; then eval "${name}_chrootdir=" elif checkyesno paranoia && checkyesno ${name}_chroot_enable; then eval "${name}_devdir=\${__dhcpd_devdir}" eval "${name}_etcdir=\${__dhcpd_etcdir}" fi } _rcvar_pidnleases () { if ! checkyesno ${name}_chuser_enable; then eval "${name}_piddir=\${__dhcpd_piddir}" eval "${name}_leasesdir=\${__dhcpd_leasesdir}" fi eval "${name}_pidfile=\${${name}_piddir}/\${name}.pid" eval "${name}_leasesfile=\${${name}_leasesdir}/\${name}.leases" eval "${name}_conffile=\${${name}_conf}" # for convenience only eval "${name}_confdir=\$(dirname \${${name}_conffile})" } _rcvar_rooted () { eval "_dhcpd_chrootdir=\${${name}_chrootdir}" eval "_dhcpd_devdir=\${${name}_chrootdir}\${${name}_devdir}" eval "_dhcpd_etcdir=\${${name}_chrootdir}\${${name}_etcdir}" eval "_dhcpd_confdir=\${${name}_chrootdir}\${${name}_confdir}" eval "_dhcpd_includedir=\${${name}_chrootdir}\${${name}_includedir}" eval "_dhcpd_piddir=\${${name}_chrootdir}\${${name}_piddir}" eval "_dhcpd_leasesdir=\${${name}_chrootdir}\${${name}_leasesdir}" eval "_dhcpd_conffile=\${${name}_chrootdir}\${${name}_conffile}" eval "_dhcpd_pidfile=\${${name}_chrootdir}\${${name}_pidfile}" eval "_dhcpd_leasesfile=\${${name}_chrootdir}\${${name}_leasesfile}" } setup_umask () { if eval "[ -n \"\${${name}_withumask}\" ]"; then eval "umask \${${name}_withumask}" fi } setup_chroot () { local _hconf _hosts _ltime _rconf _hconf=host.conf _hosts=hosts _ltime=localtime _rconf=resolv.conf if checkyesno paranoia && checkyesno ${name}_chroot_enable; then if ! mounted ${_dhcpd_devdir}; then safe_mkdir ${_dhcpd_devdir}/_ # XXX /_ hack! so, .../dev is root owned. fi safe_mkdir ${_dhcpd_chrootdir} ${_dhcpd_etcdir}/_ ${_dhcpd_confdir} # XXX /_ hack! so, .../etc is root owned. if checkyesno ${name}_devfs_enable; then safe_mount ${_dhcpd_devdir} else eval "safe_copy \${${name}_devdir} \${_dhcpd_devdir}" fi eval "safe_copy \${${name}_conffile} \${_dhcpd_conffile}" eval "safe_copy \${${name}_etcdir}/\$_hconf \${_dhcpd_etcdir}/\$_hconf" eval "safe_copy \${${name}_etcdir}/\$_hosts \${_dhcpd_etcdir}/\$_hosts" # copy localtime only if it exists if eval "[ -f \"\${${name}_etcdir}/\$_ltime\" ]"; then eval "safe_copy \${${name}_etcdir}/\$_ltime \${_dhcpd_etcdir}/\$_ltime" fi eval "safe_copy \${${name}_etcdir}/\$_rconf \${_dhcpd_etcdir}/\$_rconf" # copy dhcpd_includedir if defined and available if eval "[ -d \"\${${name}_includedir}\" ]"; then safe_mkdir ${_dhcpd_includedir} eval "safe_copy \${${name}_includedir} \${_dhcpd_includedir}" fi fi } setup_chuser () { if checkyesno paranoia && { checkyesno ${name}_chuser_enable || checkyesno ${name}_chroot_enable }; then safe_mkdir ${_dhcpd_piddir} ${_dhcpd_leasesdir} fi } setup_leases () { safe_touch ${_dhcpd_leasesfile} } setup_flags () { if [ "${name}" = "dhcpd6" ]; then rc_flags="${rc_flags} -6" fi if eval "[ -n \"\${${name}_conf}\" ]"; then eval "rc_flags=\"\${rc_flags} -cf \${${name}_conf}\"" fi if eval "[ -n \"\${${name}_leasesfile}\" ]"; then eval "rc_flags=\"\${rc_flags} -lf \${${name}_leasesfile}\"" fi if eval "[ -n \"\${${name}_pidfile}\" ]"; then eval "rc_flags=\"\${rc_flags} -pf \${${name}_pidfile}\"" fi if eval "[ -n \"\${${name}_withuser}\" ]"; then eval "rc_flags=\"\${rc_flags} -user \${${name}_withuser}\"" fi if eval "[ -n \"\${${name}_withgroup}\" ]"; then eval "rc_flags=\"\${rc_flags} -group \${${name}_withgroup}\"" fi if eval "[ -n \"\${${name}_chrootdir}\" ]"; then eval "rc_flags=\"\${rc_flags} -chroot \${${name}_chrootdir}\"" fi eval "rc_flags=\"\${rc_flags} \${${name}_ifaces}\"" } cleanup_chroot () { if checkyesno paranoia && checkyesno ${name}_chroot_enable; then safe_umount ${_dhcpd_devdir} fi } dhcpd_stop () { if sh $0 forcestatus; then sh $0 forcestop fi } dhcpd_check () { check_chuser check_chroot } dhcpd_rcvar () { _rcvar_chuser _rcvar_chroot _rcvar_pidnleases _rcvar_rooted } dhcpd_precmd () { setup_umask setup_chroot setup_chuser setup_leases setup_flags } dhcpd_postcmd () { cleanup_chroot } dhcpd_restartprecmd () { setup_chroot setup_flags dhcpd_checkconfig } dhcpd_checkconfig () { local rc_flags_mod setup_flags rc_flags_mod="$rc_flags" # Eliminate '-q' flag if it is present case "$rc_flags" in *-q*) rc_flags_mod=`echo "${rc_flags}" | sed -Ee 's/(^-q | -q | -q$)//'` ;; esac if ! ${command} -t -q ${rc_flags_mod}; then err 1 "`${command} -t ${rc_flags_mod}` Configuration file sanity check failed" fi } rcvar=${name}_enable load_rc_config ${name} __dhcpd_uninstall="NO" # internal use only __dhcpd_devdir=/dev # devices directory __dhcpd_etcdir=/etc # etc directory __dhcpd_piddir=/var/run # pid file directory __dhcpd_leasesdir=/var/db # leases file directory #__dhcpd_chrootdir=/var/db/${name} # root directory dhcpd_check dhcpd_rcvar command=%%PREFIX%%/sbin/dhcpd pidfile=${_dhcpd_pidfile} eval "required_files=\${${name}_conf}" start_precmd=dhcpd_precmd stop_postcmd=dhcpd_postcmd restart_precmd="dhcpd_restartprecmd" uninstall_cmd=dhcpd_uninstall configtest_cmd="dhcpd_restartprecmd" extra_commands="uninstall configtest" run_rc_command "$1" [FILE:1814:files/isc-dhcrelay.in] #!/bin/sh # PROVIDE: dhcrelay # REQUIRE: DAEMON # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable dhcrelay: # # dhcrelay_enable="YES" # override these variables in /etc/rc.conf dhcrelay_enable=${dhcrelay_enable:-"NO"} dhcrelay6_enable=${dhcrelay6_enable:-"NO"} # dhcrelay_flags="" # command option(s) # dhcrelay_servers="" # v4 dhcrelay server(s) # dhcrelay_ifaces="" # v4 ethernet interface(s) # dhcrelay6_lowers="" # v6 "lower" network interface(s) # dhcrelay6_uppers="" # v6 "upper" network interface(s) case $0 in /etc/rc*) # during boot (shutdown) $0 is /etc/rc (/etc/rc.shutdown), # so get the name of the script from $_file name=$_file ;; *) name=$0 ;; esac name=${name##*/isc-} case ${name} in *6) ipversion=-6 ;; *) ipversion=-4 ;; esac dhcrelay_precmd () { local ifaces _servers _ifaces eval "_servers=\${${name}_servers}" eval "_ifaces=\${${name}_ifaces}" if [ -z "${_servers}" ]; then err 1 "no ${name} server(s) configured." fi ifaces= for iface in ${_ifaces}; do ifaces="${ifaces} -i ${iface}" done rc_flags="${rc_flags} ${ipversion} ${ifaces} ${_servers}" } dhcrelay6_precmd () { local lowers _lowers uppers _uppers eval "_lowers=\${${name}_lowers}" eval "_uppers=\${${name}_uppers}" if [ -z "${_lowers}" ]; then err 1 "no ${name} lower(s) configured." fi if [ -z "${_uppers}" ]; then err 1 "no ${name} upper(s) configured." fi lowers= for lower in ${_lowers}; do lowers="${lowers} -l ${lower}" done uppers= for upper in ${_uppers}; do uppers="${uppers} -u ${upper}" done rc_flags="${rc_flags} ${ipversion} ${lowers} ${uppers}" } . /etc/rc.subr rcvar=${name}_enable command=%%PREFIX%%/sbin/dhcrelay pidfile=/var/run/${name}.pid start_precmd=${name}_precmd load_rc_config ${name} run_rc_command "$1" [FILE:336:files/pkg-message-client-dragonfly.in] **** To setup dhclient, you may need to edit /etc/rc.conf to replace the base system dhclient as follows: dhclient_program="%%PREFIX%%/sbin/dhclient" dhclient_flags="-q" See dhclient(8), using the following command, for details about other possible options: MANPATH=%%MANPREFIX%%/man man 8 dhclient [FILE:336:files/pkg-message-client-freebsd.in] **** To setup dhclient, you may need to edit /etc/rc.conf to replace the base system dhclient as follows: dhclient_program="%%PREFIX%%/sbin/dhclient" dhclient_flags="-q" See dhclient(8), using the following command, for details about other possible options: MANPATH=%%MANPREFIX%%/man man 8 dhclient [FILE:336:files/pkg-message-client-midnightbsd.in] **** To setup dhclient, you may need to edit /etc/rc.conf to replace the base system dhclient as follows: dhclient_program="%%PREFIX%%/sbin/dhclient" dhclient_flags="-q" See dhclient(8), using the following command, for details about other possible options: MANPATH=%%MANPREFIX%%/man man 8 dhclient [FILE:336:files/pkg-message-client-netbsd.in] **** To setup dhclient, you may need to edit /etc/rc.conf to replace the base system dhclient as follows: dhclient_program="%%PREFIX%%/sbin/dhclient" dhclient_flags="-q" See dhclient(8), using the following command, for details about other possible options: MANPATH=%%MANPREFIX%%/man man 8 dhclient [FILE:352:files/pkg-message-relay-dragonfly] **** This port installs the dhcp relay daemon, but doesn't invoke dhcrelay by default. If you want to invoke dhcrelay at startup, add the following lines to /etc/rc.conf: dhcrelay_enable="YES" dhcrelay_flags="" # command option(s) dhcrelay_servers="" # dhcrelay server(s) dhcrelay_ifaces="" # ethernet interface(s) [FILE:352:files/pkg-message-relay-freebsd] **** This port installs the dhcp relay daemon, but doesn't invoke dhcrelay by default. If you want to invoke dhcrelay at startup, add the following lines to /etc/rc.conf: dhcrelay_enable="YES" dhcrelay_flags="" # command option(s) dhcrelay_servers="" # dhcrelay server(s) dhcrelay_ifaces="" # ethernet interface(s) [FILE:352:files/pkg-message-relay-midnightbsd] **** This port installs the dhcp relay daemon, but doesn't invoke dhcrelay by default. If you want to invoke dhcrelay at startup, add the following lines to /etc/rc.conf: dhcrelay_enable="YES" dhcrelay_flags="" # command option(s) dhcrelay_servers="" # dhcrelay server(s) dhcrelay_ifaces="" # ethernet interface(s) [FILE:352:files/pkg-message-relay-netbsd] **** This port installs the dhcp relay daemon, but doesn't invoke dhcrelay by default. If you want to invoke dhcrelay at startup, add the following lines to /etc/rc.conf: dhcrelay_enable="YES" dhcrelay_flags="" # command option(s) dhcrelay_servers="" # dhcrelay server(s) dhcrelay_ifaces="" # ethernet interface(s) [FILE:1042:files/pkg-message-server-dragonfly.in] **** To setup dhcpd, please edit %%PREFIX%%/etc/dhcpd.conf. **** This port installs the dhcp daemon, but doesn't invoke dhcpd by default. If you want to invoke dhcpd at startup, add these lines to /etc/rc.conf: dhcpd_enable="YES" # dhcpd enabled? dhcpd_flags="-q" # command option(s) dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file dhcpd_ifaces="" # ethernet interface(s) dhcpd_withumask="022" # file creation mask dhcpd_chuser_enable="YES" # runs w/o privileges? dhcpd_withuser="dhcpd" # user name to run as dhcpd_withgroup="dhcpd" # group name to run as dhcpd_chroot_enable="YES" # runs chrooted? dhcpd_devfs_enable="YES" # use devfs if available? dhcpd_rootdir="/var/db/dhcpd" # directory to run in dhcpd_includedir="" # directory with config- files to include **** WARNING: never edit the chrooted or jailed dhcpd.conf file but %%PREFIX%%/etc/dhcpd.conf instead which is always copied where needed upon startup. [FILE:1042:files/pkg-message-server-freebsd.in] **** To setup dhcpd, please edit %%PREFIX%%/etc/dhcpd.conf. **** This port installs the dhcp daemon, but doesn't invoke dhcpd by default. If you want to invoke dhcpd at startup, add these lines to /etc/rc.conf: dhcpd_enable="YES" # dhcpd enabled? dhcpd_flags="-q" # command option(s) dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file dhcpd_ifaces="" # ethernet interface(s) dhcpd_withumask="022" # file creation mask dhcpd_chuser_enable="YES" # runs w/o privileges? dhcpd_withuser="dhcpd" # user name to run as dhcpd_withgroup="dhcpd" # group name to run as dhcpd_chroot_enable="YES" # runs chrooted? dhcpd_devfs_enable="YES" # use devfs if available? dhcpd_rootdir="/var/db/dhcpd" # directory to run in dhcpd_includedir="" # directory with config- files to include **** WARNING: never edit the chrooted or jailed dhcpd.conf file but %%PREFIX%%/etc/dhcpd.conf instead which is always copied where needed upon startup. [FILE:1042:files/pkg-message-server-midnightbsd.in] **** To setup dhcpd, please edit %%PREFIX%%/etc/dhcpd.conf. **** This port installs the dhcp daemon, but doesn't invoke dhcpd by default. If you want to invoke dhcpd at startup, add these lines to /etc/rc.conf: dhcpd_enable="YES" # dhcpd enabled? dhcpd_flags="-q" # command option(s) dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file dhcpd_ifaces="" # ethernet interface(s) dhcpd_withumask="022" # file creation mask dhcpd_chuser_enable="YES" # runs w/o privileges? dhcpd_withuser="dhcpd" # user name to run as dhcpd_withgroup="dhcpd" # group name to run as dhcpd_chroot_enable="YES" # runs chrooted? dhcpd_devfs_enable="YES" # use devfs if available? dhcpd_rootdir="/var/db/dhcpd" # directory to run in dhcpd_includedir="" # directory with config- files to include **** WARNING: never edit the chrooted or jailed dhcpd.conf file but %%PREFIX%%/etc/dhcpd.conf instead which is always copied where needed upon startup. [FILE:1042:files/pkg-message-server-netbsd.in] **** To setup dhcpd, please edit %%PREFIX%%/etc/dhcpd.conf. **** This port installs the dhcp daemon, but doesn't invoke dhcpd by default. If you want to invoke dhcpd at startup, add these lines to /etc/rc.conf: dhcpd_enable="YES" # dhcpd enabled? dhcpd_flags="-q" # command option(s) dhcpd_conf="%%PREFIX%%/etc/dhcpd.conf" # configuration file dhcpd_ifaces="" # ethernet interface(s) dhcpd_withumask="022" # file creation mask dhcpd_chuser_enable="YES" # runs w/o privileges? dhcpd_withuser="dhcpd" # user name to run as dhcpd_withgroup="dhcpd" # group name to run as dhcpd_chroot_enable="YES" # runs chrooted? dhcpd_devfs_enable="YES" # use devfs if available? dhcpd_rootdir="/var/db/dhcpd" # directory to run in dhcpd_includedir="" # directory with config- files to include **** WARNING: never edit the chrooted or jailed dhcpd.conf file but %%PREFIX%%/etc/dhcpd.conf instead which is always copied where needed upon startup.