diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-auth/pam_abl | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-auth/pam_abl')
-rw-r--r-- | sys-auth/pam_abl/Manifest | 3 | ||||
-rw-r--r-- | sys-auth/pam_abl/metadata.xml | 23 | ||||
-rw-r--r-- | sys-auth/pam_abl/pam_abl-0.4.1.ebuild | 48 | ||||
-rw-r--r-- | sys-auth/pam_abl/pam_abl-0.5.0.ebuild | 44 | ||||
-rw-r--r-- | sys-auth/pam_abl/pam_abl-0.6.0.ebuild | 51 |
5 files changed, 169 insertions, 0 deletions
diff --git a/sys-auth/pam_abl/Manifest b/sys-auth/pam_abl/Manifest new file mode 100644 index 000000000000..e21261f206e4 --- /dev/null +++ b/sys-auth/pam_abl/Manifest @@ -0,0 +1,3 @@ +DIST pam-abl-0.4.1.tar.bz2 250473 SHA256 42680216ab541510c33c7303ebc2a81e3d2f1a64f5df0ae78e7b335eaa767a5e SHA512 a266fcc1aeb0fd95f9d3da69a4e9eac15e9fe0c10ed32d2af3ce5e00f4ee1f599fea6b7695902f3a13bcc0f9a831ccde24b1f3cbcce6b6988b60b04a9c420509 WHIRLPOOL 27aa7456836d38704dc67299e2f3bff3ad68e0610f3986dc716ee278d4191cdab3db30d5fa3b2e8cc5bd95b80c55f7ce6c2a4b3b33c70605dd19b5155dd20f4e +DIST pam-abl-0.5.0.tar.gz 41038 SHA256 2ef75438179e15a0d657e73659c083938dde10706008fd73c960f848d791ec38 SHA512 3b87c0bd0ee42f72bbef202735bf53f04336d19618a8edbd75ccb2d71d8ce8772fde475bdb4236bd422b723eb3771029e259f70e49e8de80d2d2a27a571f5ccc WHIRLPOOL e077c69c9cd127055fc5d2e3e4c941fbfe364e0fd9637b91a75f0d08d9aadf8d2b4fd790698f1a570c7da1110f49a603e5da38c1b1c05cf1f8298ec4fc2184b9 +DIST pam-abl-0.6.0.tar.gz 48882 SHA256 dff9437af247fee19e8269919a3eed44c1e69874c1fa06325997c8d1eeb7eeb4 SHA512 fd4fca672800683f87eba4c9804925d0f1c0e5991a32af7d045787cf571d5d98996d2303460fada4796432916c713973c82c3a70da06d686194e97bfb0e8198e WHIRLPOOL 69363207a20a8c7ee935eb4f716ca61c019de8416d54cff0b41fac474dc6da089cc77d2b13c6e344f7296be0425fe804e63dbb61962018b9559f871fe9c36f38 diff --git a/sys-auth/pam_abl/metadata.xml b/sys-auth/pam_abl/metadata.xml new file mode 100644 index 000000000000..b0b1e5478f5a --- /dev/null +++ b/sys-auth/pam_abl/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>pam</herd> + <herd>proxy-maintainers</herd> + <maintainer> + <email>swapon@gmail.com</email> + <name>Alessio Cassibba</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.4.1.ebuild b/sys-auth/pam_abl/pam_abl-0.4.1.ebuild new file mode 100644 index 000000000000..925ad353b523 --- /dev/null +++ b/sys-auth/pam_abl/pam_abl-0.4.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 + +MY_PN="${PN/_/-}" +MY_P="${MY_PN}-${PV}" + +inherit flag-o-matic pam + +DESCRIPTION="PAM module for blacklisting of hosts and users on repeated failed authentication attempts" +HOMEPAGE="http://pam-abl.deksai.com/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2" + +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}/${MY_P}" + +src_configure() { + econf \ + --enable-shared \ + --disable-static \ + --disable-dependency-tracking \ + --enable-fast-install \ + --docdir=/usr/share/doc/${PF} \ + --with-pam-dir=$(getpam_mod_dir) \ + || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dopamsecurity . conf/pam_abl.conf + + keepdir /var/db/abl +} + +pkg_postinst() { + elog "See /usr/share/doc/${PF}/ for configuration info and set up " + elog "/etc/security/pam_abl.conf as needed." +} diff --git a/sys-auth/pam_abl/pam_abl-0.5.0.ebuild b/sys-auth/pam_abl/pam_abl-0.5.0.ebuild new file mode 100644 index 000000000000..a2a2792e5597 --- /dev/null +++ b/sys-auth/pam_abl/pam_abl-0.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 of hosts and users on repeated failed authentication attempts" +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}/${MY_PN}" + +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 +} 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..d8335d40b2f6 --- /dev/null +++ b/sys-auth/pam_abl/pam_abl-0.6.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 of hosts and users on repeated failed authentication attempts" +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 +} |