---
name: qadsl
version: 1.3.3_2
origin: net/qadsl
comment: Auto login/Keep-alive for Telia AB ADSL, COMHEM Cable, and Tiscali Internet
arch: freebsd:9:x86:64
www: http://www.gnu.org/software/alive/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [GPLv2]
flatsize: 110909
desc: "qadsl (GNU Alive) is a small utility to login on the Telia AB ADSL service.
  \nIt also works fine with COMHEM Cable internet and Tiscali Internet services. \nIt
  features a keep-alive daemon with login/logout functions. The daemon \nperiodically
  connects to the ISP to ensure you are not logged out. \n\nWWW: http://www.gnu.org/software/alive/\n"
categories: [net]
files:
  /usr/local/etc/qadsl.conf.sample: 53ed85a00c0fcf3c1b6025be2cd2b4902a4856e613f5b638813a549d5af6aa97
  /usr/local/etc/rc.d/qadsl: a02ded06a75e5485c86b8e980b3d08742e0ea96b06202eb2f32cf71c81ae3821
  /usr/local/info/qadsl.info: 5f6dec50e1a972b634805e7a82fe8311019c2ac1c8de8709f97064b564e32b58
  /usr/local/man/man5/qadsl.conf.5.gz: 0b4d1c91b3b3f06b057dc254514fe777849e799429175264b116ce0d2b8c2f89
  /usr/local/man/man8/qadsl.8.gz: 5ed75e6648cd3dc4280806a5cdf102a550c0415b41f59b5208ee7c10ba33a344
  /usr/local/sbin/qadsl: 2fde5ae2f1e12a7deecb96c978c50a76f01fe41b8d7efe34ee31c82fdd37f0a0
  /usr/local/share/licenses/qadsl-1.3.3_2/GPLv2: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670
  /usr/local/share/licenses/qadsl-1.3.3_2/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/qadsl-1.3.3_2/catalog.mk: 6a3aa694a4ab6b23d4e4e97fa787577d13d7bd83b91e863b1c5e3fa6d7323188
directories:
  /usr/local/share/licenses/qadsl-1.3.3_2/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    cd /usr/local
    cd /usr/local
    file=/usr/local/info/qadsl.info
    install-info --quiet /usr/local/info/qadsl.info ${file%25/*}/dir
  pre-deinstall: |
    cd /usr/local
    cd /usr/local
    if [ -f /usr/local/info/dir ]; then if sed -e '1,/Menu:/d' /usr/local/info/dir | grep -q '^[*] '; then true; else rm /usr/local/info/dir; fi; fi
  post-deinstall: |
    cd /usr/local
    cd /usr/local
    file=/usr/local/info/qadsl.info
    install-info --quiet --delete /usr/local/info/qadsl.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
message: "\n*********************************************************\n\nA sample
  configuration file has been copied to\n/usr/local/etc/qadsl.conf.sample.  \nqadsl
  (GNU Alive) will NOT work \nwithout a valid /usr/local/etc/qadsl.conf.\n\n*********************************************************\n\n===>
  \ COMPATIBILITY NOTE:\n\tConfiguration file from qadsl 1.2 and below\n\tare not
  compatible with qadsl 1.3.3 or after.\n\tMake sure to edit your configuration properly.
  \n\n===>  BE CAREFULL HOW TO BOOT on 1.3.3 or after:\n\tTo run qadsl from startup,
  add qadsl_enable=\"YES\"\n\tin your /etc/rc.conf.\n\n"
