[arch-commits] Commit in shorewall/repos/community-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 15 12:54:16 UTC 2014


    Date: Saturday, November 15, 2014 @ 13:54:16
  Author: foutrelis
Revision: 122598

archrelease: copy trunk to community-any

Added:
  shorewall/repos/community-any/PKGBUILD
    (from rev 122597, shorewall/trunk/PKGBUILD)
Deleted:
  shorewall/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  159 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 81 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-15 12:54:05 UTC (rev 122597)
+++ PKGBUILD	2014-11-15 12:54:16 UTC (rev 122598)
@@ -1,78 +0,0 @@
-# $Id$
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-# Contributor: Malte Rabenseifner <malte at zearan.de>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: FUBAR <mrfubar at gmail.com>
-
-pkgname=('shorewall' 'shorewall6' 'shorewall-core')
-pkgver=4.6.4.3
-pkgrel=1
-arch=('any')
-url="http://www.shorewall.net/"
-license=('GPL')
-source=(http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.4/$pkgname-$pkgver.tar.bz2
-        http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.4/shorewall6-$pkgver.tar.bz2
-        http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.4/shorewall-core-$pkgver.tar.bz2)
-sha256sums=('dce84441db3a2b7c5d810c5159938681d9718aed6bd47bc5424cecf7839c3d5e'
-            'a776fdace8b4cd8f79b888245bfe30db8da5f66282d9478ec926254b6561b7b3'
-            '24e0722558e7804e7962a7e3d69784d1c998437fe6682cf8dce6a688fe6b59fc')
-
-build() {
-  for product in shorewall{,6,-core}; do
-    pushd "$srcdir/$product-$pkgver"
-    ./configure HOST=archlinux SBINDIR=/usr/bin
-    popd
-  done
-}
-
-package_shorewall() {
-  pkgdesc="An iptables-based firewall for Linux systems"
-  depends=('shorewall-core' 'perl')
-  backup=(etc/shorewall/{accounting,actions,blrules,clear,conntrack,ecn,findgw,hosts,init,initdone,interfaces,lib.private,maclist,mangle,masq,nat,netmap,params,policy,providers,proxyarp,refresh,refreshed,restored,routes,stoppedrules,rtrules,rules,scfilter,secmarks,shorewall.conf,start,started,stop,stopped,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,tos,tunnels,zones})
-
-  cd "$srcdir/$pkgname-$pkgver"
-
-  do_install
-}
-
-package_shorewall6() {
-  pkgdesc="An iptables-based firewall for Linux systems (with IPv6 support)"
-  depends=('shorewall')
-  backup=(etc/shorewall6/{accounting,actions,blrules,clear,conntrack,hosts,init,interfaces,maclist,mangle,masq,netmap,params,policy,providers,proxyndp,refresh,refreshed,restored,routes,stoppedrules,rtrules,rules,scfilter,secmarks,shorewall6.conf,start,started,stop,stopped,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,tos,tunnels,zones})
-
-  cd "$srcdir/$pkgname-$pkgver"
-
-  do_install 6
-}
-
-package_shorewall-core() {
-  pkgdesc="Core Shorewall libraries"
-  depends=('iptables' 'iproute2')
-
-  cd "$srcdir/$pkgname-$pkgver"
-
-  DESTDIR="$pkgdir" ./install.sh
-}
-
-do_install() {
-  local _name_suffix=$1
-
-  sed -i -e 's|^MODULE_SUFFIX=ko$|&.gz|' \
-         -e 's|/subsys||' \
-      "configfiles/shorewall$_name_suffix.conf"
-
-  DESTDIR="$pkgdir" ./install.sh
-
-  install -d "$pkgdir/usr/share/doc/shorewall$_name_suffix/"
-  cp -r Samples$_name_suffix "$pkgdir/usr/share/doc/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"
-  chmod 644 "$pkgdir/usr/share/shorewall$_name_suffix/helpers"
-
-  # Fix systemd service file permissions
-  chmod 644 "$pkgdir/usr/lib/systemd/system/shorewall$_name_suffix.service"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: shorewall/repos/community-any/PKGBUILD (from rev 122597, shorewall/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-11-15 12:54:16 UTC (rev 122598)
@@ -0,0 +1,81 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Malte Rabenseifner <malte at zearan.de>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: FUBAR <mrfubar at gmail.com>
+
+pkgname=('shorewall' 'shorewall6' 'shorewall-core')
+pkgver=4.6.5
+pkgrel=1
+arch=('any')
+url="http://www.shorewall.net/"
+license=('GPL')
+source=(http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.5/$pkgname-$pkgver.tar.bz2
+        http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.5/shorewall6-$pkgver.tar.bz2
+        http://www.shorewall.net/pub/$pkgname/4.6/$pkgname-4.6.5/shorewall-core-$pkgver.tar.bz2)
+sha256sums=('e3dbecb41d0f33143703aee6f08df7bd388829f58632ae97508525b3eafbc700'
+            'c6b6b6a7159cb8d6873262c160f960531cc7455303a46c54d9f6c3d92abd687b'
+            '8094f692f8afc0cfb2cd07097fda1c4771648b3d60ce71e0548aba25c54be180')
+
+prepare() {
+  # Fix configure scripts
+  sed -i 's/$options\[SERVICEDIR\]=/options[SERVICEDIR]=/' */configure
+
+  # Fix shorewallrc files
+  sed -i 's/SYSTEMDDIR/SERVICEDIR/' */shorewallrc.*
+}
+
+build() {
+  for product in shorewall{,6,-core}; do
+    pushd "$srcdir/$product-$pkgver"
+    ./configure HOST=archlinux SBINDIR=/usr/bin
+    popd
+  done
+}
+
+package_shorewall() {
+  pkgdesc="An iptables-based firewall for Linux systems"
+  depends=('shorewall-core' 'perl')
+  backup=(etc/shorewall/{accounting,actions,blrules,clear,conntrack,ecn,findgw,hosts,init,initdone,interfaces,lib.private,maclist,mangle,masq,nat,netmap,params,policy,providers,proxyarp,refresh,refreshed,restored,routes,stoppedrules,rtrules,rules,scfilter,secmarks,shorewall.conf,start,started,stop,stopped,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,tos,tunnels,zones})
+
+  cd "$srcdir/$pkgname-$pkgver"
+
+  do_install
+}
+
+package_shorewall6() {
+  pkgdesc="An iptables-based firewall for Linux systems (with IPv6 support)"
+  depends=('shorewall')
+  backup=(etc/shorewall6/{accounting,actions,blrules,clear,conntrack,hosts,init,interfaces,maclist,mangle,masq,netmap,params,policy,providers,proxyndp,refresh,refreshed,restored,routes,stoppedrules,rtrules,rules,scfilter,secmarks,shorewall6.conf,start,started,stop,stopped,tcclasses,tcclear,tcdevices,tcfilters,tcinterfaces,tcpri,tos,tunnels,zones})
+
+  cd "$srcdir/$pkgname-$pkgver"
+
+  do_install 6
+}
+
+package_shorewall-core() {
+  pkgdesc="Core Shorewall libraries"
+  depends=('iptables' 'iproute2')
+
+  cd "$srcdir/$pkgname-$pkgver"
+
+  DESTDIR="$pkgdir" ./install.sh
+}
+
+do_install() {
+  local _name_suffix=$1
+
+  sed -i -e 's|^MODULE_SUFFIX=ko$|&.gz|' \
+         -e 's|/subsys||' \
+      "configfiles/shorewall$_name_suffix.conf"
+
+  DESTDIR="$pkgdir" ./install.sh
+
+  install -d "$pkgdir/usr/share/doc/shorewall$_name_suffix/"
+  cp -r Samples$_name_suffix "$pkgdir/usr/share/doc/shorewall$_name_suffix/"
+
+  chmod -R 644 "$pkgdir/etc/shorewall$_name_suffix/"
+  chmod 755 "$pkgdir/etc/shorewall$_name_suffix/"
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list