Compare commits
No commits in common. "e47ae11333c82d19b6ed24884ac59c237945384a" and "dfdd999a185e9ca3b6bb574948aae07216dc3110" have entirely different histories.
e47ae11333
...
dfdd999a18
@ -1,5 +1,5 @@
|
|||||||
--- neon-0.32.2/neon-config.in.multilib
|
--- neon-0.27.0/neon-config.in.multilib
|
||||||
+++ neon-0.32.2/neon-config.in
|
+++ neon-0.27.0/neon-config.in
|
||||||
@@ -5,7 +5,11 @@
|
@@ -5,7 +5,11 @@
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=@exec_prefix@
|
exec_prefix=@exec_prefix@
|
||||||
@ -22,7 +22,7 @@
|
|||||||
i18n [@NE_FLAG_I18N@], ts_ssl [@NE_FLAG_TS_SSL@]
|
i18n [@NE_FLAG_I18N@], ts_ssl [@NE_FLAG_TS_SSL@]
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
@@ -69,16 +73,11 @@
|
@@ -69,11 +73,10 @@
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--cflags)
|
--cflags)
|
||||||
@ -32,16 +32,10 @@
|
|||||||
|
|
||||||
--libs)
|
--libs)
|
||||||
- LIBS="-lneon @NEON_LIBS@"
|
- LIBS="-lneon @NEON_LIBS@"
|
||||||
- # Don't add standard library paths
|
# Don't add standard library paths
|
||||||
- if test "$prefix" != "/usr"; then
|
if test "$prefix" != "/usr"; then
|
||||||
- LIBS="-L${libdir} ${LIBS}"
|
LIBS="-L${libdir} ${LIBS}"
|
||||||
- fi
|
@@ -93,7 +96,7 @@
|
||||||
- echo @user_LDFLAGS@ ${LIBS}
|
|
||||||
+ echo ${LIBS}
|
|
||||||
;;
|
|
||||||
|
|
||||||
--la-file)
|
|
||||||
@@ -93,7 +92,7 @@
|
|
||||||
zlib|ZLIB) support @NE_FLAG_ZLIB@ ;;
|
zlib|ZLIB) support @NE_FLAG_ZLIB@ ;;
|
||||||
ipv6|IPV6) support @NE_FLAG_IPV6@ ;;
|
ipv6|IPV6) support @NE_FLAG_IPV6@ ;;
|
||||||
dav|DAV) support @NE_FLAG_DAV@ ;;
|
dav|DAV) support @NE_FLAG_DAV@ ;;
|
||||||
@ -50,8 +44,8 @@
|
|||||||
i18n|I18N) support @NE_FLAG_I18N@ ;;
|
i18n|I18N) support @NE_FLAG_I18N@ ;;
|
||||||
ts_ssl|TS_SSL) support @NE_FLAG_TS_SSL@ ;;
|
ts_ssl|TS_SSL) support @NE_FLAG_TS_SSL@ ;;
|
||||||
*) support no ;;
|
*) support no ;;
|
||||||
--- neon-0.32.2/neon.pc.in.multilib
|
--- neon-0.27.0/neon.pc.in.multilib
|
||||||
+++ neon-0.32.2/neon.pc.in
|
+++ neon-0.27.0/neon.pc.in
|
||||||
@@ -2,6 +2,7 @@
|
@@ -2,6 +2,7 @@
|
||||||
exec_prefix=@exec_prefix@
|
exec_prefix=@exec_prefix@
|
||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
22
neon-0.30.2-lockprintf.patch
Normal file
22
neon-0.30.2-lockprintf.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
Supress gcc warnings.
|
||||||
|
|
||||||
|
--- neon-0.30.2/test/lock.c.lockprintf
|
||||||
|
+++ neon-0.30.2/test/lock.c
|
||||||
|
@@ -73,11 +73,11 @@
|
||||||
|
const char *token_href)
|
||||||
|
{
|
||||||
|
static char buf[BUFSIZ];
|
||||||
|
- sprintf(buf,
|
||||||
|
- "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
|
||||||
|
- "<D:prop xmlns:D=\"DAV:\">"
|
||||||
|
- "<D:lockdiscovery>%s</D:lockdiscovery></D:prop>\n",
|
||||||
|
- activelock(scope, depth, owner, timeout, token_href));
|
||||||
|
+ ne_snprintf(buf, sizeof buf,
|
||||||
|
+ "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
|
||||||
|
+ "<D:prop xmlns:D=\"DAV:\">"
|
||||||
|
+ "<D:lockdiscovery>%s</D:lockdiscovery></D:prop>\n",
|
||||||
|
+ activelock(scope, depth, owner, timeout, token_href));
|
||||||
|
return buf;
|
||||||
|
}
|
||||||
|
|
||||||
14
neon-0.30.2-sysuioh.patch
Normal file
14
neon-0.30.2-sysuioh.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1572180
|
||||||
|
|
||||||
|
--- neon-0.30.2/src/ne_socket.c.sysuioh
|
||||||
|
+++ neon-0.30.2/src/ne_socket.c
|
||||||
|
@@ -27,7 +27,7 @@
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
-#ifdef HAVE_SYS_UIO_h
|
||||||
|
+#ifdef HAVE_SYS_UIO_H
|
||||||
|
#include <sys/uio.h> /* writev(2) */
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_TIME_H
|
||||||
BIN
neon-0.30.2.tar.gz
Normal file
BIN
neon-0.30.2.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
43
neon.spec
43
neon.spec
@ -1,17 +1,18 @@
|
|||||||
# Disable automatic .la file removal
|
|
||||||
%global __brp_remove_la_files %nil
|
|
||||||
|
|
||||||
Name: neon
|
Name: neon
|
||||||
Version: 0.32.5
|
Version: 0.30.2
|
||||||
Release: 1
|
Release: 12
|
||||||
Summary: An HTTP and WebDAV client library
|
Summary: An HTTP and WebDAV client library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://notroj.github.io/neon/
|
URL: http://www.webdav.org/neon/
|
||||||
Source0: https://notroj.github.io/neon/%{name}-%{version}.tar.gz
|
Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz
|
||||||
Patch0: neon-0.32.2-multilib.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc openssl-devel expat-devel gdb-headless zlib-devel krb5-devel
|
# These patches are from fedora: https://src.fedoraproject.org/rpms/neon/tree/f29
|
||||||
BuildRequires: pkgconfig make xmlto pakchois-devel libproxy-devel
|
Patch0: neon-0.27.0-multilib.patch
|
||||||
|
Patch1: neon-0.30.2-sysuioh.patch
|
||||||
|
Patch2: neon-0.30.2-lockprintf.patch
|
||||||
|
|
||||||
|
BuildRequires: gcc openssl-devel expat-devel gdb-headless
|
||||||
|
Requires: ca-certificates
|
||||||
|
|
||||||
%description
|
%description
|
||||||
neon is an HTTP and WebDAV client library, with a C interface. Features:\
|
neon is an HTTP and WebDAV client library, with a C interface. Features:\
|
||||||
@ -46,7 +47,7 @@ The %{name}-help package conatins man manual etc
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
sed -i '/^install-docs/s/install-html//' Makefile.in
|
sed -ibak '/^install-docs/s/install-html//' Makefile.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CC="%{__cc} -pthread"
|
export CC="%{__cc} -pthread"
|
||||||
@ -58,17 +59,15 @@ export CC="%{__cc} -pthread"
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%make_install
|
%make_install INSTALL="install -p"
|
||||||
|
|
||||||
sed -ri "/^dependency_libs/{s,-l[^ ']*,,g}" \
|
sed -ri "/^dependency_libs/{s,-l[^ ']*,,g}" \
|
||||||
$RPM_BUILD_ROOT%{_libdir}/libneon.la
|
$RPM_BUILD_ROOT%{_libdir}/libneon.la
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc BUGS TODO NEWS README* THANKS
|
%doc BUGS TODO NEWS README THANKS
|
||||||
%license AUTHORS src/COPYING.LIB
|
%license AUTHORS src/COPYING.LIB
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
@ -84,19 +83,7 @@ sed -ri "/^dependency_libs/{s,-l[^ ']*,,g}" \
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu May 18 2023 liyanan <thistleslyn@163.com> - 0.32.5-1
|
* Sat Dec 24 2022 Wei Chen <chenwei@xfuson.com> - 0.30.2-12
|
||||||
- update to 0.32.5
|
|
||||||
|
|
||||||
* Fri Dec 30 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 0.30.2-15
|
|
||||||
- DESC: backport neon.mak: Silence deprecation/POSIX warnings
|
|
||||||
|
|
||||||
* Thu Dec 29 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 0.30.2-14
|
|
||||||
- DESC: backport neon.mak Replace GX with EHsc
|
|
||||||
|
|
||||||
* Thu Dec 29 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 0.30.2-13
|
|
||||||
- DESC: backport Switch to destroy_and_wait() in various places
|
|
||||||
|
|
||||||
* Sat Dec 24 2022 Wei Chen <chenwei@xfusion.com> - 0.30.2-12
|
|
||||||
- DESC: fix invalid changelog information
|
- DESC: fix invalid changelog information
|
||||||
|
|
||||||
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.30.2-11
|
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.30.2-11
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user