summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-11-03 14:44:57 +0000
committerNed Ludd <solar@gentoo.org>2004-11-03 14:44:57 +0000
commit2dffe6a6633854d55116199b0045398d5e50e13f (patch)
tree59d0af3809d1566e1baedbf878f1f3ba4c4c4f3a /net-fs/davfs2
parentremove slang cruft (diff)
downloadgentoo-2-2dffe6a6633854d55116199b0045398d5e50e13f.tar.gz
gentoo-2-2dffe6a6633854d55116199b0045398d5e50e13f.tar.bz2
gentoo-2-2dffe6a6633854d55116199b0045398d5e50e13f.zip
security bump
Diffstat (limited to 'net-fs/davfs2')
-rw-r--r--net-fs/davfs2/ChangeLog8
-rw-r--r--net-fs/davfs2/Manifest15
-rw-r--r--net-fs/davfs2/davfs2-0.2.2-r1.ebuild38
-rw-r--r--net-fs/davfs2/files/davfs2-0.2.2-pid.patch32
-rw-r--r--net-fs/davfs2/files/digest-davfs2-0.2.2-r11
5 files changed, 82 insertions, 12 deletions
diff --git a/net-fs/davfs2/ChangeLog b/net-fs/davfs2/ChangeLog
index 205e5d3427f5..7a44fba041d5 100644
--- a/net-fs/davfs2/ChangeLog
+++ b/net-fs/davfs2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-fs/davfs2
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.2 2004/09/05 08:05:16 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.3 2004/11/03 14:44:57 solar Exp $
+
+*davfs2-0.2.2-r1 (03 Nov 2004)
+
+ 03 Nov 2004; <solar@gentoo.org> +files/davfs2-0.2.2-pid.patch,
+ +davfs2-0.2.2-r1.ebuild:
+ security bump
05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
Fixed ChangeLog header.
diff --git a/net-fs/davfs2/Manifest b/net-fs/davfs2/Manifest
index 64d876a1879a..439829b3d84f 100644
--- a/net-fs/davfs2/Manifest
+++ b/net-fs/davfs2/Manifest
@@ -1,15 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 ef94e04d2bfa9bb77cd4397541e0b513 davfs2-0.2.1.ebuild 801
MD5 d0057c0ad166e1aefc9bcf89ec876efe davfs2-0.2.2.ebuild 805
+MD5 c6c1d2dfebea80a20bcc7349dc5600be davfs2-0.2.2-r1.ebuild 904
+MD5 ef94e04d2bfa9bb77cd4397541e0b513 davfs2-0.2.1.ebuild 801
MD5 0b048b422cf983d3a290686a50699256 ChangeLog 948
MD5 222bb7c9a0ba144f42b188211d562cd3 files/digest-davfs2-0.2.1 64
MD5 340445f0521e173e52743ac4f2889f56 files/digest-davfs2-0.2.2 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFBOsjDI1lqEGTUzyQRAvSaAJ94GTLbbrPbOdD+sUtm5aWMXKcyOQCgneOy
-u7BOHTvAi++VHtaCt3WtM2c=
-=oCvw
------END PGP SIGNATURE-----
+MD5 2a75243abdc7295fe437c748aec1ee5b files/davfs2-0.2.2-pid.patch 1235
+MD5 340445f0521e173e52743ac4f2889f56 files/digest-davfs2-0.2.2-r1 64
diff --git a/net-fs/davfs2/davfs2-0.2.2-r1.ebuild b/net-fs/davfs2/davfs2-0.2.2-r1.ebuild
new file mode 100644
index 000000000000..e75c635e6c30
--- /dev/null
+++ b/net-fs/davfs2/davfs2-0.2.2-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/davfs2-0.2.2-r1.ebuild,v 1.1 2004/11/03 14:44:57 solar Exp $
+
+inherit eutils
+
+IUSE="ssl"
+
+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"
+KEYWORDS="~x86 ~ppc"
+
+LICENSE="GPL-2"
+DEPEND="ssl? ( >=dev-libs/openssl-0.9.6 )"
+SLOT="0"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/davfs2-0.2.2-pid.patch
+}
+
+src_compile() {
+ econf `use_enable ssl` || die
+ emake || die
+}
+
+src_install() {
+ einstall
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "Remember you have to have coda compiled in to your kernel"
+ einfo "in order to use davfs2"
+ einfo ""
+}
diff --git a/net-fs/davfs2/files/davfs2-0.2.2-pid.patch b/net-fs/davfs2/files/davfs2-0.2.2-pid.patch
new file mode 100644
index 000000000000..e89cd844fdfc
--- /dev/null
+++ b/net-fs/davfs2/files/davfs2-0.2.2-pid.patch
@@ -0,0 +1,32 @@
+diff -ru davfs2-0.2.2.orig/src/util.c davfs2-0.2.2/src/util.c
+--- davfs2-0.2.2.orig/src/util.c 2003-12-07 23:39:48.000000000 -0500
++++ davfs2-0.2.2/src/util.c 2004-10-30 22:24:39.000000000 -0400
+@@ -281,7 +281,7 @@
+ /* dav_kill_prev_mount */
+ int dav_kill_prev_mount(const char *dev) {
+ pid_t pid;
+- char *fname = ne_concat(DAV_TMP_DIR, dev+5, ".pid", NULL);
++ char *fname = ne_concat(DAV_PID_DIR, dev+5, ".pid", NULL);
+ FILE *fp = fopen(fname, "r");
+
+ /* Nofile, just return */
+@@ -301,7 +301,7 @@
+ }
+
+ int dav_save_mount_pid(const char *dev) {
+- char *fname = ne_concat(DAV_TMP_DIR, dev+5, ".pid", NULL);
++ char *fname = ne_concat(DAV_PID_DIR, dev+5, ".pid", NULL);
+ FILE *fp = fopen(fname, "w");
+ NE_FREE(fname);
+
+diff -ru davfs2-0.2.2.orig/src/util.h davfs2-0.2.2/src/util.h
+--- davfs2-0.2.2.orig/src/util.h 2003-12-07 23:39:48.000000000 -0500
++++ davfs2-0.2.2/src/util.h 2004-10-30 22:29:36.000000000 -0400
+@@ -33,6 +33,7 @@
+ #define MTAB "/etc/mtab"
+ #define MTAB_TMP "/etc/mtab.davfs.tmp"
+ #define DAV_TMP_DIR "/tmp/"
++#define DAV_PID_DIR "/var/run/"
+ #define DAV_MAX_MKTMP_TRY 3 /* Let's try three time to get random name */
+
+ /* magic flag number to indicate "new" flags */
diff --git a/net-fs/davfs2/files/digest-davfs2-0.2.2-r1 b/net-fs/davfs2/files/digest-davfs2-0.2.2-r1
new file mode 100644
index 000000000000..d87d8db05657
--- /dev/null
+++ b/net-fs/davfs2/files/digest-davfs2-0.2.2-r1
@@ -0,0 +1 @@
+MD5 93deddc76264c80da5f1b0c1e63875ba davfs2-0.2.2.tar.gz 274337