]> Pileus Git - ~andy/sunrise/commitdiff
sys-auth/pam_mount: Version bump. Update patch to fix lsof path. Fix typo in HOMEPAGE.
authorJakub Moc <jakub@gentoo.org>
Fri, 11 Aug 2006 10:58:57 +0000 (10:58 +0000)
committerJakub Moc <jakub@gentoo.org>
Fri, 11 Aug 2006 10:58:57 +0000 (10:58 +0000)
svn path=/sunrise/; revision=850

sys-auth/pam_mount/ChangeLog
sys-auth/pam_mount/Manifest
sys-auth/pam_mount/files/digest-pam_mount-0.17 [new file with mode: 0644]
sys-auth/pam_mount/files/pam_mount-gentoo-paths-and-examples.patch
sys-auth/pam_mount/pam_mount-0.13.0.ebuild
sys-auth/pam_mount/pam_mount-0.17.ebuild [new file with mode: 0644]

index 589581fe01a85c20af04a1ae79644b9df449be4a..0923488330c8dd3e7cd412f223d78d57dbcfa46c 100644 (file)
@@ -2,6 +2,10 @@
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  11 Aug 2006; Jakub Moc <jakub@gentoo.org> pam_mount-0.13.0.ebuild,
+  +pam_mount-0.17.ebuild, files/pam_mount-gentoo-paths-and-examples.patch:
+  Version bump. Update patch to fix lsof path. Fix typo in HOMEPAGE.
+
   08 Jun 2006; Jakub Moc <jakub@gentoo.org> +pam_mount-0.13.0.ebuild:
   New ebuild, based on work of Sven Peter, Priit Laes and others in Bug 24213
 
index 5b8ab79bed22753da916edb81ee507be0b263acf..bb71d487f529c74bb07345a82f99dffbb5881fcf 100644 (file)
@@ -1,20 +1,25 @@
-AUX pam_mount-gentoo-paths-and-examples.patch 3434 RMD160 d96c9d62e06f5f1a9d3fa66db6262c908699ba1c SHA1 3e855ec59ab97d087db2b6a7c3312bdea54d2aaa SHA256 ff49183c0899650f1d9e480b7895bd26627c2bee246715697071303751ffa96a
-MD5 18e77a5b6f8042067d0afeb7482c5eaa files/pam_mount-gentoo-paths-and-examples.patch 3434
-RMD160 d96c9d62e06f5f1a9d3fa66db6262c908699ba1c files/pam_mount-gentoo-paths-and-examples.patch 3434
-SHA256 ff49183c0899650f1d9e480b7895bd26627c2bee246715697071303751ffa96a files/pam_mount-gentoo-paths-and-examples.patch 3434
+AUX pam_mount-gentoo-paths-and-examples.patch 3939 RMD160 93abfdd4bb60e6d481b336a3e083a0e82948fd6c SHA1 3e806e68f480ce9838b986f6c0946bd40c7ff472 SHA256 ab9c0fe31f76321048897300496bd10665c3748072eb5678c6c539e88bdbaa82
+MD5 c4b93db3e166d9ac6498afb8c9391df6 files/pam_mount-gentoo-paths-and-examples.patch 3939
+RMD160 93abfdd4bb60e6d481b336a3e083a0e82948fd6c files/pam_mount-gentoo-paths-and-examples.patch 3939
+SHA256 ab9c0fe31f76321048897300496bd10665c3748072eb5678c6c539e88bdbaa82 files/pam_mount-gentoo-paths-and-examples.patch 3939
 AUX system-auth 788 RMD160 2bd8f3a36e181072708c2e16eb5142abedc92b56 SHA1 0b0925270acadaa87fcfd93dea8f17847da3f85e SHA256 a5683c1fe369facdd41d735ea774e628170fa48e979bb7f4778fff05a2ea6199
 MD5 576010d1897ae496736e03ea81f66aa6 files/system-auth 788
 RMD160 2bd8f3a36e181072708c2e16eb5142abedc92b56 files/system-auth 788
 SHA256 a5683c1fe369facdd41d735ea774e628170fa48e979bb7f4778fff05a2ea6199 files/system-auth 788
 DIST pam_mount-0.13.0.tbz2 287706 RMD160 c389a3148e15f386d71b4372529a383e9083098c SHA1 1534fdd0691259fec8538b7a977948749e6a498d SHA256 0ef31fca4357e10ad0a8dfa89f124d75b25f4341a8b76aece4847954aeaeddb1
-EBUILD pam_mount-0.13.0.ebuild 2132 RMD160 06cb50fdd248414f3996e2eeb32ca1d5a61e3fda SHA1 a29a065874a0ef2c66b1dcba3f6d899c944ce51c SHA256 848870ba84f7aa36a083438e8ce22e2b3d7c90658a28f495ce5451328a8f813a
-MD5 77d5802b8b0db5b848bcd8bab198773d pam_mount-0.13.0.ebuild 2132
-RMD160 06cb50fdd248414f3996e2eeb32ca1d5a61e3fda pam_mount-0.13.0.ebuild 2132
-SHA256 848870ba84f7aa36a083438e8ce22e2b3d7c90658a28f495ce5451328a8f813a pam_mount-0.13.0.ebuild 2132
-MISC ChangeLog 268 RMD160 2bc935a4f466d8c58297afb6bf2922cce304520c SHA1 a9897a77d977863dbcdece0b16083a71c587cb47 SHA256 6b78a01ae9d2bd89bb9af78ea751858fb7d8f73042ca06f3bc1cca9351647a7a
-MD5 a52f72391bb0a79b1da550122973c322 ChangeLog 268
-RMD160 2bc935a4f466d8c58297afb6bf2922cce304520c ChangeLog 268
-SHA256 6b78a01ae9d2bd89bb9af78ea751858fb7d8f73042ca06f3bc1cca9351647a7a ChangeLog 268
+DIST pam_mount-0.17.tar.bz2 293588 RMD160 9a8c5f44de6961fc5511c84285165113b0e98bcc SHA1 c3c0988ad0456c82c27b08600c1e7bcbc41664b7 SHA256 e8b1a5f61bd6d407e8c6a435d27d5b55e6a5015545d29355d2ec15ec37b35de6
+EBUILD pam_mount-0.13.0.ebuild 2133 RMD160 ab64a17184e16014fb42b0fabcb0cf191cbcadfe SHA1 b80b31812262ea843ff191ae7b35acbe755a20f0 SHA256 0385d4db173309119e7bf91921f5d4e56f43e94464e3050ddecc9b9e3da7da33
+MD5 b89dc5179cf48676b84a799c487654ed pam_mount-0.13.0.ebuild 2133
+RMD160 ab64a17184e16014fb42b0fabcb0cf191cbcadfe pam_mount-0.13.0.ebuild 2133
+SHA256 0385d4db173309119e7bf91921f5d4e56f43e94464e3050ddecc9b9e3da7da33 pam_mount-0.13.0.ebuild 2133
+EBUILD pam_mount-0.17.ebuild 2076 RMD160 4bd0fffecfe52e05dd7991c410f2066db43b1ec6 SHA1 69122e90b517e9bf0b363e135f1e7c0b2c687d3f SHA256 031266fa4390940ad7b22c8e9bf0dcf2993a6f01b65e0b91d88cd151260dc757
+MD5 8e67acc2391234287fcc83c864a514cd pam_mount-0.17.ebuild 2076
+RMD160 4bd0fffecfe52e05dd7991c410f2066db43b1ec6 pam_mount-0.17.ebuild 2076
+SHA256 031266fa4390940ad7b22c8e9bf0dcf2993a6f01b65e0b91d88cd151260dc757 pam_mount-0.17.ebuild 2076
+MISC ChangeLog 482 RMD160 d9077474cf7ee98e041c03810e00c2a5f82f128a SHA1 2423ad34a0549f358ade2c2fa33cf47bac333f74 SHA256 989ea9f669824b7e9ef2bfa41cd7896b0e369fb795817b9009498df147cacda4
+MD5 1ba276d9ad70205183a881fcdeed08d4 ChangeLog 482
+RMD160 d9077474cf7ee98e041c03810e00c2a5f82f128a ChangeLog 482
+SHA256 989ea9f669824b7e9ef2bfa41cd7896b0e369fb795817b9009498df147cacda4 ChangeLog 482
 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -22,3 +27,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
 MD5 a26933e9e412a79df68fe4cb9c26d076 files/digest-pam_mount-0.13.0 244
 RMD160 2d1cb11b5bf8e7f0dbff8a452667a1448aba065b files/digest-pam_mount-0.13.0 244
 SHA256 2216dc331b0c5926a47cd8f40ea5abef4df2c3a97b8a78e006a778c97859841e files/digest-pam_mount-0.13.0 244
+MD5 a484e2cf8f93f8e7ff4a5fd8a501ca0e files/digest-pam_mount-0.17 247
+RMD160 b81675e966026d7c21056cda1f2a31cdf7834fe8 files/digest-pam_mount-0.17 247
+SHA256 104905cf40ae4aca5dadc4ee7463fa69951ac4066b7e7461939ba4656e702f12 files/digest-pam_mount-0.17 247
diff --git a/sys-auth/pam_mount/files/digest-pam_mount-0.17 b/sys-auth/pam_mount/files/digest-pam_mount-0.17
new file mode 100644 (file)
index 0000000..ab65931
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 0c67121ce70ff6cb11a6d9ca2590bd19 pam_mount-0.17.tar.bz2 293588
+RMD160 9a8c5f44de6961fc5511c84285165113b0e98bcc pam_mount-0.17.tar.bz2 293588
+SHA256 e8b1a5f61bd6d407e8c6a435d27d5b55e6a5015545d29355d2ec15ec37b35de6 pam_mount-0.17.tar.bz2 293588
index 52fa6749f3c1302b1ef65059491619a23250702d..10026505cc6c866cafd3a584118c9b18099d3c5b 100644 (file)
@@ -1,5 +1,17 @@
---- config/pam_mount.conf      2005-12-24 20:28:33.000000000 +0100
-+++ pam_mount-0.11.0.pam_mount.conf    2005-12-29 20:37:32.000000000 +0100
+--- config/pam_mount.conf.orig 2006-08-11 12:44:04.000000000 +0200
++++ config/pam_mount.conf      2006-08-11 12:51:24.000000000 +0200
+@@ -79,7 +79,7 @@
+ # source in mount.c (it sends the password to the stdin file descriptor
+ # of the child process -- look for STDIN_FILENO).
+ #
+-lsof /usr/bin/lsof %(MNTPT)
++lsof /usr/sbin/lsof %(MNTPT)
+ fsck /sbin/fsck -p %(FSCKTARGET)
+ losetup /sbin/losetup -p0 "%(before=\"-e\" CIPHER)" "%(before=\"-k\" KEYBITS)" %(FSCKLOOP) %(VOLUME)
+ unlosetup /sbin/losetup -d %(FSCKLOOP)
+
+--- config/pam_mount.conf.orig 2006-08-11 12:44:04.000000000 +0200
++++ config/pam_mount.conf      2006-08-11 12:51:24.000000000 +0200
 @@ -197,6 +197,46 @@
  # (thanks to Mike Hommey for this example)
  # volume test local - /tmpfs/test /home/test "size=10M,uid=test,gid=users,mode=0700 -t tmpfs" - -
index baaec7051154f92e2f48e6bb51d7b06c67366e22..89e52850d22e5e648af28890aa42538f5ed4df51 100644 (file)
@@ -5,7 +5,7 @@
 inherit eutils pam autotools
 
 DESCRIPTION="A PAM module that can mount volumes for a user session e.g. encrypted home directories"
-HOMEPAGE="http://pam-mount.souceforge.net"
+HOMEPAGE="http://pam-mount.sourceforge.net"
 SRC_URI="mirror://sourceforge/pam-mount/${P}.tbz2"
 RESTRICT=""
 
diff --git a/sys-auth/pam_mount/pam_mount-0.17.ebuild b/sys-auth/pam_mount/pam_mount-0.17.ebuild
new file mode 100644 (file)
index 0000000..6fc2a20
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils pam autotools
+
+DESCRIPTION="A PAM module that can mount volumes for a user session e.g. encrypted home directories"
+HOMEPAGE="http://pam-mount.sourceforge.net"
+SRC_URI="mirror://sourceforge/pam-mount/${P}.tar.bz2"
+RESTRICT=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="crypt"
+
+DEPEND=">=sys-libs/pam-0.78-r3
+       >=dev-libs/openssl-0.9.7i
+       >=dev-libs/glib-2"
+RDEPEND="${DEPEND}
+       crypt? ( sys-fs/cryptsetup-luks )
+       sys-process/lsof"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       # Gentoo installs cryptsetup in /bin, this patches the relevant 
+       # locations, in srcipts/(u)mount.crypt and adds gentoo specific
+       # comments to pam_mount.conf
+       epatch "${FILESDIR}/${PN}-gentoo-paths-and-examples.patch"
+}
+
+src_compile() {
+       # fixes the sanity check failure
+       _elibtoolize --copy --force
+
+       econf \
+           --libdir=/$(get_libdir) \
+               --with-pam-dir=$(getpam_mod_dir) || die "econf failed"
+       emake || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "install failed"
+
+       insinto /etc/security
+       insopts -m0644
+       doins "${S}/config/pam_mount.conf"
+       dopamd "${FILESDIR}/system-auth"
+
+       dodoc README TODO AUTHORS ChangeLog FAQ NEWS
+}
+
+pkg_postinst() {
+       elog "In order to use pam_mount you will need to configure it."
+       elog "After the modifications in /etc/security/pam_mount.conf you "
+       elog "can create the encrypted directory using the mkehd command."
+       elog "Please use mkhed -h for more informations."
+       elog
+       elog "If you want to encrypt the home directories you will need a "
+       elog "kernel with device-mapper and crypto (AES or any other chipher)"
+       elog "support."
+       elog
+       elog "This ebuild only modifies the /etc/pam.d/system-auth file to"
+       elog "support pam_mount. If you have any programs that use pam with "
+       elog "a configuration file that does NOT include system-auth you will "
+       elog "need to modify this file too. Look at /etc/pam.d/system-auth or "
+       elog "the /usr/share/doc/${PF}/README file for more informations."
+}