summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-05-14 21:15:17 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-05-14 21:15:17 +0000
commitcae7311b79150d8d9a158cc226b1ef6653ce0bc1 (patch)
tree3271df075c8d4e4a17e17440aaefe8f8c582514a /sys-apps/pmount
parentVersion bump. Lots of bugfixes. (diff)
downloadhistorical-cae7311b79150d8d9a158cc226b1ef6653ce0bc1.tar.gz
historical-cae7311b79150d8d9a158cc226b1ef6653ce0bc1.tar.bz2
historical-cae7311b79150d8d9a158cc226b1ef6653ce0bc1.zip
Version bump wrt #319771 without HAL support wrt #313389.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/pmount')
-rw-r--r--sys-apps/pmount/ChangeLog7
-rw-r--r--sys-apps/pmount/Manifest4
-rw-r--r--sys-apps/pmount/pmount-0.9.22.ebuild66
3 files changed, 75 insertions, 2 deletions
diff --git a/sys-apps/pmount/ChangeLog b/sys-apps/pmount/ChangeLog
index 633b3b44efd8..659bae2f8d7d 100644
--- a/sys-apps/pmount/ChangeLog
+++ b/sys-apps/pmount/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/pmount
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.79 2010/01/30 18:15:30 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.80 2010/05/14 21:15:17 ssuominen Exp $
+
+*pmount-0.9.22 (14 May 2010)
+
+ 14 May 2010; Samuli Suominen <ssuominen@gentoo.org> +pmount-0.9.22.ebuild:
+ Version bump wrt #319771 without HAL support wrt #313389.
30 Jan 2010; Jeroen Roovers <jer@gentoo.org> pmount-0.9.20.ebuild:
Stable for HPPA (bug #299381).
diff --git a/sys-apps/pmount/Manifest b/sys-apps/pmount/Manifest
index d8ccea6f3416..d401d757d6b2 100644
--- a/sys-apps/pmount/Manifest
+++ b/sys-apps/pmount/Manifest
@@ -1,6 +1,8 @@
AUX pmount-0.9.19-testsuite-missing-dir.patch 1354 RMD160 8e88ab0d83738ae33dc1bc5257d13090c4c265ff SHA1 cb0404219754d7397d5017aa6c1b7db3a6c5437e SHA256 cbb513b5cfb8d12685e5967359ab4f99b78a144df255f4e6a3ce70686f8b7b10
AUX pmount-0.9.20-ext4-support.patch 553 RMD160 e40fa82075ef706055948f94849788dc83946cfa SHA1 e5721c53644f572df8fe881b489aaa7c9c22e71a SHA256 267bf5659ab32e0822bc2cd94bce7af8092e61a8c19f1eee404e6cc0f39595b4
DIST pmount-0.9.20.tar.gz 390997 RMD160 3394e8a668c836b17685966f136c2d246865c5f0 SHA1 cd090b139f9b20d6f12dad1453b58d926bb33870 SHA256 0574d2e805610c179904f5c676b2b93e088906b91bcb76980daa4a8da1d23e8c
+DIST pmount-0.9.22.tar.bz2 349680 RMD160 5f3468ee55b6a5d125ecd41f8507a2d8bfb27f77 SHA1 84f1f5f4898e494427e5c5fa23f90aa379cd39a8 SHA256 d8a0e34b5b626cadaab86d13ec1ad85e5557d35855bdd3ff00a5539538aab712
EBUILD pmount-0.9.20.ebuild 2064 RMD160 a116c4e98d389a08020da5157cfb10acfdbae06b SHA1 4dd21010c79c333e803c4a465180ecdb1eb0ed7c SHA256 ae78d557837e1d1d5cfa3a01bfc7dd22729eb3d557103e8af748f7749d4f5103
-MISC ChangeLog 9930 RMD160 c093a7ecaeb5e19f791775733737d06a691a97f3 SHA1 10597bec48e06838f3403338dbd79178f9b414b3 SHA256 c152028c77f7de7493f038db0a0e54c6ac14b706efbef33586e98eb710cab74f
+EBUILD pmount-0.9.22.ebuild 1791 RMD160 231f82435475ce5eb52e93986badc008f383edf3 SHA1 7f36bfd74f95cb92a7c30c619542859726d3e498 SHA256 ed30a62f84cf595e2f9186b6e6ef8ee67046a830873b553527809ceadf49b864
+MISC ChangeLog 10104 RMD160 96684610d5aef45c2dc3dfa8b4db73324169a063 SHA1 3ab2fa36254273b08cf5465523a5eb29dad5dd8f SHA256 3fcb02ed9dc4bc39771372022cca6f8819594cf5bafb1942935994fb512c9d11
MISC metadata.xml 164 RMD160 7d567afe05ca87a772eedf19f5b1fd1e2a9798a7 SHA1 e7b1ab05868d9feb1fa1677c052836fd7dd6a171 SHA256 66cdaff449660e99dfaee8d19b47413fc8ced6d5a1eccd3c842a48e9d9668d48
diff --git a/sys-apps/pmount/pmount-0.9.22.ebuild b/sys-apps/pmount/pmount-0.9.22.ebuild
new file mode 100644
index 000000000000..d0f73e504983
--- /dev/null
+++ b/sys-apps/pmount/pmount-0.9.22.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/pmount-0.9.22.ebuild,v 1.1 2010/05/14 21:15:17 ssuominen Exp $
+
+EAPI=2
+inherit base eutils
+
+DESCRIPTION="Policy based mounter that gives the ability to mount removable devices as a user"
+HOMEPAGE="http://pmount.alioth.debian.org/"
+SRC_URI="https://alioth.debian.org/frs/download.php/3293/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="crypt"
+
+RDEPEND=">=sys-apps/util-linux-2.16
+ crypt? ( >=sys-fs/cryptsetup-1.0.5 )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext"
+
+PATCHES=( "${FILESDIR}/${PN}-0.9.19-testsuite-missing-dir.patch" )
+
+pkg_setup() {
+ enewgroup plugdev
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-hal
+}
+
+src_test() {
+ local testdir=${S}/tests/check_fstab
+
+ ln -s $testdir/a $testdir/b && ln -s $testdir/d $testdir/c && \
+ ln -s $testdir/c $testdir/e \
+ || die "Unable to create fake symlinks required for testsuite"
+ emake check || die
+}
+
+src_install () {
+ # Must be run SETUID+SETGID, bug #250106
+ exeinto /usr/bin
+ exeopts -m 6710 -g plugdev
+ doexe src/pmount src/pumount || die
+
+ dodoc AUTHORS ChangeLog TODO || die
+ doman man/pmount.1 man/pumount.1 || die
+
+ insinto /etc
+ doins etc/pmount.allow || die
+}
+
+pkg_postinst() {
+ elog
+ elog "This package has been installed setuid and setgid."
+
+ elog "The permissions are as such that only users that belong to the plugdev"
+ elog "group are allowed to run this. But if a script run by root mounts a"
+ elog "device, members of the plugdev group will have access to it."
+ elog
+ elog "Please add your user to the plugdev group to be able to mount USB drives"
+}