summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-07-26 15:42:50 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-07-26 15:42:50 +0000
commitd4fca8fffa68839f3882d16e0884a848fa15f3ce (patch)
treeb12033f5bb7b6f08eadcde1c26ed2ff003a4f5aa /sys-libs/pam
parentraise shared-mime-info and desktop-file-utils deps to get latest specs... (diff)
downloadhistorical-d4fca8fffa68839f3882d16e0884a848fa15f3ce.tar.gz
historical-d4fca8fffa68839f3882d16e0884a848fa15f3ce.tar.bz2
historical-d4fca8fffa68839f3882d16e0884a848fa15f3ce.zip
Add patch per bug #329885 Thanks to Hugo Mildenberger.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/pam')
-rw-r--r--sys-libs/pam/ChangeLog6
-rw-r--r--sys-libs/pam/Manifest13
-rw-r--r--sys-libs/pam/files/Linux-PAM-1.1.1-pam_tally2-mode.patch16
-rw-r--r--sys-libs/pam/pam-1.1.1-r2.ebuild5
4 files changed, 32 insertions, 8 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog
index 138337ff0fe0..03cd674cdcce 100644
--- a/sys-libs/pam/ChangeLog
+++ b/sys-libs/pam/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/pam
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.260 2010/05/22 09:09:08 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.261 2010/07/26 15:42:50 flameeyes Exp $
+
+ 26 Jul 2010; Diego E. Pettenò <flameeyes@gentoo.org> pam-1.1.1-r2.ebuild,
+ +files/Linux-PAM-1.1.1-pam_tally2-mode.patch:
+ Add patch per bug #329885 Thanks to Hugo Mildenberger.
22 May 2010; Justin Lecher <jlec@gentoo.org> pam-1.1.1-r2.ebuild:
Removed ebeep in EAPI=3 ebuilds
diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest
index 803625415c28..3066c5f27667 100644
--- a/sys-libs/pam/Manifest
+++ b/sys-libs/pam/Manifest
@@ -9,19 +9,20 @@ AUX Linux-PAM-1.1.0-uclibc.patch 2643 RMD160 4294e27b8d90d8d9ee93c427d7eaf8af419
AUX Linux-PAM-1.1.0-xcrypt.patch 609 RMD160 115048d4d4d501c03ea5604c0f5bb6f10435fe8b SHA1 2e5cb04fa6d10c3b19800d555e30b590a651583f SHA256 98304d8534bc44c3acbf5300f06a25c30b3ec8ce9e19bcacd6112b8434857398
AUX Linux-PAM-1.1.1+berkdb-5.patch 473 RMD160 a03806a7406c97944b7efbd0cc624c219fa13c20 SHA1 1cd13c810fb1c967734e78c1fdec75e176261544 SHA256 76c9cea947452e1d15ab815df7052bf74e434ab598dde7e5afab8e46cf8c7dd0
AUX Linux-PAM-1.1.1-gentoodb.patch 1145 RMD160 a9f8a6adf67f4804eaf0dab51d48545bf2ab41cf SHA1 48b08cccd47f1fe63d3ac9c048e071c9955bf657 SHA256 7cbb9477d9a83b642e9f2a5e4d9be7c0831b7d131890482c623e08a2193beadc
+AUX Linux-PAM-1.1.1-pam_tally2-mode.patch 670 RMD160 795e22f12753bc1d8609a51d36f709c03eb40156 SHA1 bf60ea6c77aafbebc029dac54eea0b7fe8839a65 SHA256 f6d386e0452629dbcdee96e209ad629e6fafec88d368dfda5bc138cfe15e22ab
AUX Linux-PAM-1.1.1-xcrypt.patch 867 RMD160 8742c63058f01198b3c0bc5e6c0a430c90c65b90 SHA1 0c8830ceb483ff071f2aa5722c16c52183b3de55 SHA256 447b85fd045c688fa995791f58c6be45e73dec071dd43ee9773df1a6b7eb0486
DIST Linux-PAM-1.1.0-docs.tar.bz2 494697 RMD160 324f4cdabbaaa85ac5afca9babea1bfe21e32285 SHA1 56cdc680d48a3dc1ffbd9becb855a4724d5f39ad SHA256 7d8e4455cf44937ccc0c7fb370d469c9bef33c68979b23f706fb37727bf8812b
DIST Linux-PAM-1.1.0.tar.bz2 1106379 RMD160 b57473ac39ef5c5ec22459e78e00abdbead396e5 SHA1 1ef5b91bf483ecf31e8f07c3c0322b397b13af70 SHA256 139b1abb0f1c402e443ad9083b5ff0512f4a5ae7bc806528e9d7eced13384ed7
DIST Linux-PAM-1.1.1-docs.tar.bz2 495534 RMD160 182639c3fa79c96dbc263f2d16346345949bb0c8 SHA1 9e25f276546844bb5a58f30b5e5d5a97d25c5af5 SHA256 89950180aba6e5e05671c43d970d9738fd2b71b1421a2cf4d504f5c529586ac6
DIST Linux-PAM-1.1.1.tar.bz2 1120055 RMD160 2d3c39cb2c3542d380e1331fef08c7086cc829d9 SHA1 8baf11b04396230ba7cf8b2bfb2d2bd75aab8fa6 SHA256 608d3eb9d7a5e1a7505fff62e6a583fdb6e52dc05bf54dc9661c5f395b1fb904
EBUILD pam-1.1.0.ebuild 5250 RMD160 72b539e4564fc086b55202216c4b42ca20b7790c SHA1 a5ea008a77a8538e299331f4979097047c66cbcb SHA256 d119aedf71062fbb30a5d818df9bccdaa7ef170c3af479858793964a18c96fbd
-EBUILD pam-1.1.1-r2.ebuild 5698 RMD160 25ab3c38fe569b32e59624b277aa4c663ec063c6 SHA1 49a740774a95a0fb8e97fa050c8acd1b8691b773 SHA256 4aa843a6938abc79d725b4e4596890f2fc8a902ae2848d7d2cfaa322fe7a079f
-MISC ChangeLog 42036 RMD160 81872d3042275bd8e8b8dee2d314fd5981598183 SHA1 02ec724c05bb5e3ef872e7e1e35739e82a692794 SHA256 f685c8e04a1db8da426a1ff270b628015b8795de839aeec8666bd849c60ae595
+EBUILD pam-1.1.1-r2.ebuild 5817 RMD160 009b5f96d18000591062035a4832faf7793e4054 SHA1 0a6ec8750e5baa8ed667c703704ffb8ad3e99438 SHA256 588606693132bea409d72d4e91f373dc970c42219fa1c3d45037732e8990e453
+MISC ChangeLog 42224 RMD160 2251064ab02bd5f01d709025b28b3c27b082c334 SHA1 3439c47a4b63450fc7a5f8d36f394329176747a6 SHA256 efabde13b0ed934de926962a2762c56180176b858c11e1cab6c148e7860b35e8
MISC metadata.xml 1129 RMD160 a800f5ac4255ca20c26791ff0b57c3c923666623 SHA1 99e58550271cf1c3e23c4547387469a0d211ae55 SHA256 e160643aca26e0418b31429836ae1b4c673474cd6130b7e2ac0d0bf41380df0b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkv3nzoACgkQgAnW8HDreRbsdQCdGSz0KQ8rNwx2pAhtv2tyCFP3
-BTEAnjzfAm5puqp/uJkhbLgZGrPU38TJ
-=sxH0
+iEYEARECAAYFAkxNrQMACgkQAiZjviIA2Xh4UACgg/fr5iLI0xrUmE3l0jdHpMHi
+bNAAnA0QZh3w866edrRoLUhF4Ah7JSuJ
+=bTD3
-----END PGP SIGNATURE-----
diff --git a/sys-libs/pam/files/Linux-PAM-1.1.1-pam_tally2-mode.patch b/sys-libs/pam/files/Linux-PAM-1.1.1-pam_tally2-mode.patch
new file mode 100644
index 000000000000..608615cf6d94
--- /dev/null
+++ b/sys-libs/pam/files/Linux-PAM-1.1.1-pam_tally2-mode.patch
@@ -0,0 +1,16 @@
+Index: modules/pam_tally2/pam_tally2.c
+===================================================================
+RCS file: /cvsroot/pam/Linux-PAM/modules/pam_tally2/pam_tally2.c,v
+retrieving revision 1.4
+diff -u -B -r1.4 pam_tally2.c
+--- modules/pam_tally2/pam_tally2.c 27 Feb 2009 14:29:40 -0000 1.4
++++ modules/pam_tally2/pam_tally2.c 26 Jul 2010 15:37:14 -0000
+@@ -373,7 +373,7 @@
+
+ lstat_ret = lstat(filename, &fileinfo);
+ if (lstat_ret) {
+- *tfile=open(filename, O_APPEND|O_CREAT, 0700);
++ *tfile=open(filename, O_APPEND|O_CREAT, S_IRUSR|S_IWUSR);
+ /* Create file, or append-open in pathological case. */
+ if (*tfile == -1) {
+ #ifndef MAIN
diff --git a/sys-libs/pam/pam-1.1.1-r2.ebuild b/sys-libs/pam/pam-1.1.1-r2.ebuild
index 954aa4838f17..e2026e9d291c 100644
--- a/sys-libs/pam/pam-1.1.1-r2.ebuild
+++ b/sys-libs/pam/pam-1.1.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.1-r2.ebuild,v 1.4 2010/05/22 09:09:08 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.1-r2.ebuild,v 1.5 2010/07/26 15:42:50 flameeyes Exp $
EAPI="3"
@@ -100,6 +100,9 @@ src_prepare() {
# DB_DBM_HSEARCH is not enough; bug #319831
epatch "${FILESDIR}/${MY_PN}-1.1.1+berkdb-5.patch"
+ # fix tally file created executable, see bug #329885
+ epatch "${FILESDIR}/${MY_PN}-1.1.1-pam_tally2-mode.patch"
+
# Remove libtool-2 libtool macros, see bug 261167
rm m4/libtool.m4 m4/lt*.m4 || die "rm libtool macros failed."