aboutsummaryrefslogtreecommitdiffstats
path: root/main/igmpproxy
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-12-25 14:05:01 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-12-25 14:05:01 +0000
commit3fa64105d76e2bc2be78f62b2543cc1224644afe (patch)
tree939442b9ac890232c62185dee3463f73fb6f92ba /main/igmpproxy
parent8b3208bab93e88d8a8f723645328a146bb677925 (diff)
downloadaports-3fa64105d76e2bc2be78f62b2543cc1224644afe.tar.bz2
aports-3fa64105d76e2bc2be78f62b2543cc1224644afe.tar.xz
main/igmpproxy: upgrade to 0.2.1
Diffstat (limited to 'main/igmpproxy')
-rw-r--r--main/igmpproxy/APKBUILD44
1 files changed, 15 insertions, 29 deletions
diff --git a/main/igmpproxy/APKBUILD b/main/igmpproxy/APKBUILD
index 464da90015..1ce77a9105 100644
--- a/main/igmpproxy/APKBUILD
+++ b/main/igmpproxy/APKBUILD
@@ -1,32 +1,19 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=igmpproxy
-pkgver=0.1
-pkgrel=5
+pkgver=0.2.1
+pkgrel=0
pkgdesc="A simple dynamic Multicast Routing Daemon using only IGMP signalling"
url="https://sourceforge.net/projects/igmpproxy/"
arch="all"
license="GPL-2.0-or-later"
-depends=""
makedepends="linux-headers"
-install=""
subpackages="$pkgname-doc"
-source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- 0001-Use-standard-unsigned-integer-types.patch"
-
-_builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
- update_config_sub || return 1
-}
+source="https://github.com/pali/igmpproxy/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
# our kernel have a patch that changes MAXVIFS
# note that this is ABI incompatible
sed -i -e 's:^#define MAX_MC_VIFS.*:#define MAX_MC_VIFS MAXVIFS:' \
@@ -38,19 +25,18 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info \
- || return 1
- make || return 1
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="c56f41ec195bc1fe016369bf74efc5a1 igmpproxy-0.1.tar.gz
-5e5d698b45e28b77d77eb9243f10a6d1 0001-Use-standard-unsigned-integer-types.patch"
-sha256sums="ee18ff3d8c3ae3a29dccb7e5eedf332337330020168bd95a11cece8d7d7ee6ae igmpproxy-0.1.tar.gz
-12b5c5458fe335fd7ec231887240367464fc69330038731425963051385ee6d0 0001-Use-standard-unsigned-integer-types.patch"
-sha512sums="1a569814d8984610402313d8c4adb78ff362f82ae28c968a8ba0fb411e12a704d1b51b387111b51517ab8fb2e86952bbd196f27eccd311c11ce288fc6fa25ad4 igmpproxy-0.1.tar.gz
-161bcc7f247131f74251b12095361a4883581986d25e84b9dc16f9330846f4be8d2913123cef27a46b790956b258b16fcd77bf8a037a680f79d9bacfa1e037ad 0001-Use-standard-unsigned-integer-types.patch"
+sha512sums="17f6891bf49d3e70cdf3930ab1abe6a0ad7b9f12ff2d1cdde3761771988585301f459995ba5ea956c742597de4ce13fbf0ba3c1ae37d13b2eee2a09f16f51ae2 igmpproxy-0.2.1.tar.gz"