source: custom/examples_CLFS-E/960-iptables@ 9575278

2.4 ablfs-more legacy trunk
Last change on this file since 9575278 was 4c6f54f, checked in by Pierre Labastie <pierre@…>, 13 years ago

Fix svn properties on some files

  • Property mode set to 100644
File size: 1009 bytes
RevLine 
[ddca240]1#
[4c6f54f]2# $Id$
[ddca240]3#
4# Code taken from CLFS-Embedded
5# Chapter 12 Beyond CLFS Embedded
6#
7# iptables is the userspace command line program
8# used to configure the Linux firewall.
9#
10
11PKG="iptables"
12PKG_VERSION="1.3.7"
[7b79679]13PKG_FILE="${PKG}-${PKG_VERSION}.tar.bz2"
[ddca240]14URL=" http://www.netfilter.org/projects/iptables/files/iptables-1.3.7.tar.bz2"
15MD5="077e886a9c90a11bb47f3d7a4fc4a689"
16for i in PATCH{1..10}; do
17 unset $i
18done
19PATCH1="http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-embedded/patches/iptables-1.3.7-do_multi-1.patch"
20
21( cat << "xEOFx"
22
23patch -Np1 -i ../iptables-1.3.7-do_multi-1.patch
24
25make CC="${CC} ${BUILD}" \
26 COPT_FLAGS="-Os" \
27 LD=${LD} DO_MULTI=1 \
28 PREFIX=/usr \
29 KERNEL_DIR=${CLFS}/lib/modules/2.6.19.2/build \
30 LIBDIR=/lib \
31 BINDIR=/sbin
32
33make CC="${CC} ${BUILD}" \
34 COPT_FLAGS="-Os" \
35 LD=${LD} DO_MULTI=1 \
36 PREFIX=/usr \
37 KERNEL_DIR=${CLFS}/lib/modules/2.6.19.2/build \
38 LIBDIR=/lib BINDIR=/sbin \
39 DESTDIR=${CLFS} install
40
41xEOFx
42) > tmp
Note: See TracBrowser for help on using the repository browser.