summaryrefslogtreecommitdiff
path: root/packages/davfs2
diff options
context:
space:
mode:
Diffstat (limited to 'packages/davfs2')
-rw-r--r--packages/davfs2/davfs2-0.2.7/.mtn2git_empty0
-rw-r--r--packages/davfs2/davfs2-0.2.7/Makefile.in.patch (renamed from packages/davfs2/files/Makefile.in.patch)0
-rw-r--r--packages/davfs2/davfs2-0.2.8/.mtn2git_empty0
-rw-r--r--packages/davfs2/davfs2-0.2.8/Makefile.in.patch23
-rw-r--r--packages/davfs2/davfs2_0.2.7.bb1
-rw-r--r--packages/davfs2/davfs2_0.2.8.bb46
6 files changed, 69 insertions, 1 deletions
diff --git a/packages/davfs2/davfs2-0.2.7/.mtn2git_empty b/packages/davfs2/davfs2-0.2.7/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/davfs2/davfs2-0.2.7/.mtn2git_empty
diff --git a/packages/davfs2/files/Makefile.in.patch b/packages/davfs2/davfs2-0.2.7/Makefile.in.patch
index 16b4425f14..16b4425f14 100644
--- a/packages/davfs2/files/Makefile.in.patch
+++ b/packages/davfs2/davfs2-0.2.7/Makefile.in.patch
diff --git a/packages/davfs2/davfs2-0.2.8/.mtn2git_empty b/packages/davfs2/davfs2-0.2.8/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/davfs2/davfs2-0.2.8/.mtn2git_empty
diff --git a/packages/davfs2/davfs2-0.2.8/Makefile.in.patch b/packages/davfs2/davfs2-0.2.8/Makefile.in.patch
new file mode 100644
index 0000000000..1f1b13f198
--- /dev/null
+++ b/packages/davfs2/davfs2-0.2.8/Makefile.in.patch
@@ -0,0 +1,23 @@
+--- davfs2-0.2.8/Makefile.in.old 2006-03-15 23:30:50.000000000 +0100
++++ davfs2-0.2.8/Makefile.in 2006-03-15 23:39:08.000000000 +0100
+@@ -50,7 +50,7 @@
+
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 4755
+ INSTALL_DATA = @INSTALL_DATA@
+-INSTALL_SECRETS = @INSTALL_DATA@ -b -m 600
++INSTALL_SECRETS = @INSTALL_DATA@ -m 600
+ INSTALL_DIR = @INSTALL@ -d -m 755
+ INSTALL = @INSTALL@
+
+@@ -80,11 +80,6 @@
+ $(INSTALL_DIR) $(DESTDIR)$(mandir)
+ for t in $(MANS); do \
+ $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(mandir)/$$t;done
+- if [ -n "$(DESTDIR)" -a "$(DESTDIR)" != "/" ]; then \
+- $(INSTALL_DIR) $(DESTDIR)/sbin; \
+- ln -sf ..$(sbindir)/$(PROGRAM_NAME) \
+- $(DESTDIR)/sbin/$(PROGRAM_NAME) 2> /dev/null; \
+- else ln -sf $(sbindir)/$(PROGRAM_NAME) /sbin/$(PROGRAM_NAME) 2> /dev/null; fi
+
+ @echo ""
+ @echo "----------------------------------------------------"
diff --git a/packages/davfs2/davfs2_0.2.7.bb b/packages/davfs2/davfs2_0.2.7.bb
index 509671a229..0527576274 100644
--- a/packages/davfs2/davfs2_0.2.7.bb
+++ b/packages/davfs2/davfs2_0.2.7.bb
@@ -11,7 +11,6 @@ PR = "r0"
SRC_URI = "${SOURCEFORGE_MIRROR}/dav/${P}.tar.gz \
file://no-func-checks.patch;patch=1 \
- file://no-neon-version-test.patch;patch=1 \
file://Makefile.in.patch;patch=1 \
file://volatiles"
diff --git a/packages/davfs2/davfs2_0.2.8.bb b/packages/davfs2/davfs2_0.2.8.bb
new file mode 100644
index 0000000000..82c58abe61
--- /dev/null
+++ b/packages/davfs2/davfs2_0.2.8.bb
@@ -0,0 +1,46 @@
+DESCRIPTION = "A Linux file system driver that allows you to mount a WebDAV server as a disk drive."
+SECTION = "network"
+PRIORITY = "optional"
+MAINTAINER = "Mustafa Yuecel <yuecelm@ee.ethz.ch>"
+HOMEPAGE = "http://dav.sourceforge.net"
+DEPENDS = "neon-0.25.5"
+RDEPENDS_${PN} = "kernel-module-coda"
+LICENSE = "GPL"
+
+DEFAULT_PREFERENCE = "-1"
+
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/dav/${P}.tar.gz \
+ file://Makefile.in.patch;patch=1 \
+ file://volatiles"
+
+inherit autotools
+
+ALTERNATIVE_NAME = "mount.davfs"
+ALTERNATIVE_PATH = "${sbindir}/${ALTERNATIVE_NAME}"
+ALTERNATIVE_PRIORITY = "90"
+ALTERNATIVE_LINK = "${base_sbindir}/${ALTERNATIVE_NAME}"
+
+EXTRA_OECONF = "--with-neon"
+
+CONFFILES_${PN} = "${sysconfdir}/davfs2/davfs2.conf ${sysconfdir}/davfs2/secrets"
+
+do_configure_prepend () {
+ autoconf
+}
+
+do_install_append () {
+ mkdir -p ${D}${sysconfdir}/default/volatiles
+ install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/10_davfs2
+}
+
+pkg_postinst () {
+ update-alternatives --install ${ALTERNATIVE_LINK} ${ALTERNATIVE_NAME} \
+ ${ALTERNATIVE_PATH} ${ALTERNATIVE_PRIORITY}
+ /etc/init.d/populate-volatile.sh
+}
+
+pkg_prerm () {
+ update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH}
+}