[arch-commits] Commit in smokeping/trunk (PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Thu Dec 20 12:03:48 UTC 2018
Date: Thursday, December 20, 2018 @ 12:03:47
Author: bluewind
Revision: 416917
upgpkg: smokeping 2.7.3-1
upstream update
Modified:
smokeping/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-20 12:02:58 UTC (rev 416916)
+++ PKGBUILD 2018-12-20 12:03:47 UTC (rev 416917)
@@ -2,7 +2,7 @@
# Contributor: Christos Nouskas nous <nous at archlinux.us>
pkgname=smokeping
-pkgver=2.7.2
+pkgver=2.7.3
pkgrel=1
pkgdesc="A tool to keep track of your network latency"
arch=('any')
@@ -10,25 +10,30 @@
license=('GPL2')
depends=('perl-config-grammar' 'perl-digest-hmac' 'perl-libwww' 'rrdtool' 'perl-fcgi' 'perl-cgi-fast'
'perl-io-tty' 'perl-net-dns' 'perl-net-snmp' 'perl-net-telnet' 'perl-ldap' 'perl-net-openssh')
-source=(https://oss.oetiker.ch/smokeping/pub/smokeping-${pkgver}.tar.gz
+source=("$pkgname-$pkgver.tar.gz::https://github.com/oetiker/SmokePing/archive/$pkgver.tar.gz"
smokeping.sysusers
smokeping.tmpfiles
service)
-sha256sums=('5277fb88eed3c79c8ed22ca830e099727b0e612e887b64bbfeaa98d8d75d493b'
+sha256sums=('6bd90e9a9c44a03789519cf21bd2c977476f0c11267fd55f7d14015f92b93a05'
'ab3b399f58118fc31fac5f627814bbb3b1d7752dd3b4fed2d6b7ee58f24fbd2e'
'de0042cd54c4bd3329604939a6c3f4fd2034be466aed4421a7467493c024e1a1'
'4691650aed6c7341bf3a898f63c8ad03f2453d4ce9874e83f24ced5ee21317d9')
build() {
- cd "$srcdir"/${pkgname}-${pkgver}
+ cd "$srcdir"/SmokePing-${pkgver}
+ ./bootstrap
./configure --prefix=/usr --sysconfdir=/etc/smokeping --with-htdocs-dir=/srv/http/smokeping
+
+ # prevent the build system from packaging CPAN deps
+ mkdir thirdparty/CPAN
touch thirdparty/touch thirdparty/CPAN/touch
+
make
}
package() {
- cd "$srcdir"/${pkgname}-${pkgver}
+ cd "$srcdir"/SmokePing-${pkgver}
# We package CPAN modules separately
rm -rf thirdparty/lib/perl5
More information about the arch-commits
mailing list