aboutsummaryrefslogtreecommitdiffstats
path: root/main/oidentd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-05-15 22:08:44 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-05-15 22:32:16 +0200
commite58eb76003d1545000a40639ef90693a63febba9 (patch)
treefc6431954dd3d6ecf8839b29f1ef14336370d278 /main/oidentd
parent0171cbdae0150d276a0bbdd212a422a19aa8b02c (diff)
downloadaports-e58eb76003d1545000a40639ef90693a63febba9.tar.bz2
aports-e58eb76003d1545000a40639ef90693a63febba9.tar.xz
main/oidentd: clarify license and improve abuild
Diffstat (limited to 'main/oidentd')
-rw-r--r--main/oidentd/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/main/oidentd/APKBUILD b/main/oidentd/APKBUILD
index 747cf41436..15683516b1 100644
--- a/main/oidentd/APKBUILD
+++ b/main/oidentd/APKBUILD
@@ -3,20 +3,19 @@
pkgname=oidentd
pkgver=2.0.8
pkgrel=5
-pkgdesc="Configurable IDENT server that supports NAT/IP masq."
+pkgdesc="Configurable IDENT server that supports NAT/IP masq"
url="http://dev.ojnk.net/"
arch="all"
-license="GPL"
-depends=""
-makedepends=""
+license="GPL-2.0-only"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/ojnk/$pkgname-$pkgver.tar.gz
-fix-inline.patch
-oidentd.conf
-oidentd.initd
-oidentd.confd"
-
+ fix-inline.patch
+ oidentd.conf
+ $pkgname.initd
+ $pkgname.confd
+ "
builddir="$srcdir/$pkgname-$pkgver"
+
prepare() {
default_prepare
update_config_sub
@@ -24,6 +23,7 @@ prepare() {
build() {
cd "$builddir"
+
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -36,11 +36,12 @@ build() {
package() {
cd "$builddir"
+
make DESTDIR="$pkgdir" install
+
install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -D -m644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -D -m644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/$pkgname.conf
-
}
sha512sums="86229a4ef9892121c25a7140616e180f862ca34b73ea3ad9f0fbb008f657abb17e9f14c2c25ae14c14bfc14bf1ea10b50fd68318631a9c52227bbfd6e6d43288 oidentd-2.0.8.tar.gz