Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

iptables-1.4.14-1-x86_64

- version bump
- drop sysv support
  • Loading branch information...
commit eb81d9deda14da5f2d3d33feaf8235c334ab220a 1 parent 43d2a28
Miklos Vajna authored
View
7 source/network/iptables/FrugalBuild
@@ -3,7 +3,7 @@
# Maintainer: Zsolt Szalai <xbit.lists@chello.hu>
pkgname=iptables
-pkgver=1.4.13
+pkgver=1.4.14
pkgrel=1
pkgdesc="IP packet filter administration"
url="http://www.iptables.org/"
@@ -13,8 +13,8 @@ archs=('i686' 'x86_64' 'arm')
backup=(etc/sysconfig/{firewall,iptables})
up2date="lynx -dump http://www.iptables.org/projects/iptables/downloads.html|grep bz2$|sed 's/.*-\(.*\)\.t.*/\1/;q'"
source=(ftp://ftp.netfilter.org/pub/iptables/iptables-$pkgver.tar.bz2 \
- rc.firewall rc.firewall-hu.po iptables firewall firewall.libexec firewall.service)
-signatures=($source.sig '' '' '' '' '' '')
+ iptables firewall firewall.libexec firewall.service)
+signatures=($source.sig '' '' '' '')
# As you can see, the /etc/sysconfig/firewall file was generated by
# iptables-save. I used the following commands before using iptables-save:
@@ -29,7 +29,6 @@ build()
Fbuild --with-kernel=/usr --enable-devel --enable-libipq
Ffile /etc/sysconfig/iptables
Finstall 600 /etc/sysconfig/firewall
- Frcd2 firewall
Fexe firewall.libexec /usr/libexec/firewall
Ffile /lib/systemd/system/firewall.service
}
View
8 source/network/iptables/iptables.install
@@ -1,7 +1,6 @@
# arg 1: the new package version
post_install()
{
- chkconfig --add rc.firewall
mkdir -p /etc/systemd/system/multi-user.target.wants
ln -s /lib/systemd/system/firewall.service /etc/systemd/system/multi-user.target.wants/
}
@@ -9,19 +8,12 @@ post_install()
post_upgrade()
{
systemctl daemon-reload >/dev/null 2>&1
- # this can be removed after Frugalware-1.6
- if [ `vercmp $2 1.4.12.1-2` -lt 0 ] ; then
- if chkconfig rc.firewall; then
- post_install
- fi
- fi
}
# arg 1: the old package version
post_remove()
{
rm -f /etc/systemd/system/multi-user.target.wants/firewall.service
- chkconfig --del rc.firewall
}
op=$1
View
52 source/network/iptables/rc.firewall
@@ -1,52 +0,0 @@
-#!/bin/bash
-
-# (c) 2005 Marcus Habermehl <bmh1980de@yahoo.de>
-# (c) 2003, 2010 Vajna Miklos <vmiklos@frugalware.org>
-# rc.firewall for FrugalWare
-# distributed under GPL License
-
-# chkconfig: 2345 21 92
-# description: iptables firewall
-
-source /lib/initscripts/functions
-TEXTDOMAIN=firewall
-
-actions=(restart start stop status)
-daemon=$"iptables firewall"
-
-pid="test -f /var/lock/subsys/firewall && echo running"
-
-rc_start()
-{
- start_msg
- if [ -z "$(eval $pid)" -a -e /etc/sysconfig/iptables ]; then
- source /etc/sysconfig/iptables
- if (( $forward == 1 )) ; then
- echo 1 > /proc/sys/net/ipv4/ip_forward
- fi
- /usr/sbin/iptables-restore < /etc/sysconfig/firewall
- [ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
- touch /var/lock/subsys/firewall
- ok $?
- else
- ok 999
- fi
-}
-
-rc_stop()
-{
- stop_msg
- if [ -n "$(eval $pid)" ]; then
- echo 0 > /proc/sys/net/ipv4/ip_forward
- iptables -F && \
- iptables -P INPUT ACCEPT && \
- iptables -P FORWARD ACCEPT && \
- iptables -P OUTPUT ACCEPT
- ok $?
- rm -f /var/lock/subsys/firewall
- else
- ok 999
- fi
-}
-
-rc_exec $1
View
21 source/network/iptables/rc.firewall-hu.po
@@ -1,21 +0,0 @@
-# Hungarian translations for rc.firewall package.
-# Copyright (C) 2006 THE rc.firewall'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the rc.firewall package.
-# <vmiklos@frugalware.org>, 2006.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: rc.firewall\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-27 17:59+0100\n"
-"PO-Revision-Date: 2006-01-27 18:00+0100\n"
-"Last-Translator: <vmiklos@frugalware.org>\n"
-"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=ISO-8859-2\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;\n"
-
-#: rc.firewall:15
-msgid "iptables firewall"
-msgstr "iptables tûzfal"
View
21 source/network/iptables/rc.firewall.pot
@@ -1,21 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-27 17:59+0100\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: rc.firewall:15
-msgid "iptables firewall"
-msgstr ""
Please sign in to comment.
Something went wrong with that request. Please try again.