Browse Source

* improved iptables providing the capability to enable support for

installing the development libs and headers (libiptc)



git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21518 10447126-35f2-4685-b0cf-6dd780d3921f
early
Christian Wiese 17 years ago
parent
commit
28a78f6440
2 changed files with 25 additions and 1 deletions
  1. +23
    -0
      network/iptables/config.in
  2. +2
    -1
      network/iptables/iptables.conf

+ 23
- 0
network/iptables/config.in

@ -0,0 +1,23 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../iptables/config.in
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# 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
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if pkgcheck iptables X
then
menu_begin MENU_PKG_IPTABLES 'IPtables Package Options'
bool "Enable development support (libiptc)" \
SDECFG_PKG_IPTABLES_DEVEL 0
menu_end
fi

+ 2
- 1
network/iptables/iptables.conf

@ -27,7 +27,6 @@ var_append makeopt ' ' "KERNEL_DIR=$root/usr"
makeinstopt="$makeopt install"
#hook_add postmake 5 'iptables_install_devel'
iptables_install_devel() {
$MAKE $makeopt install-devel
@ -38,4 +37,6 @@ iptables_install_devel() {
cp -vf include/libiptc/{libiptc,ipt_kernel_headers}.h "$root$includedir/libiptc/"
}
[ "$SDECFG_PKG_IPTABLES_DEVEL" != 0 ] && hook_add postmake 5 'iptables_install_devel'
runconf=0

Loading…
Cancel
Save