aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbsd
diff options
context:
space:
mode:
Diffstat (limited to 'main/libbsd')
-rw-r--r--main/libbsd/APKBUILD20
-rw-r--r--main/libbsd/disable-fpurge-test.patch11
2 files changed, 14 insertions, 17 deletions
diff --git a/main/libbsd/APKBUILD b/main/libbsd/APKBUILD
index 3cd5b1b724..3b76d2bdb1 100644
--- a/main/libbsd/APKBUILD
+++ b/main/libbsd/APKBUILD
@@ -1,20 +1,19 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=libbsd
-pkgver=0.10.0
+pkgver=0.11.3
pkgrel=0
pkgdesc="commonly-used BSD functions not implemented by all libcs"
url="https://libbsd.freedesktop.org/"
arch="all"
license="BSD"
-depends="musl>=1.1.16-r22"
-depends_dev="bsd-compat-headers linux-headers"
+depends="musl"
+depends_dev="bsd-compat-headers linux-headers libmd-dev"
makedepends_build="autoconf automake libtool"
makedepends_host="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz
+source="https://libbsd.freedesktop.org/releases/libbsd-$pkgver.tar.xz
disable-fpurge-test.patch"
-builddir="$srcdir/$pkgname-$pkgver"
# secfixes:
# 0.10.0-r0:
@@ -23,12 +22,10 @@ builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
- autoreconf -fi
+ ./autogen
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -41,13 +38,12 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- make DESTDIR="$pkgdir" -C "$builddir" install
+ make DESTDIR="$pkgdir" install
}
-sha512sums="b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f297777b9 libbsd-0.10.0.tar.xz
-34ab57a9b67c0d6035312dff78e6dd0d1c48442c6a1b6e769b6ebb6dccb0dac80ccc2c309724e39c097cdac944bdbd9522582f93f2567da8c6615990e2d0238b disable-fpurge-test.patch"
+sha512sums="a7015ea1ffa3766b1a4690526a25231898ad8275149b31fb6801082450172249997c36165626d101ffce53b59767a46676eebc0806426922fe4e773a0376c1f5 libbsd-0.11.3.tar.xz
+9bfd1a7b7a3fdae115c9a9719e882237aa56eecc2d19b4a5da02494f8447a4ed26414fc4f52dcaa406fdee602986eed50674c37b2415b8f50493d18be016b9a8 disable-fpurge-test.patch"
diff --git a/main/libbsd/disable-fpurge-test.patch b/main/libbsd/disable-fpurge-test.patch
index 2a1950b123..abc4759524 100644
--- a/main/libbsd/disable-fpurge-test.patch
+++ b/main/libbsd/disable-fpurge-test.patch
@@ -1,10 +1,11 @@
---- libbsd-0.8.3/test/Makefile.am.old 2017-08-17 02:42:30.045825258 +0000
-+++ libbsd-0.8.3/test/Makefile.am 2017-08-17 03:49:17.928202106 +0000
-@@ -37,7 +37,6 @@
- humanize \
+undefined behaviour
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -38,7 +38,6 @@ check_PROGRAMS = \
fgetln \
+ funopen \
fparseln \
- fpurge \
md5 \
+ nlist \
proctitle-init \
- strmode \