commit libserf for openSUSE:Factory
Hello community, here is the log from the commit of package libserf for openSUSE:Factory checked in at 2013-02-23 16:37:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libserf (Old) and /work/SRC/openSUSE:Factory/.libserf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libserf", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libserf/libserf.changes 2012-10-06 18:38:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libserf.new/libserf.changes 2013-02-23 16:37:03.000000000 +0100 @@ -1,0 +2,27 @@ +Sat Feb 23 11:01:38 UTC 2013 - andreas.stieger@gmx.de + +- update to Serf 1.2.0 + This release contains many robustness fixes, especially around flaky + and problematic connections. + * Fixed issue 94: Serf can enter an infinite loop when server aborts conn. + * Fixed issue 91: Serf doesn't handle an incoming 408 Timeout Request + * Fixed issue 80: Serf is not handling Negotiate authentication correctly + * Fixed issue 77: Endless loop if server doesn't accept Negotiate authn + * Fixed issue 93: cleanup-after-fork interferes with parent + * Fixed most of issue 89: Support REAL SPNEGO authentication + * Enable Negotiate/Kerberos support for proxy servers. + * Return error when C-L, chunked, gzip encoded response bodies where + truncated (due to aborted connection) + * Add a logging mechanism that can be enabled at compile-time. + * Don't lookup server address if a proxy was configured. + * Fix an off-by-one in buffer sizing + * Disable SSL compression by default + API to enable it + * New serf_connection_get_latency() for estimated network latency + * New error code and RFC compliance for the HTTPS tunnel + * Handle EINTR when a user suspends and then backgrounds the app + * Minor fixes and test suite improvements. +- add libserf-1.2.0-configure.in-add-gssapi.patch to support gssapi + with configure +- make requirement for apr >= 1.3.0 explicit + +---------------------------------------------------------------- Old: ---- serf-1.1.1.tar.bz2 New: ---- libserf-1.2.0-configure.in-add-gssapi.patch serf-1.2.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libserf.spec ++++++ --- /var/tmp/diff_new_pack.n5c95c/_old 2013-02-23 16:37:05.000000000 +0100 +++ /var/tmp/diff_new_pack.n5c95c/_new 2013-02-23 16:37:05.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libserf # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,32 @@ # +%bcond_without gssapi +# version 1.2.0 requires apr 1.3.0 or later for apr_socket_addr_get +%define minimum_apr_version 1.3.0 + Name: libserf %define soname 0 %define major 1 -Version: 1.1.1 +Version: 1.2.0 Release: 0 Summary: High-Performance Asynchronous HTTP Client Library License: Apache-2.0 Group: System/Libraries Source: https://serf.googlecode.com/files/serf-%{version}.tar.bz2 +Patch0: libserf-1.2.0-configure.in-add-gssapi.patch Url: https://serf.googlecode.com BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: glibc-devel -BuildRequires: libapr-util1-devel -BuildRequires: libapr1-devel +%if %{with gssapi} +BuildRequires: autoconf >= 2.50 +BuildRequires: krb5-devel +%endif +BuildRequires: libapr-util1-devel >= %{minimum_apr_version} +BuildRequires: libapr1-devel >= %{minimum_apr_version} BuildRequires: libexpat-devel BuildRequires: libopenssl-devel BuildRequires: libtool @@ -79,8 +88,11 @@ Summary: High-Performance Asynchronous HTTP Client Library Group: Development/Libraries/C and C++ -Requires: libapr-util1-devel -Requires: libapr1-devel +%if %{with gssapi} +Requires: krb5-devel +%endif +Requires: libapr-util1-devel >= %{minimum_apr_version} +Requires: libapr1-devel >= %{minimum_apr_version} Requires: libexpat-devel Requires: libopenssl-devel Requires: libserf-1-0 = %{version} @@ -103,10 +115,23 @@ %prep %setup -q -n "serf-%{version}" +%if %{with gssapi} +%patch0 -p1 +%endif %build +%if %{with gssapi} +# required for libserf-1.2.0-configure.in-add-gssapi.patch +autoreconf -v +%endif + +# krb5-devel has /usr/lib/mit/bin/krb5-config even on 64 bit machines %configure \ - --includedir=%{_includedir}/serf-%{major} +%if %{with gssapi} + --with-gssapi=/usr/lib/mit \ +%endif + --includedir=%{_includedir}/serf-%{major} \ + make %{?_smp_mflags} %install ++++++ libserf-1.2.0-configure.in-add-gssapi.patch ++++++ From: Andreas Stieger <andreas.stieger@gmx.de> Date: 2013-02-22 21:52:12 +0000 Subject: [PATCH] add gssapi to autoconf build system References: http://code.google.com/p/serf/issues/detail?id=95 Upsptream: submitted ./configure in serf 1.2.0 does not look for, find or accept options to configure gssapi support, this is supported with serfmake. --- configure.in | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Index: serf-1.2.0/configure.in =================================================================== --- serf-1.2.0.orig/configure.in 2012-12-08 19:45:28.000000000 +0000 +++ serf-1.2.0/configure.in 2013-02-22 21:51:17.000000000 +0000 @@ -194,6 +194,45 @@ dnl Look for OpenSSL AC_CHECK_HEADER([openssl/opensslv.h], [], [AC_MSG_ERROR([We require OpenSSL; try --with-openssl])]) +dnl Look for Kerberos 5 for GSSAPI +AC_ARG_WITH(gssapi, + APR_HELP_STRING([--with-gssapi=PATH],[build with GSSAPI support; needs krb5-config in PATH/bin (eg. /usr/lib/mit)]), +[ + if test "$withval" = "yes"; then + AC_MSG_ERROR([--with-gssapi requires a path]) + else + gssapi_prefix=$withval/ + + if test "x$gssapi_prefix" != "x" -a ! -d "$gssapi_prefix"; then + AC_MSG_ERROR('--with-gssapi requires a path to a directory') + fi + AC_MSG_CHECKING([for krb5-config]) + if test -x "$gssapi_prefix/bin/krb5-config"; then + krb5conf=$gssapi_prefix/bin/krb5-config + AC_MSG_RESULT([$krb5conf]) + AC_MSG_CHECKING([for gssapi support in krb5-config]) + if "$krb5conf" | grep gssapi > /dev/null; then + AC_MSG_RESULT([yes]) + GSSAPI_confopts=gssapi + else + AC_MSG_RESULT([no]) + GSSAPI_confopts= + fi + GSSAPI_cflags=`"$krb5conf" --cflags $GSSAPI_confopts` + APR_ADDTO(CFLAGS, "$GSSAPI_cflags") + APR_ADDTO(CFLAGS, [-DSERF_HAVE_GSSAPI]) + APR_ADDTO(CFLAGS, [-g]) + GSSAPI_libs=`"$krb5conf" --libs $GSSAPI_confopts` + APR_ADDTO(LDFLAGS, "$GSSAPI_libs") + else + AC_MSG_RESULT([no]) + AC_MSG_WARN([--with-gssapi specified but krb5-config not found]) + fi + + fi +]) + + dnl CuTest requires libm on Solaris AC_SEARCH_LIBS(fabs, m) ++++++ serf-1.1.1.tar.bz2 -> serf-1.2.0.tar.bz2 ++++++ ++++ 9532 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de