Add libbsd recipe.
parent
58f9b7222b
commit
8db9a7f641
|
@ -0,0 +1,31 @@
|
|||
name = libbsd
|
||||
version = 0.10.0
|
||||
pkgrel = 0
|
||||
pkgdesc = "commonly-used BSD functions not implemented by all libcs"
|
||||
url = "https://libbsd.freedesktop.org/"
|
||||
arch = "all"
|
||||
license = "BSD"
|
||||
dependencies = "musl>=1.1.16-r22"
|
||||
build-dependencies = bsd-compat-headers linux-headers
|
||||
build-dependencies += autoconf automake libtool
|
||||
URL = https://libbsd.freedesktop.org/releases/$(name)-$(version).tar.xz
|
||||
|
||||
patches = disable-fpurge-test.patch
|
||||
|
||||
# secfixes:
|
||||
# 0.10.0-r0:
|
||||
# - CVE-2019-20367
|
||||
|
||||
CONFIGURE_OPTIONS_USER = --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=$(MANDIR) \
|
||||
--infodir=$(SHAREDIR)/info \
|
||||
--localstatedir=/var
|
||||
|
||||
MAKE_INSTALL_OPTIONS_USER = -C "$(bdir)"
|
||||
|
||||
SYSCONF ?= ../../
|
||||
include $(SYSCONF)/package.mk
|
||||
|
||||
pre_configure:
|
||||
cd $(bdir) ; autoreconf -fi
|
|
@ -0,0 +1,10 @@
|
|||
--- 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 \
|
||||
fgetln \
|
||||
fparseln \
|
||||
- fpurge \
|
||||
md5 \
|
||||
proctitle-init \
|
||||
strmode \
|
Loading…
Reference in New Issue