aboutsummaryrefslogtreecommitdiffstats
path: root/main/pingu/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-21 14:35:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-21 14:56:56 +0000
commitba29d2187341d958c329d19b4a78310a084172b8 (patch)
tree56f829602661e500938fbb345c4aa11819f575e2 /main/pingu/APKBUILD
parenta23c1ab6987707519446a04e60bd5dafdd6b63b9 (diff)
downloadaports-ba29d2187341d958c329d19b4a78310a084172b8.tar.bz2
aports-ba29d2187341d958c329d19b4a78310a084172b8.tar.xz
main/pingu: upgrade to 1.3
Diffstat (limited to 'main/pingu/APKBUILD')
-rw-r--r--main/pingu/APKBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/main/pingu/APKBUILD b/main/pingu/APKBUILD
index fe090da29a..6929dc119e 100644
--- a/main/pingu/APKBUILD
+++ b/main/pingu/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pingu
-pkgver=1.2
-pkgrel=2
+pkgver=1.3
+pkgrel=0
pkgdesc="Small daemon that pings hosts and executes a script when status change"
url="http://git.alpinelinux.org/cgit/pingu"
arch="all"
@@ -10,10 +10,8 @@ license="GPL"
makedepends="libev-dev lua-dev"
depends=
subpackages="$pkgname-doc lua-pingu:_lua mtu"
-source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
- 0001-pingu_route-allow-default-routes-that-has-no-via-add.patch
+source="pingu-$pkgver.tar.gz::https://github.com/ncopa/pingu/archive/v$pkgver.tar.gz
pingu.initd
- pingu-strncpy.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -29,6 +27,11 @@ prepare() {
build() {
cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}
@@ -61,7 +64,9 @@ _lua() {
mv "$pkgdir"/usr/lib "$pkgdir"/usr/share "$subpkgdir"/usr/
}
-md5sums="a874d852ae0d8e10f8c22e0008d1b529 pingu-1.2.tar.bz2
-dbd6e66d4c9c694fd0436e91555bf750 0001-pingu_route-allow-default-routes-that-has-no-via-add.patch
-70f56b0f506e1c2e725d0ec062667c32 pingu.initd
-380539ae29d48af4d3958afaf1d2e1d0 pingu-strncpy.patch"
+md5sums="0d33bfe66a428ace44bdf968c825ab12 pingu-1.3.tar.gz
+70f56b0f506e1c2e725d0ec062667c32 pingu.initd"
+sha256sums="971f3a68d201b2217bb7b4918ad349b0ef5ff19b7015439a174d2bf2d201ad42 pingu-1.3.tar.gz
+cf3197f457d7a5955662417da8a7908a01934bfb5e97cf46c14a1ceab93ad47c pingu.initd"
+sha512sums="e2489720268ef7c2e3b1619fd7f1f968db8e546b49769c6f40b12d7db49d39445329df4a6a12d1b5319aee4a89e0665bb188609a85d4b7495f9d5719d37409de pingu-1.3.tar.gz
+b14b4b1ae218c53abec94d4c177327a5a7ed1833cb0160a83c683766d638759c1ed12c73d4cee93a2c09b6296affea20cf15f4dd5a5f2e910ac6f8d7e896ceb4 pingu.initd"