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

Evangelos Foutras foutrelis at nymeria.archlinux.org
Tue Feb 12 22:15:07 UTC 2013


    Date: Tuesday, February 12, 2013 @ 23:15:07
  Author: foutrelis
Revision: 84170

upgpkg: shorewall 4.5.13-1

New upstream release.

Modified:
  shorewall/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++-----------------
 1 file changed, 8 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-12 19:10:20 UTC (rev 84169)
+++ PKGBUILD	2013-02-12 22:15:07 UTC (rev 84170)
@@ -5,23 +5,22 @@
 # Contributor: FUBAR <mrfubar at gmail.com>
 
 pkgname=('shorewall' 'shorewall6' 'shorewall-core')
-pkgver=4.5.12
+pkgver=4.5.13
 pkgrel=1
 arch=('any')
 url="http://www.shorewall.net/"
 license=('GPL')
-source=(http://www.shorewall.net/pub/$pkgname/4.5/$pkgname-4.5.12/$pkgname-$pkgver.tar.bz2
-        http://www.shorewall.net/pub/$pkgname/4.5/$pkgname-4.5.12/shorewall6-$pkgver.tar.bz2
-        http://www.shorewall.net/pub/$pkgname/4.5/$pkgname-4.5.12/shorewall-core-$pkgver.tar.bz2)
-sha256sums=('06f9ef76c14d63960f6ff2c7e87e1553921a7cd4428f85a35d5b2e7c3a6790ba'
-            '80904b178caa16b4608d3d9e14fe22f02764b8652dbf251c60e448bf10ca47c8'
-            '393146a7a72cc2c3b0958580fca26f2037d3e3c81a95ad79f1301b8d7df596f3')
+source=(http://www.shorewall.net/pub/$pkgname/4.5/$pkgname-4.5.13/$pkgname-$pkgver.tar.bz2
+        http://www.shorewall.net/pub/$pkgname/4.5/$pkgname-4.5.13/shorewall6-$pkgver.tar.bz2
+        http://www.shorewall.net/pub/$pkgname/4.5/$pkgname-4.5.13/shorewall-core-$pkgver.tar.bz2)
+sha256sums=('476ace122a272a17b133db27fc998214d40b08ae01ccfc0806dc856fd8515a32'
+            '67dec1d3cf2dd9ee788c49c40dc8fa0c1d913653eb67b4668c22e0a61e176d7f'
+            'dbb9cf91eec77f7f7358cc04eaed7055608bfd8f17120c12e510a7d4da68f897')
 
 build() {
   for product in shorewall{,6,-core}; do
     pushd "$srcdir/$product-$pkgver"
-    ./configure HOST=archlinux SBINDIR=/usr/sbin INITSOURCE=init.archlinux.sh \
-      SYSTEMD=/usr/lib/systemd/system
+    ./configure
     popd
   done
 }
@@ -64,17 +63,9 @@
 
   DESTDIR="$pkgdir" ./install.sh
 
-  # Fix /sbin path reference in init script
-  sed -i 's|/sbin|/usr/sbin|' \
-    "$pkgdir/etc/rc.d/shorewall$_name_suffix"
-  # Also fix wrong /usr/usr/sbin path in .service file
-  sed -i 's|/usr/usr|/usr|' \
-    "$pkgdir/usr/lib/systemd/system/shorewall$_name_suffix.service"
-
   install -d "$pkgdir/usr/share/doc/shorewall$_name_suffix/"
   cp -r Samples$_name_suffix "$pkgdir/usr/share/doc/shorewall$_name_suffix/"
 
-  chmod 755 "$pkgdir/etc/rc.d/shorewall$_name_suffix"
   chmod -R 644 "$pkgdir/etc/shorewall$_name_suffix/"
   chmod 755 "$pkgdir/etc/shorewall$_name_suffix/"
   chmod 644 "$pkgdir/usr/share/shorewall$_name_suffix/modules"




More information about the arch-commits mailing list