Subject: [alpine-aports] [PATCH] main/s6: split execline dep into a separate package

From: Muh Muhten <[email-masked]>
Date: Thu, 1 Oct 2015 02:29:04 -0400

---
 main/s6/APKBUILD       | 15 +++++++++++----
 testing/s6-rc/APKBUILD |  4 ++--
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/main/s6/APKBUILD b/main/s6/APKBUILD
index 0d0557e..8b24d41 100644
--- a/main/s6/APKBUILD
+++ b/main/s6/APKBUILD
@@ -2,16 +2,16 @@
 # Maintainer: John Regan <[email-masked]>
 pkgname=s6
 pkgver=2.2.1.0
-pkgrel=0
+pkgrel=1
 pkgdesc="skarnet.org's small & secure supervision software suite."
 url="http://skarnet.org/software/$pkgname/"
 arch="all"
 license="ISC"
-depends="skalibs execline"
+depends="skalibs"
 depends_dev="skalibs-dev execline-dev"
-makedepends="$depends_dev"
+makedepends="$depends_dev execline"
 install=""
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-execline"
 source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
 
 _builddir="$srcdir/$pkgname-$pkgver"
@@ -44,6 +44,13 @@ package() {
 	make DESTDIR="$pkgdir" install || return 1
 }
 
+execline() {
+	pkgdesc="Additional s6 utilities requiring execline."
+	depends="execline"
+	mkdir -p "$subpkgdir"/usr/bin
+	mv "$pkgdir"/usr/bin/s6-*listen "$subpkgdir"/usr/bin
+}
+
 md5sums="9cbbe800692a7e9e4019f85866f339d0  s6-2.2.1.0.tar.gz"
 sha256sums="87ef4bd483aa77370c1bd946815a72d8d56290214e3e229e3c79c2e9240ac073  s6-2.2.1.0.tar.gz"
 sha512sums="64b3e913ca002fb14708c316e209114664f6e2ff9f019bc633956d28e660f0b03761becda9e43d735f2ce738abca84c0d019e798461db5e96a100beb004796b3  s6-2.2.1.0.tar.gz"
diff --git a/testing/s6-rc/APKBUILD b/testing/s6-rc/APKBUILD
index 1531510..b139f3e 100644
--- a/testing/s6-rc/APKBUILD
+++ b/testing/s6-rc/APKBUILD
@@ -2,12 +2,12 @@
 # Maintainer: Eivind Uggedal <[email-masked]>
 pkgname=s6-rc
 pkgver=0.0.1.0
-pkgrel=0
+pkgrel=1
 pkgdesc="A service manager for s6-based systems"
 url="http://skarnet.org/software/s6-rc/"
 arch="all"
 license="ISC"
-depends="s6"
+depends="s6 execline"
 depends_dev="skalibs-dev execline-dev s6-dev"
 makedepends="$depends_dev"
 install=""
-- 
2.3.8 (Apple Git-58)

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---