aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-12-06 23:10:16 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-12-07 01:41:34 +0100
commitd6e41f89644fc8dc7c52c93451d192b9e0a792dd (patch)
treec4f508763aca1d7d88ac8ef5b6ffb53540f3aa92
parentc8b6f2471514601bea7c0a97b8d88b0980a694e2 (diff)
downloadaports-d6e41f89644fc8dc7c52c93451d192b9e0a792dd.tar.bz2
aports-d6e41f89644fc8dc7c52c93451d192b9e0a792dd.tar.xz
testing/kea: remove unnecessary explicit dependency on pkgname
It's auto-discovered because the binaries depend on shared libraries from the kea package.
-rw-r--r--testing/kea/APKBUILD21
1 files changed, 1 insertions, 20 deletions
diff --git a/testing/kea/APKBUILD b/testing/kea/APKBUILD
index ccd463bf8f..efe84f37b1 100644
--- a/testing/kea/APKBUILD
+++ b/testing/kea/APKBUILD
@@ -52,16 +52,9 @@ package() {
make DESTDIR="$pkgdir" install
}
-_common_sub() {
-
- depends="$pkgname"
-
-}
-
admin() {
- _common_sub
-
pkgdesc="$pkgdesc (Databases administration tools)"
+ depends="$pkgname=$pkgver-r$pkgrel"
mkdir -p "$subpkgdir/usr/sbin/"
mv "$pkgdir/usr/sbin/kea-admin" "$subpkgdir/usr/sbin/kea-admin"
@@ -71,8 +64,6 @@ admin() {
}
ctrlagent() {
- _common_sub
-
mkdir -p "$subpkgdir"/usr/sbin
mv "$pkgdir/usr/sbin/kea-ctrl-agent" "$subpkgdir/usr/sbin/kea-ctrl-agent"
@@ -83,8 +74,6 @@ ctrlagent() {
}
dhcpddns() {
- _common_sub
-
pkgdesc="$pkgdesc (DDNS Server)"
mkdir -p $subpkgdir/usr/sbin/
@@ -97,8 +86,6 @@ dhcpddns() {
}
dhcp4() {
- _common_sub
-
pkgdesc="$pkgdesc (DHCP4 Server)"
mkdir -p "$subpkgdir/usr/sbin/"
@@ -111,8 +98,6 @@ dhcp4() {
}
dhcp6() {
- _common_sub
-
pkgdesc="$pkgdesc (DHCP6 Server)"
mkdir -p $subpkgdir/usr/sbin/
@@ -125,8 +110,6 @@ dhcp6() {
}
keactrl() {
- _common_sub
-
pkgdesc="$pkgdesc (Kea process manager)"
mkdir -p "$subpkgdir/usr/sbin/"
@@ -137,8 +120,6 @@ keactrl() {
}
utils() {
- _common_sub
-
pkgdesc="$pkgdesc (Optional Utils)"
mkdir -p "$subpkgdir/usr/sbin/"