neon-0.34.0

This commit is contained in:
uglyside
2025-02-10 11:24:30 +03:00
parent 972d8dc62a
commit 075ab6f356
5 changed files with 37 additions and 98 deletions
@@ -42,7 +42,6 @@
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
+16 -15
View File
@@ -2,27 +2,28 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import autotools, pisitools, get
i = ''.join([
' --prefix=/usr',
' --with-expat',
' --without-{gssapi,libproxy}',
' --with-ssl=openssl',
' --with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt',
' --enable-threadsafe-ssl=posix',
' --enable-shared',
' --enable-static=no '
])
def setup():
autotools.configure("--with-libxml2 \
--with-expat \
--without-gssapi \
--without-libproxy \
--with-ssl=openssl \
--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt \
--enable-threadsafe-ssl=posix \
--enable-shared \
--disable-static")
autotools.configure(i)
def build():
autotools.make()
def install():
autotools.install()
autotools.rawInstall("DESTDIR=%s docdir=/usr/share/doc/neon" % get.installDIR())
pisitools.dodoc("THANKS", "TODO", "ChangeLog", "AUTHORS", "BUGS", "NEWS", "README.md", "doc/*.txt")
pisitools.dodoc("AUTHORS", "THANKS")
-11
View File
@@ -1,11 +0,0 @@
--- Makefile.in.orig 2009-01-29 03:13:36.000000000 +0200
+++ Makefile.in 2009-05-02 03:14:18.000000000 +0300
@@ -22,7 +22,7 @@
man3dir = $(mandir)/man3
datarootdir = @datarootdir@
datadir = @datadir@
-docdir = $(datadir)/doc/neon-@NEON_VERSION@
+docdir = $(datadir)/doc/neon
includedir = @includedir@
neonincludes = $(includedir)/neon
pkgconfigdir = $(libdir)/pkgconfig
-57
View File
@@ -1,57 +0,0 @@
--- neon-0.27.0/neon-config.in.multilib
+++ neon-0.27.0/neon-config.in
@@ -5,7 +5,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
-libdir=@libdir@
+
+libdir=`pkg-config --variable=libdir neon`
+CFLAGS=`pkg-config --cflags neon`
+LIBS=`pkg-config --libs neon`
+has_lfs=`pkg-config --variable=has_lfs neon`
usage()
{
@@ -23,7 +27,7 @@
--support FEATURE exit with success if feature is supported
Known features:
- dav [@NE_FLAG_DAV@], ssl [@NE_FLAG_SSL@], zlib [@NE_FLAG_ZLIB@], ipv6 [@NE_FLAG_IPV6@], lfs [@NE_FLAG_LFS@],
+ dav [@NE_FLAG_DAV@], ssl [@NE_FLAG_SSL@], zlib [@NE_FLAG_ZLIB@], ipv6 [@NE_FLAG_IPV6@], lfs [${has_lfs}],
i18n [@NE_FLAG_I18N@], ts_ssl [@NE_FLAG_TS_SSL@]
EOF
@@ -69,11 +73,10 @@
;;
--cflags)
- echo -I${includedir}/neon @NEON_CFLAGS@
+ echo ${CFLAGS}
;;
--libs)
- LIBS="-lneon @NEON_LIBS@"
# Don't add standard library paths
if test "$prefix" != "/usr"; then
LIBS="-L${libdir} ${LIBS}"
@@ -93,7 +96,7 @@
zlib|ZLIB) support @NE_FLAG_ZLIB@ ;;
ipv6|IPV6) support @NE_FLAG_IPV6@ ;;
dav|DAV) support @NE_FLAG_DAV@ ;;
- lfs|LFS) support @NE_FLAG_LFS@ ;;
+ lfs|LFS) support ${has_lfs} ;;
i18n|I18N) support @NE_FLAG_I18N@ ;;
ts_ssl|TS_SSL) support @NE_FLAG_TS_SSL@ ;;
*) support no ;;
--- neon-0.27.0/neon.pc.in.multilib
+++ neon-0.27.0/neon.pc.in
@@ -2,6 +2,7 @@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
+has_lfs=@NE_FLAG_LFS@
Name: neon
Description: HTTP/WebDAV client library
+21 -14
View File
@@ -1,27 +1,25 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>neon</Name>
<Homepage>http://www.webdav.org/neon/</Homepage>
<Homepage>https://notroj.github.io/neon/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>HTTP and WebDAV client library</Summary>
<Description>neon is an HTTP and WebDAV client library with a C interface; providing a high-level interface to HTTP and WebDAV methods along with a low-level interface for HTTP request handling.</Description>
<Archive sha1sum="ca4df4d726d7adef70dff1a32766ca54519a0958" type="targz">https://notroj.github.io/neon/neon-0.31.2.tar.gz</Archive>
<Summary>HTTP and WebDAV client library.</Summary>
<Description>neon is an HTTP/1.1 and WebDAV client library, with a C interface.</Description>
<Archive sha1sum="b0b371ff82d72a82ad5a282971d9246033df93fe" type="targz">https://notroj.github.io/neon/neon-0.34.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>openssl-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>openssl-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>fixdocdir.patch</Patch>
<Patch level="1">multilib.patch</Patch>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
@@ -33,11 +31,8 @@
<Dependency>openssl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
@@ -45,15 +40,27 @@
<Name>neon-devel</Name>
<Summary>Development files for neon</Summary>
<RuntimeDependencies>
<Dependency>zlib-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency release="current">neon</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/neon-config</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/man/man1</Path>
</Files>
</Package>
<History>
<Update release="8">
<Date>2025-02-10</Date>
<Version>0.34.0</Version>
<Comment>Version bump.</Comment>
<Name>İdris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="7">
<Date>2024-12-18</Date>
<Version>0.31.2</Version>