diff options
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/pam_abl/ChangeLog | 5 | ||||
-rw-r--r-- | sys-auth/pam_abl/Manifest | 6 | ||||
-rw-r--r-- | sys-auth/pam_abl/files/system-auth | 1 | ||||
-rw-r--r-- | sys-auth/pam_abl/pam_abl-0.2.3.ebuild | 13 |
4 files changed, 19 insertions, 6 deletions
diff --git a/sys-auth/pam_abl/ChangeLog b/sys-auth/pam_abl/ChangeLog index 30c1b44c1..7c266f3d0 100644 --- a/sys-auth/pam_abl/ChangeLog +++ b/sys-auth/pam_abl/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 07 Apr 2007; Alessio Cassibba (X-Drum) <swapon@gmail.com> + pam_abl-0.2.3.ebuild, files/system-auth: + fixed strict aliasing problems, removed "session required pam_abl.so" in + system-auth to avoid unknown Module error + 07 Jan 2007; Jakub Moc <jakub@gentoo.org> pam_abl-0.2.3.ebuild: Add keepdir diff --git a/sys-auth/pam_abl/Manifest b/sys-auth/pam_abl/Manifest index 0e76d99dd..1c1fca9b6 100644 --- a/sys-auth/pam_abl/Manifest +++ b/sys-auth/pam_abl/Manifest @@ -1,5 +1,5 @@ -AUX system-auth 560 RMD160 03b26e5b7b0e65072c3cb769a25077c5f4f0f49d SHA1 0ca8894486fce701a5a7185f4e3f76950e23a887 SHA256 529417a2b1c153542a7149a5f00630ac81e9bdb2423cb9baad473c127ea4040d +AUX system-auth 523 RMD160 a8b11c513676994c96889a5ed93862db0fd68305 SHA1 a5636857a026f2986538628aabf3c0fd97bad13b SHA256 538968407dc7919eff2c489dc351bdbeed61479252a1719d9534d28618243e8e DIST pam_abl-0.2.3.tar.gz 19000 RMD160 c6a040f77c6f68e9b595f53998b3190d55907c6e SHA1 65ba9ca3eb1ee6316ecafb44081ed3334160a5ac SHA256 9bb4059fba96f9846784d5e70bec72893630bdd70bc840be767cc33b83c6b163 -EBUILD pam_abl-0.2.3.ebuild 1439 RMD160 0333a773c44b6333fdcad7f923a36c922336d93c SHA1 cefc54bc36b884470aff1ac088991112cef2ee0e SHA256 57debba67f67bc77ce47e11c5514cf7825daa82fcc781ba7ead678a773f2641f -MISC ChangeLog 354 RMD160 17ae157939af5e12c1eb9749ecf582c607ad1943 SHA1 d76d73e88859f749b4b69a2d5338d621f708a3b8 SHA256 43924fd2d838107cb143dd3c115c106e9766b81429866a4170c577980361ea14 +EBUILD pam_abl-0.2.3.ebuild 1665 RMD160 dceed3c05142d5889c4bd4303f796dfc03bacf85 SHA1 b17b73cf3ac32dadb5b4f27e358dfa5c60759769 SHA256 5b94e98e6e8f16e7b86126b1ca4abd369a5a1ce2f11e9ed27e8433d8851095ef +MISC ChangeLog 577 RMD160 0ea780979aaf27410f50709169ac8f28ea5cb720 SHA1 360a6d4361aed8ea0608cb7af934717754aee384 SHA256 f6aebaabfe7e64850bd7aa2cb75bed59a897e20896cb290b7326663d31aa4c15 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/sys-auth/pam_abl/files/system-auth b/sys-auth/pam_abl/files/system-auth index dc0f4a6fc..62043aef6 100644 --- a/sys-auth/pam_abl/files/system-auth +++ b/sys-auth/pam_abl/files/system-auth @@ -12,5 +12,4 @@ password sufficient pam_unix.so nullok md5 shadow use_authtok password required pam_deny.so session required pam_limits.so -session required pam_abl.so session required pam_unix.so diff --git a/sys-auth/pam_abl/pam_abl-0.2.3.ebuild b/sys-auth/pam_abl/pam_abl-0.2.3.ebuild index 45a62abc2..cd5b3981c 100644 --- a/sys-auth/pam_abl/pam_abl-0.2.3.ebuild +++ b/sys-auth/pam_abl/pam_abl-0.2.3.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit pam toolchain-funcs +inherit flag-o-matic pam toolchain-funcs DESCRIPTION="Provides auto blacklisting of hosts and users responsible for repeated failed authentication attempts" HOMEPAGE="http://www.hexten.net/pam_abl/" @@ -25,7 +25,7 @@ src_unpack() { cd "${S}" # fix hardcoded values in Makefile - sed -i -e "s:-Wall -fPIC:${CFLAGS} -Wall -fPIC:" \ + sed -i -e "s:-Wall -fPIC:${CFLAGS} -Wall:" \ -e "s:/lib/security:$(getpam_mod_dir):" \ -e "s:cc:$(tc-getCC):" \ -e "s:ld -:$(tc-getLD) -:" Makefile || die "sed failed in Makefile" @@ -37,6 +37,15 @@ src_unpack() { -e "s:user:#user:" conf/pam_abl.conf || die "sed failed in conf/pam_abl.conf" } +src_compile() { + # fix strict aliasing problems, using -fno-strict-aliasing + append-flags "-fPIC -fno-strict-aliasing" + + emake CC="$(tc-getCC)" \ + LD="$(tc-getLD)" \ + CFLAGS="${CFLAGS}" || die "emake failed" +} + src_install() { dopammod pam_abl.so dopamd "${FILESDIR}/system-auth" |