diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2018-03-08 20:39:14 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2018-03-08 20:39:22 +0200 |
commit | 71642045831280036e878c4b9005a78e610a256f (patch) | |
tree | c148851eb3b9455353713973449ba756e47276e0 /testing | |
parent | cf7e842048953efad90c7792c45c47e5923363bc (diff) | |
download | aports-71642045831280036e878c4b9005a78e610a256f.tar.bz2 aports-71642045831280036e878c4b9005a78e610a256f.tar.xz |
testing/dmvpn: fix packaging of Lua module
Diffstat (limited to 'testing')
-rw-r--r-- | testing/dmvpn/APKBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/testing/dmvpn/APKBUILD b/testing/dmvpn/APKBUILD index 85c3bf3035..3245c922f1 100644 --- a/testing/dmvpn/APKBUILD +++ b/testing/dmvpn/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> pkgname=dmvpn pkgver=0.1.1 -pkgrel=0 +pkgrel=1 pkgdesc="Dynamic Multipoint VPN" url="https://git.alpinelinux.org/cgit/dmvpn-tools/" arch="noarch" license="MIT" depends="augeas bind-tools lua5.2 lua5.2-cqueues lua5.2-lyaml lua5.2-ossl - lua5.2-posix lua5.2-struct lua-asn1 quagga strongswan tunnel" -subpackages="$pkgname-ca" + lua5.2-posix lua5.2-struct lua-dmvpn quagga strongswan tunnel" +subpackages="dmvpn-ca lua-dmvpn" options="!check" source="$url/snapshot/dmvpn-tools-$pkgver.tar.bz2" builddir="$srcdir/dmvpn-tools-$pkgver" @@ -23,7 +23,6 @@ package() { install -D -m 644 dmvpn-hub.awall "$pkgdir"/usr/share/awall/optional/dmvpn-hub.json install -D dmvpn-pfx-decode "$pkgdir"/usr/libexec/dmvpn-pfx-decode - install -D -m 644 dmvpn.lua "$pkgdir"/usr/share/lua/5.2/dmvpn.lua install -D -m 644 dmvpn.swanctl "$pkgdir"/etc/swanctl/conf.d/dmvpn.conf install -D nhrp-events "$pkgdir"/usr/sbin/nhrp-events install -D nhrp-events.initd "$pkgdir"/etc/init.d/nhrp-events @@ -32,11 +31,19 @@ package() { ca() { depends="lua5.2 lua5.2-lyaml lua5.2-ossl lua5.2-posix lua5.2-sql-sqlite3 - lua5.2-stringy lua-asn1" + lua5.2-stringy lua-asn1 lua-dmvpn" cd "$builddir" install -D dmvpn-ca "$subpkgdir"/usr/bin/dmvpn-ca install -D -m 644 dmvpn-ca.conf "$subpkgdir"/etc/dmvpn-ca.conf } + +dmvpn() { + depends=lua-asn1 + + cd "$builddir" + install -D -m 644 dmvpn.lua "$subpkgdir"/usr/share/lua/5.2/dmvpn.lua +} + sha512sums="48a7810ef7d55362a512e231a8537f62310c47748d698458fc1878f7eab89a3506951afe9e5ae9ad83fdccf5a6cf661ecffbcd0a64ccd4443f0021e629979624 dmvpn-tools-0.1.1.tar.bz2" |