diff options
author | Lee Starnes <lee@canned-death.us> | 2018-09-08 02:31:56 +0000 |
---|---|---|
committer | Lee Starnes <lee@canned-death.us> | 2018-09-08 02:31:56 +0000 |
commit | db4ac2a6470fc88f681b3aaf90b16333cd2a3be7 (patch) | |
tree | e53ddc3fedd15cac8c491eb76e77f4c314182dcc /user/openvpn/APKBUILD | |
parent | 3a6b23a5d7d750bf28a1f968700fa809d5ad7aaa (diff) | |
download | packages-db4ac2a6470fc88f681b3aaf90b16333cd2a3be7.tar.gz packages-db4ac2a6470fc88f681b3aaf90b16333cd2a3be7.tar.bz2 packages-db4ac2a6470fc88f681b3aaf90b16333cd2a3be7.tar.xz packages-db4ac2a6470fc88f681b3aaf90b16333cd2a3be7.zip |
add license, split out openrc, update URLs
Diffstat (limited to 'user/openvpn/APKBUILD')
-rw-r--r-- | user/openvpn/APKBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/user/openvpn/APKBUILD b/user/openvpn/APKBUILD index 73f4d9647..05233f458 100644 --- a/user/openvpn/APKBUILD +++ b/user/openvpn/APKBUILD @@ -5,20 +5,19 @@ pkgname=openvpn pkgver=2.4.6 pkgrel=1 pkgdesc="A robust, and highly configurable VPN (Virtual Private Network)" -url="http://openvpn.sourceforge.net/" +url="http://openvpn.net/" arch="all" -license="custom" -subpackages="$pkgname-doc $pkgname-dev $pkgname-auth-pam:pam" +license="GPL-2.0-only WITH openvpn-openssl-exception" +subpackages="$pkgname-doc $pkgname-dev $pkgname-auth-pam:pam $pkgname-openrc" depends="iproute2" makedepends="openssl-dev lzo-dev linux-pam-dev linux-headers" install="$pkgname.pre-install" -source="http://swupdate.openvpn.net/community/releases/$pkgname-$pkgver.tar.gz +source="https://swupdate.openvpn.net/community/releases/$pkgname-$pkgver.tar.gz openvpn.initd openvpn.confd openvpn.up openvpn.down " -builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" @@ -47,9 +46,10 @@ package() { cp -a sample/sample-* "$pkgdir"/usr/share/doc/$pkgname/samples install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING - # install init.d and conf.d - install -Dm755 "$srcdir"/openvpn.initd "$pkgdir"/etc/init.d/openvpn - install -Dm644 "$srcdir"/openvpn.confd "$pkgdir"/etc/conf.d/openvpn + # install init.d and conf.d + install -Dm755 "$srcdir"/openvpn.initd "$pkgdir"/etc/init.d/openvpn + install -Dm644 "$srcdir"/openvpn.confd "$pkgdir"/etc/conf.d/openvpn + # install up and down scripts install -Dm755 "$srcdir"/openvpn.up "$pkgdir"/etc/openvpn/up.sh |