summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-12 13:57:43 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-12 13:57:43 +0000
commit6bfd9b0017d74244e8d58b63acca8be9057ff5f8 (patch)
treea34f5e07be8dfb7b2516b86b4f8d2590ed8ff443 /sys-apps/pmount
parentAdd [options] stanza #142850#36 by Steven Wilson. (diff)
downloadhistorical-6bfd9b0017d74244e8d58b63acca8be9057ff5f8.tar.gz
historical-6bfd9b0017d74244e8d58b63acca8be9057ff5f8.tar.bz2
historical-6bfd9b0017d74244e8d58b63acca8be9057ff5f8.zip
Version bump.
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/pmount')
-rw-r--r--sys-apps/pmount/ChangeLog8
-rw-r--r--sys-apps/pmount/Manifest5
-rw-r--r--sys-apps/pmount/files/pmount-0.9.20-ext4-support.patch12
-rw-r--r--sys-apps/pmount/pmount-0.9.20.ebuild73
4 files changed, 96 insertions, 2 deletions
diff --git a/sys-apps/pmount/ChangeLog b/sys-apps/pmount/ChangeLog
index 7421a8fda4fd..691f2210ae4f 100644
--- a/sys-apps/pmount/ChangeLog
+++ b/sys-apps/pmount/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/pmount
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.71 2009/10/05 16:09:10 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.72 2009/10/12 13:57:42 ssuominen Exp $
+
+*pmount-0.9.20 (12 Oct 2009)
+
+ 12 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> +pmount-0.9.20.ebuild,
+ +files/pmount-0.9.20-ext4-support.patch:
+ Version bump.
05 Oct 2009; Raúl Porcel <armin76@gentoo.org> pmount-0.9.19.ebuild:
arm/ia64/sh/sparc stable wrt #281208
diff --git a/sys-apps/pmount/Manifest b/sys-apps/pmount/Manifest
index fe92cf0de4c1..290d233b7d25 100644
--- a/sys-apps/pmount/Manifest
+++ b/sys-apps/pmount/Manifest
@@ -1,13 +1,16 @@
AUX pmount-0.9.13-no_close.patch 456 RMD160 324aeac41b435a89937abb936cf16c45511905a9 SHA1 60d73c5d05e0c58d4bfdd3f977e0c8a15fb03ab8 SHA256 33962c5f3cf9d29e65c21f72b2c2a479b10bb635c158a70be49085e286a4dec6
AUX pmount-0.9.19-ext4-support.patch 648 RMD160 6af3cd12e82cba7e1751971074c016f969bd267d SHA1 61c481d4e52453ada7f74e10258b28b916d28ba3 SHA256 c0677faa9beb7256a9cd204fbe08287a0df324a2402c3528d12eeb8ae7b650e2
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.16.tar.gz 434647 RMD160 38d328b3fd0ff1e5f89ad2b99fa0495a68c06eed SHA1 d8d033e852d923dec71eaefaf2324819ad81fae3 SHA256 c44afd4498b3577bbf44ceb430e29c9b8997a8f5e4038757bcb077d58c1bc7d4
DIST pmount-0.9.17.tar.gz 450608 RMD160 df833bd60dd6cfd4d6059c0382b2e7b9a39bd073 SHA1 8fd1129772647e5e096eb362f26238d662c02c5f SHA256 2632d931b5732eb1d0de7a2e2d92c75d64412438958ee96dceb4443e4fc2a62f
DIST pmount-0.9.18.tar.gz 436009 RMD160 50fce01a4dadc83d9760787a5c5fda296448e786 SHA1 a01963f08ba85f551b43bb1f96b07252b33895ff SHA256 b216936e6e011b58fefee8e3f80d01008cb078b7fe2a5632b2ce98bc7bcb05c2
DIST pmount-0.9.19.tar.gz 439507 RMD160 90aaf063fbf5303e1dfec615eade200c7485d4dd SHA1 6b99276ccb1761da78c81619c4249371be911493 SHA256 e2174f1249ea79121648bb0e9353729767654e6d430fb2d28da342ec25a179be
+DIST pmount-0.9.20.tar.gz 390997 RMD160 3394e8a668c836b17685966f136c2d246865c5f0 SHA1 cd090b139f9b20d6f12dad1453b58d926bb33870 SHA256 0574d2e805610c179904f5c676b2b93e088906b91bcb76980daa4a8da1d23e8c
EBUILD pmount-0.9.16.ebuild 1624 RMD160 ab3d6598dd247ee8e9043a15fa629b40004481bb SHA1 71a4f3c37373bbb95c7336619956b5487f2bc1dc SHA256 1709311b8e2c527333138406946d0f3b9fd879bd5b942aa145cc9c1c41957bb7
EBUILD pmount-0.9.17.ebuild 1641 RMD160 74f35daa7f98687bf21fb01b0d5f310c85d6e3d3 SHA1 8f5e0355c6b160bac3dd8d2a1b8da117d2886725 SHA256 06f196da8412252eba2308f0f2b95b83e526c2f15ce1ec08148e9d9fa8c3f5ec
EBUILD pmount-0.9.18.ebuild 1641 RMD160 f4bea5add985358655369cff2bbf3a3c278331ba SHA1 0f46d358429a70b008c192449cf1a590ec56ba0d SHA256 27891e64c88dff6b236ea60c9ba09307f507e8828bc24cafa1e5b776fff0a974
EBUILD pmount-0.9.19.ebuild 1989 RMD160 53776df77f31a372c67ccffe0ee56e4d318fc6ff SHA1 2a3eccadfa6b8875ff4c3987ccf3c899564c659a SHA256 91f923b9513175dea00e49f3740cf6f156834c863d28b2de3b52e6cc424c7d91
-MISC ChangeLog 9070 RMD160 aa0fdd18ed802097586a590a604cfb75bb37e00a SHA1 edc2374580aea39792c60f66bb92944cfdbee6d6 SHA256 630819e03e8ea3376f8926942d1e0c7a392b32322f33c1ac8a380c97eb2b5eac
+EBUILD pmount-0.9.20.ebuild 2080 RMD160 7e9fbaf6f3dfe1f95921113c575590538766dbad SHA1 0642bbb15ca8315463717e73954bae8d4d1a8254 SHA256 be5bc318aa35afc7f5d5379768cd88b86caa083fdf9ee465b66e712a18d974bf
+MISC ChangeLog 9239 RMD160 3588ae8a204c6bcaca61f96dbc0329015e08433e SHA1 45b431cd1441cd259b981868d70e6cfe49cac2d6 SHA256 824178e3944a00f15fb0577a9a1f793e0fe1090241f18e94d6b0b776a1cba0b7
MISC metadata.xml 164 RMD160 7d567afe05ca87a772eedf19f5b1fd1e2a9798a7 SHA1 e7b1ab05868d9feb1fa1677c052836fd7dd6a171 SHA256 66cdaff449660e99dfaee8d19b47413fc8ced6d5a1eccd3c842a48e9d9668d48
diff --git a/sys-apps/pmount/files/pmount-0.9.20-ext4-support.patch b/sys-apps/pmount/files/pmount-0.9.20-ext4-support.patch
new file mode 100644
index 000000000000..cf84b1e14e53
--- /dev/null
+++ b/sys-apps/pmount/files/pmount-0.9.20-ext4-support.patch
@@ -0,0 +1,12 @@
+http://bugs.gentoo.org/show_bug.cgi?id=265453
+
+--- pmount-0.9.20/src/fs.c
++++ pmount-0.9.20/src/fs.c
+@@ -26,6 +26,7 @@
+ { "hfsplus", "nosuid,nodev,user", 1, NULL, 0 },
+ { "hfs", "nosuid,nodev,user", 1, "077", NULL,
+ ",file_umask=%04o,dir_umask=%04o"},
++ { "ext4", "nodev,noauto,nosuid,user,errors=remount-ro", 0, NULL, 0 },
+ { "ext3", "nodev,noauto,nosuid,user,errors=remount-ro", 0, NULL, 0 },
+ { "ext2", "nodev,noauto,nosuid,user,errors=remount-ro", 0, NULL, 0 },
+ { "reiserfs", "nodev,noauto,nosuid,user", 0, NULL, 0 },
diff --git a/sys-apps/pmount/pmount-0.9.20.ebuild b/sys-apps/pmount/pmount-0.9.20.ebuild
new file mode 100644
index 000000000000..c76fff0327dc
--- /dev/null
+++ b/sys-apps/pmount/pmount-0.9.20.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/pmount-0.9.20.ebuild,v 1.1 2009/10/12 13:57:42 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/3127/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="crypt hal"
+
+RDEPEND=">=sys-apps/util-linux-2.16
+ hal? ( >=sys-apps/dbus-0.33 >=sys-apps/hal-0.5.2 )
+ crypt? ( >=sys-fs/cryptsetup-1.0.5 )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext"
+
+PATCHES=( "${FILESDIR}/${P}-ext4-support.patch"
+ "${FILESDIR}/${PN}-0.9.19-testsuite-missing-dir.patch" )
+
+pkg_setup() {
+ enewgroup plugdev
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable 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 "check failed"
+}
+
+src_install () {
+ # Must be run SETUID+SETGID, bug #250106
+ exeinto /usr/bin
+ exeopts -m 6710 -g plugdev
+ doexe src/pmount src/pumount || die "doexe failed"
+
+ dodoc AUTHORS ChangeLog TODO || die "dodoc failed"
+ doman man/pmount.1 man/pumount.1 || die "doman failed"
+
+ if use hal; then
+ doexe src/pmount-hal || die "doexe failed"
+ doman man/pmount-hal.1 || die "doman failed"
+ fi
+
+ insinto /etc
+ doins etc/pmount.allow || die "doins failed"
+}
+
+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"
+}