iptables: build against system linux/types.h; -dbg pkg; cross build support.
This commit is contained in:
parent
60434dea7f
commit
6c2f55322b
|
@ -2,10 +2,7 @@
|
|||
#
|
||||
noarch=yes
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc="${sourcepkg} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
short_desc="${short_desc} -- development files"
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'iptables'
|
||||
pkgname=iptables
|
||||
version=1.4.16.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-libipq --enable-shared --disable-static"
|
||||
subpackages="$pkgname-devel"
|
||||
|
@ -11,15 +11,17 @@ homepage="http://www.netfilter.org/"
|
|||
license="GPL-2"
|
||||
distfiles="$homepage/projects/iptables/files/$pkgname-$version.tar.bz2"
|
||||
checksum=643ccf34099d53d5b839e1d889c05627745a51ec122648e76a9fcec3a8a9ec79
|
||||
long_desc="
|
||||
iptables is the userspace command line program used to configure the Linux
|
||||
IPv4 packet filtering ruleset. It is targeted towards system administrators.
|
||||
|
||||
Since Network Address Translation is also configured from the packet filter
|
||||
ruleset, iptables is used for this, too.
|
||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||
makedepends="automake gettext-devel pkg-config"
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
fi
|
||||
|
||||
The iptables package also includes ip6tables. ip6tables is used for
|
||||
configuring the IPv6 packet filter."
|
||||
pre_build() {
|
||||
rm include/linux/types.h
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# systemd services.
|
||||
|
|
Loading…
Reference in New Issue