[arch-commits] Commit in iptables/trunk (PKGBUILD ip6tables.service)

2018-02-12 Thread Bartłomiej Piotrowski via arch-commits
Date: Monday, February 12, 2018 @ 23:50:08
  Author: bpiotrowski
Revision: 316746

1.6.2-2: start ip6tables.service after iptables.service to avoid lock issues

Modified:
  iptables/trunk/PKGBUILD
  iptables/trunk/ip6tables.service

---+
 PKGBUILD  |4 ++--
 ip6tables.service |1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-12 23:41:39 UTC (rev 316745)
+++ PKGBUILD2018-02-12 23:50:08 UTC (rev 316746)
@@ -4,7 +4,7 @@
 
 pkgname=iptables
 pkgver=1.6.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Linux kernel packet control tool'
 arch=(x86_64)
 license=(GPL2)
@@ -32,7 +32,7 @@
   '7db53bb882f62f6c677cc8559cff83d8bae2ef73'
   'ebbd1424a1564fd45f455a81c61ce348f0a14c2e'
   '49be9443fc302dd0fda78b63d64e884cadb61603'
-  '635ba179aeed0c06af0c8b0dba3935f6267e608b'
+  '9cec592787e32451f58fa608ea057870e07aa704'
   'e7abda09c61142121b6695928d3b71ccd8fdf73a')
 validpgpkeys=('C09DB2063F1D7034BA6152ADAB4655A126D292E4') # Netfilter Core Team
 

Modified: ip6tables.service
===
--- ip6tables.service   2018-02-12 23:41:39 UTC (rev 316745)
+++ ip6tables.service   2018-02-12 23:50:08 UTC (rev 316746)
@@ -2,6 +2,7 @@
 Description=IPv6 Packet Filtering Framework
 Before=network-pre.target
 Wants=network-pre.target
+After=iptables.service
 
 [Service]
 Type=oneshot


[arch-commits] Commit in iptables/trunk (PKGBUILD ip6tables.service iptables.service)

2012-12-06 Thread Ronald van Haren
Date: Thursday, December 6, 2012 @ 14:30:55
  Author: ronald
Revision: 172910

upgpkg: iptables 1.4.16.3-1

update to 1.4.16.3; add empty rules files to /var/lib/ip6tables FS#31843; 
support reload of units FS#32437

Modified:
  iptables/trunk/PKGBUILD
  iptables/trunk/ip6tables.service
  iptables/trunk/iptables.service

---+
 PKGBUILD  |   12 +++-
 ip6tables.service |1 +
 iptables.service  |1 +
 3 files changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-12-06 18:22:57 UTC (rev 172909)
+++ PKGBUILD2012-12-06 19:30:55 UTC (rev 172910)
@@ -3,7 +3,7 @@
 # Contributor: Thomas Baechler tho...@archlinux.org
 
 pkgname=iptables
-pkgver=1.4.16.2
+pkgver=1.4.16.3
 pkgrel=1
 pkgdesc='Linux kernel packet control tool'
 arch=('i686' 'x86_64')
@@ -28,7 +28,7 @@
 ip6tables.service
 iptables-flush)
 backup=(etc/conf.d/iptables)
-sha1sums=('6fd368c4f6c31752011a716cccd951601157a493'
+sha1sums=('819949fdf4276a04c5061b82898b515f139b0117'
   '5bb6fa526665cdd728c26f0f282f5a51f220cf88'
   '2db68906b603e5268736f48c8e251f3a49da1d75'
   '83b3363878e3660ce23b2ad325b53cbd6c796ecf'
@@ -40,9 +40,10 @@
   '7db53bb882f62f6c677cc8559cff83d8bae2ef73'
   'ebbd1424a1564fd45f455a81c61ce348f0a14c2e'
   '44626980a52e49f345a0b1e1ca03060f3a35763c'
-  '5c4eb4ea88c302e8ff98f435a11dd59b00f4d8b9'
-  'f1f16f44c6a5547b6f251d13007fe6585761e8b0'
+  '5f2e76985a751f635a45612565a6e1bc9547398a'
+  'fe6bbe214b3a13bd084f62a8ee9631fd8326c464'
   'e7abda09c61142121b6695928d3b71ccd8fdf73a')
+
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
 
@@ -72,8 +73,9 @@
   install -D -m644 simple_firewall.rules 
${pkgdir}/etc/iptables/simple_firewall.rules
   install -D -m644 iptables.conf.d ${pkgdir}/etc/conf.d/iptables
 
-  mkdir -p ${pkgdir}/var/lib/iptables
+  mkdir -p ${pkgdir}/var/lib/{iptables,ip6tables}
   install -m644 empty-{filter,mangle,nat,raw,security}.rules 
${pkgdir}/var/lib/iptables
+  install -m644 empty-{filter,mangle,nat,raw,security}.rules 
${pkgdir}/var/lib/ip6tables
 
   # install systemd files
   install -Dm644 ${srcdir}/iptables.service 
${pkgdir}/usr/lib/systemd/system/iptables.service

Modified: ip6tables.service
===
--- ip6tables.service   2012-12-06 18:22:57 UTC (rev 172909)
+++ ip6tables.service   2012-12-06 19:30:55 UTC (rev 172910)
@@ -4,6 +4,7 @@
 [Service]
 Type=oneshot
 ExecStart=/usr/sbin/ip6tables-restore /etc/iptables/ip6tables.rules
+ExecReload=/usr/sbin/ip6tables-restore /etc/iptables/ip6tables.rules
 ExecStop=/usr/lib/systemd/scripts/iptables-flush 6
 RemainAfterExit=yes
 

Modified: iptables.service
===
--- iptables.service2012-12-06 18:22:57 UTC (rev 172909)
+++ iptables.service2012-12-06 19:30:55 UTC (rev 172910)
@@ -4,6 +4,7 @@
 [Service]
 Type=oneshot
 ExecStart=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
+ExecReload=/usr/sbin/iptables-restore /etc/iptables/iptables.rules
 ExecStop=/usr/lib/systemd/scripts/iptables-flush
 RemainAfterExit=yes