summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoranthraxx2015-12-11 23:57:52 +0100
committeranthraxx2015-12-11 23:57:52 +0100
commitcb61c1103fb9274670aebff982794583e9684d18 (patch)
treea6073884eb62bf539273ccb236aefe7962f5a0ec
parent0e635fdd59652aaee54af112eca92711e5aabbd1 (diff)
downloadaur-cb61c1103fb9274670aebff982794583e9684d18.tar.gz
upgpkg: thc-ipv6-git 3.1.17.b592009-1
upstream release
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8f5c5809001f..bc27d235175b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Fri Dec 11 22:57:52 UTC 2015
pkgbase = thc-ipv6-git
pkgdesc = Complete tool set to attack the inherent protocol weaknesses of IPv6 and ICMP6
- pkgver = 3.0.15.e5f1616
+ pkgver = 3.1.17.b592009
pkgrel = 1
url = https://thc.org/thc-ipv6/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 4ffc49335352..21e7c879fd0b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=thc-ipv6-git
_pkgname=${pkgname/-git}
-pkgver=3.0.15.e5f1616
+pkgver=3.1.17.b592009
pkgrel=1
pkgdesc='Complete tool set to attack the inherent protocol weaknesses of IPv6 and ICMP6'
url='https://thc.org/thc-ipv6/'
@@ -20,7 +20,7 @@ sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
- printf "%s.%s.%s" "$(cat CHANGES|grep -E 'v[0-9\.]{3,}'| cut -d' ' -f1|cut -dv -f2|sort|tail -n1)" \
+ printf "%s.%s.%s" "$(cat CHANGES|grep -E '^v[0-9\.]{3,}'|sed -r 's|^v([0-9\.]{3,}).*|\1|g'|sort|tail -n1)" \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}