---
name: noip
version: 2.1.9_2
origin: dns/noip
comment: No-IP.com's dynamic DNS update client
arch: freebsd:9:x86:64
www: http://www.No-IP.com/
maintainer: sthalik@tehran.lain.pl
prefix: /usr/local
licenselogic: single
licenses: [GPLv2]
flatsize: 99233
desc: |
  This is a port of No-IP.com's dynamic DNS update client.  When
  configured correctly, the client will check the local IP address at a
  given time interval for any changes.  If the local IP address has
  changed it will notify the DNS servers at No-IP.com and update the IP
  corresponding to your No-IP/No-IP+ hostname.

  WWW: http://www.No-IP.com/
categories: [dns]
users: [noip]
groups: [noip]
files:
  /usr/local/bin/noip2: 1d4b13e6da9c33269dd46f5ff4df96a83b1546baa2e51b79963d8994c71746e5
  /usr/local/etc/rc.d/noip: 630290ba2d5e3d4a6b39fdeb1de62097a6877b8338c4efd82184fed45ebf0c75
  /usr/local/share/doc/noip/COPYING: 5aaf7e9e1790c6e372b6c5dec8c6c4b60504414a8c56f64c3071d281d3c251fa
  /usr/local/share/doc/noip/README.FIRST: dc0550bf2ed0174e05bbd330b47f374271e48844ec12f1ac8bf1c8b01fad087e
  /usr/local/share/licenses/noip-2.1.9_2/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/noip-2.1.9_2/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/noip-2.1.9_2/catalog.mk: 51bec3bb3ae47cfde4ceba5e8b4dbde9d0ceda11c95a63d070129bd7e1942e7b
directories:
  /usr/local/share/licenses/noip-2.1.9_2/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/noip/: n
scripts:
  post-install: |
    echo "===> Creating users and/or groups."
    if ! /usr/sbin/pw groupshow noip >/dev/null 2>&1; then  echo "Creating group 'noip' with gid '939'.";  /usr/sbin/pw groupadd noip -g 939; else echo "Using existing group 'noip'."; fi
    if ! /usr/sbin/pw usershow noip >/dev/null 2>&1; then  echo "Creating user 'noip' with uid '939'.";  /usr/sbin/pw useradd noip -u 939 -g 939  -c "noip user" -d /nonexistent -s /usr/sbin/nologin;  else echo "Using existing user 'noip'."; fi
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    printf "\nTo delete noip user/group permanently:\npw userdel noip\n\n"
    if /usr/sbin/pw usershow noip >/dev/null 2>&1; then  echo "==> You should manually remove the \"noip\" user. "; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: "###########################################################\nYou need to
  generate the noip config file 'no-ip2.conf' in\n/usr/local/etc/no-ip2.conf.  To
  do this automatically, run:\n\n\tmake conf\n\nYou need to register with www.no-ip.com
  to use this port.\n\nYou also need to add the following line to your\n/etc/rc.conf
  or /etc/rc.conf.local file:\nnoip_enable=\"YES\"\n###########################################################\n"
