summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-04-18 11:26:43 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-04-18 11:26:43 +0000
commit157ab0f61d251eab190545f1560bc830f591e3ad (patch)
treef50c8b0de2602efc80bc4c6427e1113fe303ec32 /sys-apps/pmount
parentbackport r1523 and r1524 to fix compile on FreeBSD and still provide the syst... (diff)
downloadhistorical-157ab0f61d251eab190545f1560bc830f591e3ad.tar.gz
historical-157ab0f61d251eab190545f1560bc830f591e3ad.tar.bz2
historical-157ab0f61d251eab190545f1560bc830f591e3ad.zip
Bump to 0.9.19 with ext4 support patch, bug #265453.
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/pmount')
-rw-r--r--sys-apps/pmount/ChangeLog8
-rw-r--r--sys-apps/pmount/Manifest15
-rw-r--r--sys-apps/pmount/files/pmount-0.9.19-ext4-support.patch15
-rw-r--r--sys-apps/pmount/pmount-0.9.19.ebuild59
4 files changed, 85 insertions, 12 deletions
diff --git a/sys-apps/pmount/ChangeLog b/sys-apps/pmount/ChangeLog
index 872261a4cbef..784bfe5ceee7 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.62 2009/02/01 01:09:23 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.63 2009/04/18 11:26:43 eva Exp $
+
+*pmount-0.9.19 (18 Apr 2009)
+
+ 18 Apr 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/pmount-0.9.19-ext4-support.patch, +pmount-0.9.19.ebuild:
+ Bump to 0.9.19 with ext4 support patch, bug #265453.
*pmount-0.9.18 (01 Feb 2009)
diff --git a/sys-apps/pmount/Manifest b/sys-apps/pmount/Manifest
index cb3fed9fb4ce..5685f16c1ddd 100644
--- a/sys-apps/pmount/Manifest
+++ b/sys-apps/pmount/Manifest
@@ -1,19 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
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
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
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
-MISC ChangeLog 7841 RMD160 fb6a459d343c88aabf6c6d69bb509afb09358577 SHA1 d3edeca7499abfec00c27a675ffd93f98e7a8b8a SHA256 170204daa09f43fadfc1b17fc9e129e7537e94e7a5e9019db1bcc095be73756b
+EBUILD pmount-0.9.19.ebuild 1674 RMD160 2047486410539477fa72d49614b4d72bda9b7aa6 SHA1 42559385ad2ae8f54e032410523280e4efeeb60f SHA256 ad47c16babd700868807d891121d6e72ec26d7aaef9f378604c1ab7d5a88506a
+MISC ChangeLog 8047 RMD160 59ad818299ddd45558ce50f64c17354a5dadec2a SHA1 9ce2d1d334f2dd5438ba0d57e23d5fd15a543e27 SHA256 1c4fc8af87678ebf874cb89192f09ea02fb359dcf8eebba7fd4ef4f45ea75eb6
MISC metadata.xml 164 RMD160 7d567afe05ca87a772eedf19f5b1fd1e2a9798a7 SHA1 e7b1ab05868d9feb1fa1677c052836fd7dd6a171 SHA256 66cdaff449660e99dfaee8d19b47413fc8ced6d5a1eccd3c842a48e9d9668d48
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkmFBFQACgkQ1fmVwcYIWAYNVwCfVqzzsNRWgTnoqpywqHY6syyP
-6A8AoN+HIFjw4546ZOYTZbwjF/7ljUZ7
-=zeQc
------END PGP SIGNATURE-----
diff --git a/sys-apps/pmount/files/pmount-0.9.19-ext4-support.patch b/sys-apps/pmount/files/pmount-0.9.19-ext4-support.patch
new file mode 100644
index 000000000000..34a170d5710c
--- /dev/null
+++ b/sys-apps/pmount/files/pmount-0.9.19-ext4-support.patch
@@ -0,0 +1,15 @@
+---
+ Allows mounting of ext4 filesystems.
+
+ Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=265453
+
+--- a/src/fs.c 2009-02-12 23:45:40.000000000 +0100
++++ b/src/fs.c 2009-04-08 16:12:09.000000000 +0200
+@@ -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=continue", 0, NULL, 0 },
+ { "ext3", "nodev,noauto,nosuid,user,errors=continue", 0, NULL, 0 },
+ { "ext2", "nodev,noauto,nosuid,user,errors=continue", 0, NULL, 0 },
+ { "reiserfs", "nodev,noauto,nosuid,user", 0, NULL, 0 },
diff --git a/sys-apps/pmount/pmount-0.9.19.ebuild b/sys-apps/pmount/pmount-0.9.19.ebuild
new file mode 100644
index 000000000000..791ce9dda66b
--- /dev/null
+++ b/sys-apps/pmount/pmount-0.9.19.ebuild
@@ -0,0 +1,59 @@
+# 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.19.ebuild,v 1.1 2009/04/18 11:26:43 eva 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="http://alioth.debian.org/frs/download.php/2867/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="crypt hal"
+
+RDEPEND="hal? ( >=sys-apps/dbus-0.33 >=sys-apps/hal-0.5.2 )
+ >=sys-fs/sysfsutils-1.3.0
+ crypt? ( >=sys-fs/cryptsetup-1.0.5 )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40"
+
+# FIXME: Testsuite fails.
+RESTRICT="test"
+
+PATCHES=("${FILESDIR}/${P}-ext4-support.patch")
+
+pkg_setup() {
+ enewgroup plugdev
+}
+
+src_configure() {
+ econf $(use_enable hal)
+}
+
+src_install () {
+ # Must be run SETUID+SETGID, bug #250106
+ exeinto /usr/bin
+ exeopts -m 6710 -g plugdev
+ doexe src/pmount src/pumount src/pmount-hal || die "doexe failed"
+
+ dodoc AUTHORS ChangeLog TODO || die "dodoc failed"
+ doman man/pmount.1 man/pumount.1 man/pmount-hal.1 || die "doman failed"
+
+ 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"
+}