From d36b79d4afee6a3e38e91cfbda8a89474a7f81f7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 18 Aug 2018 10:54:16 -0300 Subject: [PATCH] s6-networking: enable nsss support on musl --- srcpkgs/s6-networking/template | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template index 0992a32a6ef..f536116c7e7 100644 --- a/srcpkgs/s6-networking/template +++ b/srcpkgs/s6-networking/template @@ -1,17 +1,24 @@ # Template file for 's6-networking' pkgname=s6-networking version=2.3.0.3 -revision=1 -build_style=gnu-configure +revision=2 +build_style=configure makedepends="execline-devel libressl-devel skalibs-devel s6-devel s6-dns-devel" -configure_args="--libdir=/usr/lib --enable-ssl=libressl --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps --with-lib=${XBPS_CROSS_BASE}/usr/lib" +configure_args="--libdir=/usr/lib --enable-ssl=libressl + --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps + --with-lib=${XBPS_CROSS_BASE}/usr/lib --bindir=/usr/bin" short_desc="Suite of small network utilities for Unix systems" maintainer="lemmi " license="ISC" homepage="https://skarnet.org/software/${pkgname}/" +changelog="https://skarnet.org/software/s6-networking/upgrade.html" distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz" checksum=5a6aae710dc197ea59e16c39d915888b8bf9d7cc31e15d03f67572a3daa1d2cd +case "$XBPS_TARGET_MACHINE" in + *-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;; +esac + post_install() { vlicense COPYING vdoc README @@ -30,6 +37,6 @@ s6-networking-devel_package() { short_desc+=" - development files" pkg_install() { vmove usr/include - vmove usr/lib/*.a + vmove "usr/lib/*.a" } }