mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
iptables: build against system linux/types.h; -dbg pkg; cross build support.
This commit is contained in:
parent
60434dea7f
commit
6c2f55322b
2 changed files with 11 additions and 12 deletions
|
@ -2,10 +2,7 @@
|
||||||
#
|
#
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="${sourcepkg}-${version}_${revision}"
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
short_desc="${sourcepkg} (development files)"
|
short_desc="${short_desc} -- development files"
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'iptables'
|
# Template file for 'iptables'
|
||||||
pkgname=iptables
|
pkgname=iptables
|
||||||
version=1.4.16.3
|
version=1.4.16.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-libipq --enable-shared --disable-static"
|
configure_args="--enable-libipq --enable-shared --disable-static"
|
||||||
subpackages="$pkgname-devel"
|
subpackages="$pkgname-devel"
|
||||||
|
@ -11,15 +11,17 @@ homepage="http://www.netfilter.org/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="$homepage/projects/iptables/files/$pkgname-$version.tar.bz2"
|
distfiles="$homepage/projects/iptables/files/$pkgname-$version.tar.bz2"
|
||||||
checksum=643ccf34099d53d5b839e1d889c05627745a51ec122648e76a9fcec3a8a9ec79
|
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
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
ruleset, iptables is used for this, too.
|
makedepends="automake gettext-devel pkg-config"
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
The iptables package also includes ip6tables. ip6tables is used for
|
pre_build() {
|
||||||
configuring the IPv6 packet filter."
|
rm include/linux/types.h
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# systemd services.
|
# systemd services.
|
||||||
|
|
Loading…
Add table
Reference in a new issue