---
name: isc-dhcp41-server
version: 4.1.e_7,2
origin: net/isc-dhcp41-server
comment: The ISC Dynamic Host Configuration Protocol server
arch: freebsd:9:x86:64
www: http://www.isc.org/products/DHCP/
maintainer: douglas@douglasthrift.net
prefix: /usr/local
licenselogic: single
licenses: [ISCL]
flatsize: 1696850
desc: |
  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 (this port)
    * A DHCP client
    * A DHCP relay agent

  WWW: http://www.isc.org/products/DHCP/
categories: [net]
users: [dhcpd]
groups: [dhcpd]
options: {IPV6: on, LDAP: off, LDAP_SSL: on, PARANOIA: on}
files:
  /usr/local/bin/omshell: ec8ba9880709e194384b95c776455416c75b5c27938dddb87f236a46b78f2b2b
  /usr/local/etc/dhcpd.conf.sample: 3dad6091ac29b756ca6ef6a56f2a37d5fd48d9e95e7b59b89236e2756b8e00e7
  /usr/local/etc/dhcpd6.conf.sample: 6f35e3044a1b88f385589a79625e076c336eb297ee0351141b5f61369b487758
  /usr/local/etc/rc.d/isc-dhcpd: 68254aa047d0f72e59dc76952223c4dc2399c1f83b62e5cd473ad2ae9c00f38a
  /usr/local/etc/rc.d/isc-dhcpd6: '-'
  /usr/local/include/dhcpctl.h: 68b3d42471503c1c5058f9b247137452e9e880db711c496dff867f318b063fe4
  /usr/local/include/isc-dhcp/boolean.h: 9bced011809aac5880737746478063662c33c22effba37be87ba48809417e167
  /usr/local/include/isc-dhcp/commandline.h: 6d0fd5cf35c2fe48839e7a4b2b0c78a13b9639685ae6cf62886dc80bbebf5eb2
  /usr/local/include/isc-dhcp/dst.h: be9362aca6b7dd7e0d27f42dbff3af32c1a59cb7b2977bc9a4adb84dcd847e99
  /usr/local/include/isc-dhcp/formatcheck.h: 51fd1659ca00e44c28d2f631a284890da82761dc25d70d5cc670a400f8f0a402
  /usr/local/include/isc-dhcp/int.h: 71333c6c246bc7bd0c97a3ce3804f65be0ccddee407a46fe52be451f1a151c0e
  /usr/local/include/isc-dhcp/lang.h: 4f9f7a9c703062e882541c1fad5499a3077926dcbd1f369bfebb231a79c0b8ec
  /usr/local/include/isc-dhcp/list.h: 112850a21161d44a40afdf28ec2b4e94be8d0a6629f17a1fcd2654d3d79ec513
  /usr/local/include/isc-dhcp/mem.h: 6351e6efcbdb33aba16db23fce728d2f15e9f34067d9390e6f93636025a558db
  /usr/local/include/isc-dhcp/print.h: 6fb77d92b58f98c94544cb5be0165377306861f2be249fc5fc3e4fcd072e96aa
  /usr/local/include/isc-dhcp/result.h: 8e984f1261d428cfc0afdb2caa44191bbb70b238ebc7e62fe1f9ea321e8d5bdb
  /usr/local/include/isc-dhcp/string.h: 2e39a10f30e962079e5e7579f348ca0ecf38b035175db5cecda4a1601b428227
  /usr/local/include/isc-dhcp/types.h: 4184109beae90e06791eb1819b5570a3104d3d87c84dbb3a19f894b847bcfa27
  /usr/local/include/omapip/alloc.h: 985bff93fccf2a2f1013d0983535f82bf94cdbc06c2621e54ed5622eb981599c
  /usr/local/include/omapip/buffer.h: f44321e3a7101bad164e1e29921a901c9bdc6fd7e38cdcd06442473bec02cf96
  /usr/local/include/omapip/convert.h: 23b2eb43e2eca15440981a38187cffa7aef09225eff190a17f29820a9a965722
  /usr/local/include/omapip/hash.h: 8fccc51bbb1492a4858cee4bdfeadaf1bbea11d8c2de00046ef778f18fe70cd5
  /usr/local/include/omapip/omapip.h: aa1a26961f051f2d328513aa31a91f224931c8673e0c43b4b3c21896bd20f22f
  /usr/local/include/omapip/omapip_p.h: 6717d8e68ad275ac7f58c156c1f7f329379b27f368a18b42c344d3276ab85d35
  /usr/local/include/omapip/trace.h: 79ac649bbef586706f481541709fd17a1a09c2d51601ab066560c7577997a296
  /usr/local/lib/libdhcpctl.a: caf7d0c1decf206cd4c70452a54576526cbaadafdeebb820ad135080fe9690f0
  /usr/local/lib/libdst.a: 778508517cf562fcb2d6227ca37bec13a2d229a27b72f989672702dea8995239
  /usr/local/lib/libomapi.a: 68fc860ceaeae9ad335921e9569cbaff2692fad8b2f1bc2f7fcdb9f31ba72dd6
  /usr/local/man/man1/omshell.1.gz: bb4cbea4fe3f8ce808c7ab602c695523f6eb3b5a86fe91360239534b8530a376
  /usr/local/man/man3/dhcpctl.3.gz: dd834b4c4415e12a6435717521ff1c830bc4a0fcc49d48c4f1f85a18d3ba0a85
  /usr/local/man/man3/omapi.3.gz: 9eb086f5cb3bbfd88453da863eeae5c9c3a9828a2f98ebcbafba10e062c6348c
  /usr/local/man/man5/dhcp-eval.5.gz: 8e697eb7964c72ec1f59baf00bd875645aefdd77e96fa60bf8b0b2d65f51087b
  /usr/local/man/man5/dhcp-options.5.gz: d4ac7d1a53c8f9cd6dc47f089e05470b93b1899743e265dd09acf09ce4e31d52
  /usr/local/man/man5/dhcpd.conf.5.gz: 24225f0d7fcbf021327c2fbbdee728534bd5c2ab99c3d362c3540d4ef44cb36f
  /usr/local/man/man5/dhcpd.leases.5.gz: 48c030cb96a3aa44152ccf9304f819387dcb4ae4258dc8838edb2110d878a1a8
  /usr/local/man/man8/dhcpd.8.gz: b2832bedd6ca165c1a4aa640e71e80d2019f6199acdc17b68cef342b95edeadd
  /usr/local/sbin/dhcpd: 68ca814660473fe400715da37385919b5f326cff9b5ad77eb573f0438039920d
  /usr/local/share/licenses/isc-dhcp41-server-4.1.e_7,2/ISCL: e0feefef73c312a6c13e016f615f2aa86df45697405c81302144db873a32266e
  /usr/local/share/licenses/isc-dhcp41-server-4.1.e_7,2/LICENSE: 5fe93c3e042a87337ef6e636ff3254d8d0cf41de9fb5481cb74c6a7801afabff
  /usr/local/share/licenses/isc-dhcp41-server-4.1.e_7,2/catalog.mk: 0ef914403cf3f23b32f0c4eb52c530cd40c48eed0a0cf43ec03dacf28dd7e31e
directories:
  /usr/local/share/licenses/isc-dhcp41-server-4.1.e_7,2/: n
  /usr/local/share/licenses/: y
  /usr/local/include/omapip/: n
  /usr/local/include/isc-dhcp/: n
scripts:
  post-install: |
    echo "===> Creating users and/or groups."
    if ! /usr/sbin/pw groupshow dhcpd >/dev/null 2>&1; then  echo "Creating group 'dhcpd' with gid '136'.";  /usr/sbin/pw groupadd dhcpd -g 136; else echo "Using existing group 'dhcpd'."; fi
    if ! /usr/sbin/pw usershow dhcpd >/dev/null 2>&1; then  echo "Creating user 'dhcpd' with uid '136'.";  /usr/sbin/pw useradd dhcpd -u 136 -g 136  -c "ISC DHCP daemon" -d /nonexistent -s /usr/sbin/nologin;  else echo "Using existing user 'dhcpd'."; fi
    if [ ! -f /usr/local/etc/dhcpd.conf ] ; then cp -p /usr/local/etc/dhcpd.conf.sample /usr/local/etc/dhcpd.conf; fi
    if [ ! -f /usr/local/etc/dhcpd6.conf ] ; then cp -p /usr/local/etc/dhcpd6.conf.sample /usr/local/etc/dhcpd6.conf; fi
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    /usr/local/etc/rc.d/isc-dhcpd forcestop 2>/dev/null || true
    /usr/local/etc/rc.d/isc-dhcpd6 forcestop 2>/dev/null || true
    if cmp -s /usr/local/etc/dhcpd.conf.sample /usr/local/etc/dhcpd.conf; then rm -f /usr/local/etc/dhcpd.conf; fi
    if cmp -s /usr/local/etc/dhcpd6.conf.sample /usr/local/etc/dhcpd6.conf; then rm -f /usr/local/etc/dhcpd6.conf; fi
    if /usr/sbin/pw usershow dhcpd >/dev/null 2>&1; then  echo "==> You should manually remove the \"dhcpd\" user. "; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: "****  To setup dhcpd, please edit /usr/local/etc/dhcpd.conf.\n\n****  This
  port installs dhcp daemon, but doesn't invoke dhcpd by default. If\n      you want
  to invoke dhcpd at startup, put these lines into /etc/rc.conf.\n\n\t    dhcpd_enable=\"YES\"\t\t\t\t#
  dhcpd enabled?\n\t    dhcpd_flags=\"-q\"\t\t\t\t# command option(s)\n\t    dhcpd_conf=\"/usr/local/etc/dhcpd.conf\"\t#
  configuration file\n\t    dhcpd_ifaces=\"\"\t\t\t\t# ethernet interface(s)\n\t    dhcpd_withumask=\"022\"\t\t\t#
  file creation mask\n\n****  If compiled with paranoia support (the default), the
  following lines\n      are also supported:\n\n\t    dhcpd_chuser_enable=\"YES\"\t\t#
  runs w/o privileges?\n\t    dhcpd_withuser=\"dhcpd\"\t\t# user name to run as\n\t
  \   dhcpd_withgroup=\"dhcpd\"\t\t# group name to run as\n\t    dhcpd_chroot_enable=\"YES\"\t\t#
  runs chrooted?\n\t    dhcpd_devfs_enable=\"YES\"\t\t# use devfs if available?\n\t
  \   dhcpd_rootdir=\"/var/db/dhcpd\"\t# directory to run in\n\t    dhcpd_includedir=\"<some_dir>\"\t#
  directory with config-\n\t\t\t\t\t\t  files to include\n\n****  WARNING: never edit
  the chrooted or jailed dhcpd.conf file but\n      /usr/local/etc/dhcpd.conf instead
  which is always copied where\n      needed upon startup.\n\n****  WARNING: /usr/local/etc/rc.isc-dhcpd.conf
  is obsolete. rc.conf like\n      variables are no longer read from there. Also,
  the dhcpd_options\n      variable is obsolete. Use dhcpd_flags instead.\n"
