Accepting request 1175702 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1175702 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/neon?expand=0&rev=60
This commit is contained in:
commit
34dc04ca3b
@ -1,11 +0,0 @@
|
|||||||
--- test/socket.c.orig 2018-03-19 14:39:27.095824143 +0100
|
|
||||||
+++ test/socket.c 2018-03-19 15:14:52.733528116 +0100
|
|
||||||
@@ -835,7 +835,7 @@
|
|
||||||
{
|
|
||||||
to_finish = time(NULL);
|
|
||||||
reap_server(); /* hopefully it's hung. */
|
|
||||||
- ONN("timeout ignored, or very slow machine", to_finish - to_start > 3);
|
|
||||||
+ ONN("timeout ignored, or very slow machine", to_finish - to_start > 10);
|
|
||||||
ONN("close failed", ne_sock_close(sock));
|
|
||||||
return OK;
|
|
||||||
}
|
|
@ -1,7 +1,7 @@
|
|||||||
Index: neon-config.in
|
Index: neon-0.33.0/neon-config.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- neon-config.in.orig
|
--- neon-0.33.0.orig/neon-config.in
|
||||||
+++ neon-config.in
|
+++ neon-0.33.0/neon-config.in
|
||||||
@@ -73,7 +73,7 @@ while test $# -gt 0; do
|
@@ -73,7 +73,7 @@ while test $# -gt 0; do
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
BIN
neon-0.32.5.tar.gz
(Stored with Git LFS)
BIN
neon-0.32.5.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
neon-0.33.0.tar.gz
Normal file
3
neon-0.33.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:659a5cc9cea05e6e7864094f1e13a77abbbdbab452f04d751a8c16a9447cf4b8
|
||||||
|
size 912146
|
14
neon.changes
14
neon.changes
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 16:53:16 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 0.33.0:
|
||||||
|
* Interface clarifications
|
||||||
|
* added DAV:lockroot support per RFC 4918
|
||||||
|
* Improved handling of interim (1xx) responses, headers in
|
||||||
|
interim responses are now accessible
|
||||||
|
* TLS name verification updated to match RFC 9110/6125, added
|
||||||
|
strict handling of IP literals vs DNS names
|
||||||
|
* bug fixes
|
||||||
|
- drop fix_timeout_tests_for_ppc64le.patch
|
||||||
|
- replace replace_manpage_with_links.sh with fdupes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 22 13:58:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Thu Feb 22 13:58:54 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
55
neon.spec
55
neon.spec
@ -2,6 +2,7 @@
|
|||||||
# spec file for package neon
|
# spec file for package neon
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,8 +17,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define sover 27
|
||||||
Name: neon
|
Name: neon
|
||||||
Version: 0.32.5
|
Version: 0.33.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An HTTP and WebDAV Client Library
|
Summary: An HTTP and WebDAV Client Library
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@ -25,40 +27,35 @@ Group: Development/Libraries/Other
|
|||||||
URL: https://notroj.github.io/neon/
|
URL: https://notroj.github.io/neon/
|
||||||
Source0: https://notroj.github.io/neon/neon-%{version}.tar.gz
|
Source0: https://notroj.github.io/neon/neon-%{version}.tar.gz
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Source10: replace_manpage_with_links.sh
|
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
|
||||||
Patch0: neon-0.28.4-bloat.patch
|
Patch0: neon-0.28.4-bloat.patch
|
||||||
Patch1: fix_timeout_tests_for_ppc64le.patch
|
BuildRequires: fdupes
|
||||||
BuildRequires: krb5-devel
|
|
||||||
BuildRequires: libexpat-devel
|
|
||||||
BuildRequires: libproxy-devel
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: openssl
|
BuildRequires: openssl
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: pkgconfig(expat)
|
||||||
|
BuildRequires: pkgconfig(krb5-gssapi)
|
||||||
|
BuildRequires: pkgconfig(libproxy-1.0)
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
neon is an HTTP and WebDAV client library with a C interface.
|
neon is an HTTP and WebDAV client library with a C interface.
|
||||||
|
|
||||||
%package -n libneon27
|
%package -n libneon%{sover}
|
||||||
Summary: An HTTP and WebDAV Client Library
|
Summary: An HTTP and WebDAV Client Library
|
||||||
# Drop the main package. It avoids the lib from being installed in different versions
|
# Drop the main package. It avoids the lib from being installed in different versions
|
||||||
# and generally only contained coders doc anyhow.
|
# and generally only contained coders doc anyhow.
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Provides: neon = %{version}
|
Provides: neon = %{version}
|
||||||
Obsoletes: neon < %{version}
|
Obsoletes: neon < %{version}
|
||||||
#
|
|
||||||
|
|
||||||
%description -n libneon27
|
%description -n libneon%{sover}
|
||||||
neon is an HTTP and WebDAV client library with a C interface.
|
neon is an HTTP and WebDAV client library with a C interface.
|
||||||
|
|
||||||
%package -n libneon-devel
|
%package -n libneon-devel
|
||||||
Summary: An HTTP and WebDAV Client Library
|
Summary: An HTTP and WebDAV Client Library
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: glibc-devel
|
Requires: libneon%{sover} = %{version}
|
||||||
Requires: libneon27 = %{version}
|
|
||||||
# renamed after openSUSE 10.3
|
# renamed after openSUSE 10.3
|
||||||
Provides: neon-devel = %{version}
|
Provides: neon-devel = %{version}
|
||||||
Obsoletes: neon-devel < %{version}
|
Obsoletes: neon-devel < %{version}
|
||||||
@ -67,15 +64,9 @@ Obsoletes: neon-devel < %{version}
|
|||||||
neon is an HTTP and WebDAV client library with a C interface.
|
neon is an HTTP and WebDAV client library with a C interface.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch -P 0
|
|
||||||
%ifarch ppc64le ppc64
|
|
||||||
%patch -P 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -f aclocal.m4 ltmain.sh
|
|
||||||
sh autogen.sh
|
|
||||||
%configure \
|
%configure \
|
||||||
--with-ssl \
|
--with-ssl \
|
||||||
--enable-threadsafe-ssl=posix \
|
--enable-threadsafe-ssl=posix \
|
||||||
@ -88,28 +79,30 @@ sh autogen.sh
|
|||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} docdir=%{_defaultdocdir}/%{name} install install-man install-html %{?_smp_mflags}
|
%make_install \
|
||||||
|
docdir=%{_defaultdocdir}/%{name} \
|
||||||
|
%{nil}
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
find %{buildroot}%{_mandir} -type f -exec bash %{SOURCE10} {} \;
|
%fdupes -s %{buildroot}/%{_mandir}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export TEST_QUIET=0
|
export TEST_QUIET=0
|
||||||
%make_build check
|
%make_build check
|
||||||
|
|
||||||
%post -n libneon27 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libneon%{sover}
|
||||||
%postun -n libneon27 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libneon27
|
%files -n libneon%{sover}
|
||||||
%doc AUTHORS BUGS ChangeLog NEWS THANKS TODO
|
|
||||||
%{_libdir}/*.so.27*
|
|
||||||
%license src/COPYING.LIB
|
%license src/COPYING.LIB
|
||||||
|
%doc AUTHORS BUGS NEWS THANKS TODO
|
||||||
|
%{_libdir}/*.so.%{sover}
|
||||||
|
%{_libdir}/*.so.%{sover}.*
|
||||||
|
|
||||||
%files -n libneon-devel
|
%files -n libneon-devel
|
||||||
|
%license src/COPYING.LIB
|
||||||
%doc %{_defaultdocdir}/%{name}
|
%doc %{_defaultdocdir}/%{name}
|
||||||
%{_bindir}/neon-config
|
%{_bindir}/neon-config
|
||||||
%dir %{_includedir}/neon
|
%{_includedir}/neon
|
||||||
%{_includedir}/neon/*.h
|
%{_mandir}/man*/*%{?ext_man}
|
||||||
%{_mandir}/*/*
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/neon.pc
|
%{_libdir}/pkgconfig/neon.pc
|
||||||
|
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Is this just a linked manpage?
|
|
||||||
echo "Processing $1"
|
|
||||||
grep '^\.so man\([0-7]\?\)/.*\1$' "$1" || exit 0
|
|
||||||
|
|
||||||
# extract target name
|
|
||||||
TARGET=`sed -e 's/^\.so man\([0-7]\?\)\///' "$1"`
|
|
||||||
MANDIR=`dirname "$1"`
|
|
||||||
|
|
||||||
# verify that target exists
|
|
||||||
[ -e "$MANDIR"/"$TARGET" ] || exit 1
|
|
||||||
|
|
||||||
# replace manpage reload with symlink
|
|
||||||
echo " -> $TARGET"
|
|
||||||
rm "$1"
|
|
||||||
ln -s $TARGET "$1"
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user