summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2007-01-18 15:27:45 +0000
committerPatrick McLean <chutzpah@gentoo.org>2007-01-18 15:27:45 +0000
commit9acf7fe60202fcc463d6fa375ffb182ab0d248a8 (patch)
tree30693877d3c069630b03c1b652e71254be5d0a05 /sys-fs
parentx86 stable wrt bug 149376 (diff)
downloadhistorical-9acf7fe60202fcc463d6fa375ffb182ab0d248a8.tar.gz
historical-9acf7fe60202fcc463d6fa375ffb182ab0d248a8.tar.bz2
historical-9acf7fe60202fcc463d6fa375ffb182ab0d248a8.zip
Add "suid" USE flag to install the ntfs-3g binary SUID root, to allow users to mount ntfs-3g filesystems.
Package-Manager: portage-2.1.2
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/ntfs3g/ChangeLog7
-rw-r--r--sys-fs/ntfs3g/Manifest26
-rw-r--r--sys-fs/ntfs3g/ntfs3g-0.20070118.ebuild16
3 files changed, 28 insertions, 21 deletions
diff --git a/sys-fs/ntfs3g/ChangeLog b/sys-fs/ntfs3g/ChangeLog
index 64356f4fb9ba..3142c9472b3d 100644
--- a/sys-fs/ntfs3g/ChangeLog
+++ b/sys-fs/ntfs3g/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/ntfs3g
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.20 2007/01/18 14:29:44 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.21 2007/01/18 15:27:45 chutzpah Exp $
+
+ 18 Jan 2007; Patrick McLean <chutzpah@gentoo.org>
+ ntfs3g-0.20070118.ebuild:
+ Add "suid" USE flag to install the ntfs-3g binary SUID root, to allow users
+ to mount ntfs-3g filesystems.
*ntfs3g-0.20070118 (18 Jan 2007)
diff --git a/sys-fs/ntfs3g/Manifest b/sys-fs/ntfs3g/Manifest
index 948056d5684d..8d80c97eefba 100644
--- a/sys-fs/ntfs3g/Manifest
+++ b/sys-fs/ntfs3g/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST ntfs-3g-0.20070102-BETA.tgz 561276 RMD160 54e5504ebe624e180e9aadf8d1826e5844e46ed8 SHA1 6a14baf64f85e4059f1f6b1157cbf435b4c6c112 SHA256 28f1fc26257802055275976dd9c606ac913d3caedd3c0a7b28538d234da8fee6
DIST ntfs-3g-0.20070116-BETA.tgz 562334 RMD160 fffa16eb4dbeede46a29ac8c61ba13a5724a3f1a SHA1 c2a2ca0610510562b3f724a7a2db322a90ac6be8 SHA256 59f8e34ad5790c3ae1a315618621040006bdb62618c984e6f5d7a051440b3e1a
DIST ntfs-3g-0.20070118-BETA.tgz 562512 RMD160 7765e159c3767bea82bcc8fc06262281d1b9d413 SHA1 eb565b490945a659302584a092b047851e00d562 SHA256 7740d5fa1d9811263b06a11851e6359c4d62b65d0a4a2ba17497e94b8c1ab4c7
@@ -12,14 +9,14 @@ EBUILD ntfs3g-0.20070116.ebuild 1409 RMD160 d3786a3e3e1d925a64874c2b730971efa486
MD5 13f44ec5c2c47017eb17f6459aaba0f2 ntfs3g-0.20070116.ebuild 1409
RMD160 d3786a3e3e1d925a64874c2b730971efa48628f7 ntfs3g-0.20070116.ebuild 1409
SHA256 58964e1a96033f9edc5061e6522601545f4743bfa9f31a7baf0e2c0b188ef011 ntfs3g-0.20070116.ebuild 1409
-EBUILD ntfs3g-0.20070118.ebuild 825 RMD160 1747e78872164a562c9bae34be7cf9443f9f9aaa SHA1 a7651b1237edd80cb0ae95ecc3f35f8d1f68e310 SHA256 e08bf5bdc9c7d028f085e03ce3cd09800ca8c8a2fd61fea6bb109f74d3310b5b
-MD5 d6c2e4ce0bd85a5d1f018b0b1e6ef7fd ntfs3g-0.20070118.ebuild 825
-RMD160 1747e78872164a562c9bae34be7cf9443f9f9aaa ntfs3g-0.20070118.ebuild 825
-SHA256 e08bf5bdc9c7d028f085e03ce3cd09800ca8c8a2fd61fea6bb109f74d3310b5b ntfs3g-0.20070118.ebuild 825
-MISC ChangeLog 4185 RMD160 91c86d63fae18f4520837641f7123290eb688b5b SHA1 ed6e68478be29a827a741c6466ca1f99f5188a65 SHA256 fd9177aad48d57e5a72d544d4e849449c6cbfb59f0c3af1d306efbf69928c28d
-MD5 aa59d292efe27b35df86fa884a0d6714 ChangeLog 4185
-RMD160 91c86d63fae18f4520837641f7123290eb688b5b ChangeLog 4185
-SHA256 fd9177aad48d57e5a72d544d4e849449c6cbfb59f0c3af1d306efbf69928c28d ChangeLog 4185
+EBUILD ntfs3g-0.20070118.ebuild 1160 RMD160 c39ad206cddd01064812a3c098902d6a7c005aee SHA1 5aef24d1d76e16809668d0c95bfcc49fa5bded8e SHA256 339a3f1e581bc3b10dc94c3a9a991730049206dfea46e547983053aeeca42532
+MD5 f3b677d5cccc8d8a24bef7e491e802c0 ntfs3g-0.20070118.ebuild 1160
+RMD160 c39ad206cddd01064812a3c098902d6a7c005aee ntfs3g-0.20070118.ebuild 1160
+SHA256 339a3f1e581bc3b10dc94c3a9a991730049206dfea46e547983053aeeca42532 ntfs3g-0.20070118.ebuild 1160
+MISC ChangeLog 4376 RMD160 3c70592ceeb8f5849c7067e55ce6b6deeaf85689 SHA1 49588da2f38d6eaa2e1f7142136c581b824b8852 SHA256 5844868d54cf2d84c7486fb68cae0897631462c7c7c434792f700867684f8314
+MD5 0d6d8a97ab57c678444e49cffde88e2a ChangeLog 4376
+RMD160 3c70592ceeb8f5849c7067e55ce6b6deeaf85689 ChangeLog 4376
+SHA256 5844868d54cf2d84c7486fb68cae0897631462c7c7c434792f700867684f8314 ChangeLog 4376
MISC metadata.xml 641 RMD160 361ae848a3012a236c512a5cfc71cc96026ba072 SHA1 9cc731cc7093ad04c8a3199948f24b2c5ff2cadb SHA256 bb0e59a4fde05b0fbad22547a263d7ef98bb5809fd00bf14c0d4d2c89cab05ed
MD5 ba3112dd7c45f425f5ac83620ac4f0d2 metadata.xml 641
RMD160 361ae848a3012a236c512a5cfc71cc96026ba072 metadata.xml 641
@@ -33,10 +30,3 @@ SHA256 5c9dae077a6ec0242a5f7241df0daa4e52f56799cb8f289b2eb00e68008390f8 files/di
MD5 07293f9193a471d5181610cd432f816a files/digest-ntfs3g-0.20070118 262
RMD160 1ccba5a822f31d1f74b0e252bfbaceac5536efa4 files/digest-ntfs3g-0.20070118 262
SHA256 d5c29a4f905edbd6866b71651e5496c30fc1543b78b8ddd6fb3c96be46de79f4 files/digest-ntfs3g-0.20070118 262
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFr4RvWt/XSf2CZdkRAk7vAJ4h73XVOer0dI2YfsHkD5dqC/y2OQCfV77T
-xF9zO+Pel48Mbq7HhztgD4A=
-=ZbXj
------END PGP SIGNATURE-----
diff --git a/sys-fs/ntfs3g/ntfs3g-0.20070118.ebuild b/sys-fs/ntfs3g/ntfs3g-0.20070118.ebuild
index 52c851b6539b..28b6d9a76738 100644
--- a/sys-fs/ntfs3g/ntfs3g-0.20070118.ebuild
+++ b/sys-fs/ntfs3g/ntfs3g-0.20070118.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-0.20070118.ebuild,v 1.1 2007/01/18 14:29:44 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-0.20070118.ebuild,v 1.2 2007/01/18 15:27:45 chutzpah Exp $
MY_PN="${PN/3g/-3g}"
MY_PV="${PV}-BETA"
@@ -13,7 +13,7 @@ SRC_URI="http://www.ntfs-3g.org/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="suid"
RDEPEND=">=sys-fs/fuse-2.6.0"
DEPEND="${RDEPEND}
@@ -32,4 +32,16 @@ src_unpack() {
src_install() {
make DESTDIR="${D}" install || die "install failed"
dodoc AUTHORS ChangeLog CREDITS NEWS README
+
+ use suid && fperms u+s /usr/bin/${MY_PN}
+}
+
+pkg_postinst() {
+ if use suid; then
+ ewarn
+ ewarn "You have chosen to install ${PN} with the binary setuid root. This"
+ ewarn "means that if there any undetected vulnerabilities in the binary,"
+ ewarn "then local users may be able to gain root access on your machine."
+ ewarn
+ fi
}