summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2011-03-12 14:03:50 +0000
committerSven Wegener <swegener@gentoo.org>2011-03-12 14:03:50 +0000
commit491d8295778abfb4c1c20cbc67581f8d73beda43 (patch)
tree94b5e1ea45a562ae6f5ce0f5b850be74b9dc4e87 /sys-auth/pam_mktemp
parentppc stable wrt #358539 (diff)
downloadhistorical-491d8295778abfb4c1c20cbc67581f8d73beda43.tar.gz
historical-491d8295778abfb4c1c20cbc67581f8d73beda43.tar.bz2
historical-491d8295778abfb4c1c20cbc67581f8d73beda43.zip
Version bump.
Package-Manager: portage-2.2.0_alpha26/cvs/Linux x86_64
Diffstat (limited to 'sys-auth/pam_mktemp')
-rw-r--r--sys-auth/pam_mktemp/ChangeLog10
-rw-r--r--sys-auth/pam_mktemp/Manifest16
-rw-r--r--sys-auth/pam_mktemp/metadata.xml3
-rw-r--r--sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild42
4 files changed, 57 insertions, 14 deletions
diff --git a/sys-auth/pam_mktemp/ChangeLog b/sys-auth/pam_mktemp/ChangeLog
index 778f29b1ad9b..fd779d6f133f 100644
--- a/sys-auth/pam_mktemp/ChangeLog
+++ b/sys-auth/pam_mktemp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-auth/pam_mktemp
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mktemp/ChangeLog,v 1.17 2010/01/07 15:54:00 fauli Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mktemp/ChangeLog,v 1.18 2011/03/12 14:03:50 swegener Exp $
+
+*pam_mktemp-1.1.1 (12 Mar 2011)
+
+ 12 Mar 2011; Sven Wegener <swegener@gentoo.org> +pam_mktemp-1.1.1.ebuild,
+ metadata.xml:
+ Version bump.
07 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
pam_mktemp-1.0.3.ebuild:
diff --git a/sys-auth/pam_mktemp/Manifest b/sys-auth/pam_mktemp/Manifest
index f7289b59532f..92acb9a01b4c 100644
--- a/sys-auth/pam_mktemp/Manifest
+++ b/sys-auth/pam_mktemp/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST pam_mktemp-1.0.3.tar.gz 4563 RMD160 2c65426818519e89429807de81bf493caa9a4e26 SHA1 430779f2ecbe5bd6d612fba6b784a14cbe0960aa SHA256 b16b78c5ed4cc04cc8e656d530900e70a7c2e45d3dece6e53fbd94e4470ba734
+DIST pam_mktemp-1.1.1.tar.gz 6754 RMD160 6e9dcf8e1c4ca2ca171b972f87ff8ef114111ab5 SHA1 0c8a2efce9675720813256120c9a753c13505557 SHA256 66cf80c18439ca3456db96402f2eeac14b1a0503cc1d1be7f2b16d5f079f3f3d
EBUILD pam_mktemp-1.0.3.ebuild 1036 RMD160 f3c6b5e47dfdf9538a26ce7b40239e0b1104fb6a SHA1 7d1846d23d2241e71d87fc900807e662f5887a3f SHA256 cdb0cb098b2558a8104d7733ffc4e69cb232295519da9641d2cec198eb5bfe36
-MISC ChangeLog 2122 RMD160 67d88b387dd3db93530198111a6ac5c4d05f9fa4 SHA1 cdde01018f772c6f65f0c6552165d37c50ecf4cb SHA256 43d2da7736e123b220053254713502ca1fbc759d06ae0192e02b30adab0e8dfa
-MISC metadata.xml 218 RMD160 52f8f7caf399fb53c1d0949dfdf994be09e593f4 SHA1 a2f953b7386e6717b58f6b7f80db58ec62217a41 SHA256 384c6aa7140ccfcd6c3e25d03c0797d2e72b5415ce01e48db419f1f9b77826f1
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAktGA54ACgkQNQqtfCuFneN8RQCeMamtTFx0oaAowJ3OYpLmObHG
-YLQAn2qneXM+8pFz7g5XUXPdq3C4xCwp
-=K8ZA
------END PGP SIGNATURE-----
+EBUILD pam_mktemp-1.1.1.ebuild 1208 RMD160 0be651ea18f6e541153e588318a23291e339fc5e SHA1 41d9a5078b67f659b360f3beb31570a0e54a2beb SHA256 cab0878e5b7f4a67e01d4fa6b13fc408fced59fbfa608af56540a7aa5bd823d0
+MISC ChangeLog 2267 RMD160 d00cfd413e25f35f089e344da52e9019a9d40722 SHA1 db8159f2361a21334aa346f57612e03038d708bb SHA256 853f6a1c6ecbb0ed0f419d38b031113845b259e484e3a9db342c1725cf183967
+MISC metadata.xml 369 RMD160 35d72a9ee31aacade1fb063e0fbabf591c5d58d0 SHA1 d894c3d2c72d95ca7870c30db34777caed80feaf SHA256 ce32ad8230dfd3db48d3bdb99be63f5b4910e8828c01d048378aac8e36da09dc
diff --git a/sys-auth/pam_mktemp/metadata.xml b/sys-auth/pam_mktemp/metadata.xml
index 1c25380ab848..d7c694df6206 100644
--- a/sys-auth/pam_mktemp/metadata.xml
+++ b/sys-auth/pam_mktemp/metadata.xml
@@ -5,4 +5,7 @@
<maintainer>
<email>swegener@gentoo.org</email>
</maintainer>
+<use>
+<flag name='prevent-removal'>If supported, set EXT2_APPEND_FL on /tmp/.private to prevent temporary directories from being removed</flag>
+</use>
</pkgmetadata>
diff --git a/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild b/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild
new file mode 100644
index 000000000000..7da6fcac0bfb
--- /dev/null
+++ b/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild,v 1.1 2011/03/12 14:03:50 swegener Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs pam
+
+DESCRIPTION="Create per-user private temporary directories during login"
+HOMEPAGE="http://www.openwall.com/pam/"
+SRC_URI="http://www.openwall.com/pam/modules/${PN}/${P}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE="selinux +prevent-removal"
+
+DEPEND="virtual/pam
+ selinux? ( sys-libs/libselinux )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -fPIC" \
+ LDFLAGS="${LDFLAGS} --shared -Wl,--version-script,\$(MAP)" \
+ USE_SELINUX="$(use selinux && echo 1 || echo 0)" \
+ USE_APPEND_FL="$(use prevent-removal && echo 1 || echo 0)"
+}
+
+src_install() {
+ dopammod pam_mktemp.so
+ dodoc README
+}
+
+pkg_postinst() {
+ elog "To enable pam_mktemp put something like"
+ elog
+ elog "session optional pam_mktemp.so"
+ elog
+ elog "into /etc/pam.d/system-auth!"
+}