---
name: stunnel
version: 4.56
origin: security/stunnel
comment: SSL encryption wrapper for standard network daemons
arch: freebsd:9:x86:64
www: http://stunnel.org/
maintainer: zi@FreeBSD.org
prefix: /usr/local
licenselogic: or
licenses: [GPLv3, GPLv2]
flatsize: 437404
desc: |
  The stunnel program is designed to work  as  SSL  encryption
  wrapper between remote client and local (inetd-startable) or
  remote server. The concept is that having non-SSL aware dae-
  mons  running  on  your  system you can easily setup them to
  communicate with clients over secure SSL channel.

  stunnel can be used to add  SSL  functionality  to  commonly
  used  inetd  daemons  like  POP-2,  POP-3  and  IMAP servers
  without any changes in the programs' code.

  WWW: http://stunnel.org/
categories: [security]
users: [stunnel]
groups: [stunnel]
options: {IPV6: on, LIBWRAP: off, SSL_PORT: off, FORK: off, PTHREAD: on, UCONTEXT: off}
files:
  /usr/local/bin/stunnel: 38058e02026f9227b8189dc610fcf8c3187bddf966c7366f68d68627f9fb6fa2
  /usr/local/bin/stunnel3: a2d920cb7ef9e3b690b8a5c4b07684f1a1b7cdf9823d45d366ddb81bb866d355
  /usr/local/etc/rc.d/stunnel: 7d544c05247b391577d401d45dbd7f29b103b367dfda6008b34b4b348c05b1fb
  /usr/local/etc/stunnel/stunnel.conf-sample: 83084e8838b251d060805b07cbd6dc90a9f63aab5e67f7555946df7819ee2b64
  /usr/local/lib/stunnel/libstunnel.a: 6fb9a120c776d3cb487c718b112ad25190c5e44f7acf89a636edf6e7cf020758
  /usr/local/lib/stunnel/libstunnel.la: 5d9e8090ea4ad752099ee3cc5d89aa44de64aea1cbb14440f63a852e34de4b43
  /usr/local/lib/stunnel/libstunnel.so: 6cbd2006c6022f24bd98b27bbe3b5841fac48432c3a9a2a270bac720e5d8db76
  /usr/local/man/man8/stunnel.8.gz: 76dfbed5f9b7a987475c99ffc24fbfc394ca308230f91d0ca232f4f26a2cc25b
  /usr/local/man/man8/stunnel.fr.8.gz: 6da157e24bac37f950f4a226ee6fa7e563ccb8e675b1bd9dd95c17b36bb31d13
  /usr/local/man/man8/stunnel.pl.8.gz: c4e80f90885f241c99e60d9b1090da5ed7d7e0d0b6066fb975692ac8559d8c86
  /usr/local/share/doc/stunnel/AUTHORS: b4d1d8e31df9dfbff7be8476f8df3dd27cb18e6b334c693100762542f203cc77
  /usr/local/share/doc/stunnel/BUGS: f166a9da4a0364614735290d232014fe7befd65be1a5cabcffe0e8bd90ff3f8f
  /usr/local/share/doc/stunnel/COPYING: dc2ce7687d39f403a84847cef03fdb2d37a780db1e8f05a3cb1e405851f8c5a8
  /usr/local/share/doc/stunnel/COPYRIGHT.GPL: 1ee2b290e92c211b08df10e9fcaf32596cdb22b8eae731b18c2c074a4a83eebe
  /usr/local/share/doc/stunnel/CREDITS: 2b997e0969cfe66bd510dae61f385152d968403d6f6aa02af794d92fd388b80f
  /usr/local/share/doc/stunnel/ChangeLog: 80a64ec48dc3c913fd933c120f522188affcdde5c572abc6e5caac7afecadaee
  /usr/local/share/doc/stunnel/INSTALL: 890d51da0820d5b935cb31ca0e2b38831c4fa483d0b7000700170c31004682f2
  /usr/local/share/doc/stunnel/INSTALL.FIPS: 75bcb72e7524d205752d8e8080b6b27503b208bde6cb3979a1bb3280331991bd
  /usr/local/share/doc/stunnel/INSTALL.W32: ad1b6c83ef433fe2a4da7d9da65981a212b08f999a1b22d3e2f077b740a7c0ff
  /usr/local/share/doc/stunnel/INSTALL.WCE: 535bdef6d5f5d90050b84fec645da9cb085504c37dc1fbddfd204ccc104422dc
  /usr/local/share/doc/stunnel/PORTS: 7407cff108a5f8114d2c9f6d9190aa7d2ae04811970dd24fe9bc32c1015f347a
  /usr/local/share/doc/stunnel/README: 21f741ee8bc1d09b9f79c49410522af55d91d6335901a7c26257e06d5693a9d3
  /usr/local/share/doc/stunnel/TODO: 1b1a2d08b3624f7c1ff846a189b5acfb6e0d9c030ed334511528e65f4fe2bd1a
  /usr/local/share/doc/stunnel/examples/ca.html: afb38249a10f814633d088a59bf642b509b61740d32031d57dd5c2989ed3017a
  /usr/local/share/doc/stunnel/examples/ca.pl: 22193e33931c9efe3072f2233f1810783dde5d060e80d39361222fd30cf97461
  /usr/local/share/doc/stunnel/examples/importCA.html: e7584fc19775a8eb7bd4838ca0375805ed881656d8d2bbee1196ea088709d870
  /usr/local/share/doc/stunnel/examples/importCA.sh: 4b6f0bd606058980f3f0b8a5482499ff4bd0eae8db7819482ca35789f17eb300
  /usr/local/share/doc/stunnel/examples/script.sh: 30a64b93392412114705949295f9a47774598b1360e353a5d5b98714c4d5f2a6
  /usr/local/share/doc/stunnel/examples/stunnel.init: b0365de2125e1023f1672d7ce5ec4b1b5f42dd3816727208d5c68f6f9e209070
  /usr/local/share/doc/stunnel/examples/stunnel.service: e654b4c03de77493864847a4eaa1e60d0b8291b9a5ebef53b1beb48362229435
  /usr/local/share/doc/stunnel/examples/stunnel.spec: e47d40888bb27a3149c6c9a92327f33f275cb3395d6c7363b0893affd7bb7d5d
  /usr/local/share/doc/stunnel/stunnel.fr.html: af65abb80456b258a621be76905d45c0571694db437b9cb0b4cdddcff3ff9d9a
  /usr/local/share/doc/stunnel/stunnel.html: 5643c77e9378df9438dda2058263afde769ba1edfc5c89ee2779e7ebeb392292
  /usr/local/share/doc/stunnel/stunnel.pl.html: b95c2f96ee399498ccd3d41f65d07f1a18850dd577ae7fc9531b168bda1be883
  /usr/local/share/licenses/stunnel-4.56/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/stunnel-4.56/GPLv3: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
  /usr/local/share/licenses/stunnel-4.56/LICENSE: 108d3ef67df0604ea399dbfe9bce368aace6c7c5a4684ce15b7af87ba2fd0d2a
  /usr/local/share/licenses/stunnel-4.56/catalog.mk: 5bd82856675b44d1e9ee8d15734eb746fffb11f971be87b0b562dd9937e50326
directories:
  /usr/local/share/licenses/stunnel-4.56/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/stunnel/examples/: n
  /usr/local/share/doc/stunnel/: n
  /usr/local/lib/stunnel/: n
  /usr/local/etc/stunnel/: y
scripts:
  post-install: |
    echo "===> Creating users and/or groups."
    if ! /usr/sbin/pw groupshow stunnel >/dev/null 2>&1; then  echo "Creating group 'stunnel' with gid '341'.";  /usr/sbin/pw groupadd stunnel -g 341; else echo "Using existing group 'stunnel'."; fi
    if ! /usr/sbin/pw usershow stunnel >/dev/null 2>&1; then  echo "Creating user 'stunnel' with uid '341'.";  /usr/sbin/pw useradd stunnel -u 341 -g 341  -c "Stunnel Daemon" -d /nonexistent -s /usr/sbin/nologin;  else echo "Using existing user 'stunnel'."; fi
    /sbin/ldconfig -m /usr/local/lib
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    /sbin/ldconfig -R
    if /usr/sbin/pw usershow stunnel >/dev/null 2>&1; then  echo "==> You should manually remove the \"stunnel\" user. "; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
