ablfs-more
legacy
trunk
Last change
on this file since 59c4761 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
|
Rev | Line | |
---|
[ddca240] | 1 | # Code taken from CLFS-Embedded
|
---|
| 2 | # Chapter 12 Beyond CLFS Embedded
|
---|
| 3 | #
|
---|
[2e1c1c3] | 4 | # iptables is the userspace command line program
|
---|
[ddca240] | 5 | # used to configure the Linux firewall.
|
---|
| 6 | #
|
---|
| 7 |
|
---|
| 8 | PKG="iptables"
|
---|
| 9 | PKG_VERSION="1.3.7"
|
---|
[7b79679] | 10 | PKG_FILE="${PKG}-${PKG_VERSION}.tar.bz2"
|
---|
[ddca240] | 11 | URL=" http://www.netfilter.org/projects/iptables/files/iptables-1.3.7.tar.bz2"
|
---|
| 12 | MD5="077e886a9c90a11bb47f3d7a4fc4a689"
|
---|
| 13 | for i in PATCH{1..10}; do
|
---|
| 14 | unset $i
|
---|
| 15 | done
|
---|
| 16 | PATCH1="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 |
|
---|
| 20 | patch -Np1 -i ../iptables-1.3.7-do_multi-1.patch
|
---|
| 21 |
|
---|
| 22 | make 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 |
|
---|
| 30 | make 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 |
|
---|
| 38 | xEOFx
|
---|
| 39 | ) > tmp
|
---|
Note:
See
TracBrowser
for help on using the repository browser.