|
|
@ -1,7 +1,8 @@ |
|
|
|
# --- T2-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# |
|
|
|
# T2 SDE: package/.../iptables/iptables.conf |
|
|
|
# Filename: package/.../iptables/iptables.conf |
|
|
|
|
|
|
|
# Copyright (C) 2007 The OpenSDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# |
|
|
|
# |
|
|
@ -11,7 +12,11 @@ |
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# GNU General Public License can be found in the file COPYING. |
|
|
|
# --- T2-COPYRIGHT-NOTE-END --- |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for x in $( match_source_file -p patch ); do |
|
|
|
|
|
|
|
var_append patchfiles ' ' "$x" |
|
|
|
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
# never ever use the kernel source - always use the installed headers |
|
|
|
# never ever use the kernel source - always use the installed headers |
|
|
|
var_append makeopt ' ' "PREFIX=$root/$prefix" |
|
|
|
var_append makeopt ' ' "PREFIX=$root/$prefix" |
|
|
@ -22,4 +27,15 @@ var_append makeopt ' ' "KERNEL_DIR=$root/usr" |
|
|
|
|
|
|
|
|
|
|
|
makeinstopt="$makeopt install" |
|
|
|
makeinstopt="$makeopt install" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#hook_add postmake 5 'iptables_install_devel' |
|
|
|
|
|
|
|
iptables_install_devel() { |
|
|
|
|
|
|
|
$MAKE $makeopt install-devel |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cp -vf iptables.o "$root$libdir" |
|
|
|
|
|
|
|
cp -vf include/{iptables,iptables_common}.h "$root$includedir/" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -vp "$root$includedir/libiptc" |
|
|
|
|
|
|
|
cp -vf include/libiptc/{libiptc,ipt_kernel_headers}.h "$root$includedir/libiptc/" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
runconf=0 |
|
|
|
runconf=0 |
|
|
|