Mail archive
alpine-aports

Re: [alpine-aports] [PATCH 1/3] main/iptables: Added description to init.d script

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Tue, 3 Nov 2015 08:42:09 +0100

On Fri, 30 Oct 2015 19:12:19 +0100
Daniele Coli <danielsan.dani_at_gmail.com> wrote:

> Added description to init.d script in order to make it compliant
> with rc-system and avoid annoying warning messages on syslog.
> ---
> main/iptables/APKBUILD | 6 +++---
> main/iptables/iptables.initd | 5 +++++
> 2 files changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
> index f79ebd0..8a14ac6 100644
> --- a/main/iptables/APKBUILD
> +++ b/main/iptables/APKBUILD
> _at_@ -2,7 +2,7 @@
>
> pkgname=iptables
> pkgver=1.4.21
> -pkgrel=3
> +pkgrel=4
> pkgdesc="Linux kernel firewall, NAT and packet mangling tools"
> url="http://www.netfilter.org/projects/iptables/index.html"
> arch="all"
> _at_@ -90,12 +90,12 @@ ip6tables() {
>
> md5sums="536d048c8e8eeebcd9757d0863ebb0c0 iptables-1.4.21.tar.bz2
> cd9f429bf0dbd73be5f95bf0d7169728 iptables-1.4.14-musl-fixes.patch
> -ce106a4222a174d2e102b1975fe0295c iptables.initd
> +2e8175456a98221c0be9b758d064ee09 iptables.initd
> c91286c54f8fe0de6ed8950f375cb7a5 iptables.confd
> d3f37ebc2cd3fbfc326c3a8df5a79e11 ip6tables.confd"
> sha256sums="52004c68021da9a599feed27f65defcfb22128f7da2c0531c0f75de0f479d3e0 iptables-1.4.21.tar.bz2
> 3ad64af68ea70aa6de0649a68176c2ac68e1c0db567babb472648695dbff8f90 iptables-1.4.14-musl-fixes.patch
> -6c2da067887658c897a11254e001bfb1510c8b34d759212b51b7630d0e7e4ae8 iptables.initd
> +f297f985ad35fe45800f0c1c7aaf348c3fa920b97be2020c76983ab54e384ba0 iptables.initd
> 421acbcd310f9c51e20e22e59af9452b1ba5d0db33e8960eba0095271060c3db iptables.confd
> 31ef5d759c64afd0ecbcb56b3982ed2bdb5ed9c8553c628c13d4a3b5687118a3 ip6tables.confd"
> sha512sums="dd4baccdb080284d8620e6ed59beafc2677813f3e099051764b07f8e394f6d94ca11861b181f3cce7c55c66de64c1e2add13dc1a0b64e24050cd9fb7aea0689b iptables-1.4.21.tar.bz2
> diff --git a/main/iptables/iptables.initd b/main/iptables/iptables.initd
> index 891adc0..98b52d0 100644
> --- a/main/iptables/iptables.initd
> +++ b/main/iptables/iptables.initd
> _at_@ -3,6 +3,11 @@
> # Distributed under the terms of the GNU General Public License v2
> # $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/files/iptables-1.4.11.init,v 1.2 2011/12/04 10:15:59 swegener Exp $
>
> +description="IPv4/IPv6 packet filtering and NAT"
> +description_save="Save firewall state"
> +description_panic="Drop all packets"
> +description_reload="Reload configuration"
> +
> extra_commands="save panic"
> extra_started_commands="reload"
>

>>> iptables: Checking sha512sums...
iptables-1.4.21.tar.bz2: OK
iptables-1.4.14-musl-fixes.patch: OK
iptables.initd: FAILED
sha512sum: WARNING: 1 computed checksum did NOT match
iptables.confd: OK
ip6tables.confd: OK
>>> ERROR: iptables: all failed
>>> iptables: Uninstalling dependencies...


I don't know what happens, but I think every single init.d description
fix so far has had wrong checksum. Either people edit the init.d and
run 'abuild checksum' and commit APKBUILD and then edit the init.d
again and commit that without updating the checksum, or we have a bug
in the abuild or checksumming tools.

Anyone idea what is going on?

-nc


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Nov 03 2015 - 08:42:09 GMT