ablfs-more
legacy
trunk
Last change
on this file since d2a7ec8 was 2e1c1c3, checked in by Pierre Labastie <pierre@…>, 7 years ago |
Remove spaces at the end of lines
|
-
Property mode
set to
100644
|
File size:
1008 bytes
|
Rev | Line | |
---|
[ddca240] | 1 | #
|
---|
[4c6f54f] | 2 | # $Id$
|
---|
[ddca240] | 3 | #
|
---|
| 4 | # Code taken from CLFS-Embedded
|
---|
| 5 | # Chapter 12 Beyond CLFS Embedded
|
---|
| 6 | #
|
---|
[2e1c1c3] | 7 | # iptables is the userspace command line program
|
---|
[ddca240] | 8 | # used to configure the Linux firewall.
|
---|
| 9 | #
|
---|
| 10 |
|
---|
| 11 | PKG="iptables"
|
---|
| 12 | PKG_VERSION="1.3.7"
|
---|
[7b79679] | 13 | PKG_FILE="${PKG}-${PKG_VERSION}.tar.bz2"
|
---|
[ddca240] | 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.