diff --git a/neon.changes b/neon.changes index 53f8f62..d045a11 100644 --- a/neon.changes +++ b/neon.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 3 11:26:50 CET 2008 - olh@suse.de + +- fix bug in digest domain parameter handling to fix svn commit + ------------------------------------------------------------------- Thu Feb 28 22:06:13 CET 2008 - crrodriguez@suse.de diff --git a/neon.digest.patch b/neon.digest.patch new file mode 100644 index 0000000..01faff3 --- /dev/null +++ b/neon.digest.patch @@ -0,0 +1,18 @@ +--- + src/ne_auth.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +--- a/src/ne_auth.c ++++ b/src/ne_auth.c +@@ -819,10 +819,7 @@ static int inside_domain(auth_session *s + + for (n = 0; n < sess->ndomains && !inside; n++) { + const char *d = sess->domains[n]; +- +- inside = (d[strlen(d)-1] == '/' +- && strncmp(uri.path, d, strlen(d)) == 0) +- || strcmp(d, uri.path) == 0; ++ inside = strncmp(uri.path, d, strlen(d)) == 0; + } + + NE_DEBUG(NE_DBG_HTTPAUTH, "auth: '%s' is inside auth domain: %d.\n", diff --git a/neon.spec b/neon.spec index ed7cf06..f61ee03 100644 --- a/neon.spec +++ b/neon.spec @@ -15,13 +15,14 @@ Name: neon BuildRequires: libexpat-devel libopenssl-devel openssl zlib-devel Summary: An HTTP and WebDAV Client Library Version: 0.28.0 -Release: 5 +Release: 7 License: GPL v2 or later Group: Development/Libraries/Other Url: http://www.webdav.org/neon BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: http://www.webdav.org/neon/neon-%{version}.tar.bz2 Patch0: neon-0.27.2-bloat.patch +Patch1: neon.digest.patch %description neon is an HTTP and WebDAV client library with a C interface. @@ -134,6 +135,7 @@ Authors: %prep %setup -q %patch0 +%patch1 -p1 %build rm -f aclocal.m4 ltmain.sh @@ -184,6 +186,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/neon.pc %changelog +* Mon Mar 03 2008 olh@suse.de +- fix bug in digest domain parameter handling to fix svn commit * Thu Feb 28 2008 crrodriguez@suse.de - run the test suite to detect any possible regression * Fri Feb 15 2008 crrodriguez@suse.de