---
name: pam_abl
version: 0.2.3
origin: security/pam_abl
comment: Blacklisting responsible for repeated failed authentication attempts
arch: freebsd:9:x86:64
www: http://www.hexten.net/pam_abl/
maintainer: prehor@gmail.com
prefix: /usr/local
licenselogic: single
flatsize: 73157
desc: |
  The pam_abl provides auto blacklisting of hosts and users
  responsible for repeated failed authentication attempts.

  WWW: http://www.hexten.net/pam_abl/
deps:
  db42: {origin: databases/db42, version: 4.2.52_5}
categories: [security]
files:
  /usr/local/etc/pam_abl.conf.sample: 8e23a24488b333679b0f402ba48f623e880758aa946019eaeb598c04d3f2b348
  /usr/local/etc/periodic/daily/190.clean-pam-abl: 2fa88aadd20786e6384106ac4137e822ec79155f0d323f6fe2b4ebf322e0c124
  /usr/local/lib/pam_abl.so: fccc28ea390bd6d56e8e697c94177fa68a65e4ab1fadc9ceb0856895fa6a1cf5
  /usr/local/man/man8/pam_abl.8.gz: 12bd7cd8f2b4003a21d6296514812aa6337042cefa7569fbab5039cc58b09fd6
  /usr/local/sbin/pam_abl: 429e694912524b247dae17d1dffe393ef704218bade9255ac88e5670269ba5ae
  /usr/local/share/doc/pam_abl/AUTHORS: dcae2f390d9b0f1d6dc887a9f24ee2b59308b45e589ff2220ab1a905d636cbed
  /usr/local/share/doc/pam_abl/COPYING: 9b1e143ff683097296fc7ab3324f852380648809e5ea7830e1e94c74b1e939b7
  /usr/local/share/doc/pam_abl/Copyright: 93169611e4079d405cc91dc76bc16893d7a994a5f9e6c5043f77d1228605dbc9
  /usr/local/share/doc/pam_abl/NEWS: 902c256fdca05ba1b856dc6d35ee24ebdf5baa238e328b8aa00cb5612bf891f2
  /usr/local/share/doc/pam_abl/README: 27b94a1ffc304c6ee920454c5cb9363c618feae3ac318db6edbb3eb604cc87fc
  /usr/local/share/doc/pam_abl/THANKS: 65b12f47740289d7247902b14f9e559d767c34c3e07e0940816a1ec0a0000d11
  /usr/local/share/doc/pam_abl/copying.html: ff52b2c79a66f4ad7107d95e02c57ae1922a65da4a58fc10a1645b194dcfb7db
  /usr/local/share/doc/pam_abl/index.html: 1d8ed60124ddb1235eeb1efc8bbc88ebe413cecd53f2a366709649735ee414e8
  /usr/local/share/doc/pam_abl/pam_abl.html: 1416041a4a8034cd8d23b3d7a26cd92854a9733df3096652989c471d01150a4e
  /usr/local/share/doc/pam_abl/style.css: b72cc681cc35841e6e5f73b44a6b6dbfb22c57ff6d2c45ed76795fdfaede6778
  /usr/local/share/doc/pam_abl/system-auth: 4a7fcbcaa094e90ec919e7f8c14847b9d58257091b83234bf5915cf2acfb72cf
directories:
  /usr/local/share/doc/pam_abl/: n
  /usr/local/etc/periodic/daily/: y
  /usr/local/etc/periodic/: y
scripts:
  post-install: |
    mkdir -p /var/db/pam_abl
  deinstall: "#!/bin/sh\n#\n# $FreeBSD: ports/security/pam_abl/files/pkg-deinstall.in,v
    1.2 2012/11/17 06:01:14 svnexp Exp $\n#\n\nPATH=/bin:/usr/bin:/usr/sbin\n\ncase
    $2 in\nDEINSTALL)\n\tcd ${PKG_PREFIX}/etc || exit 1\n\tcmp -s -z pam_abl.conf
    pam_abl.conf.sample && rm pam_abl.conf\n\trmdir /var/db/pam_abl 2>/dev/null\n\t;;\nPOST-DEINSTALL)\n\tpam_files=\"$(grep
    -lR '^[^#]*pam_abl\\.so' /etc/pam.d ${PKG_PREFIX}/etc/pam.d)\"\n\techo \"===>
    post-deinstallation information for $1:\"\n\tif [ -n \"${pam_files}\" ]; then\n\t\techo
    \"\"\n\t\techo \"     Warning: pam_able remain used for this services:\"\n\t\tfor
    pam_file in ${pam_files}; do\n\t\t\techo \"\t${pam_file}\"\n\t\tdone\n\tfi\n\tif
    [ -e ${PKG_PREFIX}/etc/pam_abl.conf -o -d /var/db/pam_abl ]; then\n\t\techo \"\"\n\t\techo
    \"     To ease updates, the database directory and configuration\"\n\t\techo \"
    \    file modified by you were preserved.\"\n\t\techo \"\"\n\t\techo \"     Please
    remove them manually if you do not want to use\"\n\t\techo \"     pam_abl any
    longer.\"\n\tfi\n\techo \"\"\n\t;;\n*)\n\texit 64\n\t;;\nesac\nexit 0\n"
message: |
  *****************************************************************************

  Read files in /usr/local/share/doc/pam_abl for info on how to set up.

  *****************************************************************************

  To automatically purge pam_abl databases according to purge rules in config
  add to your /etc/periodic.conf this line:

    daily_clean_pam_abl_enable="YES"

  *****************************************************************************
