summaryrefslogtreecommitdiff
path: root/sys-auth/pam_abl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/pam_abl
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/pam_abl')
-rw-r--r--sys-auth/pam_abl/Manifest5
-rw-r--r--sys-auth/pam_abl/metadata.xml21
-rw-r--r--sys-auth/pam_abl/pam_abl-0.6.0.ebuild50
3 files changed, 76 insertions, 0 deletions
diff --git a/sys-auth/pam_abl/Manifest b/sys-auth/pam_abl/Manifest
new file mode 100644
index 000000000000..7709d4c568cb
--- /dev/null
+++ b/sys-auth/pam_abl/Manifest
@@ -0,0 +1,5 @@
+DIST pam-abl-0.6.0.tar.gz 48882 SHA256 dff9437af247fee19e8269919a3eed44c1e69874c1fa06325997c8d1eeb7eeb4 SHA512 fd4fca672800683f87eba4c9804925d0f1c0e5991a32af7d045787cf571d5d98996d2303460fada4796432916c713973c82c3a70da06d686194e97bfb0e8198e WHIRLPOOL 69363207a20a8c7ee935eb4f716ca61c019de8416d54cff0b41fac474dc6da089cc77d2b13c6e344f7296be0425fe804e63dbb61962018b9559f871fe9c36f38
+EBUILD pam_abl-0.6.0.ebuild 1151 SHA256 a9968bdc791c901321c88082107bfbddecdadb71089374fc6228db21d048a28e SHA512 4e1cbb331741d09829f26d320d760fa69bbed24c364a63e1abf1cc607ebd0c15d07a49021f6ab64ec6ce3fb7a7e1edaacbc819ad1e1beb6cfc6109e3b9935e23 WHIRLPOOL 5ea57f59587ccb7779691b8cff023d053e0fabc632339a4077edd8343f33e81c0abac44b778e5c9568b2ad39e5c872748bd0826a4afc8385ce877e8ac148e3a8
+MISC ChangeLog 2531 SHA256 b131afac28f5199fb7e516433660ed17ca13dae7c26883e2ccfb954ba7a54c83 SHA512 97dd16b983ac09cf36a92e613b542a132e4e08b420017ba065d1c652aa98f8250d54504cf60c411d7abef507bed3f886556de6e5698d2f0930503bb592593477 WHIRLPOOL b3d48932fe3a8a6373ec66c1204897e2a0d95f8a3d758a26184d4820bf9edaf0336077ed899413b431f511da3624ace0df5ad20e6ae12229324d85c3bf87c7d3
+MISC ChangeLog-2015 2997 SHA256 c82ceb9b25601320f43748e23cbf49a7e44d8c033683ee95e0314328662eb8f0 SHA512 756d1c309a62f16ba1a6c6e115127b89fa1feb0dc22a67f25d826ffc04bc57177b42f4c3542b6a8a52613cd51054acbfdb6e4b1007aad87d6ac315ffb8596cf6 WHIRLPOOL 252ba3e68086286e6bd426721d6f5f7060bbb8363b8b3394f985f575cf9620594ef9e2426d075f3afad4fe9f4df08f72e00a58a96f223f45fdf3bbdf7624adcc
+MISC metadata.xml 1172 SHA256 0b2bac117fbc89009981ba380631c3d47d015d1b1510678aea2033a212d57dd0 SHA512 957e04ee2218a1dddb6d0933171f0716804f269bf43766a0f6ffd9fbbf5ba866bbb5b0547f2a99c55572aacfedca7e846ad1a000a384a6f7b2331c6df3a62515 WHIRLPOOL 08b5c7e6d1bd0a9b63ae2c701483e8b412c74520400e72796b010c055be4bd7e4afc06ada245239b79638f1562962e48e40309221cb5d5ec8c4d677ee705c6ed
diff --git a/sys-auth/pam_abl/metadata.xml b/sys-auth/pam_abl/metadata.xml
new file mode 100644
index 000000000000..b508e81a1484
--- /dev/null
+++ b/sys-auth/pam_abl/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>pam-bugs@gentoo.org</email>
+ <name>Pluggable Authentication Method maintenance</name>
+ </maintainer>
+ <longdescription lang="en">
+PAM module that provides auto blacklisting of hosts and users responsible for repeated failed authentication attempts.
+Once a host is blacklisted it is guaranteed to fail authentication even if the correct credentials are provided.
+Hosts which stop attempting to authenticate will, after a period of time, be un-blacklisted.
+</longdescription>
+ <longdescription lang="it">
+Modulo Pam che permette di mantenere automaticamente una blacklist di host ed utenti responsabili di ripetuti tentativi di autenticazione falliti.
+Gli host soggetti a blacklist vedranno fallire i tentativi di login anche qualora le corrette credenziali vengano fornite.
+Una volta cessati i tentativi di autenticazione, dopo un certo periodo di tempo, gli host verranno riabilitati.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">pam-abl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-auth/pam_abl/pam_abl-0.6.0.ebuild b/sys-auth/pam_abl/pam_abl-0.6.0.ebuild
new file mode 100644
index 000000000000..450c5c2e55b7
--- /dev/null
+++ b/sys-auth/pam_abl/pam_abl-0.6.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_PN="${PN/_/-}"
+MY_P="${MY_PN}-${PV}"
+
+inherit flag-o-matic pam cmake-utils db-use multilib
+
+DESCRIPTION="PAM module for blacklisting hosts and users repeatedly failed authentication"
+HOMEPAGE="http://pam-abl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND=">=sys-libs/pam-0.78-r2
+ >=sys-libs/db-4.2.52_p2:="
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_configure() {
+ pammod_hide_symbols
+
+ local mycmakeargs=(
+ -DDB_INCLUDE_DIR=$(db_includedir)
+ -DDB_LINK_DIR=/usr/$(get_libdir)
+ -DDB_LIBRARY=$(db_libname)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodir $(getpam_mod_dir)
+ mv "${D}"/usr/lib/security/*.so "${D}"/"$(getpam_mod_dir)" || die
+
+ dodoc doc/*.txt README
+}
+
+pkg_preinst() {
+ if has_version "~${CATEGORY}/${PN}-0.5.0" ; then
+ ewarn "Note: the 0.5.0 release named the module 'pam-abl.so' by accident; this version"
+ ewarn "fixes that and uses 'pam_abl.so' again. Please update your config files."
+ fi
+}