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

ablfs-more legacy trunk
Last change on this file since a690d42 was fd4a798, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove $Id$ comments, they are useless with git

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