summaryrefslogtreecommitdiff
path: root/packages/davfs2/davfs2-0.2.7
diff options
context:
space:
mode:
Diffstat (limited to 'packages/davfs2/davfs2-0.2.7')
-rw-r--r--packages/davfs2/davfs2-0.2.7/.mtn2git_empty0
-rw-r--r--packages/davfs2/davfs2-0.2.7/Makefile.in.patch44
-rw-r--r--packages/davfs2/davfs2-0.2.7/no-func-checks.patch32
-rw-r--r--packages/davfs2/davfs2-0.2.7/no-neon-version-test.patch10
4 files changed, 86 insertions, 0 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/davfs2-0.2.7/Makefile.in.patch b/packages/davfs2/davfs2-0.2.7/Makefile.in.patch
new file mode 100644
index 0000000000..16b4425f14
--- /dev/null
+++ b/packages/davfs2/davfs2-0.2.7/Makefile.in.patch
@@ -0,0 +1,44 @@
+--- davfs2-0.2.7/Makefile.in.orig 2006-02-11 16:42:27.000000000 +0100
++++ davfs2-0.2.7/Makefile.in 2006-02-11 16:43:10.000000000 +0100
+@@ -13,6 +13,7 @@
+ datadir = @datadir@
+ sysconfdir = @sysconfdir@/$(PACKAGE_NAME)
+ localstatedir = /var/run/$(PROGRAM_NAME)
++docdir = @datadir@/doc/$(PACKAGE_NAME)
+ datadir = @datadir@/$(PACKAGE_NAME)
+ mandir = @datadir@/man/man8
+
+@@ -51,7 +52,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@
+
+@@ -67,7 +68,6 @@
+ @echo ""
+
+ install: $(PROGRAMS)
+- $(INSTALL) -d -m 1775 -g $(dav_group) $(DESTDIR)$(localstatedir)
+ $(INSTALL_DIR) $(DESTDIR)$(sbindir)
+ for t in $(PROGRAMS); do \
+ $(INSTALL_PROGRAM) $(top_builddir)/$$t $(DESTDIR)$(sbindir)/$$t;done
+@@ -76,14 +77,13 @@
+ $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(sysconfdir)/$$t;done
+ for t in $(SECRETS); do \
+ $(INSTALL_SECRETS) $(top_builddir)/$$t $(DESTDIR)$(sysconfdir)/$$t;done
+- $(INSTALL_DIR) $(DESTDIR)$(datadir)
++ $(INSTALL_DIR) $(DESTDIR)$(docdir)
+ for t in $(DATA); do \
+- $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(datadir)/$$t;done
++ $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(docdir)/$$t;done
+ $(INSTALL_DIR) $(DESTDIR)$(mandir)
+ for t in $(MANS); do \
+ $(INSTALL_DATA) $(top_builddir)/$$t $(DESTDIR)$(mandir)/$$t;done
+ if [ -L /sbin/$(PROGRAM_NAME) ]; then rm /sbin/$(PROGRAM_NAME); fi
+- ln -s $(DESTDIR)$(sbindir)/$(PROGRAM_NAME) /sbin/$(PROGRAM_NAME) 2> /dev/null
+
+ @echo ""
+ @echo "----------------------------------------------------"
diff --git a/packages/davfs2/davfs2-0.2.7/no-func-checks.patch b/packages/davfs2/davfs2-0.2.7/no-func-checks.patch
new file mode 100644
index 0000000000..46ca24398e
--- /dev/null
+++ b/packages/davfs2/davfs2-0.2.7/no-func-checks.patch
@@ -0,0 +1,32 @@
+--- neon-0.24.7/macros/neon.m4.old 2005-02-24 16:28:01 +00:00
++++ neon-0.24.7/macros/neon.m4 2005-02-24 16:40:17 +00:00
+@@ -508,26 +508,9 @@
+ # Enable getaddrinfo() support only if all the necessary functions
+ # are found.
+ ne_enable_gai=yes
+-NE_CHECK_FUNCS(getaddrinfo gai_strerror inet_ntop,,[ne_enable_gai=no; break])
+-if test $ne_enable_gai = yes; then
+- AC_DEFINE(USE_GETADDRINFO, 1, [Define if getaddrinfo() should be used])
+- AC_CACHE_CHECK([for working AI_ADDRCONFIG], [ne_cv_gai_addrconfig], [
+- AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <netdb.h>],
+-[struct addrinfo hints = {0}, *result;
+-hints.ai_flags = AI_ADDRCONFIG;
+-if (getaddrinfo("localhost", NULL, &hints, &result) != 0) return 1;])],
+- ne_cv_gai_addrconfig=yes, ne_cv_gai_addrconfig=no)])
+- if test $ne_cv_gai_addrconfig = yes; then
+- AC_DEFINE(USE_GAI_ADDRCONFIG, 1, [Define if getaddrinfo supports AI_ADDRCONFIG])
+- fi
+-else
+- # Checks for non-getaddrinfo() based resolver interfaces.
+- NE_SEARCH_LIBS(hstrerror, resolv,,[:])
+- NE_CHECK_FUNCS(hstrerror)
+- # Older Unixes don't declare h_errno.
+- AC_CHECK_DECL(h_errno,,,[#define _XOPEN_SOURCE_EXTENDED 1
+-#include <netdb.h>])
+-fi
++ne_cv_gai_addrconfig=yes
++AC_DEFINE(USE_GETADDRINFO, 1, [Define if getaddrinfo() should be used])
++AC_DEFINE(USE_GAI_ADDRCONFIG, 1, [Define if getaddrinfo supports AI_ADDRCONFIG])
+
+ AC_CHECK_MEMBERS(struct tm.tm_gmtoff,,
+ AC_MSG_WARN([no timezone handling in date parsing on this platform]),
diff --git a/packages/davfs2/davfs2-0.2.7/no-neon-version-test.patch b/packages/davfs2/davfs2-0.2.7/no-neon-version-test.patch
new file mode 100644
index 0000000000..67b2055584
--- /dev/null
+++ b/packages/davfs2/davfs2-0.2.7/no-neon-version-test.patch
@@ -0,0 +1,10 @@
+--- davfs2-0.2.7/configure.in.orig 2006-02-11 15:19:21.000000000 +0100
++++ davfs2-0.2.7/configure.in 2006-02-11 15:19:34.000000000 +0100
+@@ -20,7 +20,6 @@
+ top_builddir=`pwd`
+ AC_SUBST(top_builddir)
+
+-NEON_REQUIRE(0,24)
+ NEON_WITHOUT_ZLIB
+ NEON_WITHOUT_ACL
+ NEON_TEST