Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/iptables: new upstream verison 1.6.0

From: Timo Teras <timo.teras_at_iki.fi>
Date: Sat, 26 Mar 2016 15:47:26 +0200

On Sat, 26 Mar 2016 12:35:57 +0100
Christian Kampka <christian_at_kampka.net> wrote:

> diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
> index 611f3be..12a8a95 100644
> --- a/main/iptables/APKBUILD
> +++ b/main/iptables/APKBUILD
> _at_@ -1,14 +1,14 @@
> # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
>
> pkgname=iptables
> -pkgver=1.4.21
> -pkgrel=4
> +pkgver=1.6.0
> +pkgrel=0

> _at_@ -50,7 +49,7 @@ build() {
> # do not use rpath
> sed -i
> 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
> libtool sed -i
> 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
> - make || return 1
> + MAKEFLAGS="$MAKEFLAGS -j2" make || return 1
> }

Usually hacks like this do not work in long run. It would be preferable
to patch the make file so that proper dependency is established; or
explicitly make first the target with broken dependencies (and thus
calling make twice).

This should be also reported upstream.


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Mar 26 2016 - 15:47:26 GMT