[arch-commits] Commit in ipset/trunk (PKGBUILD)

Sébastien Luttringer seblu at archlinux.org
Wed Apr 1 23:20:33 UTC 2020


    Date: Wednesday, April 1, 2020 @ 23:20:33
  Author: seblu
Revision: 379078

upgpkg: ipset 7.6-2

Implement FS#64616

Modified:
  ipset/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-01 22:06:17 UTC (rev 379077)
+++ PKGBUILD	2020-04-01 23:20:33 UTC (rev 379078)
@@ -2,7 +2,7 @@
 
 pkgname=ipset
 pkgver=7.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Administration tool for IP sets'
 arch=('x86_64')
 url='http://ipset.netfilter.org/'
@@ -12,8 +12,8 @@
 backup=("etc/$pkgname.conf")
 source=("git://git.netfilter.org/ipset.git#tag=v$pkgver"
         "$pkgname.service")
-md5sums=('SKIP'
-         'e20fe62881993078591f1bb8b2fa22bb')
+sha256sums=('SKIP'
+            '5a0e326a80fd5ab2d9545faa1189b647cc866c9568ab6a9dd0833ba5863f39ce')
 
 prepare() {
   cd $pkgname
@@ -21,7 +21,7 @@
   local filename
   for filename in "${source[@]}"; do
     if [[ "$filename" =~ \.patch$ ]]; then
-      msg2 "Applying patch ${filename##*/}"
+      echo "Applying patch ${filename##*/}"
       patch -p1 -N -i "$srcdir/${filename##*/}"
     fi
   done
@@ -49,6 +49,9 @@
     "$pkgdir/usr/lib/systemd/system/$pkgname.service"
   # default config file
   install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
+  # bash completion
+  install -Dm 644 ipset/utils/ipset_bash_completion/ipset \
+    "$pkgdir/usr/share/bash-completion/completions/ipset"
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list