aboutsummaryrefslogtreecommitdiffstats
path: root/main/radvd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-10-03 23:39:27 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-03 23:42:16 +0200
commit1ff4d5ca371a72e367cb11843c678e94bfbe9f87 (patch)
treef2cf0a5a838d85f00c677ca3269f41a5a29246fb /main/radvd
parente4a0394e010c76dde1e2a8e87ae31949fd231ff3 (diff)
downloadaports-1ff4d5ca371a72e367cb11843c678e94bfbe9f87.tar.bz2
aports-1ff4d5ca371a72e367cb11843c678e94bfbe9f87.tar.xz
main/radvd: upgrade to 2.15
Diffstat (limited to 'main/radvd')
-rw-r--r--main/radvd/APKBUILD27
1 files changed, 8 insertions, 19 deletions
diff --git a/main/radvd/APKBUILD b/main/radvd/APKBUILD
index c2641a222b..5b20884d38 100644
--- a/main/radvd/APKBUILD
+++ b/main/radvd/APKBUILD
@@ -1,14 +1,13 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=radvd
-pkgver=2.13
-pkgrel=1
+pkgver=2.15
+pkgrel=0
pkgdesc="A Router Advertisement daemon"
url="http://www.litech.org/radvd/"
arch="all"
license="BSD with advertising"
depends=""
-depends_dev=""
makedepends="flex bison libdaemon-dev linux-headers"
install="$pkgname.pre-install"
subpackages="$pkgname-doc"
@@ -17,20 +16,10 @@ source="http://www.litech.org/radvd/dist/radvd-$pkgver.tar.gz
radvd.initd
radvd.confd
"
-
-_builddir="$srcdir"/radvd-$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
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -43,7 +32,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
install -Dm755 "$srcdir"/radvd.initd "$pkgdir"/etc/init.d/radvd \
|| return 1
@@ -53,15 +42,15 @@ package() {
"$pkgdir"/usr/share/doc/radvd/radvd.conf.example || return 1
}
-md5sums="c5b2c313e8cb66a4eb26977854344044 radvd-2.13.tar.gz
+md5sums="2f9b0881e6f987b6525005bb1ceaa2fc radvd-2.15.tar.gz
c0297515f242d8e8e890d4cdc38bc5b4 radvd-1.1-gnu-source.patch
f5e68a53b65c11c220edf741f348c38d radvd.initd
7593b61c3198d961cc86dd5b85b9f44a radvd.confd"
-sha256sums="bd009f13e253f546049103fdf829145bf47d4ad9341d49c3e500b1cfadd6d469 radvd-2.13.tar.gz
+sha256sums="83dd770595e6182757fd652cfc46ee462b73d8d34ba0848a1d481c4d51143607 radvd-2.15.tar.gz
32fd5d866c895928448fe489dc078633eb994216cd4d4df5ff7a17e37bfba447 radvd-1.1-gnu-source.patch
00456f27ab7240fc6f2b8ae16a3790f5b90dbf509c49ceea46c75a9040bf55b9 radvd.initd
a9c704a481fc7c24d4ed3e21aa6bf8979fca6e81b93d86a86b40e4433d03809c radvd.confd"
-sha512sums="050fd273727acfac6f6a7eb1245d4a6ef01cbfb4654a922b98f0944931535770154dd564a09a43bc96bd1a575ecd426cee042dc1129dc453cbda03d7975d49ce radvd-2.13.tar.gz
+sha512sums="51ed457814f32750f915e22556c739d0a574af6318d469ae77c42fb7dfce8752edc2b70e3dd910d46c6198a5a81e4be4611dd4e379920488f4d4427cda0a7ea0 radvd-2.15.tar.gz
bf81eb28cc1960b79235f4d1524f27c81a0a1b6a552a750be537ce9a74134b01d0928f37039da278426cb79cff0c9a65517ce68913a2e4d3833d912e04448db2 radvd-1.1-gnu-source.patch
41d9702464c8c992b06ca85993ba921001a33835c37d4c30077084957a7b87e27eec8a50b903c696e95252c8e6bea79483694b8a3ef06b124d3935a462ba2f1a radvd.initd
386a6cdee43a0aa157760a590b9daa52e06e2c344a8d191a188c6174281734df95b82121e92d3c01e6c0fe76658dbdf6467dee2b30e2e010fc57dc8e0666b2cc radvd.confd"