diff options
author | Laurent Bercot <ska-adelie@skarnet.org> | 2024-10-10 05:04:23 +0000 |
---|---|---|
committer | Laurent Bercot <ska-adelie@skarnet.org> | 2024-10-10 05:04:23 +0000 |
commit | 5100cb80306790453bd3de9f3bede49b8aa220f7 (patch) | |
tree | 88c6ae7cf53abeb8d4af8d7b28c9d4ba164bbc67 | |
parent | 5e95520e5155013f9804a6bf550a129266a6d315 (diff) | |
download | packages-5100cb80306790453bd3de9f3bede49b8aa220f7.tar.gz packages-5100cb80306790453bd3de9f3bede49b8aa220f7.tar.bz2 packages-5100cb80306790453bd3de9f3bede49b8aa220f7.tar.xz packages-5100cb80306790453bd3de9f3bede49b8aa220f7.zip |
user/s6-networking: upgrade to 2.7.0.4
Also add a .pc file.
-rw-r--r-- | user/s6-networking/APKBUILD | 20 | ||||
-rw-r--r-- | user/s6-networking/s6-networking.pc.in | 6 |
2 files changed, 18 insertions, 8 deletions
diff --git a/user/s6-networking/APKBUILD b/user/s6-networking/APKBUILD index f99d5a2e8..75dcd1f64 100644 --- a/user/s6-networking/APKBUILD +++ b/user/s6-networking/APKBUILD @@ -1,37 +1,41 @@ # Contributor: Laurent Bercot <ska-adelie@skarnet.org> # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=s6-networking -pkgver=2.7.0.3 +pkgver=2.7.0.4 pkgrel=0 pkgdesc="skarnet.org's UCSPI TCP and TLS tools, access control tools, and network time management utilities." url="https://skarnet.org/software/s6-networking/" arch="all" options="!check" # No test suite. license="ISC" -_skalibs_version=2.14.1 +_skalibs_version=2.14.3 +_execline_version=2.9.6 +_s6_version=2.13.1 +_s6dns_version=2.4.0 +_bearssl_version=0.6 depends="execline" depends_dev="skalibs-dev>=$_skalibs_version" -makedepends="$depends_dev execline-dev s6-dev s6-dns-dev bearssl-dev" +makedepends="$depends_dev execline-dev>=$_execline_version s6-dev>=$_s6_version s6-dns-dev>=$_s6dns_version bearssl-dev>=$_bearssl_version" subpackages="$pkgname-dev $pkgname-libs $pkgname-doc" -source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" +source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz s6-networking.pc.in" build() { ./configure \ --enable-shared \ - --enable-static \ --disable-allstatic \ --prefix=/usr \ - --libdir=/usr/lib \ --libexecdir="/usr/lib/$pkgname" \ - --with-dynlib=/lib \ --enable-ssl=bearssl make } package() { make DESTDIR="$pkgdir" install + sed -e "s/@@VERSION@@/$pkgver/g; s/@@SKALIBS_VERSION@@/${_skalibs_version}/g;" "$srcdir/$pkgname.pc.in" > "$srcdir/$pkgname.pc" + install -D -m 0644 "$srcdir/$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc" mkdir -p -m 0755 "$pkgdir/usr/share/doc" cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname" } -sha512sums="50d369303bd448d09a3f6431e64fb0f0b13383c92764b499ed881af3a6a8c4f779f1f9d98341943f6fdc8b18d16df444897d3750212df89efd838b6de562eede s6-networking-2.7.0.3.tar.gz" +sha512sums="2a789cbc2f901e78fffb959fcbddf89c71de75c0d57d3fb1a927418fa8a43f71057c2b50b03e15aa45d5d7ee6521e76b697ae57eef2b7eea760ef9295314dc9b s6-networking-2.7.0.4.tar.gz +d6a17ebe194c4ffb1c402fec7589e34961b2b73cd4b380c2ffe9e7d74667d150f4c200cfc6f2e07e44eb14fbb8c51d0e1d2f39c284553472c5b4ae1137381d9f s6-networking.pc.in" diff --git a/user/s6-networking/s6-networking.pc.in b/user/s6-networking/s6-networking.pc.in new file mode 100644 index 000000000..d0a288192 --- /dev/null +++ b/user/s6-networking/s6-networking.pc.in @@ -0,0 +1,6 @@ +Name: s6-networking +Description: A C interface to some rfc1413 functions +URL: https://skarnet.org/software/s6-networking/ +Version: @@VERSION@@ +Requires.private: skalibs >= @@SKALIBS_VERSION@@ +Libs: -ls6net |