summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc27d235175b..3b53b0ca26ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +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.1.17.b592009
+ pkgver = v3.6.r1.gdcd270b
pkgrel = 1
- url = https://thc.org/thc-ipv6/
- arch = i686
+ url = https://github.com/vanhauser-thc/thc-ipv6
arch = x86_64
license = AGPL3
makedepends = git
diff --git a/PKGBUILD b/PKGBUILD
index 21e7c879fd0b..a396817f9e5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,11 +5,11 @@
pkgname=thc-ipv6-git
_pkgname=${pkgname/-git}
-pkgver=3.1.17.b592009
+pkgver=v3.6.r1.gdcd270b
pkgrel=1
pkgdesc='Complete tool set to attack the inherent protocol weaknesses of IPv6 and ICMP6'
-url='https://thc.org/thc-ipv6/'
-arch=('i686' 'x86_64')
+url='https://github.com/vanhauser-thc/thc-ipv6'
+arch=('x86_64')
license=('AGPL3')
depends=('libpcap' 'openssl' 'libnetfilter_queue')
makedepends=('git')
@@ -20,8 +20,7 @@ sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
- 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)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed -E 's|\.r0\.\w+$||'
}
prepare() {