[arch-commits] Commit in ipv6calc/repos/community-x86_64 (4 files)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Fri Feb 4 14:00:38 UTC 2022
Date: Friday, February 4, 2022 @ 14:00:38
Author: kgizdov
Revision: 1125439
archrelease: copy trunk to community-x86_64
Added:
ipv6calc/repos/community-x86_64/PKGBUILD
(from rev 1125438, ipv6calc/trunk/PKGBUILD)
ipv6calc/repos/community-x86_64/anti-dos_test.patch
(from rev 1125438, ipv6calc/trunk/anti-dos_test.patch)
Deleted:
ipv6calc/repos/community-x86_64/PKGBUILD
ipv6calc/repos/community-x86_64/anti-dos_test.patch
---------------------+
PKGBUILD | 120 +++++++++++++++++++++++++-------------------------
anti-dos_test.patch | 40 ++++++++--------
2 files changed, 80 insertions(+), 80 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-04 14:00:30 UTC (rev 1125438)
+++ PKGBUILD 2022-02-04 14:00:38 UTC (rev 1125439)
@@ -1,60 +0,0 @@
-# Maintainer: Konstantin Gizdov <arch at kge dot pw>
-# Co-Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
-# Contributor: mortzu
-
-pkgname=ipv6calc
-pkgver=4.0.0
-pkgrel=1
-pkgdesc='Small utility to manipulate, convert and calculate (more than) IPv6 addresses'
-url='https://www.deepspace6.net/projects/ipv6calc.html'
-license=('GPL2')
-arch=('x86_64')
-# See https://www.deepspace6.net/projects/ipv6calc.html#idm140634407144416
-makedepends=('geoip')
-optdepends=('geoip: for country GeoIP support'
- 'geoip-database-extra: for city-level GeoIP support'
- 'perl: to run the provided scripts')
-checkdepends=('perl-digest-sha1' 'perl-uri' 'perl-html-parser' 'perl-proc-processtable')
-source=("ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/${pkgname}-${pkgver}.tar.gz"{,.asc}
- "ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/CODE-GPG-KEY-bieringer.de-2013"
- 'anti-dos_test.patch')
-sha256sums=('4d23c471b472271b48421b5d18309492f615c85c75f2abc17c5c5a4d8e3a4635'
- 'SKIP'
- '59a84dfb8bef98fc801f374bf3f1c19adb5d8cda1a2233eb3366a71c6b1fd154'
- '032636601c1b792e95e2da3de048fac5040fb06e5f7235021a7ee2f5012fdde9')
-validpgpkeys=('AAB38CB797C750C778C608C6DDEB141DF7380F61') # Peter Bieringer (Code Signing Key 2013) <code at bieringer.de>
-
-prepare() {
- cd "${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/anti-dos_test.patch"
-
- autoconf
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
-
- ./configure \
- --prefix="/usr" \
- --libdir="/usr/lib" \
- --datarootdir="/usr/share" \
- --enable-shared \
- --enable-bundled-md5 \
- --enable-geoip \
- --with-geoip-dynamic=yes
- make
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
-
- make test-minimal
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
-
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ipv6calc/repos/community-x86_64/PKGBUILD (from rev 1125438, ipv6calc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-04 14:00:38 UTC (rev 1125439)
@@ -0,0 +1,60 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Co-Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+# Contributor: mortzu
+
+pkgname=ipv6calc
+pkgver=4.0.1
+pkgrel=1
+pkgdesc='Small utility to manipulate, convert and calculate (more than) IPv6 addresses'
+url='https://www.deepspace6.net/projects/ipv6calc.html'
+license=('GPL2')
+arch=('x86_64')
+# See https://www.deepspace6.net/projects/ipv6calc.html#idm140634407144416
+makedepends=('geoip')
+optdepends=('geoip: for country GeoIP support'
+ 'geoip-database-extra: for city-level GeoIP support'
+ 'perl: to run the provided scripts')
+checkdepends=('perl-digest-sha1' 'perl-uri' 'perl-html-parser' 'perl-proc-processtable')
+source=("ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/${pkgname}-${pkgver}.tar.gz"{,.asc}
+ "ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/CODE-GPG-KEY-bieringer.de-2013"
+ 'anti-dos_test.patch')
+sha256sums=('0de7dbe66c0e3602becc18bb8f69a278a02eeaf5d58779cd1c0e0069eb80a7e6'
+ 'SKIP'
+ '59a84dfb8bef98fc801f374bf3f1c19adb5d8cda1a2233eb3366a71c6b1fd154'
+ '032636601c1b792e95e2da3de048fac5040fb06e5f7235021a7ee2f5012fdde9')
+validpgpkeys=('AAB38CB797C750C778C608C6DDEB141DF7380F61') # Peter Bieringer (Code Signing Key 2013) <code at bieringer.de>
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/anti-dos_test.patch"
+
+ autoconf
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix="/usr" \
+ --libdir="/usr/lib" \
+ --datarootdir="/usr/share" \
+ --enable-shared \
+ --enable-bundled-md5 \
+ --enable-geoip \
+ --with-geoip-dynamic=yes
+ make
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+
+ make test-minimal
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: anti-dos_test.patch
===================================================================
--- anti-dos_test.patch 2022-02-04 14:00:30 UTC (rev 1125438)
+++ anti-dos_test.patch 2022-02-04 14:00:38 UTC (rev 1125439)
@@ -1,20 +0,0 @@
-diff --color -aur --color ipv6calc-3.2.0-old/ipv6calcweb/test_ipv6calcweb.sh ipv6calc-3.2.0-new/ipv6calcweb/test_ipv6calcweb.sh
---- ipv6calc-3.2.0-old/ipv6calcweb/test_ipv6calcweb.sh 2021-08-12 11:14:36.825444667 +0300
-+++ ipv6calc-3.2.0-new/ipv6calcweb/test_ipv6calcweb.sh 2021-08-12 11:17:24.962118731 +0300
-@@ -199,7 +199,7 @@
-
- output=$(perl -w $perlopt ipv6calcweb.cgi)
- rc=$?
-- if [ $rc -ne 1 ];then
-+ if [[ $rc -lt 0 || $rc -gt 1 ]];then
- echo "ERROR : Anti-DoS test reports unexpected error: rc=$rc"
- echo "$output"
- exit 1
-@@ -207,6 +207,7 @@
- if echo "$output" | grep -q "System overloaded"; then
- true
- else
-+ exit 0 # ignore this case, fails because we have lots of CPUs on build machine
- echo "ERROR : Anti-DoS test output not expected"
- echo "$output" | head -5
- exit 1
Copied: ipv6calc/repos/community-x86_64/anti-dos_test.patch (from rev 1125438, ipv6calc/trunk/anti-dos_test.patch)
===================================================================
--- anti-dos_test.patch (rev 0)
+++ anti-dos_test.patch 2022-02-04 14:00:38 UTC (rev 1125439)
@@ -0,0 +1,20 @@
+diff --color -aur --color ipv6calc-3.2.0-old/ipv6calcweb/test_ipv6calcweb.sh ipv6calc-3.2.0-new/ipv6calcweb/test_ipv6calcweb.sh
+--- ipv6calc-3.2.0-old/ipv6calcweb/test_ipv6calcweb.sh 2021-08-12 11:14:36.825444667 +0300
++++ ipv6calc-3.2.0-new/ipv6calcweb/test_ipv6calcweb.sh 2021-08-12 11:17:24.962118731 +0300
+@@ -199,7 +199,7 @@
+
+ output=$(perl -w $perlopt ipv6calcweb.cgi)
+ rc=$?
+- if [ $rc -ne 1 ];then
++ if [[ $rc -lt 0 || $rc -gt 1 ]];then
+ echo "ERROR : Anti-DoS test reports unexpected error: rc=$rc"
+ echo "$output"
+ exit 1
+@@ -207,6 +207,7 @@
+ if echo "$output" | grep -q "System overloaded"; then
+ true
+ else
++ exit 0 # ignore this case, fails because we have lots of CPUs on build machine
+ echo "ERROR : Anti-DoS test output not expected"
+ echo "$output" | head -5
+ exit 1
More information about the arch-commits
mailing list