Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 126935

Summary: davfs2 causes upgrade/downgrade cycle with neon
Product: Gentoo Linux Reporter: Alexander Jenisch <nt>
Component: New packagesAssignee: Stefan Schweizer (RETIRED) <genstef>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Jenisch 2006-03-20 04:31:54 UTC
i reported a bug within davfs2. it wouldn't compile with neon-0.25, so the dev put neon-0.24 as requirement in it's ebuild for that. i also reported the bug upstream, and it's now fixed in their cvs. since the dev "fixed" that bug, by putting neon-0.24 my system circles through the merging process of 0.25 and 0.24, every time i do world update. please, someone fix that.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 04:36:52 UTC
Well, so either package.mask 0.25 and wait for the next release or attach the patch here and reopen.
Comment 2 Alexander Jenisch 2006-03-20 05:04:10 UTC
This patch against davfs 0.2.7 will make it work with neon
0.25:

diff -ur davfs2-0.2.7.orig/Makefile.in davfs2-0.2.7/Makefile.in
--- davfs2-0.2.7.orig/Makefile.in	2005-12-30
16:21:07.000000000 +0100
+++ davfs2-0.2.7/Makefile.in	2006-02-10 16:29:53.000000000
+0100
@@ -82,8 +82,7 @@
 	$(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
+	ln -sf $(sbindir)$(PROGRAM_NAME)
$(DESTDIR)/sbin/$(PROGRAM_NAME) 2> /dev/null
 
 	@echo ""
 	@echo
"----------------------------------------------------"
diff -ur davfs2-0.2.7.orig/configure.in
davfs2-0.2.7/configure.in
--- davfs2-0.2.7.orig/configure.in	2005-12-30
16:21:07.000000000 +0100
+++ davfs2-0.2.7/configure.in	2006-02-10 16:29:19.000000000
+0100
@@ -20,7 +20,7 @@
 top_builddir=`pwd`
 AC_SUBST(top_builddir)
 
-NEON_REQUIRE(0,24)
+NEON_REQUIRE(0,25)
 NEON_WITHOUT_ZLIB
 NEON_WITHOUT_ACL
 NEON_TEST
diff -ur davfs2-0.2.7.orig/src/webdav.c
davfs2-0.2.7/src/webdav.c
--- davfs2-0.2.7.orig/src/webdav.c	2005-12-30
16:21:07.000000000 +0100
+++ davfs2-0.2.7/src/webdav.c	2006-02-10 16:28:48.000000000
+0100
@@ -221,7 +221,7 @@
     /* Set timeout */
     ne_set_read_timeout(session, DAV_READ_TIMEOUT);
     
-    ne_set_expect100(session, 1);
+    ne_set_request_expect100(session, 1);
     
     char *useragent = ne_concat(PACKAGE_TARNAME,
"/",
PACKAGE_VERSION, NULL);
     ne_set_useragent(session, useragent);
@@ -284,7 +284,7 @@
             server.port = ne_uri_defaultport(server.scheme);
 
         if (strcasecmp(server.scheme, "https") == 0)
{
-            if (!ne_supports_ssl()) {
+            if (!ne_has_support(NE_FEATURE_SSL)) {
                 fprintf(stderr, "SSL is not
enabled.\n");
                 return -1;
             }

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 05:05:22 UTC
Thanks.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-20 05:12:23 UTC
davfs-0.2.8 is in the tree which works with neon-0.2.5

so just use that.

Otherwise this is a dupe of bug 119877, lazy amd64 people ..
Comment 5 Alexander Jenisch 2006-03-20 05:28:58 UTC
ok sorry, it's not in ~amd64. forgot to specify the hardware.
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-20 05:31:46 UTC
yeah, then I guess the only way you can speed up the process is to complain to amd64@gentoo.org :)

*** This bug has been marked as a duplicate of 119877 ***