[arch-commits] Commit in firewalld/repos/community-any (7 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Fri May 3 07:54:17 UTC 2013


    Date: Friday, May 3, 2013 @ 09:54:16
  Author: alucryd
Revision: 89841

archrelease: copy trunk to community-any

Added:
  firewalld/repos/community-any/PKGBUILD
    (from rev 89840, firewalld/trunk/PKGBUILD)
  firewalld/repos/community-any/firewalld.install
    (from rev 89840, firewalld/trunk/firewalld.install)
  firewalld/repos/community-any/paths.patch
    (from rev 89840, firewalld/trunk/paths.patch)
Deleted:
  firewalld/repos/community-any/PKGBUILD
  firewalld/repos/community-any/default-zone.patch
  firewalld/repos/community-any/firewalld.install
  firewalld/repos/community-any/paths.patch

--------------------+
 PKGBUILD           |   86 ++++++++++++-----------
 default-zone.patch |   11 ---
 firewalld.install  |   28 +++----
 paths.patch        |  186 +++++++++++++++++++++++++--------------------------
 4 files changed, 151 insertions(+), 160 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-03 07:54:04 UTC (rev 89840)
+++ PKGBUILD	2013-05-03 07:54:16 UTC (rev 89841)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail dot com>
-# Contributor: unikum <unikum dot pm at gmail.com>
-# Contributor: speed145a <jonathan at tagchapter dot com>
-
-pkgname=firewalld
-pkgver=0.3.1
-pkgrel=1
-pkgdesc="A firewall daemon with D-BUS interface providing a dynamic firewall"
-arch=('any')
-url="http://fedorahosted.org/firewalld"
-license=('GPL2')
-depends=('ebtables' 'gtk3' 'hicolor-icon-theme' 'iptables' 'libnotify' 'networkmanager' 'python2-slip')
-makedepends=('intltool')
-backup=('etc/conf.d/firewalld' 'etc/firewalld/firewalld.conf')
-install=${pkgname}.install
-source=("http://fedorahosted.org/released/${pkgname}/${pkgname}-${pkgver}.tar.bz2" 'paths.patch')
-sha256sums=('069791fbc12bc1751ffb62bcf5a8ed45640d45e3edcdb9a2af3f4ed4b6fdc6d0'
-            'ee826f06ec8d8fc964d63005850dbc8da9058a3d49b5ccd5df21c7dd52b3de7f')
-
-build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-
-# Patches
-  patch -Np1 -i "${srcdir}"/paths.patch
-  sed -i 's|^#!.*python$|#!/usr/bin/python2|
-          s|^#!.*python -Es$|#!/usr/bin/python2|' $(grep -rl '^#!.*python')
-  sed -i 's|python|python2|g' fix_python_shebang.sh
-
-# Build
-  PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile
-  make
-}
-
-package() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-
-# Install
-  make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: firewalld/repos/community-any/PKGBUILD (from rev 89840, firewalld/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-03 07:54:16 UTC (rev 89841)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail dot com>
+# Contributor: unikum <unikum dot pm at gmail.com>
+# Contributor: speed145a <jonathan at tagchapter dot com>
+
+pkgname=firewalld
+pkgver=0.3.2
+pkgrel=1
+pkgdesc="A firewall daemon with D-BUS interface providing a dynamic firewall"
+arch=('any')
+url="http://fedorahosted.org/firewalld"
+license=('GPL2')
+depends=('ebtables' 'gtk3' 'hicolor-icon-theme' 'iptables' 'libnotify' 'networkmanager' 'python2-slip')
+makedepends=('intltool')
+backup=('etc/conf.d/firewalld' 'etc/firewalld/firewalld.conf')
+install=${pkgname}.install
+source=("http://fedorahosted.org/released/${pkgname}/${pkgname}-${pkgver}.tar.bz2" 'paths.patch')
+sha256sums=('aa52ea143d6df474f81f599f148d9db4c8f54fd78c5878ab3ae9b461584bd68e'
+            'ee826f06ec8d8fc964d63005850dbc8da9058a3d49b5ccd5df21c7dd52b3de7f')
+
+prepare() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+  patch -Np1 -i "${srcdir}"/paths.patch
+  sed -i 's|^#!.*python$|#!/usr/bin/python2|
+          s|^#!.*python -Es$|#!/usr/bin/python2|' $(grep -rl '^#!.*python')
+  sed -i 's|python|python2|g' fix_python_shebang.sh
+}
+
+build() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+  export  PYTHON=python2
+  ./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-compile
+  make
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: default-zone.patch
===================================================================
--- default-zone.patch	2013-05-03 07:54:04 UTC (rev 89840)
+++ default-zone.patch	2013-05-03 07:54:16 UTC (rev 89841)
@@ -1,11 +0,0 @@
---- a/src/firewall/core/io/firewalld_conf.py
-+++ b/src/firewall/core/io/firewalld_conf.py
-@@ -37,7 +37,7 @@ class firewalld_conf:
-         self._deleted = [ ]
- 
-     def get(self, key):
--        self._config.get(key.strip())
-+        return self._config.get(key.strip())
- 
-     def set(self, key, value):
-         _key = key.strip()

Deleted: firewalld.install
===================================================================
--- firewalld.install	2013-05-03 07:54:04 UTC (rev 89840)
+++ firewalld.install	2013-05-03 07:54:16 UTC (rev 89841)
@@ -1,14 +0,0 @@
-post_install() {
-  glib-compile-schemas usr/share/glib-2.0/schemas
-  gtk-update-icon-cache -ftq usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim: ts=2 sw=2 et:

Copied: firewalld/repos/community-any/firewalld.install (from rev 89840, firewalld/trunk/firewalld.install)
===================================================================
--- firewalld.install	                        (rev 0)
+++ firewalld.install	2013-05-03 07:54:16 UTC (rev 89841)
@@ -0,0 +1,14 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -ftq usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+# vim: ts=2 sw=2 et:

Deleted: paths.patch
===================================================================
--- paths.patch	2013-05-03 07:54:04 UTC (rev 89840)
+++ paths.patch	2013-05-03 07:54:16 UTC (rev 89841)
@@ -1,93 +0,0 @@
---- a/config/Makefile.am
-+++ b/config/Makefile.am
-@@ -57,12 +57,12 @@ UNINSTALL_TARGETS += uninstall-init
- endif
- 
- install-sysconfig:
--	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
--	$(INSTALL_DATA) $(srcdir)/firewalld.sysconfig $(DESTDIR)$(sysconfdir)/sysconfig/firewalld
-+	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/conf.d
-+	$(INSTALL_DATA) $(srcdir)/firewalld.sysconfig $(DESTDIR)$(sysconfdir)/conf.d/firewalld
- 
- uninstall-sysconfig:
--	rm -f $(DESTDIR)$(sysconfdir)/sysconfig/firewalld
--	rmdir $(DESTDIR)$(sysconfdir)/sysconfig || :
-+	rm -f $(DESTDIR)$(sysconfdir)/conf.d/firewalld
-+	rmdir $(DESTDIR)$(sysconfdir)/conf.d || :
- 
- install-init: install-sysconfig
- 	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
---- a/config/Makefile.in
-+++ b/config/Makefile.in
-@@ -566,12 +566,12 @@ uninstall-am: uninstall-desktopDATA uninstall-dist_dbus_policyDATA \
- all: $(desktop_DATA) $(polkit1_action_DATA) $(gsettings_SCHEMAS)
- 
- install-sysconfig:
--	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
--	$(INSTALL_DATA) $(srcdir)/firewalld.sysconfig $(DESTDIR)$(sysconfdir)/sysconfig/firewalld
-+	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/conf.d
-+	$(INSTALL_DATA) $(srcdir)/firewalld.sysconfig $(DESTDIR)$(sysconfdir)/conf.d/firewalld
- 
- uninstall-sysconfig:
--	rm -f $(DESTDIR)$(sysconfdir)/sysconfig/firewalld
--	rmdir $(DESTDIR)$(sysconfdir)/sysconfig || :
-+	rm -f $(DESTDIR)$(sysconfdir)/conf.d/firewalld
-+	rmdir $(DESTDIR)$(sysconfdir)/conf.d || :
- 
- install-init: install-sysconfig
- 	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
---- a/config/firewalld.service.in
-+++ b/config/firewalld.service.in
-@@ -8,7 +8,7 @@ Before=NetworkManager.service
- Conflicts=iptables.service ip6tables.service ebtables.service
- 
- [Service]
--EnvironmentFile=-/etc/sysconfig/firewalld
-+EnvironmentFile=-/etc/conf.d/firewalld
- ExecStart=@sbindir@/firewalld --nofork --nopid $FIREWALLD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- # supress to log debug and error output also to /var/log/messages
---- a/src/firewall-offline-cmd
-+++ b/src/firewall-offline-cmd
-@@ -179,7 +179,7 @@ def _addStandardOptions(parser):
-                              "the firewall, after the "
-                              "default rules. Default protocol type: ipv4, "
-                              "default table: filter. "
--                             "(Example: ipv4:filter:/etc/sysconfig/"
-+                             "(Example: ipv4:filter:/etc/conf.d/"
-                              "ipv4_filter_addon)"))
-     parser.add_option("--forward-port",
-                       action="callback", dest="forward_port",
-@@ -314,7 +314,7 @@ def parseSysconfigArgs(args, options=None, source=None):
- 
- def read_sysconfig_args():
-     filename = None
--    CONFIG = '/etc/sysconfig/system-config-firewall'
-+    CONFIG = '/etc/conf.d/system-config-firewall'
-     if os.path.exists(CONFIG) and os.path.isfile(CONFIG):
-         filename = CONFIG
-     try:
---- a/src/firewall/core/ebtables.py
-+++ b/src/firewall/core/ebtables.py
-@@ -37,7 +37,7 @@ class ebtables:
-     ipv = "ipv4"
- 
-     def __init__(self):
--        self._command = "/sbin/ebtables"
-+        self._command = "/usr/sbin/ebtables"
- 
-     def __run(self, args):
-         # convert to string list
---- a/src/firewall/core/ipXtables.py
-+++ b/src/firewall/core/ipXtables.py
-@@ -25,8 +25,8 @@ from firewall.core.prog import runProg
- from firewall.core.logger import log
- 
- COMMAND = {
--    "ipv4": "/sbin/iptables",
--    "ipv6": "/sbin/ip6tables",
-+    "ipv4": "/usr/sbin/iptables",
-+    "ipv6": "/usr/sbin/ip6tables",
- }
- 
- PROC_IPxTABLE_NAMES = {

Copied: firewalld/repos/community-any/paths.patch (from rev 89840, firewalld/trunk/paths.patch)
===================================================================
--- paths.patch	                        (rev 0)
+++ paths.patch	2013-05-03 07:54:16 UTC (rev 89841)
@@ -0,0 +1,93 @@
+--- a/config/Makefile.am
++++ b/config/Makefile.am
+@@ -57,12 +57,12 @@ UNINSTALL_TARGETS += uninstall-init
+ endif
+ 
+ install-sysconfig:
+-	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
+-	$(INSTALL_DATA) $(srcdir)/firewalld.sysconfig $(DESTDIR)$(sysconfdir)/sysconfig/firewalld
++	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/conf.d
++	$(INSTALL_DATA) $(srcdir)/firewalld.sysconfig $(DESTDIR)$(sysconfdir)/conf.d/firewalld
+ 
+ uninstall-sysconfig:
+-	rm -f $(DESTDIR)$(sysconfdir)/sysconfig/firewalld
+-	rmdir $(DESTDIR)$(sysconfdir)/sysconfig || :
++	rm -f $(DESTDIR)$(sysconfdir)/conf.d/firewalld
++	rmdir $(DESTDIR)$(sysconfdir)/conf.d || :
+ 
+ install-init: install-sysconfig
+ 	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
+--- a/config/Makefile.in
++++ b/config/Makefile.in
+@@ -566,12 +566,12 @@ uninstall-am: uninstall-desktopDATA uninstall-dist_dbus_policyDATA \
+ all: $(desktop_DATA) $(polkit1_action_DATA) $(gsettings_SCHEMAS)
+ 
+ install-sysconfig:
+-	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
+-	$(INSTALL_DATA) $(srcdir)/firewalld.sysconfig $(DESTDIR)$(sysconfdir)/sysconfig/firewalld
++	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/conf.d
++	$(INSTALL_DATA) $(srcdir)/firewalld.sysconfig $(DESTDIR)$(sysconfdir)/conf.d/firewalld
+ 
+ uninstall-sysconfig:
+-	rm -f $(DESTDIR)$(sysconfdir)/sysconfig/firewalld
+-	rmdir $(DESTDIR)$(sysconfdir)/sysconfig || :
++	rm -f $(DESTDIR)$(sysconfdir)/conf.d/firewalld
++	rmdir $(DESTDIR)$(sysconfdir)/conf.d || :
+ 
+ install-init: install-sysconfig
+ 	$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
+--- a/config/firewalld.service.in
++++ b/config/firewalld.service.in
+@@ -8,7 +8,7 @@ Before=NetworkManager.service
+ Conflicts=iptables.service ip6tables.service ebtables.service
+ 
+ [Service]
+-EnvironmentFile=-/etc/sysconfig/firewalld
++EnvironmentFile=-/etc/conf.d/firewalld
+ ExecStart=@sbindir@/firewalld --nofork --nopid $FIREWALLD_ARGS
+ ExecReload=/bin/kill -HUP $MAINPID
+ # supress to log debug and error output also to /var/log/messages
+--- a/src/firewall-offline-cmd
++++ b/src/firewall-offline-cmd
+@@ -179,7 +179,7 @@ def _addStandardOptions(parser):
+                              "the firewall, after the "
+                              "default rules. Default protocol type: ipv4, "
+                              "default table: filter. "
+-                             "(Example: ipv4:filter:/etc/sysconfig/"
++                             "(Example: ipv4:filter:/etc/conf.d/"
+                              "ipv4_filter_addon)"))
+     parser.add_option("--forward-port",
+                       action="callback", dest="forward_port",
+@@ -314,7 +314,7 @@ def parseSysconfigArgs(args, options=None, source=None):
+ 
+ def read_sysconfig_args():
+     filename = None
+-    CONFIG = '/etc/sysconfig/system-config-firewall'
++    CONFIG = '/etc/conf.d/system-config-firewall'
+     if os.path.exists(CONFIG) and os.path.isfile(CONFIG):
+         filename = CONFIG
+     try:
+--- a/src/firewall/core/ebtables.py
++++ b/src/firewall/core/ebtables.py
+@@ -37,7 +37,7 @@ class ebtables:
+     ipv = "ipv4"
+ 
+     def __init__(self):
+-        self._command = "/sbin/ebtables"
++        self._command = "/usr/sbin/ebtables"
+ 
+     def __run(self, args):
+         # convert to string list
+--- a/src/firewall/core/ipXtables.py
++++ b/src/firewall/core/ipXtables.py
+@@ -25,8 +25,8 @@ from firewall.core.prog import runProg
+ from firewall.core.logger import log
+ 
+ COMMAND = {
+-    "ipv4": "/sbin/iptables",
+-    "ipv6": "/sbin/ip6tables",
++    "ipv4": "/usr/sbin/iptables",
++    "ipv6": "/usr/sbin/ip6tables",
+ }
+ 
+ PROC_IPxTABLE_NAMES = {




More information about the arch-commits mailing list