From 0f78dc6df9e04d9d2f3f661792e311069d2ab6aabfb852a2543ff2949c52b149 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 3 Mar 2008 15:20:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neon?expand=0&rev=12 --- neon.changes | 5 +++++ neon.digest.patch | 18 ++++++++++++++++++ neon.spec | 6 +++++- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 neon.digest.patch 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