diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-12-01 19:10:54 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-12-01 19:10:54 +0000 |
commit | 6d072528c1893f68238a6767860a9d93f1648fb2 (patch) | |
tree | 54dc14432f66d5802b7926f41ab916011d1d9533 /net-fs | |
parent | Fix RDEP to block rt61 thanks to luca89 (diff) | |
download | historical-6d072528c1893f68238a6767860a9d93f1648fb2.tar.gz historical-6d072528c1893f68238a6767860a9d93f1648fb2.tar.bz2 historical-6d072528c1893f68238a6767860a9d93f1648fb2.zip |
Add patch to fix mounting in nobodies home, /, thanks to Maik Nijhuis <maik@cs.vu.nl> in bug 156591
Package-Manager: portage-2.1.2_rc2-r3
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/davfs2/ChangeLog | 9 | ||||
-rw-r--r-- | net-fs/davfs2/Manifest | 19 | ||||
-rw-r--r-- | net-fs/davfs2/davfs2-1.1.3-r1.ebuild | 68 | ||||
-rw-r--r-- | net-fs/davfs2/files/davfs2-nobody.diff | 16 | ||||
-rw-r--r-- | net-fs/davfs2/files/digest-davfs2-1.1.3-r1 | 3 |
5 files changed, 110 insertions, 5 deletions
diff --git a/net-fs/davfs2/ChangeLog b/net-fs/davfs2/ChangeLog index 36af9a8dd554..d0a3040493d4 100644 --- a/net-fs/davfs2/ChangeLog +++ b/net-fs/davfs2/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-fs/davfs2 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.31 2006/11/14 19:40:23 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.32 2006/12/01 19:10:54 genstef Exp $ + +*davfs2-1.1.3-r1 (01 Dec 2006) + + 01 Dec 2006; Stefan Schweizer <genstef@gentoo.org> + +files/davfs2-nobody.diff, +davfs2-1.1.3-r1.ebuild: + Add patch to fix mounting in nobodies home, /, thanks to Maik Nijhuis + <maik@cs.vu.nl> in bug 156591 *davfs2-1.1.3 (14 Nov 2006) diff --git a/net-fs/davfs2/Manifest b/net-fs/davfs2/Manifest index 47fe142ba1ba..51f039e75256 100644 --- a/net-fs/davfs2/Manifest +++ b/net-fs/davfs2/Manifest @@ -1,3 +1,7 @@ +AUX davfs2-nobody.diff 860 RMD160 bf662c52dccd35225a9545003f4525c6813be2af SHA1 a42c6fc8622c3bf4fe90a40df73179e272e159ad SHA256 3f9c3c12b1b229860c2c868d237a07ea534df33ab3c4544bc8b3b7f4a6ca2841 +MD5 9a844f56f1dbf1e7ee925a140c0d1299 files/davfs2-nobody.diff 860 +RMD160 bf662c52dccd35225a9545003f4525c6813be2af files/davfs2-nobody.diff 860 +SHA256 3f9c3c12b1b229860c2c868d237a07ea534df33ab3c4544bc8b3b7f4a6ca2841 files/davfs2-nobody.diff 860 DIST davfs2-0.2.8.tar.gz 150594 RMD160 3a8b5661d145c74652d310d760e5f39c356ae490 SHA1 40b682f6673003a237336e30b6c465d9df0063c6 SHA256 04f98a83e6339f490046d908c0fcca1275e79462f11592187eb23c7368a172f1 DIST davfs2-1.1.1.tar.gz 173665 RMD160 ca73024a181a78f49df2f7f88b567063a9b7bc3f SHA1 ec1fadef68f3210f33971e1a9fe6c18c12f3526b SHA256 f0eb849f289f905daabcfae7f318fa79a7764204c2a8f3a0d9257d4c6b39329c DIST davfs2-1.1.3.tar.gz 181495 RMD160 7dd8bbf302b2216d377cc5b69e6b5bfb656eb07a SHA1 42372908751e2a5722739bf534b5e0d800b18729 SHA256 0938a607962cbcf3290691630325bab144c95d4055cd2da3132b74620cbc6b88 @@ -9,14 +13,18 @@ EBUILD davfs2-1.1.1.ebuild 1671 RMD160 90708fc8e05860f0412c366f39e57d4d4145507e MD5 1872da5e07922de9f78c06e490ffc235 davfs2-1.1.1.ebuild 1671 RMD160 90708fc8e05860f0412c366f39e57d4d4145507e davfs2-1.1.1.ebuild 1671 SHA256 fc7cf374cac3bd29c5de28bef8ddb1ead3608be1f630ad13bbda0c3560a451b6 davfs2-1.1.1.ebuild 1671 +EBUILD davfs2-1.1.3-r1.ebuild 1752 RMD160 395a18c7c15a12d89768bb64d89a12ad379c2846 SHA1 02665c49da439bbade36b6d481d4c773146a0db3 SHA256 75288f36b3f7867cc1bfe19ee8992b2fca6e1c52234a6f26be01212a110bbb86 +MD5 cf8968983cd56db900dcdce994a3b900 davfs2-1.1.3-r1.ebuild 1752 +RMD160 395a18c7c15a12d89768bb64d89a12ad379c2846 davfs2-1.1.3-r1.ebuild 1752 +SHA256 75288f36b3f7867cc1bfe19ee8992b2fca6e1c52234a6f26be01212a110bbb86 davfs2-1.1.3-r1.ebuild 1752 EBUILD davfs2-1.1.3.ebuild 1671 RMD160 11f75b56de194625494d377b07b3c018e182d6f1 SHA1 d98ba42781e8279504943727457a2ff1f12a000e SHA256 512e2f1b9d901286cadf412fec632eb8ccf7e558dd7e8a7d4b6d02d066b41677 MD5 e2bc25990ca1ab24254c6d20674427bb davfs2-1.1.3.ebuild 1671 RMD160 11f75b56de194625494d377b07b3c018e182d6f1 davfs2-1.1.3.ebuild 1671 SHA256 512e2f1b9d901286cadf412fec632eb8ccf7e558dd7e8a7d4b6d02d066b41677 davfs2-1.1.3.ebuild 1671 -MISC ChangeLog 6859 RMD160 1b70de21ccebec95dfacb5ef5898de92072e0b2a SHA1 9a82f9ba9f235c80e31fa0a74ac2c71920550cfe SHA256 4ebf06b6cb9c1aba6f745015f42d7a6c45b36e1103cc3fd216edd277b3d0089b -MD5 59ac10b69c8a581d349d4e394d62d215 ChangeLog 6859 -RMD160 1b70de21ccebec95dfacb5ef5898de92072e0b2a ChangeLog 6859 -SHA256 4ebf06b6cb9c1aba6f745015f42d7a6c45b36e1103cc3fd216edd277b3d0089b ChangeLog 6859 +MISC ChangeLog 7103 RMD160 0c5ea7be7fc86939e5f2564633e4b23e7e3dc5cf SHA1 dc256b74f6255a2f076ed8fe01de3cbd7d022e95 SHA256 bc4dea15fe48cf7618c6fe9ac7e9fb75f0ca54605a8b7685b2f7dab7a7f65f17 +MD5 f854cc5a8d22f79d299176a79825b214 ChangeLog 7103 +RMD160 0c5ea7be7fc86939e5f2564633e4b23e7e3dc5cf ChangeLog 7103 +SHA256 bc4dea15fe48cf7618c6fe9ac7e9fb75f0ca54605a8b7685b2f7dab7a7f65f17 ChangeLog 7103 MISC metadata.xml 264 RMD160 2f8b1195d6d7e399bb5c66301c2035afe54ddd73 SHA1 294a3324f4ba64623163fe2da2ef2c12a4e6922b SHA256 5eb597f5a232999a303e75d3fd716eb086cb87b40f0b50bb80e6c2693323f8b0 MD5 90d54af17451a3725b7244f94d7ac81a metadata.xml 264 RMD160 2f8b1195d6d7e399bb5c66301c2035afe54ddd73 metadata.xml 264 @@ -30,3 +38,6 @@ SHA256 b7b913a8af7614020941cbd2b14c9fca5cd93a0563c647d4cc84614ba1f195b4 files/di MD5 8c2e3844352ba82b7d8acb519c0abc2b files/digest-davfs2-1.1.3 238 RMD160 31b91f709c4ede90daa4e01d14cab641ee39237c files/digest-davfs2-1.1.3 238 SHA256 b30feee2e129dfc576d7177b871fed3a1fe585546dec5b1a116654ceec42fd20 files/digest-davfs2-1.1.3 238 +MD5 8c2e3844352ba82b7d8acb519c0abc2b files/digest-davfs2-1.1.3-r1 238 +RMD160 31b91f709c4ede90daa4e01d14cab641ee39237c files/digest-davfs2-1.1.3-r1 238 +SHA256 b30feee2e129dfc576d7177b871fed3a1fe585546dec5b1a116654ceec42fd20 files/digest-davfs2-1.1.3-r1 238 diff --git a/net-fs/davfs2/davfs2-1.1.3-r1.ebuild b/net-fs/davfs2/davfs2-1.1.3-r1.ebuild new file mode 100644 index 000000000000..bbfaa6c1f108 --- /dev/null +++ b/net-fs/davfs2/davfs2-1.1.3-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/davfs2-1.1.3-r1.ebuild,v 1.1 2006/12/01 19:10:54 genstef Exp $ + +inherit linux-mod eutils + +DESCRIPTION="a Linux file system driver that allows you to mount a WebDAV server as a local disk drive. Davfs2 uses Coda for kernel driver and neon for WebDAV interface" +SRC_URI="mirror://sourceforge/dav/${P}.tar.gz" +HOMEPAGE="http://dav.sourceforge.net" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="ssl debug socks5" +RESTRICT="test" + +DEPEND="ssl? ( >=dev-libs/openssl-0.9.6 ) + socks5? ( >=net-proxy/dante-1.1.13 ) + dev-libs/libxml2 + net-misc/neon + sys-libs/zlib" +SLOT="0" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-nobody.diff +} + +src_compile() { + local myconf + + if use debug; then + myconf="--with-debug" + fi + if kernel_is 2 4; then + myconf="${myconf} --with-kernel-src=${KV_DIR}" + else + myconf="${myconf} --without-kernel-src" + fi + + econf \ + $(use_with ssl) \ + $(use_with socks5 socks) \ + ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR=${D} install || die "make install failed" + cd doc + dodoc BUGS ChangeLog davfs2.conf.template FAQ NEWS README secrets.template THANKS TODO BUGS + + #fix einstalled files in wrong places + cd ${D}/usr/share/davfs2 + rm COPYING ChangeLog davfs2.conf.template FAQ NEWS README secrets.template THANKS TODO BUGS GPL + rmdir ${D}/usr/share/davfs2 + + dodir /var/run/mount.davfs + keepdir /var/run/mount.davfs + fowners root:users /var/run/mount.davfs + fperms 1774 /var/run/mount.davfs + + dodir /etc/modules.d + cat >${D}/etc/modules.d/davfs2 <<EOF +alias char-major-67 coda +alias /dev/davfs* coda +EOF +} + diff --git a/net-fs/davfs2/files/davfs2-nobody.diff b/net-fs/davfs2/files/davfs2-nobody.diff new file mode 100644 index 000000000000..cb4602594d0e --- /dev/null +++ b/net-fs/davfs2/files/davfs2-nobody.diff @@ -0,0 +1,16 @@ +--- src/mount_davfs.c 2006-11-07 19:44:22.000000000 +0100 ++++ src/mount_davfs.c.new 2006-11-29 11:55:18.000000000 +0100 +@@ -572,9 +572,12 @@ + setpwent(); + pw = getpwent(); + while (pw != NULL) { ++ // On gentoo the home directory of nobody is '/', so we ++ // ignore the user 'nobody' + if (pw->pw_dir != NULL && pw->pw_uid != args->uid + && strlen(pw->pw_dir) > 0 +- && strstr(mpoint, pw->pw_dir) == mpoint) ++ && strstr(mpoint, pw->pw_dir) == mpoint ++ && strcmp(pw->pw_name, "nobody") != 0) + error(EXIT_FAILURE, 0, + "You can't mount into another users home directory.\n" + " \"%s\" is the home directory of user %s.", diff --git a/net-fs/davfs2/files/digest-davfs2-1.1.3-r1 b/net-fs/davfs2/files/digest-davfs2-1.1.3-r1 new file mode 100644 index 000000000000..b12419c52af7 --- /dev/null +++ b/net-fs/davfs2/files/digest-davfs2-1.1.3-r1 @@ -0,0 +1,3 @@ +MD5 bbae406b692ca33ca1ed974dade1ca56 davfs2-1.1.3.tar.gz 181495 +RMD160 7dd8bbf302b2216d377cc5b69e6b5bfb656eb07a davfs2-1.1.3.tar.gz 181495 +SHA256 0938a607962cbcf3290691630325bab144c95d4055cd2da3132b74620cbc6b88 davfs2-1.1.3.tar.gz 181495 |