2.3
2.3.x
2.4
ablfs
ablfs-more
legacy
new_features
trunk
Last change
on this file since 1d4eebf was 7b79679, checked in by George Boudreau <georgeb@…>, 18 years ago |
bad commit, too many typos
|
-
Property mode
set to
100644
|
File size:
1010 bytes
|
Line | |
---|
1 | #
|
---|
2 | # $Id:$
|
---|
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 |
|
---|
11 | PKG="iptables"
|
---|
12 | PKG_VERSION="1.3.7"
|
---|
13 | PKG_FILE="${PKG}-${PKG_VERSION}.tar.bz2"
|
---|
14 | URL=" http://www.netfilter.org/projects/iptables/files/iptables-1.3.7.tar.bz2"
|
---|
15 | MD5="077e886a9c90a11bb47f3d7a4fc4a689"
|
---|
16 | for i in PATCH{1..10}; do
|
---|
17 | unset $i
|
---|
18 | done
|
---|
19 | PATCH1="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 |
|
---|
23 | patch -Np1 -i ../iptables-1.3.7-do_multi-1.patch
|
---|
24 |
|
---|
25 | make 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 |
|
---|
33 | make 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 |
|
---|
41 | xEOFx
|
---|
42 | ) > tmp
|
---|
Note:
See
TracBrowser
for help on using the repository browser.