~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[alpine-devel] [PATCH] main/iptables: /etc/init.d/ip6tables unable to save rules

Details
Message ID
<1283363759-2001-1-git-send-email-mcs@darkregion.net>
Sender timestamp
1283363759
DKIM signature
missing
Download raw message
Patch: +15 -1
This fixes bug #420:
http://redmine.alpinelinux.org/issues/420
---
 main/iptables/APKBUILD        |    5 ++++-
 main/iptables/ip6tables.confd |   11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)
 create mode 100644 main/iptables/ip6tables.confd

diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
index c37c87d..a25fd88 100644
--- a/main/iptables/APKBUILD
+++ b/main/iptables/APKBUILD
@@ -11,6 +11,7 @@ source="http://iptables.org/projects/iptables/files/$pkgname-$pkgver.tar.bz2
	iptables-1.4.2-include-in.patch
	iptables.initd
	iptables.confd
	ip6tables.confd
	"

makedepends="linux-headers"
@@ -49,6 +50,7 @@ package() {
	install -m644 libiptc/libiptc.a "$pkgdir"/usr/lib
	install -m755 "$startdir"/iptables.initd "$pkgdir"/etc/init.d/iptables
	install -m644 "$startdir"/iptables.confd "$pkgdir"/etc/conf.d/iptables
	install -m644 "$startdir"/ip6tables.confd "$pkgdir"/etc/conf.d/ip6tables
}

ip6tables() {
@@ -67,4 +69,5 @@ ip6tables() {
md5sums="fbadfb0b5f2dbda49e0ad06a798898e3  iptables-1.4.9.1.tar.bz2
ec3e80a1b0ea3e13e4e60824b7ebd1b9  iptables-1.4.2-include-in.patch
2202ac150a5dfe32a8363b0ad565ee1d  iptables.initd
956ebf5ab69e5a1e1d3983541eab643b  iptables.confd"
956ebf5ab69e5a1e1d3983541eab643b  iptables.confd
91933090bd9d493c91dcffc0221def61  ip6tables.confd"
diff --git a/main/iptables/ip6tables.confd b/main/iptables/ip6tables.confd
new file mode 100644
index 0000000..6a8d94c
--- /dev/null
+++ b/main/iptables/ip6tables.confd
@@ -0,0 +1,11 @@
# /etc/conf.d/ip6tables

# Location in which ip6tables initscript will save set rules on 
# service shutdown
IP6TABLES_SAVE="/var/lib/ip6tables/rules-save"

# Options to pass to ip6tables-save and ip6tables-restore 
SAVE_RESTORE_OPTIONS="-c"

# Save state on stopping iptables
SAVE_ON_STOP="yes"
-- 
1.7.2.2



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<1283429993.1942.95.camel@ncopa-desktop.nor.wtbts.net>
In-Reply-To
<1283363759-2001-1-git-send-email-mcs@darkregion.net> (view parent)
Sender timestamp
1283429993
DKIM signature
missing
Download raw message
On Wed, 2010-09-01 at 17:55 +0000, Matt Smith wrote:
This fixes bug #420:
> http://redmine.alpinelinux.org/issues/420
> 


I applied the patch with a small modification: bump pkgrel so it gets
upgraded with apk upgrade and changed commit message to:

...
This fixes #420:
...

the redmine will detect the "fixes #420" part and automatically set the
issue to "resolved", 100% done.

As you see in
http://git.alpinelinux.org/cgit/aports/commit/?id=0c9384fd13087147e6055d9d9d90796805645343

we have a filter that will detect #420 and create a link.

Thanks alot for the report and for the fix!

-nc





---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)