---
name: vsftpd-ext-ssl
version: 2.3.5.1_1
origin: ftp/vsftpd-ext
comment: FTP daemon that aims to be "very secure". Extended build
arch: freebsd:9:x86:64
www: http://vsftpd.devnet.ru/eng/
maintainer: gelraen.ua@gmail.com
prefix: /usr/local
licenselogic: single
flatsize: 348895
desc: |
  Extended build of vsftpd with additional features.

  WWW: http://vsftpd.devnet.ru/eng/
categories: [ipv6, ftp]
options: {DOCS: on, RC_SCRIPT: off, SSL: on}
files:
  /usr/local/etc/vsftpd.conf.dist: 4b120a8b7c24a8ff789ff4164155f7ad5ca7a4e925df3cfc82fb04910c91724e
  /usr/local/libexec/vsftpd: 897a454a0f94413487a622f6ad93b1dfab6e1daf4abc2ee2223a3cdfd23b5b9b
  /usr/local/man/man5/vsftpd.conf.5.gz: a66b89032a30e6a323835e1f9da5eb64b007708118f704aacfb4e9797906639f
  /usr/local/man/man8/vsftpd.8.gz: b38ea4fcb31c34e20e443a5762da4ef274a4e8a49f8979705a88738e43a88a01
  /usr/local/share/doc/vsftpd-ext/AUDIT: 966f33f34ecd248819aa6ef19a80a739baf325bd2cdd897fd69ae930afe6cb27
  /usr/local/share/doc/vsftpd-ext/BENCHMARKS: 854498521b8570133d89b025c964c3ce464afac46b073731c3dd4771621a6e67
  /usr/local/share/doc/vsftpd-ext/BUGS: 17d7eb8475f12cce3a3460ec87a1448894089270b618051e181276eccddf9051
  /usr/local/share/doc/vsftpd-ext/Changelog: da7041730ea1c415620f44513d7d630a5b8b1114217bfb489a669bdd30a5a951
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/HTTP_TEMPLATES/403-serv.html: b05140aa29e06be4127bab9f29a62573b617b40b367721250f8a83cc8f8678a7
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/HTTP_TEMPLATES/403.html: 1625b70d8d861d5545091721c9b2f687e1895842981de15b94da1819d0a304d2
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/HTTP_TEMPLATES/404.html: 01dcdce10c739457eda22860bfb739e6918af34cfa2b145da079785852366927
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/HTTP_TEMPLATES/browse.html: 6e464a67796af596d68d4f52e10774cbdc0725e1481f25d20b577f3e8c175ebb
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/HTTP_TEMPLATES/browse_line.html: a8be96c3d913883deea5d8baf1cbc8d3397d909dd0915f28e7b18b6b59c5632f
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/INTERNET_SITE/README: 8b12b05b7d664e344d4d59a26c3f6b13c645f1b53ce6045780791350b278606b
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/INTERNET_SITE/vsftpd.conf: 4326d89a39bea92a0dbcaaee0f658d7bf810c8f322688b6b1303f3b357a0971f
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/INTERNET_SITE/vsftpd.xinetd: fb26bd0055e5875fb2d1083326b272685de7b017da65000a21f99081c1a30015
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/INTERNET_SITE_NOINETD/README: 6ed67ebc32ca688633732308ba23c7601a463df9a8f6d4d349cf1e0fc770c8f5
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd.conf: ee162751cf714e1ab6b5894fd08b0a95e788a462311cf7da47988ee5fa55aa62
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/PER_IP_CONFIG/README: 47ffd29f468e22eb304a368bb987510fd44f0486894de293dc7dbd3d48e78f5c
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/PER_IP_CONFIG/hosts.allow: 4935bc943f442e358d7a9c81f4ce2ae1ec098543e726868d423eac55beb91b7b
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/README: 87274257549cc60d5fd2d873326b22eb89a4d8199bb5841fed3bf6c82b5494f2
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/VIRTUAL_HOSTS/README: 519b63d63c4f1517a1e7cf3373f19df4c8a697d1823814f425340bbebf5fa8f1
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/VIRTUAL_USERS/README: 7dad436bf918a2f81a540847a9a46946370c2d796ffd5bb5d98cb8a69b2e926e
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/VIRTUAL_USERS/logins.txt: 181e70be2fcc7d0dbf34f8626e2e026b10ee91108f84dea93670caac57b394c2
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/VIRTUAL_USERS/vsftpd.conf: 182acb8b70a360dda945df11a1598cf493774f017db569a57f07447119bb0713
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/VIRTUAL_USERS/vsftpd.pam: f725b5fbca3b482fc4a7147e6ed031b7482679cdb81dbd9045bed8baa33cbf79
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/VIRTUAL_USERS_2/README: 60b8129dd74b2e4779f1ac8344127e47a7847584b8cd79eb36a055208ca553e3
  /usr/local/share/doc/vsftpd-ext/FAQ: a3701e0657b3ef2b76080cc6440d2c3ce99b57cffa247725958baf5091107e2e
  /usr/local/share/doc/vsftpd-ext/INSTALL: 33d73bbc95be0b9dc1a050f1945e92b6819ae4b4afc718b4d83d53ea9f8db5ee
  /usr/local/share/doc/vsftpd-ext/LICENSE: 2225485a2ca5e00cafd96ecb4336cfd34dc6064ec16f560c1d7b26d213de6e81
  /usr/local/share/doc/vsftpd-ext/README: b03b497acd07418d5ec66571fe1ada5e588068e5750fd4c44eba01ab007f6642
  /usr/local/share/doc/vsftpd-ext/README.security: 1f0b372b2f63fc08f5e195f0d1e958dfed03c57d8868a3f90317bcb312585228
  /usr/local/share/doc/vsftpd-ext/README.ssl: 7d477aa0eea632d8518302a0b840dc9848b22b69f2be54f84bb17430f11b7d03
  /usr/local/share/doc/vsftpd-ext/REFS: 7dfcba66640a14732c40b934923599106625bd4ba6b1d2fc360ee2021a3799e6
  /usr/local/share/doc/vsftpd-ext/REWARD: 9cf0afbf0552928f37cd4b068a2cc039f4200175d65dcead6701de158a17c957
  /usr/local/share/doc/vsftpd-ext/SECURITY/DESIGN: 97d0cab32f477176059b7799b3f92c90136440aa84ee7c5005f0d964a311df66
  /usr/local/share/doc/vsftpd-ext/SECURITY/IMPLEMENTATION: 595fd71183207e0297b8ea5d1f0f2ad1681e16c1df530ac11844e7fa010e7d54
  /usr/local/share/doc/vsftpd-ext/SECURITY/OVERVIEW: 90c4a70c9df7c3b090e7a1822f3bb0cdff5a559a4cdd58f98c9536f23c5f43ba
  /usr/local/share/doc/vsftpd-ext/SECURITY/TRUST: 47a2ac8924cec7a864d3482f2fdb9bbef552c8c0123b8647b6ccbfc2d3cf717c
  /usr/local/share/doc/vsftpd-ext/SIZE: 0662397b33b84f9827d238703e7ac36fa9f129fa227640956bbf87e0233cdd82
  /usr/local/share/doc/vsftpd-ext/SPEED: 1ce6627358df144f933424c8b81c40d70729bed51f634c6205ac6b8da43eec41
  /usr/local/share/doc/vsftpd-ext/TODO: 9b33011e6f62be693f6b7c636b490745c79541cbef6854a1f1916db4e95b82a6
  /usr/local/share/doc/vsftpd-ext/TUNING: 3f54cac8362cd97c646c8e034e4676c2a053660b033e2011fe24297e93e0a74e
directories:
  /var/ftp/: y
  /usr/local/share/vsftpd/empty/: n
  /usr/local/share/vsftpd/: n
  /usr/local/share/doc/vsftpd-ext/SECURITY/: n
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/VIRTUAL_USERS_2/: n
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/VIRTUAL_USERS/: n
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/VIRTUAL_HOSTS/: n
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/PER_IP_CONFIG/: n
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/INTERNET_SITE_NOINETD/: n
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/INTERNET_SITE/: n
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/HTTP_TEMPLATES/: n
  /usr/local/share/doc/vsftpd-ext/EXAMPLE/: n
  /usr/local/share/doc/vsftpd-ext/: n
scripts:
  post-install: |
    mkdir -p /usr/local/share/vsftpd/empty
    if [ ! -f /usr/local/etc/vsftpd.conf ]; then cp /usr/local/etc/vsftpd.conf.dist /usr/local/etc/vsftpd.conf; fi
    if [ ! -d /var/ftp ]; then mkdir /var/ftp ; fi
  pre-deinstall: |
    if diff -q /usr/local/etc/vsftpd.conf /usr/local/etc/vsftpd.conf.dist; then rm /usr/local/etc/vsftpd.conf; fi
  install: "#!/bin/sh\n# $FreeBSD: /tmp/pcvs/ports/ftp/vsftpd-ext/pkg-install,v 1.1
    2009-06-16 03:53:39 pgollucci Exp $\n#\n\nif [ \"$2\" != \"PRE-INSTALL\" ]; then\n
    \   exit 0\nfi\n\nif ! pw groupshow operator >/dev/null; then\n\tif pw groupadd
    operator 5; then\n\t\techo \"Added group operator for vsftpd\"\n\telse\n\t\techo
    \"Failed to add group operator as gid 5\" >&2\n\t\texit 1\n\tfi\nfi\n\nif ! pw
    usershow ftp >/dev/null; then\n\tif pw useradd ftp -g operator -u 14 -h - -d /var/ftp
    -s /nonexistent -c \"Anonymous Ftp\"; then\n\t\techo \"Added user ftp for vsftpd\"\n\telse\n\t\techo
    \"Failed to add user ftp as gid 14\" >&2\n\t\texit 1\n\tfi\nfi\n\n# uid=14(ftp)
    gid=5(operator) groups=5(operator)\nview=\"$(id ftp)\"\nview=\"${view%25%25 *}\"\nif
    test \"${view}\" = \"uid=14(ftp)\"; then\n\texit 0\nfi\n\necho \"User ftp should
    have uid 14\"; >&2\nexit 1\n# eof\n"
  deinstall: |
    #!/bin/sh
    # $FreeBSD: /tmp/pcvs/ports/ftp/vsftpd-ext/pkg-deinstall,v 1.1 2009-06-16 03:53:39 pgollucci Exp $
    #

    if [ "$2" != "POST-DEINSTALL" ]; then
        exit 0
    fi

    USER=ftp

    if pw usershow "${USER}" 2>/dev/null 1>&2; then
            echo "To delete FTP user permanently, use 'pw userdel ${USER}'"
            echo "Don't do this if you're using FreeBSD's anonymous FTP server"
    fi

    exit 0
