---
name: ipv6mon
version: 1.0_1
origin: net-mgmt/ipv6mon
comment: Tool for monitoring IPv6 address usage
arch: freebsd:9:x86:64
www: http://www.si6networks.com/tools/ipv6mon/
maintainer: hrs@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [GPLv3]
flatsize: 260363
desc: "ipv6mon is a tool meant for monitoring IPv6 address usage on a local\nnetwork.
  \ It is meant to be particularly useful in networks that employ\nIPv6 Stateless
  Address Auto-Configuration (as opposed to DHCPv6),\nwhere address assignment is
  decentralized and there is no central\nserver that records which IPv6 addresses
  have been assigned to which\nnodes during which period of time.\n\nWWW:\thttp://www.si6networks.com/tools/ipv6mon/\n"
categories: [net-mgmt, ipv6]
users: [ipv6mon]
groups: [ipv6mon]
files:
  /usr/local/etc/ipv6mon.conf.dist: 5815124f44fc4d15712a9588e9e93fb1d6fc0e2a412775416b7fd26ac7cc10c4
  /usr/local/etc/rc.d/ipv6mon: 1c45fa3e5dbae062bdcafdfaa4462ed99d71247af6439fbc1fd7bb93c0b303e9
  /usr/local/man/man5/ipv6mon.conf.5.gz: 3484aebaeecf476fb8ae81c5325c75d8b30d802bc8e18559fb7cf12a92995c40
  /usr/local/man/man8/ipv6mon.8.gz: 6da0ba2ee473a12e93a6191dff1a33abd88666a0cc58c582ab13d7fd1ad5aa27
  /usr/local/sbin/ipv6mon: 60f770f08b8c272156e65ce39367868d9f5b5c4f9a180f21b104176aad06d1b0
  /usr/local/share/doc/ipv6mon/README.TXT: a1e74a0af1c802f7925b8d329126262d11addeb03be73505fe0fbe20ca567bc0
  /usr/local/share/doc/ipv6mon/ipv6mon-installation-notes.odt: d6cc53d0901ca952a5c6662adf8e69768e814c199e033ec5efb3b90e8c9cf074
  /usr/local/share/doc/ipv6mon/ipv6mon-installation-notes.pdf: d3edaeabb5093380607b2e1e9525b5fe6e9f432ae45a689b896b472ab215c9dc
  /usr/local/share/doc/ipv6mon/ipv6mon-manual.odt: 2b267c854b1d47b2f4fcb20c90518c20614892e0a645cd48484aeac338ef8c8e
  /usr/local/share/doc/ipv6mon/ipv6mon-manual.pdf: 6f9eee51133ef05baac60e20fb0312c5860407d8b12d3ff5426b9fb9c9fcdaa0
  /usr/local/share/licenses/ipv6mon-1.0_1/GPLv3: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
  /usr/local/share/licenses/ipv6mon-1.0_1/LICENSE: feb018c22cc4001bbeccc04db5569c5aeaec18f1ebbee51a52d56c251418e243
  /usr/local/share/licenses/ipv6mon-1.0_1/catalog.mk: 5016ad324d96cf3fa3b3a84135a7e210171216a6d799386c8b4a7acac771991f
directories:
  /usr/local/share/licenses/ipv6mon-1.0_1/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/ipv6mon/: n
scripts:
  post-install: |
    echo "===> Creating users and/or groups."
    if ! /usr/sbin/pw groupshow ipv6mon >/dev/null 2>&1; then  echo "Creating group 'ipv6mon' with gid '148'.";  /usr/sbin/pw groupadd ipv6mon -g 148; else echo "Using existing group 'ipv6mon'."; fi
    if ! /usr/sbin/pw usershow ipv6mon >/dev/null 2>&1; then  echo "Creating user 'ipv6mon' with uid '148'.";  /usr/sbin/pw useradd ipv6mon -u 148 -g 148  -c "IPv6 Address Monitoring Daemon" -d /nonexistent -s /usr/sbin/nologin;  else echo "Using existing user 'ipv6mon'."; fi
    if [ ! -r /usr/local/etc/ipv6mon.conf ]; then install -m 444 /usr/local/etc/ipv6mon.conf.dist /usr/local/etc/ipv6mon.conf; fi
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    cmp -s /usr/local/etc/ipv6mon.conf.dist /usr/local/etc/ipv6mon.conf && rm -f /usr/local/etc/ipv6mon.conf || true
    if /usr/sbin/pw usershow ipv6mon >/dev/null 2>&1; then  echo "==> You should manually remove the \"ipv6mon\" user. "; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
