summaryrefslogtreecommitdiff
path: root/user/openvpn/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/openvpn/APKBUILD')
-rw-r--r--user/openvpn/APKBUILD16
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