aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-08 07:16:44 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-11 10:22:09 +0000
commit0028165a2be52ba12bd72f1966af78478d3de8a4 (patch)
tree841ab5d81a9384c2819d3e4c9d5f5bc44cb410a6
parent96f16b2990eae22ffa5d674dcf1362dc29af405a (diff)
downloadaports-0028165a2be52ba12bd72f1966af78478d3de8a4.tar.gz
aports-0028165a2be52ba12bd72f1966af78478d3de8a4.tar.bz2
aports-0028165a2be52ba12bd72f1966af78478d3de8a4.tar.xz
main/xl2tpd: upgrade to 1.3.14
-rw-r--r--main/xl2tpd/APKBUILD32
1 files changed, 9 insertions, 23 deletions
diff --git a/main/xl2tpd/APKBUILD b/main/xl2tpd/APKBUILD
index 20a93b8ea9..d9460a0c1b 100644
--- a/main/xl2tpd/APKBUILD
+++ b/main/xl2tpd/APKBUILD
@@ -1,43 +1,29 @@
# Contributor: Danilo Godec <danilo.godec@agenda.si>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xl2tpd
-pkgver=1.3.10.1
+pkgver=1.3.14
pkgrel=0
pkgdesc="Layer 2 Tunnelling Protocol Daemon (RFC 2661)"
-url="http://www.xelerance.com/services/software/xl2tpd/"
+url="https://github.com/xelerance/xl2tpd/releases/tag/v1.3.14"
arch="all"
-license="GPL"
+license="GPL-2.0-or-later"
depends="ppp-l2tp"
-depends_dev="libpcap-dev"
-makedepends="$depends_dev linux-headers"
-install=""
-subpackages="$pkgname-doc"
+makedepends="libpcap-dev linux-headers"
+subpackages="$pkgname-doc $pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/xelerance/xl2tpd/archive/v$pkgver.tar.gz
xl2tpd.confd
xl2tpd.initd
options.xl2tpd
"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
build() {
- cd "$_builddir"
- make PREFIX=/usr || return 1
+ cd "$builddir"
+ make PREFIX=/usr
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 examples/xl2tpd.conf "$pkgdir"/etc/xl2tpd/xl2tpd.conf
install -Dm755 "$srcdir"/xl2tpd.initd "$pkgdir"/etc/init.d/xl2tpd
install -Dm644 "$srcdir"/xl2tpd.confd "$pkgdir"/etc/conf.d/xl2tpd
@@ -45,7 +31,7 @@ package() {
install -dm755 "$pkgdir"/var/run/xl2tpd
}
-sha512sums="93d96d2fa0161aba455ab9e69deea53cbfcd355288c6ffe28635f1a378e989d7556a1afe071744ba7aab42eb215159f5e8dbdc5968d63827985c6f17c79abbf8 xl2tpd-1.3.10.1.tar.gz
+sha512sums="a0c007b5a2d45f4c73d8651c8ca2525cd46b779e4b8cfabebd2c7905770d128f25edea5665c25828c53788083fda73896faccb49f4da9a38a2042b5f957a3327 xl2tpd-1.3.14.tar.gz
1d0924d71b96b6bbaccbdcb11468047d02126d01650b7379923489a39976559e10f0167848608586de689fbbf5ba7d8c584f5443f9b4731501f7bf54b1142b44 xl2tpd.confd
35155e758fe0404d7850600c9c0bcdd17e74cd2b95dea3d21761fbb3032757dccde42a9e34d68822c96f3c0fca475223e2f842e9067a99293f3668d99e858084 xl2tpd.initd
04b1c4bf07ef5e74efa49d627bb085ee76d2543f6e69312aab4d183297210831f2d9da66dd8ad7ec75d69ada1f30e4faf4c4b275d2fe9f75e4b496cf55426198 options.xl2tpd"