From: Hanno Boeck Date: Sat, 21 Apr 2007 04:47:24 +0000 (+0000) Subject: initial commit of pam_mount X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e10b43c5037a7cbae721eb5c69de79af735fe057;p=gentoo.git initial commit of pam_mount Package-Manager: portage-2.1.2.4 --- diff --git a/sys-apps/pam_mount/ChangeLog b/sys-apps/pam_mount/ChangeLog new file mode 100644 index 000000000000..517ba8742bea --- /dev/null +++ b/sys-apps/pam_mount/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/pam_mount +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam_mount/ChangeLog,v 1.1 2007/04/21 04:47:24 hanno Exp $ + +*pam_mount-0.18 (21 Apr 2007) + + 21 Apr 2007; Hanno Boeck + +files/pam_mount-cryptsetup-path.patch, +pam_mount-0.18.ebuild: + Initial commit, bug #24213. + diff --git a/sys-apps/pam_mount/Manifest b/sys-apps/pam_mount/Manifest new file mode 100644 index 000000000000..8fe9ad704fea --- /dev/null +++ b/sys-apps/pam_mount/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX pam_mount-cryptsetup-path.patch 569 RMD160 be4c1139cd971f6dcd62f46f64164ddcae44b975 SHA1 2b91e8424e6607ff5702ca61d6c7bbcf3077d07e SHA256 341aefc753eb0383f46662025a79ebd4792fc378d48a23cc190823a090ce160f +MD5 2c1403b4246ab16549ab79dbfd9b41c6 files/pam_mount-cryptsetup-path.patch 569 +RMD160 be4c1139cd971f6dcd62f46f64164ddcae44b975 files/pam_mount-cryptsetup-path.patch 569 +SHA256 341aefc753eb0383f46662025a79ebd4792fc378d48a23cc190823a090ce160f files/pam_mount-cryptsetup-path.patch 569 +DIST pam_mount-0.18.tar.bz2 294620 RMD160 077a9fb452197cadc8d7e5350b722ee81563181f SHA1 df3029817cb27eafc8f20728230edbfffdd35cac SHA256 efaac862ccc18ebd49a2f4c10d78bbb6f15a47fb3f6426c07cee51497d5b9797 +EBUILD pam_mount-0.18.ebuild 938 RMD160 def2f3e135aad7858abdcac56281aff4aaf1d68f SHA1 e65bfc1735a4883bb62dc24c004536e4ec7be9cb SHA256 a149071ecc96c184f62725020979a714efd539c97728845aa553c6e9d0087956 +MD5 64bded08eb6634c25833280883af8fe3 pam_mount-0.18.ebuild 938 +RMD160 def2f3e135aad7858abdcac56281aff4aaf1d68f pam_mount-0.18.ebuild 938 +SHA256 a149071ecc96c184f62725020979a714efd539c97728845aa553c6e9d0087956 pam_mount-0.18.ebuild 938 +MISC ChangeLog 382 RMD160 af17a943d2ab6e427b8dc305cb2162c9851380d0 SHA1 be0fcd45fcaec260c5613d7badcdec6a689c00ce SHA256 40970f0213665cb803e219455c992cef1021b3fa5cea04085d089a334c62fa95 +MD5 14672c0d270ba102bab9b99bd02fcc22 ChangeLog 382 +RMD160 af17a943d2ab6e427b8dc305cb2162c9851380d0 ChangeLog 382 +SHA256 40970f0213665cb803e219455c992cef1021b3fa5cea04085d089a334c62fa95 ChangeLog 382 +MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669 +MD5 a72a06a37ca4e5905085ebff07fe9e9e metadata.xml 217 +RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 metadata.xml 217 +SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669 metadata.xml 217 +MD5 021b9fc98edeb8fa7929db469ee75226 files/digest-pam_mount-0.18 247 +RMD160 b5f0ebca0207271eda3c17bc6c37a13bb55d13f1 files/digest-pam_mount-0.18 247 +SHA256 5e9273d06531f2169f74ea0586c624af3000e9503a0de12cc526b6de966ad803 files/digest-pam_mount-0.18 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGKZdbr2QksT29OyARAsSgAJ93XpCQpw1zTFFXvh9Uvk1YDCKWKgCfYmrz +Q3XLujltpXJjrlqu9IUyWic= +=Cy2H +-----END PGP SIGNATURE----- diff --git a/sys-apps/pam_mount/files/digest-pam_mount-0.18 b/sys-apps/pam_mount/files/digest-pam_mount-0.18 new file mode 100644 index 000000000000..3abeccb20db4 --- /dev/null +++ b/sys-apps/pam_mount/files/digest-pam_mount-0.18 @@ -0,0 +1,3 @@ +MD5 c2e2a7eee61596a8c72d79d8bba3538d pam_mount-0.18.tar.bz2 294620 +RMD160 077a9fb452197cadc8d7e5350b722ee81563181f pam_mount-0.18.tar.bz2 294620 +SHA256 efaac862ccc18ebd49a2f4c10d78bbb6f15a47fb3f6426c07cee51497d5b9797 pam_mount-0.18.tar.bz2 294620 diff --git a/sys-apps/pam_mount/files/pam_mount-cryptsetup-path.patch b/sys-apps/pam_mount/files/pam_mount-cryptsetup-path.patch new file mode 100644 index 000000000000..271627df0c3d --- /dev/null +++ b/sys-apps/pam_mount/files/pam_mount-cryptsetup-path.patch @@ -0,0 +1,22 @@ +--- scripts/umount.crypt 2005-12-28 11:26:51.000000000 +0100 ++++ umount.crypt 2005-12-29 20:19:01.000000000 +0100 +@@ -28,7 +28,7 @@ + export IFS=`echo -en " \t\n"`; + + LOSETUP=/sbin/losetup +-CRYPTSETUP=/sbin/cryptsetup ++CRYPTSETUP=cryptsetup + MOUNT=/bin/mount + UMOUNT=/bin/umount + READLINK="/usr/bin/readlink"; +--- scripts/mount.crypt 2005-12-24 13:07:42.000000000 +0100 ++++ mount.crypt 2005-12-29 20:18:22.000000000 +0100 +@@ -28,7 +28,7 @@ + + # Commands + LOSETUP=/sbin/losetup +-CRYPTSETUP=/sbin/cryptsetup ++CRYPTSETUP=cryptsetup + MOUNT=/bin/mount + FSCK="/sbin/fsck"; + diff --git a/sys-apps/pam_mount/metadata.xml b/sys-apps/pam_mount/metadata.xml new file mode 100644 index 000000000000..efa54454de71 --- /dev/null +++ b/sys-apps/pam_mount/metadata.xml @@ -0,0 +1,6 @@ + + + +no-herd +hanno@gentoo.org + diff --git a/sys-apps/pam_mount/pam_mount-0.18.ebuild b/sys-apps/pam_mount/pam_mount-0.18.ebuild new file mode 100644 index 000000000000..c6c8315e7984 --- /dev/null +++ b/sys-apps/pam_mount/pam_mount-0.18.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pam_mount/pam_mount-0.18.ebuild,v 1.1 2007/04/21 04:47:24 hanno Exp $ + +inherit eutils + +DESCRIPTION="A PAM module that can mount volumes for a user session" +HOMEPAGE="http://pam-mount.souceforge.net" +SRC_URI="mirror://sourceforge/pam-mount/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="crypt" +DEPEND=">=sys-libs/pam-0.72 + dev-libs/openssl + >=dev-libs/glib-2.0.0" +RDEPEND="$DEPEND + crypt? ( sys-fs/cryptsetup-luks ) + sys-process/lsof" + +src_unpack() { + unpack "${A}" + cd "${S}" + + epatch "${FILESDIR}"/pam_mount-cryptsetup-path.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + insinto /etc/security + doins ${S}/config/pam_mount.conf + dosbin scripts/mount.crypt scripts/umount.crypt + + dodoc README TODO AUTHORS ChangeLog FAQ NEWS || die +}