rpms/neon/devel mirrors, NONE, 1.1 neon-0.27.0-gssapi.patch, NONE, 1.1 neon.spec, 1.34, 1.35
Joe Orton (jorton)
fedora-extras-commits at redhat.com
Thu Sep 20 15:21:52 UTC 2007
Author: jorton
Update of /cvs/extras/rpms/neon/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21030
Modified Files:
neon.spec
Added Files:
mirrors neon-0.27.0-gssapi.patch
Log Message:
* Thu Sep 20 2007 Joe Orton <jorton at redhat.com> 0.27.0-3
- fix Negotiate response verification
--- NEW FILE mirrors ---
http://www.webdav.org/neon/
neon-0.27.0-gssapi.patch:
--- NEW FILE neon-0.27.0-gssapi.patch ---
--- neon-0.27.0/src/ne_auth.c.gssapi
+++ neon-0.27.0/src/ne_auth.c
@@ -532,7 +532,7 @@ static int verify_negotiate_response(str
char *duphdr = ne_strdup(hdr);
char *sep, *ptr = strchr(duphdr, ' ');
int ret;
- ne_buffer *errmsg;
+ ne_buffer *errmsg = NULL;
if (strncmp(hdr, "Negotiate", ptr - duphdr) != 0) {
ne_set_error(sess->sess, _("Negotiate response verification failed: "
@@ -560,8 +560,10 @@ static int verify_negotiate_response(str
ne_set_error(sess->sess, _("Negotiate response verification failure: %s"),
errmsg->data);
}
- ne_buffer_destroy(errmsg);
+
+ if (errmsg) ne_buffer_destroy(errmsg);
ne_free(duphdr);
+
return ret ? NE_ERROR : NE_OK;
}
#endif
Index: neon.spec
===================================================================
RCS file: /cvs/extras/rpms/neon/devel/neon.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- neon.spec 30 Aug 2007 12:53:29 -0000 1.34
+++ neon.spec 20 Sep 2007 15:21:20 -0000 1.35
@@ -1,12 +1,13 @@
Summary: An HTTP and WebDAV client library
Name: neon
Version: 0.27.0
-Release: 2
+Release: 3
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.webdav.org/neon/
Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz
Patch0: neon-0.27.0-multilib.patch
+Patch1: neon-0.27.0-gssapi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: expat-devel, openssl-devel, zlib-devel, krb5-devel
BuildRequires: pkgconfig
@@ -32,16 +33,17 @@
%prep
%setup -q
%patch0 -p1 -b .multilib
+%patch1 -p1 -b .gssapi
%build
export CC="%{__cc} -pthread"
-%configure --with-ssl --with-expat --enable-shared --enable-warnings \
- --enable-threadsafe-ssl=posix
+%configure --with-expat --enable-shared --enable-warnings \
+ --with-ssl=openssl --enable-threadsafe-ssl=posix
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-%makeinstall
+make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
@@ -68,6 +70,9 @@
%{_libdir}/*.so
%changelog
+* Thu Sep 20 2007 Joe Orton <jorton at redhat.com> 0.27.0-3
+- fix Negotiate response verification
+
* Thu Aug 30 2007 Joe Orton <jorton at redhat.com> 0.27.0-2
- enable OpenSSL thread-safety hooks
More information about the fedora-extras-commits
mailing list