summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD70
-rw-r--r--neon-0.30.2.tar.gz.asc17
3 files changed, 63 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c96e5c933c9..60dcb0b21cc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,21 @@
-# Generated by mksrcinfo v8
-# Fri Dec 29 17:33:05 UTC 2017
pkgbase = lib32-neon
pkgdesc = HTTP and WebDAV client library with a C interface (32 bit)
pkgver = 0.30.2
- pkgrel = 3
- url = http://www.webdav.org/neon/
+ pkgrel = 5
+ url = https://web.archive.org/web/20170928175008/http://www.webdav.org/neon/
arch = x86_64
license = GPL
license = LGPL
depends = lib32-krb5
depends = lib32-expat
- depends = neon
depends = ca-certificates
- depends = zlib
+ depends = neon
options = libtool
source = https://fossies.org/linux/www/neon-0.30.2.tar.gz
- md5sums = e28d77bf14032d7f5046b3930704ef41
+ source = neon-0.30.2.tar.gz.asc
+ validpgpkeys = 190555472DCC589BEF01609C608A86DF9833CC49
+ sha1sums = d1c020f96731135263476ebaa72b2da07c4727cd
+ sha1sums = SKIP
pkgname = lib32-neon
diff --git a/PKGBUILD b/PKGBUILD
index a1b38c2de54..0d7d22eab8c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,50 @@
+# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
+# Contributor: GordonGR <ntheo1979@gmail.com>
# Contributor: josephgbr <rafael.f.f1@gmail.com>
-# Maintainer: GordonGR <ntheo1979@gmail.com>
-_pkgname=neon
-pkgname=lib32-${_pkgname}
+_basename=neon
+pkgname=lib32-neon
pkgver=0.30.2
-pkgrel=3
+pkgrel=5
pkgdesc="HTTP and WebDAV client library with a C interface (32 bit)"
-arch=('x86_64')
-license=('GPL' 'LGPL')
-depends=('lib32-krb5' 'lib32-expat' "${_pkgname}" 'ca-certificates' 'zlib')
-url="http://www.webdav.org/neon/"
-source=("https://fossies.org/linux/www/${_pkgname}-${pkgver}.tar.gz")
-#source=("http://www.webdav.org/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+arch=(x86_64)
+url="https://web.archive.org/web/20170928175008/http://www.webdav.org/neon/"
+license=(GPL LGPL)
+depends=(lib32-krb5 lib32-expat ca-certificates neon)
+source=("https://fossies.org/linux/www/${_basename}-${pkgver}.tar.gz")
options=('libtool') # FS#16067
-md5sums=('e28d77bf14032d7f5046b3930704ef41')
-
+source=(https://fossies.org/linux/www/${_basename}-${pkgver}.tar.gz
+ $_basename-$pkgver.tar.gz.asc)
+sha1sums=('d1c020f96731135263476ebaa72b2da07c4727cd'
+ 'SKIP')
+validpgpkeys=('190555472DCC589BEF01609C608A86DF9833CC49') # Joe Orton
build() {
-export CC='gcc -m32'
-export CXX='g++ -m32'
-export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-cd "${srcdir}"/${_pkgname}-${pkgver}
-./configure --prefix=/usr \
- --with-expat \
- --enable-shared \
- --disable-static \
- --with-ssl=openssl \
- --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
- --libdir=/usr/lib32 --without-libproxy # without proxy, just like 'neon' package
-make
-
-# fix invalid .so links in man pages (FS#24902)
-sed -i '/^\.so/s|\.so \([^.]\+\)\.\([[:digit:]]\)|.so man\2/\1.\2|' doc/man/*
+ cd "${_basename}-${pkgver}"
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --build=i686-pc-linux-gnu \
+ --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --with-expat \
+ --enable-shared \
+ --disable-static \
+ --with-ssl=openssl \
+ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
}
package() {
-cd "${srcdir}"/${_pkgname}-${pkgver}
-make DESTDIR="${pkgdir}" install
-rm -rf "${pkgdir}/usr"/{bin,include,share}
+ cd "${_basename}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}/usr"/{bin,include,share}
}
diff --git a/neon-0.30.2.tar.gz.asc b/neon-0.30.2.tar.gz.asc
new file mode 100644
index 00000000000..eea03732145
--- /dev/null
+++ b/neon-0.30.2.tar.gz.asc
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQIcBAABCAAGBQJX7jFwAAoJEGCKht+YM8xJnVMP+wceuBon9W/KF2Qie7O+WcO1
+NIUCfHM12nFZy1hzIYioLJoJQ0fefqQbF1s6ttKfywZsPrh+XRlPPOLCAaSHn3d5
+cUy3C62BuCt47/UDzXW21kwJ0o1wtevCAcEYzwbAeLcwJM184zrzaq6OL1IViKau
+SDvTM+CeUVSHeM2JNuFBZUBOPTyr16KVVBM9OCryjYxh1J+rnYK47vYH1YgaGefP
+N1+kVGVPHGEOg+HvXIy9MdxZAR1koxNrl39tRO+OwbFOBI98xY5RDrktt6a5G/pb
+pnS4oBXTgqhSzU9LX2GosvUI0tFUEEJeBm3TA3qUo0182vSdgKu1PPcGsoRchFP5
+aylYEpRImWHRjj5oWP1BUGTpKThZ1UktJLoEOCawA8NDXHKtE90raW/lc8FgqAxa
+rwTied3FDBaRUlaar8doPqOYjGXbk5HjHNTp742blaids4XALxNlFyb/YeVkSdLz
+Q8dMHeyk6Fw8QZLKTRXy1Fy+Ortc33l0p0srE1X14/z9jxeSFWXNuS1r6OtxjoVO
+hKOSVJK1AEEAoMPaFlFUrL3LnGih4WwgMkRxp1hwfE/zRdDtplSNtGVBPw/67oTO
+rCMDWUhgSTFO/iHo4dg6tQRE0Kl1PysMukCpQnhwzsfL/sHXClF6dokL6Bm9rGmZ
+wkEA8Va6TyiNmBtB1SrY
+=kecl
+-----END PGP SIGNATURE-----