diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2005-10-08 15:15:40 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2005-10-08 15:15:40 +0000 |
commit | 08c12dd4b8db79acde40138549f7b0db85ec34f8 (patch) | |
tree | 5a14b791008730be543da577479e094ec6b9f908 /net-fs | |
parent | ebuild cleanup. New version. (diff) | |
download | historical-08c12dd4b8db79acde40138549f7b0db85ec34f8.tar.gz historical-08c12dd4b8db79acde40138549f7b0db85ec34f8.tar.bz2 historical-08c12dd4b8db79acde40138549f7b0db85ec34f8.zip |
Fixing einstall paths thanks to Oliver Kastler <1730@gmx.net> in bug 105264
Package-Manager: portage-2.0.53_rc3
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/davfs2/ChangeLog | 8 | ||||
-rw-r--r-- | net-fs/davfs2/Manifest | 6 | ||||
-rw-r--r-- | net-fs/davfs2/davfs2-0.2.4-r2.ebuild | 77 | ||||
-rw-r--r-- | net-fs/davfs2/files/digest-davfs2-0.2.4-r2 | 1 |
4 files changed, 89 insertions, 3 deletions
diff --git a/net-fs/davfs2/ChangeLog b/net-fs/davfs2/ChangeLog index 481c76c81fda..9367552c2a09 100644 --- a/net-fs/davfs2/ChangeLog +++ b/net-fs/davfs2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-fs/davfs2 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.16 2005/09/09 19:22:01 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.17 2005/10/08 15:15:40 genstef Exp $ + +*davfs2-0.2.4-r2 (08 Oct 2005) + + 08 Oct 2005; Stefan Schweizer <genstef@gentoo.org> + +davfs2-0.2.4-r2.ebuild: + Fixing einstall paths thanks to Oliver Kastler <1730@gmx.net> in bug 105264 09 Sep 2005; Stefan Schweizer <genstef@gentoo.org> davfs2-0.2.4-r1.ebuild: Adding \!CODA_OLD_API check thanks to Hans-Christian Armingeon diff --git a/net-fs/davfs2/Manifest b/net-fs/davfs2/Manifest index aad543966574..85d459d446cd 100644 --- a/net-fs/davfs2/Manifest +++ b/net-fs/davfs2/Manifest @@ -1,5 +1,7 @@ +MD5 ff94963ebbdb85edee49aaf3f7e21681 ChangeLog 4065 MD5 b22cbd9278e1377a75d6319f6c33e5a4 davfs2-0.2.4-r1.ebuild 2023 -MD5 85271256b877765067dbabf2b9f6a9bd ChangeLog 3874 -MD5 90d54af17451a3725b7244f94d7ac81a metadata.xml 264 +MD5 f9a1fa06563166c222c99d74a320f748 davfs2-0.2.4-r2.ebuild 2089 MD5 fcd02008e517ea0eb9ff6a675723e3bc files/digest-davfs2-0.2.4-r1 64 +MD5 fcd02008e517ea0eb9ff6a675723e3bc files/digest-davfs2-0.2.4-r2 64 MD5 bc32f42062ca5fdd9ab06af3a2d28002 files/include-compiler.patch 1260 +MD5 90d54af17451a3725b7244f94d7ac81a metadata.xml 264 diff --git a/net-fs/davfs2/davfs2-0.2.4-r2.ebuild b/net-fs/davfs2/davfs2-0.2.4-r2.ebuild new file mode 100644 index 000000000000..86407eac8359 --- /dev/null +++ b/net-fs/davfs2/davfs2-0.2.4-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/davfs2-0.2.4-r2.ebuild,v 1.1 2005/10/08 15:15:40 genstef Exp $ + +inherit linux-info 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" + +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" + +CONFIG_CHECK="CODA_FS !CODA_FS_OLD_API" +CODA_FS_ERROR="${P} requires kernel support for Coda to be found in filesystems, network filesystems" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/include-compiler.patch #81507 +} + +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() { + dodir /usr/sbin + einstall localstatedir=${D}/var/run/mount.davfs sysconfdir=${D}/etc/${PN} || die "einstall failed" + dodoc BUGS ChangeLog davfs2.conf.template FAQ NEWS README secrets.template THANKS TODO + + #fix einstalled files in wrong places + cd ${D}/usr/share + rm COPYING ChangeLog davfs2.conf.template FAQ NEWS README secrets.template THANKS TODO INSTALL + dodir /usr/share/man/man8 + mv ${D}/usr/share/man/mount.davfs.8.gz ${D}/usr/share/man/man8 + + dodir /var/run/mount.davfs + keepdir /var/run/mount.davfs + fowners root:users /var/run/mount.davfs + fperms 1774 /var/run/mount.davfs + + dodir /sbin + dosym /usr/sbin/mount.davfs /sbin/mount.davfs + + dodir /etc/modules.d + cat >${D}/etc/modules.d/davfs2 <<EOF +alias char-major-67 coda +alias /dev/davfs* coda +EOF +} + +pkg_postinst() { + update-modules +} diff --git a/net-fs/davfs2/files/digest-davfs2-0.2.4-r2 b/net-fs/davfs2/files/digest-davfs2-0.2.4-r2 new file mode 100644 index 000000000000..a78b524a35ee --- /dev/null +++ b/net-fs/davfs2/files/digest-davfs2-0.2.4-r2 @@ -0,0 +1 @@ +MD5 f8f76634ddd7a26f0f277f86262887b6 davfs2-0.2.4.tar.gz 141438 |