summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Shalygin2018-08-07 19:35:07 +0700
committerKonstantin Shalygin2018-08-07 19:35:07 +0700
commitef062104a4c3722edec636a506bfd57b0649bbe9 (patch)
tree674a7bf6bc57cf939dd229c3bcd6c2613e9befc0
parentf77dec8e4559bc5a6d470c1b9973f53007a9a8f5 (diff)
downloadaur-ef062104a4c3722edec636a506bfd57b0649bbe9.tar.gz
Update scripts due archlinux kernel PKGBUILD changes.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--ipt_iftag.install2
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1b098c24293d..12c7b299d069 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Mon Nov 13 08:41:11 UTC 2017
+# Tue Aug 7 12:35:00 UTC 2018
pkgbase = ipt_iftag
pkgdesc = Netfilter extension that can operate on groups of interfaces.
- pkgver = 6.04d141a
+ pkgver = 9.abea132
pkgrel = 1
url = https://github.com/vel21ripn/ipt_iftag
install = ipt_iftag.install
diff --git a/PKGBUILD b/PKGBUILD
index 6d524b65a15c..7df81e11fc62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>
pkgname='ipt_iftag'
-pkgver=6.04d141a
+pkgver=9.abea132
pkgrel=1
pkgdesc='Netfilter extension that can operate on groups of interfaces.'
arch=('any')
@@ -14,7 +14,7 @@ source=("${pkgname}::git+${url}")
sha256sums=('SKIP')
install="${pkgname}.install"
_linux_custom="ARCH"
-_kernver="`pacman -Ql linux| awk '/(\/modules\/)([0-9.-])+-'${_linux_custom}'\/$/ {print $2}'`"
+_kernver="`pacman -Ql linux| awk '/(\/modules\/)([0-9.-])+-(.*)-'${_linux_custom}'\/$/ {print $2}'`"
pkgver() {
cd "${srcdir}/${pkgname}"
diff --git a/ipt_iftag.install b/ipt_iftag.install
index 0bddbd3b8950..4ce6a8b84a05 100644
--- a/ipt_iftag.install
+++ b/ipt_iftag.install
@@ -1,6 +1,6 @@
post_install() {
linux_custom="ARCH"
- kernver="`pacman -Ql linux|gawk 'match($0, /^(.*)modules\/([0-9.-]+-'${linux_custom}')\/$/, a) {print a[2]}'`"
+ kernver="`pacman -Ql linux|gawk 'match($0, /^(.*)modules\/([0-9.-]+-(.*)-'${linux_custom}')\/$/, a) {print a[2]}'`"
echo -e "Probe modules"
depmod ${kernver}
}