mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
bump(net-firewall/ipset): sync with upstream
Packages updated: net-firewall/ipset net-libs/libmnl
This commit is contained in:
parent
73f7fb661a
commit
314c79b425
@ -1,6 +1,6 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.102 2013/09/29 02:49:40 vapier Exp $
|
# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.104 2014/06/28 07:54:27 robbat2 Exp $
|
||||||
|
|
||||||
# @ECLASS: linux-info.eclass
|
# @ECLASS: linux-info.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
@ -164,7 +164,7 @@ qeerror() { qout eerror "${@}" ; }
|
|||||||
# done by including the configfile, and printing the variable with Make.
|
# done by including the configfile, and printing the variable with Make.
|
||||||
# It WILL break if your makefile has missing dependencies!
|
# It WILL break if your makefile has missing dependencies!
|
||||||
getfilevar() {
|
getfilevar() {
|
||||||
local ERROR basefname basedname myARCH="${ARCH}"
|
local ERROR basefname basedname myARCH="${ARCH}" M="${S}"
|
||||||
ERROR=0
|
ERROR=0
|
||||||
|
|
||||||
[ -z "${1}" ] && ERROR=1
|
[ -z "${1}" ] && ERROR=1
|
||||||
@ -182,8 +182,11 @@ getfilevar() {
|
|||||||
|
|
||||||
# We use nonfatal because we want the caller to take care of things #373151
|
# We use nonfatal because we want the caller to take care of things #373151
|
||||||
[[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; }
|
[[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; }
|
||||||
|
case ${EBUILD_PHASE_FUNC} in
|
||||||
|
pkg_info|pkg_nofetch|pkg_pretend) M="${T}" ;;
|
||||||
|
esac
|
||||||
echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \
|
echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \
|
||||||
nonfatal emake -C "${basedname}" M="${S}" ${BUILD_FIXES} -s -f - 2>/dev/null
|
nonfatal emake -C "${basedname}" M="${M}" ${BUILD_FIXES} -s -f - 2>/dev/null
|
||||||
|
|
||||||
ARCH=${myARCH}
|
ARCH=${myARCH}
|
||||||
fi
|
fi
|
||||||
@ -449,7 +452,7 @@ get_version() {
|
|||||||
then
|
then
|
||||||
if [ -z "${get_version_warning_done}" ]; then
|
if [ -z "${get_version_warning_done}" ]; then
|
||||||
get_version_warning_done=1
|
get_version_warning_done=1
|
||||||
qeerror "Unable to find kernel sources at ${KERNEL_DIR}"
|
qewarn "Unable to find kernel sources at ${KERNEL_DIR}"
|
||||||
#qeinfo "This package requires Linux sources."
|
#qeinfo "This package requires Linux sources."
|
||||||
if [ "${KERNEL_DIR}" == "/usr/src/linux" ] ; then
|
if [ "${KERNEL_DIR}" == "/usr/src/linux" ] ; then
|
||||||
qeinfo "Please make sure that ${KERNEL_DIR} points at your running kernel, "
|
qeinfo "Please make sure that ${KERNEL_DIR} points at your running kernel, "
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.113 2013/08/24 11:07:23 ssuominen Exp $
|
# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.116 2014/01/14 20:50:23 mpagano Exp $
|
||||||
|
|
||||||
# @ECLASS: linux-mod.eclass
|
# @ECLASS: linux-mod.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
@ -18,6 +18,11 @@
|
|||||||
# A Couple of env vars are available to effect usage of this eclass
|
# A Couple of env vars are available to effect usage of this eclass
|
||||||
# These are as follows:
|
# These are as follows:
|
||||||
|
|
||||||
|
# @ECLASS-VARIABLE: MODULES_OPTIONAL_USE
|
||||||
|
# @DESCRIPTION:
|
||||||
|
# A string containing the USE flag to use for making this eclass optional
|
||||||
|
# The recommended non-empty value is 'modules'
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: KERNEL_DIR
|
# @ECLASS-VARIABLE: KERNEL_DIR
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# A string containing the directory of the target kernel sources. The default value is
|
# A string containing the directory of the target kernel sources. The default value is
|
||||||
@ -125,12 +130,14 @@
|
|||||||
inherit eutils linux-info multilib
|
inherit eutils linux-info multilib
|
||||||
EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile pkg_postrm
|
EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile pkg_postrm
|
||||||
|
|
||||||
IUSE="kernel_linux"
|
IUSE="kernel_linux ${MODULES_OPTIONAL_USE}"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
RDEPEND="kernel_linux? ( virtual/modutils )"
|
RDEPEND="${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} kernel_linux? ( virtual/modutils ) ${MODULES_OPTIONAL_USE:+)}"
|
||||||
DEPEND="${RDEPEND}
|
DEPEND="${RDEPEND}
|
||||||
|
${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (}
|
||||||
sys-apps/sed
|
sys-apps/sed
|
||||||
kernel_linux? ( virtual/linux-sources )"
|
kernel_linux? ( virtual/linux-sources )
|
||||||
|
${MODULES_OPTIONAL_USE:+)}"
|
||||||
|
|
||||||
# eclass utilities
|
# eclass utilities
|
||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
@ -140,6 +147,7 @@ check_vermagic() {
|
|||||||
|
|
||||||
local curr_gcc_ver=$(gcc -dumpversion)
|
local curr_gcc_ver=$(gcc -dumpversion)
|
||||||
local tmpfile old_chost old_gcc_ver result=0
|
local tmpfile old_chost old_gcc_ver result=0
|
||||||
|
[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
|
||||||
|
|
||||||
tmpfile=`find "${KV_DIR}/" -iname "*.o.cmd" -exec grep usr/lib/gcc {} \; -quit`
|
tmpfile=`find "${KV_DIR}/" -iname "*.o.cmd" -exec grep usr/lib/gcc {} \; -quit`
|
||||||
tmpfile=${tmpfile//*usr/lib}
|
tmpfile=${tmpfile//*usr/lib}
|
||||||
@ -344,6 +352,7 @@ get-KERNEL_CC() {
|
|||||||
# At the end the documentation specified with MODULESD_<modulename>_DOCS is installed.
|
# At the end the documentation specified with MODULESD_<modulename>_DOCS is installed.
|
||||||
generate_modulesd() {
|
generate_modulesd() {
|
||||||
debug-print-function ${FUNCNAME} $*
|
debug-print-function ${FUNCNAME} $*
|
||||||
|
[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
|
||||||
|
|
||||||
local currm_path currm currm_t t myIFS myVAR
|
local currm_path currm currm_t t myIFS myVAR
|
||||||
local module_docs module_enabled module_aliases \
|
local module_docs module_enabled module_aliases \
|
||||||
@ -422,7 +431,7 @@ generate_modulesd() {
|
|||||||
|
|
||||||
for t in ${module_modinfo}
|
for t in ${module_modinfo}
|
||||||
do
|
do
|
||||||
myVAR="$(echo ${t#*:} | grep -e " [0-9][ =]" | sed "s:.*\([01][= ]\).*:\1:")"
|
myVAR="$(echo ${t#*:} | grep -o "[^ ]*[0-9][ =][^ ]*" | tail -1 | grep -o "[0-9]")"
|
||||||
if [[ -n ${myVAR} ]]
|
if [[ -n ${myVAR} ]]
|
||||||
then
|
then
|
||||||
module_opts="${module_opts} ${t%%:*}:${myVAR}"
|
module_opts="${module_opts} ${t%%:*}:${myVAR}"
|
||||||
@ -542,6 +551,7 @@ find_module_params() {
|
|||||||
# in the kernel and sets the object extension KV_OBJ.
|
# in the kernel and sets the object extension KV_OBJ.
|
||||||
linux-mod_pkg_setup() {
|
linux-mod_pkg_setup() {
|
||||||
debug-print-function ${FUNCNAME} $*
|
debug-print-function ${FUNCNAME} $*
|
||||||
|
[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
|
||||||
|
|
||||||
local is_bin="${MERGE_TYPE}"
|
local is_bin="${MERGE_TYPE}"
|
||||||
|
|
||||||
@ -605,6 +615,7 @@ strip_modulenames() {
|
|||||||
# Look at the description of these variables for more details.
|
# Look at the description of these variables for more details.
|
||||||
linux-mod_src_compile() {
|
linux-mod_src_compile() {
|
||||||
debug-print-function ${FUNCNAME} $*
|
debug-print-function ${FUNCNAME} $*
|
||||||
|
[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
|
||||||
|
|
||||||
local modulename libdir srcdir objdir i n myABI="${ABI}"
|
local modulename libdir srcdir objdir i n myABI="${ABI}"
|
||||||
set_arch_to_kernel
|
set_arch_to_kernel
|
||||||
@ -670,6 +681,7 @@ linux-mod_src_compile() {
|
|||||||
# Look at the description of these variables for more details.
|
# Look at the description of these variables for more details.
|
||||||
linux-mod_src_install() {
|
linux-mod_src_install() {
|
||||||
debug-print-function ${FUNCNAME} $*
|
debug-print-function ${FUNCNAME} $*
|
||||||
|
[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
|
||||||
|
|
||||||
local modulename libdir srcdir objdir i n
|
local modulename libdir srcdir objdir i n
|
||||||
|
|
||||||
@ -700,6 +712,7 @@ linux-mod_src_install() {
|
|||||||
# It checks what to do after having merged the package.
|
# It checks what to do after having merged the package.
|
||||||
linux-mod_pkg_preinst() {
|
linux-mod_pkg_preinst() {
|
||||||
debug-print-function ${FUNCNAME} $*
|
debug-print-function ${FUNCNAME} $*
|
||||||
|
[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
|
||||||
|
|
||||||
[ -d "${D}lib/modules" ] && UPDATE_DEPMOD=true || UPDATE_DEPMOD=false
|
[ -d "${D}lib/modules" ] && UPDATE_DEPMOD=true || UPDATE_DEPMOD=false
|
||||||
[ -d "${D}lib/modules" ] && UPDATE_MODULEDB=true || UPDATE_MODULEDB=false
|
[ -d "${D}lib/modules" ] && UPDATE_MODULEDB=true || UPDATE_MODULEDB=false
|
||||||
@ -711,6 +724,7 @@ linux-mod_pkg_preinst() {
|
|||||||
# database (if ${D}/lib/modules is created)"
|
# database (if ${D}/lib/modules is created)"
|
||||||
linux-mod_pkg_postinst() {
|
linux-mod_pkg_postinst() {
|
||||||
debug-print-function ${FUNCNAME} $*
|
debug-print-function ${FUNCNAME} $*
|
||||||
|
[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
|
||||||
|
|
||||||
${UPDATE_DEPMOD} && update_depmod;
|
${UPDATE_DEPMOD} && update_depmod;
|
||||||
${UPDATE_MODULEDB} && update_moduledb;
|
${UPDATE_MODULEDB} && update_moduledb;
|
||||||
@ -722,5 +736,6 @@ linux-mod_pkg_postinst() {
|
|||||||
# call /sbin/depmod because the modules are still installed.
|
# call /sbin/depmod because the modules are still installed.
|
||||||
linux-mod_pkg_postrm() {
|
linux-mod_pkg_postrm() {
|
||||||
debug-print-function ${FUNCNAME} $*
|
debug-print-function ${FUNCNAME} $*
|
||||||
|
[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
|
||||||
remove_moduledb;
|
remove_moduledb;
|
||||||
}
|
}
|
||||||
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.15
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.15
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||||
|
DEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool kernel_linux? ( virtual/modutils ) sys-apps/sed kernel_linux? ( virtual/linux-sources )
|
||||||
|
DESCRIPTION=IPset tool for iptables, successor to ippool.
|
||||||
|
EAPI=4
|
||||||
|
HOMEPAGE=http://ipset.netfilter.org/
|
||||||
|
IUSE=modules kernel_linux
|
||||||
|
KEYWORDS=amd64 ~ppc x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl kernel_linux? ( virtual/modutils )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://ipset.netfilter.org/ipset-6.15.tar.bz2
|
||||||
|
_eclasses_=autotools 16761a2f972abd686713e5967ff3c754 eutils 4878e7f88afc0ba0866ac112190b0fd4 libtool b1c8688e60f9580bcb9bb46e08737eb1 linux-info 2b8c53f6065bdee2d757472215a3088f linux-mod 101302d4b7b694ea9622bbffb187d0de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing 89580da5ec17ad687fcde876c542b91e toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||||
|
_md5_=7c0a628dc0a391ecf45df6b121d7bcb7
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.16
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.16
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||||
|
DEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool kernel_linux? ( virtual/modutils ) sys-apps/sed kernel_linux? ( virtual/linux-sources )
|
||||||
|
DESCRIPTION=IPset tool for iptables, successor to ippool.
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://ipset.netfilter.org/
|
||||||
|
IUSE=modules kernel_linux
|
||||||
|
KEYWORDS=~amd64 ~ppc ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl kernel_linux? ( virtual/modutils )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://ipset.netfilter.org/ipset-6.16.tar.bz2
|
||||||
|
_eclasses_=autotools 16761a2f972abd686713e5967ff3c754 eutils 4878e7f88afc0ba0866ac112190b0fd4 libtool b1c8688e60f9580bcb9bb46e08737eb1 linux-info 2b8c53f6065bdee2d757472215a3088f linux-mod 101302d4b7b694ea9622bbffb187d0de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing 89580da5ec17ad687fcde876c542b91e toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||||
|
_md5_=0a70eee3b82de5a9d65d7db7d69c81a9
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.16.1
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.16.1
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||||
|
DEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool kernel_linux? ( virtual/modutils ) sys-apps/sed kernel_linux? ( virtual/linux-sources )
|
||||||
|
DESCRIPTION=IPset tool for iptables, successor to ippool.
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://ipset.netfilter.org/
|
||||||
|
IUSE=modules kernel_linux
|
||||||
|
KEYWORDS=~amd64 ~ppc ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl kernel_linux? ( virtual/modutils )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://ipset.netfilter.org/ipset-6.16.1.tar.bz2
|
||||||
|
_eclasses_=autotools 16761a2f972abd686713e5967ff3c754 eutils 4878e7f88afc0ba0866ac112190b0fd4 libtool b1c8688e60f9580bcb9bb46e08737eb1 linux-info 2b8c53f6065bdee2d757472215a3088f linux-mod 101302d4b7b694ea9622bbffb187d0de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing 89580da5ec17ad687fcde876c542b91e toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||||
|
_md5_=5c958ac1008a2341a8b9618336cc4ff9
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.17
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.17
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||||
|
DEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool kernel_linux? ( virtual/modutils ) sys-apps/sed kernel_linux? ( virtual/linux-sources )
|
||||||
|
DESCRIPTION=IPset tool for iptables, successor to ippool.
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://ipset.netfilter.org/
|
||||||
|
IUSE=modules kernel_linux
|
||||||
|
KEYWORDS=amd64 ~ppc x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl kernel_linux? ( virtual/modutils )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://ipset.netfilter.org/ipset-6.17.tar.bz2
|
||||||
|
_eclasses_=autotools 16761a2f972abd686713e5967ff3c754 eutils 4878e7f88afc0ba0866ac112190b0fd4 libtool b1c8688e60f9580bcb9bb46e08737eb1 linux-info 2b8c53f6065bdee2d757472215a3088f linux-mod 101302d4b7b694ea9622bbffb187d0de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing 89580da5ec17ad687fcde876c542b91e toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||||
|
_md5_=08212105563f1fb13c6ab22de6444dd6
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.19
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.19
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||||
|
DEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool kernel_linux? ( virtual/modutils ) sys-apps/sed kernel_linux? ( virtual/linux-sources )
|
||||||
|
DESCRIPTION=IPset tool for iptables, successor to ippool.
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://ipset.netfilter.org/
|
||||||
|
IUSE=modules kernel_linux
|
||||||
|
KEYWORDS=~amd64 ~ppc ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl kernel_linux? ( virtual/modutils )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://ipset.netfilter.org/ipset-6.19.tar.bz2
|
||||||
|
_eclasses_=autotools 16761a2f972abd686713e5967ff3c754 eutils 4878e7f88afc0ba0866ac112190b0fd4 libtool b1c8688e60f9580bcb9bb46e08737eb1 linux-info 2b8c53f6065bdee2d757472215a3088f linux-mod 101302d4b7b694ea9622bbffb187d0de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing 89580da5ec17ad687fcde876c542b91e toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||||
|
_md5_=b91288898cc786454dbcf2bed70e5e1f
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.20.1
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.20.1
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||||
|
DEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool modules? ( kernel_linux? ( virtual/modutils ) ) modules? ( sys-apps/sed kernel_linux? ( virtual/linux-sources ) )
|
||||||
|
DESCRIPTION=IPset tool for iptables, successor to ippool.
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://ipset.netfilter.org/
|
||||||
|
IUSE=kernel_linux modules
|
||||||
|
KEYWORDS=amd64 ~ppc ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl modules? ( kernel_linux? ( virtual/modutils ) )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://ipset.netfilter.org/ipset-6.20.1.tar.bz2
|
||||||
|
_eclasses_=autotools 16761a2f972abd686713e5967ff3c754 eutils 4878e7f88afc0ba0866ac112190b0fd4 libtool b1c8688e60f9580bcb9bb46e08737eb1 linux-info 2b8c53f6065bdee2d757472215a3088f linux-mod 101302d4b7b694ea9622bbffb187d0de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing 89580da5ec17ad687fcde876c542b91e toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||||
|
_md5_=b51cc53f345360ce034f3caab03601f6
|
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.21.1
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-firewall/ipset-6.21.1
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup
|
||||||
|
DEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl || ( >=sys-devel/automake-1.12:1.12 >=sys-devel/automake-1.13:1.13 ) >=sys-devel/autoconf-2.68 sys-devel/libtool modules? ( kernel_linux? ( virtual/modutils ) ) modules? ( sys-apps/sed kernel_linux? ( virtual/linux-sources ) )
|
||||||
|
DESCRIPTION=IPset tool for iptables, successor to ippool.
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://ipset.netfilter.org/
|
||||||
|
IUSE=kernel_linux modules
|
||||||
|
KEYWORDS=~amd64 ~ppc ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=net-firewall/iptables-1.4.7 net-libs/libmnl modules? ( kernel_linux? ( virtual/modutils ) )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://ipset.netfilter.org/ipset-6.21.1.tar.bz2
|
||||||
|
_eclasses_=autotools 16761a2f972abd686713e5967ff3c754 eutils 4878e7f88afc0ba0866ac112190b0fd4 libtool b1c8688e60f9580bcb9bb46e08737eb1 linux-info 2b8c53f6065bdee2d757472215a3088f linux-mod 101302d4b7b694ea9622bbffb187d0de multilib 892e597faee02a5b94eb02ab512e7622 multiprocessing 89580da5ec17ad687fcde876c542b91e toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28 versionator 6601b4c5b3f019a993db59a50e1854e4
|
||||||
|
_md5_=406feae9ff50a0030a91b63d7b3ca1a3
|
11
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/libmnl-1.0.3
vendored
Normal file
11
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/libmnl-1.0.3
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
DEFINED_PHASES=configure install
|
||||||
|
DESCRIPTION=Minimalistic netlink library
|
||||||
|
EAPI=4
|
||||||
|
HOMEPAGE=http://netfilter.org/projects/libmnl
|
||||||
|
IUSE=examples
|
||||||
|
KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux
|
||||||
|
LICENSE=LGPL-2.1
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://www.netfilter.org/projects/libmnl/files/libmnl-1.0.3.tar.bz2
|
||||||
|
_eclasses_=eutils 4878e7f88afc0ba0866ac112190b0fd4 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
||||||
|
_md5_=ee719772eb84ca3f462977e8ee3e031d
|
11
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/libmnl-1.0.3-r1
vendored
Normal file
11
sdk_container/src/third_party/portage-stable/metadata/md5-cache/net-libs/libmnl-1.0.3-r1
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
DEFINED_PHASES=configure install
|
||||||
|
DESCRIPTION=Minimalistic netlink library
|
||||||
|
EAPI=4
|
||||||
|
HOMEPAGE=http://netfilter.org/projects/libmnl
|
||||||
|
IUSE=examples static-libs
|
||||||
|
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux
|
||||||
|
LICENSE=LGPL-2.1
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://www.netfilter.org/projects/libmnl/files/libmnl-1.0.3.tar.bz2
|
||||||
|
_eclasses_=eutils 4878e7f88afc0ba0866ac112190b0fd4 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 51e6c948e72c43bcc8edc7544411c953 user d0a4d0735a6c0183d707ca919bd72f28
|
||||||
|
_md5_=8e918ffb0b5bbc32fa2ce247ab123a00
|
389
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ChangeLog
vendored
Normal file
389
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ChangeLog
vendored
Normal file
@ -0,0 +1,389 @@
|
|||||||
|
# ChangeLog for net-firewall/ipset
|
||||||
|
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.77 2014/06/21 20:25:57 robbat2 Exp $
|
||||||
|
|
||||||
|
21 Jun 2014; Robin H. Johnson <robbat2@gentoo.org> ipset-6.20.1.ebuild:
|
||||||
|
Stable on amd64 per bug #502870, works for infra (actually do it this time)
|
||||||
|
|
||||||
|
20 Jun 2014; Robin H. Johnson <robbat2@gentoo.org> ipset-6.20.1.ebuild:
|
||||||
|
Stable on amd64 per bug #502870, works for infra.
|
||||||
|
|
||||||
|
*ipset-6.21.1 (20 Jun 2014)
|
||||||
|
|
||||||
|
20 Jun 2014; Robin H. Johnson <robbat2@gentoo.org> +ipset-6.21.1.ebuild:
|
||||||
|
Bump per bug #509804.
|
||||||
|
|
||||||
|
*ipset-6.20.1 (01 Dec 2013)
|
||||||
|
|
||||||
|
01 Dec 2013; Robin H. Johnson <robbat2@gentoo.org> +files/ipset.initd-r3,
|
||||||
|
+ipset-6.20.1.ebuild, files/ipset.confd, files/ipset.initd-r2:
|
||||||
|
Bump per bug #486836, adds new modules and future warning about NET_NS. Make
|
||||||
|
USE=-modules not introduce kernel-sources via MODULES_OPTIONAL_USE. Bug
|
||||||
|
#433411: Drop use
|
||||||
|
|
||||||
|
04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> ipset-6.17.ebuild:
|
||||||
|
Stable for x86, wrt bug #461978
|
||||||
|
|
||||||
|
*ipset-6.19 (27 May 2013)
|
||||||
|
|
||||||
|
27 May 2013; Robin H. Johnson <robbat2@gentoo.org> +ipset-6.19.ebuild:
|
||||||
|
Bump.
|
||||||
|
|
||||||
|
07 May 2013; Sergey Popov <pinkbyte@gentoo.org> ipset-6.17.ebuild:
|
||||||
|
Stable on amd64, wrt bug #461978
|
||||||
|
|
||||||
|
*ipset-6.17 (16 Mar 2013)
|
||||||
|
|
||||||
|
16 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> +ipset-6.17.ebuild:
|
||||||
|
Version bump, wrt bug #460036
|
||||||
|
|
||||||
|
16 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> -ipset-4.5.ebuild,
|
||||||
|
-ipset-6.8.ebuild, -ipset-6.9.1-r2.ebuild, -ipset-6.10.ebuild,
|
||||||
|
-ipset-6.11.ebuild, -ipset-6.13.ebuild, -ipset-6.14.ebuild,
|
||||||
|
-files/ipset.initd-r1:
|
||||||
|
Drop old versions, permissions granted by maintainer
|
||||||
|
|
||||||
|
*ipset-6.16.1 (17 Feb 2013)
|
||||||
|
|
||||||
|
17 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> +ipset-6.16.1.ebuild:
|
||||||
|
Version bump
|
||||||
|
|
||||||
|
17 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> ipset-6.15.ebuild,
|
||||||
|
ipset-6.16.ebuild:
|
||||||
|
Make build process verbose, wrt bug #458008
|
||||||
|
|
||||||
|
17 Feb 2013; Agostino Sarubbo <ago@gentoo.org> ipset-6.15.ebuild:
|
||||||
|
Stable for x86, wrt bug #448814
|
||||||
|
|
||||||
|
17 Feb 2013; Agostino Sarubbo <ago@gentoo.org> ipset-6.15.ebuild:
|
||||||
|
Stable for amd64, wrt bug #448814
|
||||||
|
|
||||||
|
16 Feb 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
|
||||||
|
Cleanup due bug #96436
|
||||||
|
|
||||||
|
27 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> -ipset-6.9.1.ebuild,
|
||||||
|
-ipset-6.9.1-r1.ebuild, -files/ipset.initd:
|
||||||
|
Drop old revisions and obsolete files
|
||||||
|
|
||||||
|
*ipset-6.16 (27 Nov 2012)
|
||||||
|
*ipset-6.15 (27 Nov 2012)
|
||||||
|
|
||||||
|
27 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> +ipset-6.15.ebuild,
|
||||||
|
+ipset-6.16.ebuild:
|
||||||
|
Another version bump
|
||||||
|
|
||||||
|
*ipset-6.14 (27 Nov 2012)
|
||||||
|
|
||||||
|
27 Nov 2012; Sergey Popov <pinkbyte@gentoo.org> +ipset-6.14.ebuild:
|
||||||
|
Version bump, permission was granted by robbat2
|
||||||
|
|
||||||
|
*ipset-6.13 (20 Aug 2012)
|
||||||
|
|
||||||
|
20 Aug 2012; Robin H. Johnson <robbat2@gentoo.org> +ipset-6.13.ebuild:
|
||||||
|
Bug #431456, #418019: version bump. Bug #429814: ensure compile with no
|
||||||
|
/usr/src/linux. Bug #396097 is fixed by upstream as well.
|
||||||
|
|
||||||
|
14 Jun 2012; Michael Weber <xmw@gentoo.org> ipset-6.11.ebuild:
|
||||||
|
adding ~ppc keyword (bug 304037)
|
||||||
|
|
||||||
|
*ipset-6.11 (21 Feb 2012)
|
||||||
|
|
||||||
|
21 Feb 2012; Robin H. Johnson <robbat2@gentoo.org> +ipset-6.11.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
*ipset-6.10 (17 Dec 2011)
|
||||||
|
|
||||||
|
17 Dec 2011; Peter Volkov <pva@gentoo.org> +ipset-6.10.ebuild,
|
||||||
|
+files/ipset.confd, +files/ipset.initd-r2:
|
||||||
|
Version bump. Add confd file and make init file workable with list:set, bug
|
||||||
|
#390129 and bug #393243 by Andrew Savchenko.
|
||||||
|
|
||||||
|
12 Oct 2011; Peter Volkov <pva@gentoo.org> ipset-6.9.1-r2.ebuild:
|
||||||
|
On second thought drop USE=ipv6: userspace should work is the same
|
||||||
|
independently of USE=ipv6 and kernel side will depend on kernel
|
||||||
|
configuration.
|
||||||
|
|
||||||
|
*ipset-6.9.1-r2 (12 Oct 2011)
|
||||||
|
|
||||||
|
12 Oct 2011; Peter Volkov <pva@gentoo.org> +ipset-6.9.1-r2.ebuild,
|
||||||
|
+files/ipset.initd-r1, files/ipset.initd:
|
||||||
|
Fix init script, bug #386151 wrt Alexey Shvetsov. Require
|
||||||
|
CONFIG_IP6_NF_IPTABLES only if USE=ipv6, bug #385445 wrt John Brendler.
|
||||||
|
|
||||||
|
*ipset-6.9.1-r1 (02 Oct 2011)
|
||||||
|
|
||||||
|
02 Oct 2011; Peter Volkov <pva@gentoo.org> +ipset-6.9.1-r1.ebuild,
|
||||||
|
+files/ipset.initd:
|
||||||
|
Drop confusing message about netlink.patch, bug #382221 by John Brendler. Add
|
||||||
|
init script by Andrew Savchenko, bug #181045 by Caleb Cushing.
|
||||||
|
|
||||||
|
17 Sep 2011; Peter Volkov <pva@gentoo.org> -files/ipset-2.4.7-LDFLAGS.patch,
|
||||||
|
-ipset-4.4.ebuild, -ipset-6.7-r1.ebuild:
|
||||||
|
Drop old.
|
||||||
|
|
||||||
|
16 Sep 2011; Tony Vroon <chainsaw@gentoo.org> ipset-4.5.ebuild,
|
||||||
|
ipset-6.8.ebuild:
|
||||||
|
Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney &
|
||||||
|
Tomáš "Mepho" Pružina in bug #381613.
|
||||||
|
|
||||||
|
15 Sep 2011; Andreas Schuerch <nativemad@gentoo.org> ipset-4.5.ebuild,
|
||||||
|
ipset-6.8.ebuild:
|
||||||
|
x86 stable, see bug 381613
|
||||||
|
|
||||||
|
*ipset-6.9.1 (07 Sep 2011)
|
||||||
|
|
||||||
|
07 Sep 2011; Peter Volkov <pva@gentoo.org> +ipset-6.9.1.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
*ipset-6.8 (24 Jul 2011)
|
||||||
|
|
||||||
|
24 Jul 2011; Peter Volkov <pva@gentoo.org> +ipset-6.8.ebuild:
|
||||||
|
Version bump, thank Ed Wildgoose for report.
|
||||||
|
|
||||||
|
02 Jul 2011; Sven Wegener <swegener@gentoo.org> ipset-6.7-r1.ebuild:
|
||||||
|
Use correct source and build options for kernel.
|
||||||
|
|
||||||
|
*ipset-6.7-r1 (16 Jun 2011)
|
||||||
|
|
||||||
|
16 Jun 2011; Peter Volkov <pva@gentoo.org> -ipset-6.4.ebuild,
|
||||||
|
-ipset-6.6.ebuild, -ipset-6.7.ebuild, +ipset-6.7-r1.ebuild:
|
||||||
|
Add missing xt_set and ip_set_hash_netiface modules. Drop old.
|
||||||
|
|
||||||
|
*ipset-6.7 (16 Jun 2011)
|
||||||
|
|
||||||
|
16 Jun 2011; Peter Volkov <pva@gentoo.org> +ipset-6.7.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
*ipset-6.6 (24 May 2011)
|
||||||
|
|
||||||
|
24 May 2011; Peter Volkov <pva@gentoo.org> +ipset-6.6.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
15 May 2011; Peter Volkov <pva@gentoo.org> ipset-6.4.ebuild:
|
||||||
|
Fixed build in case symlink points on different sources then currnely
|
||||||
|
running, bug #356727#c9 thank Ed Wildgoose for this fix.
|
||||||
|
|
||||||
|
*ipset-6.4 (01 May 2011)
|
||||||
|
|
||||||
|
01 May 2011; Peter Volkov <pva@gentoo.org> -ipset-2.4.7.ebuild,
|
||||||
|
+ipset-6.4.ebuild:
|
||||||
|
Version bump, bug 356727, thank Andreis_Vinogradovs (slepnoga) for report.
|
||||||
|
|
||||||
|
25 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> ipset-2.4.7.ebuild,
|
||||||
|
ipset-4.4.ebuild, ipset-4.5.ebuild:
|
||||||
|
Dropped ppc wrt #345019, #304037
|
||||||
|
|
||||||
|
*ipset-4.5 (21 Dec 2010)
|
||||||
|
|
||||||
|
21 Dec 2010; Peter Volkov <pva@gentoo.org> -ipset-4.1.ebuild,
|
||||||
|
-ipset-4.2.ebuild, -ipset-4.3.ebuild, +ipset-4.5.ebuild:
|
||||||
|
Version bump, drop old.
|
||||||
|
|
||||||
|
26 Nov 2010; Christian Faulhammer <fauli@gentoo.org> ipset-4.4.ebuild:
|
||||||
|
stable x86, bug 345019
|
||||||
|
|
||||||
|
11 Nov 2010; Markos Chandras <hwoarang@gentoo.org> ipset-4.4.ebuild:
|
||||||
|
Stable on amd64 wrt bug #345019
|
||||||
|
|
||||||
|
*ipset-4.4 (14 Oct 2010)
|
||||||
|
|
||||||
|
14 Oct 2010; Peter Volkov <pva@gentoo.org> +ipset-4.4.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
*ipset-4.3 (25 Aug 2010)
|
||||||
|
|
||||||
|
25 Aug 2010; Peter Volkov <pva@gentoo.org> +ipset-4.3.ebuild:
|
||||||
|
Version bump, fixes 2.6.35 kernel compatibility issue, bug 332687, thank
|
||||||
|
fkhp and Oleksandr Kovalenko for report.
|
||||||
|
|
||||||
|
20 May 2010; Peter Volkov <pva@gentoo.org> ipset-4.1.ebuild:
|
||||||
|
amd64 stable, bug 304037.
|
||||||
|
|
||||||
|
17 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> ipset-4.1.ebuild:
|
||||||
|
x86 stable wrt bug #304037
|
||||||
|
|
||||||
|
*ipset-4.2 (08 Feb 2010)
|
||||||
|
|
||||||
|
08 Feb 2010; Peter Volkov <pva@gentoo.org> -ipset-2.2.9.20070401.ebuild,
|
||||||
|
-files/ipset-2.4.2-glibc28-fix.patch,
|
||||||
|
-files/ipset-2.4.9-gethostbyname-align.patch, -ipset-3.0.ebuild,
|
||||||
|
+ipset-4.2.ebuild:
|
||||||
|
Version bump, drop old.
|
||||||
|
|
||||||
|
15 Nov 2009; Peter Volkov <pva@gentoo.org> ipset-4.1.ebuild:
|
||||||
|
USE='modules' support.
|
||||||
|
|
||||||
|
14 Nov 2009; Peter Volkov <pva@gentoo.org> ipset-4.1.ebuild:
|
||||||
|
Do not build modules in case kernel is patched and modules are built in,
|
||||||
|
bug #274577 thank Brendan Pike report.
|
||||||
|
|
||||||
|
*ipset-4.1 (14 Nov 2009)
|
||||||
|
|
||||||
|
14 Nov 2009; Peter Volkov <pva@gentoo.org> -ipset-2.4.9-r1.ebuild,
|
||||||
|
-ipset-2.5.0-r1.ebuild, +ipset-4.1.ebuild:
|
||||||
|
Version bump, bug #293043, thank Marcin Mirosław for report.
|
||||||
|
|
||||||
|
06 Sep 2009; Robin H. Johnson <robbat2@gentoo.org> ipset-2.4.7.ebuild,
|
||||||
|
ipset-2.4.9-r1.ebuild, ipset-2.5.0-r1.ebuild, ipset-3.0.ebuild:
|
||||||
|
Cleaning up for linux-info work: inherit linux-mod implies inherit
|
||||||
|
linux-info.
|
||||||
|
|
||||||
|
28 Jul 2009; Robin H. Johnson <robbat2@gentoo.org> ipset-3.0.ebuild:
|
||||||
|
Bug #279286: Min iptables version required for ipset is 1.4.4. Thanks to
|
||||||
|
James Earl Spahlinger <james@nixeagle.org>.
|
||||||
|
|
||||||
|
*ipset-3.0 (05 Jun 2009)
|
||||||
|
|
||||||
|
05 Jun 2009; Peter Volkov <pva@gentoo.org> -ipset-2.5.0.ebuild,
|
||||||
|
+ipset-3.0.ebuild:
|
||||||
|
Version bump, remove broken version.
|
||||||
|
|
||||||
|
*ipset-2.5.0-r1 (14 May 2009)
|
||||||
|
|
||||||
|
14 May 2009; Robin H. Johnson <robbat2@gentoo.org> +ipset-2.5.0-r1.ebuild:
|
||||||
|
Bug #269743: Some of the modules did not get installed.
|
||||||
|
|
||||||
|
*ipset-2.5.0 (04 Apr 2009)
|
||||||
|
|
||||||
|
04 Apr 2009; Peter Volkov <pva@gentoo.org> +ipset-2.5.0.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
20 Mar 2009; Joseph Jezak <josejx@gentoo.org> ipset-2.4.7.ebuild:
|
||||||
|
Marked ppc stable for bug #257483.
|
||||||
|
|
||||||
|
*ipset-2.4.9-r1 (03 Mar 2009)
|
||||||
|
|
||||||
|
03 Mar 2009; Peter Volkov <pva@gentoo.org>
|
||||||
|
+files/ipset-2.4.9-gethostbyname-align.patch,
|
||||||
|
-ipset-2.3.0.20070828-r2.ebuild, -ipset-2.3.1.20080612.ebuild,
|
||||||
|
-ipset-2.3.3a.ebuild, -ipset-2.4.2.ebuild, -ipset-2.4.9.ebuild,
|
||||||
|
+ipset-2.4.9-r1.ebuild:
|
||||||
|
Fixed gethostbyname alignment issue on hppa, bug #260481, thank Antixrict
|
||||||
|
for report and work with upstream. Removed old.
|
||||||
|
|
||||||
|
*ipset-2.4.9 (28 Feb 2009)
|
||||||
|
|
||||||
|
28 Feb 2009; Peter Volkov <pva@gentoo.org>
|
||||||
|
-files/ipset-2.4.8-use-new-hash.patch, -ipset-2.4.8.ebuild,
|
||||||
|
+ipset-2.4.9.ebuild:
|
||||||
|
Version bump, bug #260480, thank Jeroen Roovers for report.
|
||||||
|
|
||||||
|
*ipset-2.4.8 (26 Feb 2009)
|
||||||
|
|
||||||
|
26 Feb 2009; Peter Volkov <pva@gentoo.org>
|
||||||
|
+files/ipset-2.4.8-use-new-hash.patch, ipset-2.4.7.ebuild,
|
||||||
|
+ipset-2.4.8.ebuild:
|
||||||
|
Version bump, bug #260338, thank BoneKracker for report. Disable warnings,
|
||||||
|
fixes bug #259999, thank Aleksey Kunitskiy for report.
|
||||||
|
|
||||||
|
04 Feb 2009; Markus Meier <maekke@gentoo.org> ipset-2.4.7.ebuild:
|
||||||
|
amd64/x86 stable, bug #257483
|
||||||
|
|
||||||
|
*ipset-2.4.7 (31 Jan 2009)
|
||||||
|
|
||||||
|
31 Jan 2009; Peter Volkov <pva@gentoo.org>
|
||||||
|
+files/ipset-2.4.7-LDFLAGS.patch, +ipset-2.4.7.ebuild:
|
||||||
|
Version bump. Respect LDFLAGS, #246016, thank Olivier Huber. Probably
|
||||||
|
fixes compatibility issue with 2.6.28, #254207, thank Jochen Schlick.
|
||||||
|
|
||||||
|
*ipset-2.4.2 (24 Oct 2008)
|
||||||
|
|
||||||
|
24 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+files/ipset-2.4.2-glibc28-fix.patch, +ipset-2.4.2.ebuild:
|
||||||
|
Bug #243092, version bump.
|
||||||
|
|
||||||
|
14 Oct 2008; Robin H. Johnson <robbat2@gentoo.org> ipset-2.3.3a.ebuild:
|
||||||
|
Bug #236138, allow building with non-modular kernels.
|
||||||
|
|
||||||
|
*ipset-2.3.3a (14 Aug 2008)
|
||||||
|
|
||||||
|
14 Aug 2008; Robin H. Johnson <robbat2@gentoo.org> +ipset-2.3.3a.ebuild:
|
||||||
|
Bug #233763, version bump to resolve glibc-2.8 issues. Upstream also now
|
||||||
|
includes modules buildable without patching the kernel.
|
||||||
|
|
||||||
|
*ipset-2.3.1.20080612 (25 Jun 2008)
|
||||||
|
|
||||||
|
25 Jun 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+ipset-2.3.1.20080612.ebuild:
|
||||||
|
Version bump per bug #226155.
|
||||||
|
|
||||||
|
*ipset-2.3.0.20070828-r2 (14 Nov 2007)
|
||||||
|
|
||||||
|
14 Nov 2007; <pva@gentoo.org> -ipset-2.3.0.20070828-r1.ebuild,
|
||||||
|
+ipset-2.3.0.20070828-r2.ebuild:
|
||||||
|
Fixed LIBDIR to include /; bug 199084 reported by Krzysztof Olędzki
|
||||||
|
<ole+gentoo AT ans.pl>.
|
||||||
|
|
||||||
|
10 Nov 2007; <pva@gentoo.org> -ipset-2.1.0.20050119-r1.ebuild,
|
||||||
|
-ipset-2.2.8.20051203.ebuild, -ipset-2.2.9.20060508.ebuild:
|
||||||
|
Clean old.
|
||||||
|
|
||||||
|
10 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||||
|
ipset-2.2.9.20070401.ebuild:
|
||||||
|
stable x86, bug 198158
|
||||||
|
|
||||||
|
*ipset-2.3.0.20070828-r1 (07 Nov 2007)
|
||||||
|
|
||||||
|
07 Nov 2007; <pva@gentoo.org> -ipset-2.3.0.20070828.ebuild,
|
||||||
|
+ipset-2.3.0.20070828-r1.ebuild:
|
||||||
|
Cleaned ebuild, courtesy of Donnie Berkholz <dberkholz AT gentoo.org>
|
||||||
|
|
||||||
|
*ipset-2.3.0.20070828 (05 Nov 2007)
|
||||||
|
|
||||||
|
05 Nov 2007; <pva@gentoo.org> metadata.xml, +ipset-2.3.0.20070828.ebuild:
|
||||||
|
Version bump. Added myself in metadata. Added emerge --config to patch the
|
||||||
|
kernel.
|
||||||
|
|
||||||
|
12 Apr 2007; Stefan Schweizer <genstef@gentoo.org>
|
||||||
|
-ipset-2.1.0.20050119.ebuild:
|
||||||
|
Remove old version that uses check_KV, bug 150058
|
||||||
|
|
||||||
|
*ipset-2.2.9.20070401 (10 Apr 2007)
|
||||||
|
|
||||||
|
10 Apr 2007; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+ipset-2.2.9.20070401.ebuild:
|
||||||
|
New version from upstream, bug #173218. Please note that while this version
|
||||||
|
will compile without a patched kernel, you still need a patched kernel to
|
||||||
|
use it!.
|
||||||
|
|
||||||
|
*ipset-2.2.9.20060508 (25 May 2006)
|
||||||
|
|
||||||
|
25 May 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
ipset-2.2.8.20051203.ebuild, +ipset-2.2.9.20060508.ebuild:
|
||||||
|
Bug #126878, upstream seems to have changed the directory name inside the
|
||||||
|
tarball. Also version bump that fixes a return code issue.
|
||||||
|
|
||||||
|
27 Jan 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
ipset-2.2.8.20051203.ebuild:
|
||||||
|
Adjust description to indicate that this package only provides the userspace
|
||||||
|
portion of ipset. You must still manually patch your kernel to have ipset
|
||||||
|
support.
|
||||||
|
|
||||||
|
*ipset-2.2.8.20051203 (12 Dec 2005)
|
||||||
|
|
||||||
|
12 Dec 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+ipset-2.2.8.20051203.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
26 Sep 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
ipset-2.1.0.20050119-r1.ebuild:
|
||||||
|
Stable on x86, 146 days in ~x86.
|
||||||
|
|
||||||
|
06 May 2005; Sven Wegener <swegener@gentoo.org>
|
||||||
|
ipset-2.1.0.20050119.ebuild, ipset-2.1.0.20050119-r1.ebuild:
|
||||||
|
Removed * postfix from <, <=, >= and > dependencies.
|
||||||
|
|
||||||
|
*ipset-2.1.0.20050119-r1 (03 May 2005)
|
||||||
|
|
||||||
|
03 May 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+ipset-2.1.0.20050119-r1.ebuild:
|
||||||
|
Convert to use linux-info eclass.
|
||||||
|
|
||||||
|
26 Apr 2005; Andrej Kacian <ticho@gentoo.org> ipset-2.1.0.20050119.ebuild:
|
||||||
|
Added ~amd64 keyword.
|
||||||
|
|
||||||
|
*ipset-2.1.0.20050119 (10 Mar 2005)
|
||||||
|
|
||||||
|
10 Mar 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
|
||||||
|
+ipset-2.1.0.20050119.ebuild:
|
||||||
|
Initial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org>.
|
19
sdk_container/src/third_party/portage-stable/net-firewall/ipset/Manifest
vendored
Normal file
19
sdk_container/src/third_party/portage-stable/net-firewall/ipset/Manifest
vendored
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
AUX ipset.confd 588 SHA256 a4203705531190ba1793dfe18e0cad03cae624918fdd9845d79c6aef27ad6ee7 SHA512 93e01873c3fb8ff5f4f78e04118a666a650e604a1ba2908309faab08aa140e0ca7a2e24fc5114a9e809d3dbe81e801fc9ad59d53e174014cae1f23719a2a8e3e WHIRLPOOL a1ff1c60d761de759ca9c624784698dfb18e461eb2eb817eadbeeadf0706f8af07d1dc36c495435f338c6aa099a2b974e4c9c10179a4fc98eb11c15dc8fcc23b
|
||||||
|
AUX ipset.initd-r2 1456 SHA256 ca354bd315ee57b31a7ba54ebd8988500b3b65f33330cc42c56a9c6655f6a5be SHA512 c81255adf94c4bfdb2394141345115c83f2ad87a5a922a29715a1a8adc7a76ec5f1f612dd0db2302152140ddbd47ddb9e6c610372c7246d12ba82aaaedf878eb WHIRLPOOL a7ba629ae1353aaa648e5660a5a07139c8e0a591f527958d9ffc38ad4fbddf0285a0af73ffffd99bb4ae374e786424dd46a5089e8ed6a55c4cfa97f26af51c49
|
||||||
|
AUX ipset.initd-r3 3099 SHA256 9e8cb7742137888043988bf1f0654fd17acc6ab9f7b795f3854705c79dde64f3 SHA512 b25408e6dea3a965c88be0affdb130dc865805c967c3b4b126f677c8678d12307eec408f229099e61d876e45bc9f51ee5e1009a4a0d0658d7965f88b34a6412c WHIRLPOOL ca43ed9f76442ec91c4357530d234b10b81d70bd872486ca8c4941cb4191ce3055add5919e19e44c06c0e1362cac801b314563754b9dca8cb63c384f28a89e3c
|
||||||
|
DIST ipset-6.15.tar.bz2 432771 SHA256 6f60a472bc2ef7b1c864be6472de65365c90e264dfadf28da48c2361393d8fd1 SHA512 f72329bb8610717ccdddbfaf7b7774e717a34d71fdb7f9c7eac97e3d1b314915500c88137b6e229411df99c86d2228bef447f26c116bc2cf992cfb60ab1422d3 WHIRLPOOL 868ee3cd722c2d86c273aca8f3ca7695e8ef5d00d30111ef0f2bf972a119211008d8cadec1760b43b4f0efb24690f20a2cf5f0fdbbb0700cf66e5660d363ab2a
|
||||||
|
DIST ipset-6.16.1.tar.bz2 433347 SHA256 cb5b02deab8521946fd473b77c40f00452b76fed621f0eee76746c74e89e4c3c SHA512 e54d32932875a9d06acba598280de9e83529f36326cbaaeb05d38b985bc40d276dc46e37eae3d1d4c1afcdd69b3074678512349ebd964b6189ca1c6871efe304 WHIRLPOOL ff2276446c7dbb4005de236b73bf9879ead8273f3ec014883160b779f6c089eaf7d4c4dce06233ef357f0a8b5376754b158eec29187ae5f5f7bb52bfd2d8ae3c
|
||||||
|
DIST ipset-6.16.tar.bz2 433118 SHA256 bc3ea05cfbacd43aebff6668825453d0a626edd5d3495a8670103ab895fba464 SHA512 34ef44af76f3609035ae1bdacb7586f2288ee66701ed8a1a5a0632fb23b5f651fe02b070e0f0f1b0ebae6cab02b3f827cc7e67f740cf77f51ba494c25dcc47dd WHIRLPOOL 3b3c2172626530145401bd813c39114f31bf3546ebe0af6e168ed32ade102c158f3bc5f4690ee8bf0540415adc35929da5d8ca8e4e1c2ec83bf631849a24b8a7
|
||||||
|
DIST ipset-6.17.tar.bz2 448076 SHA256 7987bb8de1b0490b32084ab72165ae53038e497a96ab9940920280d8068629b0 SHA512 668f173b7ddd8a18af2730205e2e2c38610aa9fd191af52f91080e903bcd8e1f38e8e3a7fd57077decb00fd0556df89c3315c91eaffaa6977f2caf2a3300b175 WHIRLPOOL 1d08c841d87c7a5ca355857ac823ee696922b867690e9066c631414615c98f3cf3e59c6dd8d9f556170eef90a029260c7d41dc1e3f47811ede2190c5d0298e8b
|
||||||
|
DIST ipset-6.19.tar.bz2 465927 SHA256 058e7950efdf8b9539ab79eb145de7be60d6cb7b92c0c011edda37e70135024c SHA512 9e9fdccd8ae34ad56c5fc6da03060b39b3acc9a53154acf7e82df3f2c1545b2bdcc7b5b9b4f6ddd6ee3e8582e81b1fa51fae37cb4f46948c053d5153bdca6f39 WHIRLPOOL 31472a732781598c8d99ee562766492c225e359b8153ff68a7769d8fa86f41cac9749eda08e4e3922a6ada5a815192109104b42c59ba3079530f6c0b0169613c
|
||||||
|
DIST ipset-6.20.1.tar.bz2 500898 SHA256 356cac020438cd0871acbfc4cb119b8296030f0bb4661ad0d44bbc115ccbce92 SHA512 3fda3a71c18c8d5f9567038fc72f95abec81b4c789fbca7f7b9c032b15000cfbd2829f11a07f2f9ad2afcff54d6851923caff0917b2ead73756673a6b3667565 WHIRLPOOL f31cd533d286238e63f38aecbf281d428d75e856b393f61db5f6622d0dc0cd0a6de7aa4d3eaa2831e1da7dd0846e95c22f92b3a586cf3918cee074360a4caff3
|
||||||
|
DIST ipset-6.21.1.tar.bz2 510013 SHA256 cf46c9c35a15aa0f2e0fbab0422586757bd82386c8ad3864936e6cffbd74a331 SHA512 c2ffb2eafc780e15370fd48841f4323c39e8fef1893216c8bc0b8aa8d143f9daf078c6e261e4558243004fe9612ce1d5ca4cca16f8b3f324f4194700c1b0accb WHIRLPOOL 230ebb4756891283980f5b7f67c0c64772b1527b8e8c0b6cdd2714de450b3f6c2a75d961d44563e440edd1399bdee8cce820fe59f46c28355a6f053ad6b1c37b
|
||||||
|
EBUILD ipset-6.15.ebuild 3340 SHA256 0a84e355c2e9a87e4e321c6db6f88680d546939fafaa9049b81304c2cf73ea2d SHA512 41cf7a912d6359384aaa8444d6cd5696df16a1babfe3c2d26bdd96d328e8a0e0f9a8ea88df84f126b11fb91dcfc084fd6417093f3160402d9e0d190ec0d5826a WHIRLPOOL ddd0fa4b2fb0a689ea6ae5cf209290196fb6a77a33fea169ef59c032895037e82e6b913a49fdec09575d2fc0837adea7b0edc702d05132a714717c91e44b6ca9
|
||||||
|
EBUILD ipset-6.16.1.ebuild 3317 SHA256 21ed030cf52286c01d606275ec6cbe540e7494ee9aaffadefec9940647ebe69d SHA512 72cee79bb4347bd10db533763ab9145c56397ca134eca02de934f907565a520558f3d13ba3f50e429c059c3dcacb56d6adcce09e37da7d3f27c8ced5f1f15113 WHIRLPOOL b1caa8d5b01055e051f79445f7561d7335022dac561c4186baa717d0ec3b1d45a1ad5b3689290845068eaad9965966afc69f7bae55ecf2de80714ee1223fa80d
|
||||||
|
EBUILD ipset-6.16.ebuild 3315 SHA256 176714fc62f02a89a724915945683a49f7f85ed0b062aa7f45f6c450d39e137f SHA512 fb411c9c8ee4b42fd38fea98d6a8f2bfcf360ad4150d44442c5cedf2e77ecf24ad951b89b6eb2a24d8f8465a4df77d96c666b99e74f92877aca187af4052f4af WHIRLPOOL 263fe190d2c4a1ab4f513ffef96ad9542be68ca52a86068e8b1f0b38223d3ad9a5a144de8ac662cb7f0f42f542de6b7c30fbf8690b537203e70f18678e4053c0
|
||||||
|
EBUILD ipset-6.17.ebuild 3308 SHA256 72a88d8eb30040bc94230e62434182b0ff2393182851877e0f50cfe359208d8b SHA512 aeb04ed0be26c4b8b3aab67a3731dbddf9cc915d8fe295b7ed31a8e287f077b8623c623edb812471a597b0d6c993ce370f2043a1d063fae37c1f9c5e0d738958 WHIRLPOOL f4697fbdd268ef3b5fbbedd99f5e7527ed4e93ae001c57aa5f15a1f2c7ed2fdb3eeaf813009cfafbc7e919176a3ab1ff11405d6a6314210df8362c374eb131d0
|
||||||
|
EBUILD ipset-6.19.ebuild 3314 SHA256 caccb43b2726ded7f4c8f2a0196828ab13e943790ea88d744b3834c895078ab3 SHA512 ab365c15f87915083178120ee26656dd0282884c2d3e0f2e8f10e74e9c06061894680d64de0f06786f14bfb983140ea3fbdaee12d010f920863a9c74cc1d6638 WHIRLPOOL 176f53eecfd7295eae3983b3c197c01f4756ff324d34b393e0a92c83fc89e9475595c85f1ae55d133e8b71adcef554ce9c52f04ab73adc179c80797da94c888a
|
||||||
|
EBUILD ipset-6.20.1.ebuild 3530 SHA256 b89382c924b2b90eb3752ff99f8074a3e3874d92bb3d4b40a9d3c536a1c38858 SHA512 3881a399a26e607ea41feb6c2adb6259b460c2b67d38fff8c170d3719591d45cb66b946b6c4012726fb422c210eb33ce55050ef4d9b30e33edc12166f2c526f8 WHIRLPOOL 76fb2a9f649b9e8cff349c5df2c60a53a2231f7f682e36b2a6807030a6567c89e87a80a93366dcf5cc0f46646648b6b4bed59c7fb23e72d11d80bc200c63eed0
|
||||||
|
EBUILD ipset-6.21.1.ebuild 3531 SHA256 e439eb1199c00650f9042e961f302a10f09143e2bc5c1769d147db9521ebed2d SHA512 428d85f4c9f9522d6d65fc25dbb805eae4db507123f236377ec62fa4eb8b65c01bafdf8dbaa17bd94062265c3bc7b37fb3e9f74f82d232701a75cf413125d514 WHIRLPOOL d1c2473a5b3b1c9bf09ddc569fdaef90b76a75126ac2ee10dd295b52bc2d076d719f505e53a0326c9a980c2506dcf13b41584554828d0800165374a8d6cdb391
|
||||||
|
MISC ChangeLog 13336 SHA256 86fc0d0e78c8c6bb32c32ecddfd87cad2e474cd3792587615dfe5717c6071499 SHA512 9b8ccbf4527d72e227f5528a67e08a4cd9215b6315e045109c8681038f6ab5f8b9b1be6cadf1c1e1750d0db5d596676095b3dd001c53e5eacbd6c636c212fed2 WHIRLPOOL fa9618f4aeb3ebbce2da209f7dc161ce0cdaa94366472e100c1b668e0f394b4954c533037dbd0f824ffb45daf45bcff3316c521b065a9392cdcc670e5bd0ddda
|
||||||
|
MISC metadata.xml 202 SHA256 76dbb4a720140d78f0ddfb2b2782c03852169c201c1f507eb17ef4d2a82f212a SHA512 bd1c14da72bdd52e3bea3056f5b9f908c31d6915b651d15d80a0a7d26778c97cde493ae9ca4352bd313eb16ddbed9b169c6b620c7f4a9b77973f7077fa8d997c WHIRLPOOL c073cc4c903e3377c7aee652c5661a1657cc5ba70c3deb4b2d7b2d0e31a78fb8b362b2f255de3faddbf4c46250d14d2d5d39a6a13b910ad18f8d53df362163a0
|
16
sdk_container/src/third_party/portage-stable/net-firewall/ipset/files/ipset.confd
vendored
Normal file
16
sdk_container/src/third_party/portage-stable/net-firewall/ipset/files/ipset.confd
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# /etc/conf.d/ipset
|
||||||
|
|
||||||
|
# Location in which ipset initscript will save set rules on
|
||||||
|
# service shutdown
|
||||||
|
IPSET_SAVE="/var/lib/ipset/rules-save"
|
||||||
|
|
||||||
|
# Save state on stopping ipset
|
||||||
|
SAVE_ON_STOP="yes"
|
||||||
|
|
||||||
|
# If you need to log iptables messages as soon as iptables starts,
|
||||||
|
# AND your logger does NOT depend on the network, then you may wish
|
||||||
|
# to uncomment the next line.
|
||||||
|
# If your logger depends on the network, and you uncomment this line
|
||||||
|
# you will create an unresolvable circular dependency during startup.
|
||||||
|
# After commenting or uncommenting this line, you must run 'rc-update -u'.
|
||||||
|
#rc_use="logger"
|
60
sdk_container/src/third_party/portage-stable/net-firewall/ipset/files/ipset.initd-r2
vendored
Normal file
60
sdk_container/src/third_party/portage-stable/net-firewall/ipset/files/ipset.initd-r2
vendored
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/files/ipset.initd-r2,v 1.2 2013/12/01 19:16:15 robbat2 Exp $
|
||||||
|
|
||||||
|
extra_commands="save"
|
||||||
|
|
||||||
|
IPSET_SAVE=${IPSET_SAVE:-/var/lib/ipset/rules-save}
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
before iptables ip6tables
|
||||||
|
}
|
||||||
|
|
||||||
|
checkconfig() {
|
||||||
|
if [ ! -f "${IPSET_SAVE}" ] ; then
|
||||||
|
eerror "Not starting ${SVCNAME}. First create some rules then run:"
|
||||||
|
eerror "/etc/init.d/${SVCNAME} save"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
checkconfig || return 1
|
||||||
|
ebegin "Loading ipset session"
|
||||||
|
ipset restore < "${IPSET_SAVE}"
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
# check if there are any references to current sets
|
||||||
|
|
||||||
|
if ! ipset list | gawk '
|
||||||
|
($1 == "References:") { refcnt += $2 }
|
||||||
|
($1 == "Type:" && $2 == "list:set") { set = 1 }
|
||||||
|
(scan) { if ($0 != "") setcnt++; else { scan = 0; set = 0 } }
|
||||||
|
(set && $1 == "Members:") {scan = 1}
|
||||||
|
END { if ((refcnt - setcnt) > 0) exit 1 }
|
||||||
|
'; then
|
||||||
|
eerror "ipset is in use, can't stop"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${SAVE_ON_STOP}" = "yes" ] ; then
|
||||||
|
save || return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
ebegin "Removing kernel IP sets"
|
||||||
|
ipset flush
|
||||||
|
ipset destroy
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
save() {
|
||||||
|
ebegin "Saving ipset session"
|
||||||
|
touch "${IPSET_SAVE}"
|
||||||
|
chmod 0600 "${IPSET_SAVE}"
|
||||||
|
ipset save > "${IPSET_SAVE}"
|
||||||
|
eend $?
|
||||||
|
}
|
96
sdk_container/src/third_party/portage-stable/net-firewall/ipset/files/ipset.initd-r3
vendored
Normal file
96
sdk_container/src/third_party/portage-stable/net-firewall/ipset/files/ipset.initd-r3
vendored
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/files/ipset.initd-r3,v 1.1 2013/12/01 19:16:15 robbat2 Exp $
|
||||||
|
|
||||||
|
extra_commands="save"
|
||||||
|
extra_started_commands="reload"
|
||||||
|
|
||||||
|
IPSET_SAVE=${IPSET_SAVE:-/var/lib/ipset/rules-save}
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
before iptables ip6tables
|
||||||
|
}
|
||||||
|
|
||||||
|
checkconfig() {
|
||||||
|
if [ ! -f "${IPSET_SAVE}" ] ; then
|
||||||
|
eerror "Not starting ${SVCNAME}. First create some rules then run:"
|
||||||
|
eerror "/etc/init.d/${SVCNAME} save"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
checkconfig || return 1
|
||||||
|
ebegin "Loading ipset session"
|
||||||
|
ipset restore < "${IPSET_SAVE}"
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
# check if there are any references to current sets
|
||||||
|
|
||||||
|
if ! ipset list | gawk '
|
||||||
|
($1 == "References:") { refcnt += $2 }
|
||||||
|
($1 == "Type:" && $2 == "list:set") { set = 1 }
|
||||||
|
(scan) { if ($0 != "") setcnt++; else { scan = 0; set = 0 } }
|
||||||
|
(set && $1 == "Members:") {scan = 1}
|
||||||
|
END { if ((refcnt - setcnt) > 0) exit 1 }
|
||||||
|
'; then
|
||||||
|
eerror "ipset is in use, can't stop"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${SAVE_ON_STOP}" = "yes" ] ; then
|
||||||
|
save || return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
ebegin "Removing kernel IP sets"
|
||||||
|
ipset flush
|
||||||
|
ipset destroy
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
ebegin "Reloading ipsets"
|
||||||
|
|
||||||
|
# Loading sets from a save file is only additive (there is no
|
||||||
|
# automatic flushing or replacing). And, we can not remove sets
|
||||||
|
# that are currently used in existing iptables rules.
|
||||||
|
#
|
||||||
|
# Instead, we create new temp sets for any set that is already
|
||||||
|
# in use, and then atomically swap them into place.
|
||||||
|
#
|
||||||
|
# XXX: This does not clean out previously used ipsets that are
|
||||||
|
# not in the new saved policy--it can't, because they may still
|
||||||
|
# be referenced in the current iptables rules.
|
||||||
|
|
||||||
|
# Build a list of all currently used sets (if any).
|
||||||
|
running_ipset_list=$(ipset save | gawk '/^create/{printf "%s ",$2}')
|
||||||
|
running_ipset_list="${running_ipset_list% }"
|
||||||
|
# Build a regular expression that matches those set names.
|
||||||
|
running_ipset_list_regex="${running_ipset_list// /|}"
|
||||||
|
|
||||||
|
# Load up sets from the save file, but rename any set that already
|
||||||
|
# exists to a temporary name that we will swap later.
|
||||||
|
if ! cat ${IPSET_SAVE} | sed -r "s/^(create|add) (${running_ipset_list_regex}) /\1 \2_atomic_temp /" | ipset restore ; then
|
||||||
|
eend $? "Failed to load new ipsets"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Now for every set name that currently exists, atomically swap it
|
||||||
|
# with the temporary new one we created, and then destroy the old set.
|
||||||
|
for ipset_name in ${running_ipset_list} ; do
|
||||||
|
ipset swap ${ipset_name} ${ipset_name}_atomic_temp || eend $? "Failed to swap in new ipset $ipset_name"
|
||||||
|
ipset destroy ${ipset_name}_atomic_temp || eend $? "Failed to delete obsolete ipset ${ipset_name}_atomic_temp"
|
||||||
|
done
|
||||||
|
eend 0
|
||||||
|
}
|
||||||
|
|
||||||
|
save() {
|
||||||
|
ebegin "Saving ipset session"
|
||||||
|
touch "${IPSET_SAVE}"
|
||||||
|
chmod 0600 "${IPSET_SAVE}"
|
||||||
|
ipset save > "${IPSET_SAVE}"
|
||||||
|
eend $?
|
||||||
|
}
|
112
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.15.ebuild
vendored
Normal file
112
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.15.ebuild
vendored
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.15.ebuild,v 1.4 2013/02/17 19:01:11 pinkbyte Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
inherit autotools linux-info linux-mod
|
||||||
|
|
||||||
|
DESCRIPTION="IPset tool for iptables, successor to ippool."
|
||||||
|
HOMEPAGE="http://ipset.netfilter.org/"
|
||||||
|
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~ppc x86"
|
||||||
|
IUSE="modules"
|
||||||
|
|
||||||
|
RDEPEND=">=net-firewall/iptables-1.4.7
|
||||||
|
net-libs/libmnl"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||||
|
|
||||||
|
# configurable from outside, e.g. /etc/make.conf
|
||||||
|
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
||||||
|
|
||||||
|
BUILD_TARGETS="modules"
|
||||||
|
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
||||||
|
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
||||||
|
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
||||||
|
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
||||||
|
done
|
||||||
|
|
||||||
|
check_header_patch() {
|
||||||
|
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
||||||
|
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
||||||
|
eerror " # cd ${KV_DIR}"
|
||||||
|
eerror " # patch -i ${S}/netlink.patch -p1"
|
||||||
|
eerror "You should recompile and run new kernel to avoid runtime errors."
|
||||||
|
die "Unpatched kernel"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
get_version
|
||||||
|
CONFIG_CHECK="NETFILTER"
|
||||||
|
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
||||||
|
|
||||||
|
build_modules=0
|
||||||
|
if use modules; then
|
||||||
|
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
||||||
|
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
||||||
|
if linux_chkconfig_present "IP_NF_SET" || \
|
||||||
|
linux_chkconfig_present "IP_SET"; then #274577
|
||||||
|
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
||||||
|
eerror "Please either build ipset with modules USE flag disabled"
|
||||||
|
eerror "or rebuild kernel without IP_SET support and make sure"
|
||||||
|
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
||||||
|
die "USE=modules and in-kernel ipset support detected."
|
||||||
|
else
|
||||||
|
einfo "Modular kernel detected. Gonna build kernel modules..."
|
||||||
|
build_modules=1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
||||||
|
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
||||||
|
die "Nonmodular kernel detected, will not build kernel modules"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_with modules kmod) \
|
||||||
|
--disable-static \
|
||||||
|
--with-maxsets=${IP_NF_SET_MAX} \
|
||||||
|
--libdir="${EPREFIX}/$(get_libdir)" \
|
||||||
|
--with-ksource="${KV_DIR}" \
|
||||||
|
--with-kbuild="${KV_OUT_DIR}" \
|
||||||
|
--disable-silent-rules
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo "Building userspace"
|
||||||
|
emake
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Building kernel modules"
|
||||||
|
set_arch_to_kernel
|
||||||
|
emake modules
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einfo "Installing userspace"
|
||||||
|
default
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
||||||
|
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
||||||
|
keepdir /var/lib/ipset
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Installing kernel modules"
|
||||||
|
linux-mod_src_install
|
||||||
|
fi
|
||||||
|
}
|
111
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.16.1.ebuild
vendored
Normal file
111
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.16.1.ebuild
vendored
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.16.1.ebuild,v 1.1 2013/02/17 19:05:58 pinkbyte Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
inherit autotools linux-info linux-mod
|
||||||
|
|
||||||
|
DESCRIPTION="IPset tool for iptables, successor to ippool."
|
||||||
|
HOMEPAGE="http://ipset.netfilter.org/"
|
||||||
|
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="modules"
|
||||||
|
|
||||||
|
RDEPEND=">=net-firewall/iptables-1.4.7
|
||||||
|
net-libs/libmnl"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||||
|
|
||||||
|
# configurable from outside, e.g. /etc/make.conf
|
||||||
|
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
||||||
|
|
||||||
|
BUILD_TARGETS="modules"
|
||||||
|
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
||||||
|
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
||||||
|
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
||||||
|
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
||||||
|
done
|
||||||
|
|
||||||
|
check_header_patch() {
|
||||||
|
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
||||||
|
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
||||||
|
eerror " # cd ${KV_DIR}"
|
||||||
|
eerror " # patch -i ${S}/netlink.patch -p1"
|
||||||
|
eerror "You should recompile and run new kernel to avoid runtime errors."
|
||||||
|
die "Unpatched kernel"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
get_version
|
||||||
|
CONFIG_CHECK="NETFILTER"
|
||||||
|
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
||||||
|
|
||||||
|
build_modules=0
|
||||||
|
if use modules; then
|
||||||
|
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
||||||
|
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
||||||
|
if linux_chkconfig_present "IP_NF_SET" || \
|
||||||
|
linux_chkconfig_present "IP_SET"; then #274577
|
||||||
|
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
||||||
|
eerror "Please either build ipset with modules USE flag disabled"
|
||||||
|
eerror "or rebuild kernel without IP_SET support and make sure"
|
||||||
|
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
||||||
|
die "USE=modules and in-kernel ipset support detected."
|
||||||
|
else
|
||||||
|
einfo "Modular kernel detected. Gonna build kernel modules..."
|
||||||
|
build_modules=1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
||||||
|
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
||||||
|
die "Nonmodular kernel detected, will not build kernel modules"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_with modules kmod) \
|
||||||
|
--disable-static \
|
||||||
|
--with-maxsets=${IP_NF_SET_MAX} \
|
||||||
|
--libdir="${EPREFIX}/$(get_libdir)" \
|
||||||
|
--with-ksource="${KV_DIR}" \
|
||||||
|
--with-kbuild="${KV_OUT_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo "Building userspace"
|
||||||
|
emake
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Building kernel modules"
|
||||||
|
set_arch_to_kernel
|
||||||
|
emake modules
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einfo "Installing userspace"
|
||||||
|
default
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
||||||
|
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
||||||
|
keepdir /var/lib/ipset
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Installing kernel modules"
|
||||||
|
linux-mod_src_install
|
||||||
|
fi
|
||||||
|
}
|
111
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.16.ebuild
vendored
Normal file
111
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.16.ebuild
vendored
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.16.ebuild,v 1.2 2013/02/17 19:01:11 pinkbyte Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
inherit autotools linux-info linux-mod
|
||||||
|
|
||||||
|
DESCRIPTION="IPset tool for iptables, successor to ippool."
|
||||||
|
HOMEPAGE="http://ipset.netfilter.org/"
|
||||||
|
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="modules"
|
||||||
|
|
||||||
|
RDEPEND=">=net-firewall/iptables-1.4.7
|
||||||
|
net-libs/libmnl"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||||
|
|
||||||
|
# configurable from outside, e.g. /etc/make.conf
|
||||||
|
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
||||||
|
|
||||||
|
BUILD_TARGETS="modules"
|
||||||
|
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
||||||
|
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
||||||
|
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
||||||
|
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
||||||
|
done
|
||||||
|
|
||||||
|
check_header_patch() {
|
||||||
|
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
||||||
|
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
||||||
|
eerror " # cd ${KV_DIR}"
|
||||||
|
eerror " # patch -i ${S}/netlink.patch -p1"
|
||||||
|
eerror "You should recompile and run new kernel to avoid runtime errors."
|
||||||
|
die "Unpatched kernel"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
get_version
|
||||||
|
CONFIG_CHECK="NETFILTER"
|
||||||
|
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
||||||
|
|
||||||
|
build_modules=0
|
||||||
|
if use modules; then
|
||||||
|
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
||||||
|
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
||||||
|
if linux_chkconfig_present "IP_NF_SET" || \
|
||||||
|
linux_chkconfig_present "IP_SET"; then #274577
|
||||||
|
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
||||||
|
eerror "Please either build ipset with modules USE flag disabled"
|
||||||
|
eerror "or rebuild kernel without IP_SET support and make sure"
|
||||||
|
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
||||||
|
die "USE=modules and in-kernel ipset support detected."
|
||||||
|
else
|
||||||
|
einfo "Modular kernel detected. Gonna build kernel modules..."
|
||||||
|
build_modules=1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
||||||
|
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
||||||
|
die "Nonmodular kernel detected, will not build kernel modules"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_with modules kmod) \
|
||||||
|
--disable-static \
|
||||||
|
--with-maxsets=${IP_NF_SET_MAX} \
|
||||||
|
--libdir="${EPREFIX}/$(get_libdir)" \
|
||||||
|
--with-ksource="${KV_DIR}" \
|
||||||
|
--with-kbuild="${KV_OUT_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo "Building userspace"
|
||||||
|
emake
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Building kernel modules"
|
||||||
|
set_arch_to_kernel
|
||||||
|
emake modules
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einfo "Installing userspace"
|
||||||
|
default
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
||||||
|
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
||||||
|
keepdir /var/lib/ipset
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Installing kernel modules"
|
||||||
|
linux-mod_src_install
|
||||||
|
fi
|
||||||
|
}
|
111
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.17.ebuild
vendored
Normal file
111
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.17.ebuild
vendored
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.17.ebuild,v 1.3 2013/07/04 12:18:34 ago Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
inherit autotools linux-info linux-mod
|
||||||
|
|
||||||
|
DESCRIPTION="IPset tool for iptables, successor to ippool."
|
||||||
|
HOMEPAGE="http://ipset.netfilter.org/"
|
||||||
|
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~ppc x86"
|
||||||
|
IUSE="modules"
|
||||||
|
|
||||||
|
RDEPEND=">=net-firewall/iptables-1.4.7
|
||||||
|
net-libs/libmnl"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||||
|
|
||||||
|
# configurable from outside, e.g. /etc/make.conf
|
||||||
|
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
||||||
|
|
||||||
|
BUILD_TARGETS="modules"
|
||||||
|
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
||||||
|
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
||||||
|
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
||||||
|
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
||||||
|
done
|
||||||
|
|
||||||
|
check_header_patch() {
|
||||||
|
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
||||||
|
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
||||||
|
eerror " # cd ${KV_DIR}"
|
||||||
|
eerror " # patch -i ${S}/netlink.patch -p1"
|
||||||
|
eerror "You should recompile and run new kernel to avoid runtime errors."
|
||||||
|
die "Unpatched kernel"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
get_version
|
||||||
|
CONFIG_CHECK="NETFILTER"
|
||||||
|
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
||||||
|
|
||||||
|
build_modules=0
|
||||||
|
if use modules; then
|
||||||
|
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
||||||
|
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
||||||
|
if linux_chkconfig_present "IP_NF_SET" || \
|
||||||
|
linux_chkconfig_present "IP_SET"; then #274577
|
||||||
|
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
||||||
|
eerror "Please either build ipset with modules USE flag disabled"
|
||||||
|
eerror "or rebuild kernel without IP_SET support and make sure"
|
||||||
|
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
||||||
|
die "USE=modules and in-kernel ipset support detected."
|
||||||
|
else
|
||||||
|
einfo "Modular kernel detected. Gonna build kernel modules..."
|
||||||
|
build_modules=1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
||||||
|
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
||||||
|
die "Nonmodular kernel detected, will not build kernel modules"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_with modules kmod) \
|
||||||
|
--disable-static \
|
||||||
|
--with-maxsets=${IP_NF_SET_MAX} \
|
||||||
|
--libdir="${EPREFIX}/$(get_libdir)" \
|
||||||
|
--with-ksource="${KV_DIR}" \
|
||||||
|
--with-kbuild="${KV_OUT_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo "Building userspace"
|
||||||
|
emake
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Building kernel modules"
|
||||||
|
set_arch_to_kernel
|
||||||
|
emake modules
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einfo "Installing userspace"
|
||||||
|
default
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
||||||
|
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
||||||
|
keepdir /var/lib/ipset
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Installing kernel modules"
|
||||||
|
linux-mod_src_install
|
||||||
|
fi
|
||||||
|
}
|
111
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.19.ebuild
vendored
Normal file
111
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.19.ebuild
vendored
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.19.ebuild,v 1.1 2013/05/27 00:03:39 robbat2 Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
inherit autotools linux-info linux-mod
|
||||||
|
|
||||||
|
DESCRIPTION="IPset tool for iptables, successor to ippool."
|
||||||
|
HOMEPAGE="http://ipset.netfilter.org/"
|
||||||
|
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="modules"
|
||||||
|
|
||||||
|
RDEPEND=">=net-firewall/iptables-1.4.7
|
||||||
|
net-libs/libmnl"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||||
|
|
||||||
|
# configurable from outside, e.g. /etc/make.conf
|
||||||
|
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
||||||
|
|
||||||
|
BUILD_TARGETS="modules"
|
||||||
|
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
||||||
|
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
||||||
|
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net,net{port,iface}},_list_set}; do
|
||||||
|
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
||||||
|
done
|
||||||
|
|
||||||
|
check_header_patch() {
|
||||||
|
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
||||||
|
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
||||||
|
eerror " # cd ${KV_DIR}"
|
||||||
|
eerror " # patch -i ${S}/netlink.patch -p1"
|
||||||
|
eerror "You should recompile and run new kernel to avoid runtime errors."
|
||||||
|
die "Unpatched kernel"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
get_version
|
||||||
|
CONFIG_CHECK="NETFILTER"
|
||||||
|
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
||||||
|
|
||||||
|
build_modules=0
|
||||||
|
if use modules; then
|
||||||
|
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
||||||
|
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
||||||
|
if linux_chkconfig_present "IP_NF_SET" || \
|
||||||
|
linux_chkconfig_present "IP_SET"; then #274577
|
||||||
|
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
||||||
|
eerror "Please either build ipset with modules USE flag disabled"
|
||||||
|
eerror "or rebuild kernel without IP_SET support and make sure"
|
||||||
|
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
||||||
|
die "USE=modules and in-kernel ipset support detected."
|
||||||
|
else
|
||||||
|
einfo "Modular kernel detected. Gonna build kernel modules..."
|
||||||
|
build_modules=1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
||||||
|
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
||||||
|
die "Nonmodular kernel detected, will not build kernel modules"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_with modules kmod) \
|
||||||
|
--disable-static \
|
||||||
|
--with-maxsets=${IP_NF_SET_MAX} \
|
||||||
|
--libdir="${EPREFIX}/$(get_libdir)" \
|
||||||
|
--with-ksource="${KV_DIR}" \
|
||||||
|
--with-kbuild="${KV_OUT_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo "Building userspace"
|
||||||
|
emake
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Building kernel modules"
|
||||||
|
set_arch_to_kernel
|
||||||
|
emake modules
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einfo "Installing userspace"
|
||||||
|
default
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/ipset.initd-r2 ${PN}
|
||||||
|
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
||||||
|
keepdir /var/lib/ipset
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Installing kernel modules"
|
||||||
|
linux-mod_src_install
|
||||||
|
fi
|
||||||
|
}
|
114
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.20.1.ebuild
vendored
Normal file
114
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.20.1.ebuild
vendored
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.20.1.ebuild,v 1.3 2014/06/21 20:25:57 robbat2 Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
MODULES_OPTIONAL_USE=modules
|
||||||
|
inherit autotools linux-info linux-mod
|
||||||
|
|
||||||
|
DESCRIPTION="IPset tool for iptables, successor to ippool."
|
||||||
|
HOMEPAGE="http://ipset.netfilter.org/"
|
||||||
|
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~ppc ~x86"
|
||||||
|
|
||||||
|
RDEPEND=">=net-firewall/iptables-1.4.7
|
||||||
|
net-libs/libmnl"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||||
|
|
||||||
|
# configurable from outside, e.g. /etc/make.conf
|
||||||
|
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
||||||
|
|
||||||
|
BUILD_TARGETS="modules"
|
||||||
|
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
||||||
|
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
||||||
|
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net{,port{,net},iface,net}},_list_set}; do
|
||||||
|
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
||||||
|
done
|
||||||
|
|
||||||
|
check_header_patch() {
|
||||||
|
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
||||||
|
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
||||||
|
eerror " # cd ${KV_DIR}"
|
||||||
|
eerror " # patch -i ${S}/netlink.patch -p1"
|
||||||
|
eerror "You should recompile and run new kernel to avoid runtime errors."
|
||||||
|
die "Unpatched kernel"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
get_version
|
||||||
|
CONFIG_CHECK="NETFILTER"
|
||||||
|
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
||||||
|
# It does still build without NET_NS, but it may be needed in future.
|
||||||
|
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
|
||||||
|
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
|
||||||
|
|
||||||
|
build_modules=0
|
||||||
|
if use modules; then
|
||||||
|
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
||||||
|
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
||||||
|
if linux_chkconfig_present "IP_NF_SET" || \
|
||||||
|
linux_chkconfig_present "IP_SET"; then #274577
|
||||||
|
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
||||||
|
eerror "Please either build ipset with modules USE flag disabled"
|
||||||
|
eerror "or rebuild kernel without IP_SET support and make sure"
|
||||||
|
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
||||||
|
die "USE=modules and in-kernel ipset support detected."
|
||||||
|
else
|
||||||
|
einfo "Modular kernel detected. Gonna build kernel modules..."
|
||||||
|
build_modules=1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
||||||
|
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
||||||
|
die "Nonmodular kernel detected, will not build kernel modules"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_with modules kmod) \
|
||||||
|
--disable-static \
|
||||||
|
--with-maxsets=${IP_NF_SET_MAX} \
|
||||||
|
--libdir="${EPREFIX}/$(get_libdir)" \
|
||||||
|
--with-ksource="${KV_DIR}" \
|
||||||
|
--with-kbuild="${KV_OUT_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo "Building userspace"
|
||||||
|
emake
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Building kernel modules"
|
||||||
|
set_arch_to_kernel
|
||||||
|
emake modules
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einfo "Installing userspace"
|
||||||
|
default
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/ipset.initd-r3 ${PN}
|
||||||
|
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
||||||
|
keepdir /var/lib/ipset
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Installing kernel modules"
|
||||||
|
linux-mod_src_install
|
||||||
|
fi
|
||||||
|
}
|
114
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.21.1.ebuild
vendored
Normal file
114
sdk_container/src/third_party/portage-stable/net-firewall/ipset/ipset-6.21.1.ebuild
vendored
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-6.21.1.ebuild,v 1.1 2014/06/20 20:57:10 robbat2 Exp $
|
||||||
|
|
||||||
|
EAPI="5"
|
||||||
|
MODULES_OPTIONAL_USE=modules
|
||||||
|
inherit autotools linux-info linux-mod
|
||||||
|
|
||||||
|
DESCRIPTION="IPset tool for iptables, successor to ippool."
|
||||||
|
HOMEPAGE="http://ipset.netfilter.org/"
|
||||||
|
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
|
||||||
|
RDEPEND=">=net-firewall/iptables-1.4.7
|
||||||
|
net-libs/libmnl"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( ChangeLog INSTALL README UPGRADE )
|
||||||
|
|
||||||
|
# configurable from outside, e.g. /etc/make.conf
|
||||||
|
IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
|
||||||
|
|
||||||
|
BUILD_TARGETS="modules"
|
||||||
|
MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
|
||||||
|
MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
|
||||||
|
for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net{,port{,net},iface,net}},_list_set}; do
|
||||||
|
MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
|
||||||
|
done
|
||||||
|
|
||||||
|
check_header_patch() {
|
||||||
|
if ! $(grep -q NFNL_SUBSYS_IPSET "${KV_DIR}/include/linux/netfilter/nfnetlink.h"); then
|
||||||
|
eerror "Sorry, but you have to patch kernel sources with the following patch:"
|
||||||
|
eerror " # cd ${KV_DIR}"
|
||||||
|
eerror " # patch -i ${S}/netlink.patch -p1"
|
||||||
|
eerror "You should recompile and run new kernel to avoid runtime errors."
|
||||||
|
die "Unpatched kernel"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
get_version
|
||||||
|
CONFIG_CHECK="NETFILTER"
|
||||||
|
ERROR_NETFILTER="ipset requires NETFILTER support in your kernel."
|
||||||
|
# It does still build without NET_NS, but it may be needed in future.
|
||||||
|
#CONFIG_CHECK="${CONFIG_CHECK} NET_NS"
|
||||||
|
#ERROR_NET_NS="ipset requires NET_NS (network namespace) support in your kernel."
|
||||||
|
|
||||||
|
build_modules=0
|
||||||
|
if use modules; then
|
||||||
|
kernel_is -lt 2 6 35 && die "${PN} requires kernel greater then 2.6.35."
|
||||||
|
if linux_config_src_exists && linux_chkconfig_builtin "MODULES" ; then
|
||||||
|
if linux_chkconfig_present "IP_NF_SET" || \
|
||||||
|
linux_chkconfig_present "IP_SET"; then #274577
|
||||||
|
eerror "There is IP{,_NF}_SET or NETFILTER_XT_SET support in your kernel."
|
||||||
|
eerror "Please either build ipset with modules USE flag disabled"
|
||||||
|
eerror "or rebuild kernel without IP_SET support and make sure"
|
||||||
|
eerror "there is NO kernel ip_set* modules in /lib/modules/<your_kernel>/... ."
|
||||||
|
die "USE=modules and in-kernel ipset support detected."
|
||||||
|
else
|
||||||
|
einfo "Modular kernel detected. Gonna build kernel modules..."
|
||||||
|
build_modules=1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
eerror "Nonmodular kernel detected, but USE=modules. Either build"
|
||||||
|
eerror "modular kernel (without IP_SET) or disable USE=modules"
|
||||||
|
die "Nonmodular kernel detected, will not build kernel modules"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
[[ ${build_modules} -eq 1 ]] && linux-mod_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
[[ ${build_modules} -eq 1 ]] && check_header_patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_with modules kmod) \
|
||||||
|
--disable-static \
|
||||||
|
--with-maxsets=${IP_NF_SET_MAX} \
|
||||||
|
--libdir="${EPREFIX}/$(get_libdir)" \
|
||||||
|
--with-ksource="${KV_DIR}" \
|
||||||
|
--with-kbuild="${KV_OUT_DIR}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo "Building userspace"
|
||||||
|
emake
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Building kernel modules"
|
||||||
|
set_arch_to_kernel
|
||||||
|
emake modules
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einfo "Installing userspace"
|
||||||
|
default
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/ipset.initd-r3 ${PN}
|
||||||
|
newconfd "${FILESDIR}"/ipset.confd ${PN}
|
||||||
|
keepdir /var/lib/ipset
|
||||||
|
|
||||||
|
if [[ ${build_modules} -eq 1 ]]; then
|
||||||
|
einfo "Installing kernel modules"
|
||||||
|
linux-mod_src_install
|
||||||
|
fi
|
||||||
|
}
|
7
sdk_container/src/third_party/portage-stable/net-firewall/ipset/metadata.xml
vendored
Normal file
7
sdk_container/src/third_party/portage-stable/net-firewall/ipset/metadata.xml
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer>
|
||||||
|
<email>robbat2@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
111
sdk_container/src/third_party/portage-stable/net-libs/libmnl/ChangeLog
vendored
Normal file
111
sdk_container/src/third_party/portage-stable/net-libs/libmnl/ChangeLog
vendored
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
# ChangeLog for net-libs/libmnl
|
||||||
|
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/ChangeLog,v 1.31 2013/06/24 21:21:44 vapier Exp $
|
||||||
|
|
||||||
|
24 Jun 2013; Mike Frysinger <vapier@gentoo.org> libmnl-1.0.3-r1.ebuild:
|
||||||
|
Simplify how we install libmnl into / by letting gen_usr_ldscript do all the
|
||||||
|
work. This also avoids installing an empty /lib/pkgconfig dir.
|
||||||
|
|
||||||
|
29 Apr 2013; Jeroen Roovers <jer@gentoo.org> libmnl-1.0.3-r1.ebuild:
|
||||||
|
Fix building with USE=-static-libs.
|
||||||
|
|
||||||
|
*libmnl-1.0.3-r1 (29 Apr 2013)
|
||||||
|
|
||||||
|
29 Apr 2013; Jeroen Roovers <jer@gentoo.org> -libmnl-1.0.2.ebuild,
|
||||||
|
+libmnl-1.0.3-r1.ebuild:
|
||||||
|
Add USE=static-libs.
|
||||||
|
|
||||||
|
21 Feb 2013; Jeroen Roovers <jer@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Stable for HPPA (bug #457806).
|
||||||
|
|
||||||
|
21 Feb 2013; Agostino Sarubbo <ago@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Stable for sparc, wrt bug #457806
|
||||||
|
|
||||||
|
21 Feb 2013; Agostino Sarubbo <ago@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Stable for ia64, wrt bug #457806
|
||||||
|
|
||||||
|
19 Feb 2013; Agostino Sarubbo <ago@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Stable for alpha, wrt bug #457806
|
||||||
|
|
||||||
|
18 Feb 2013; Agostino Sarubbo <ago@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Stable for ppc64, wrt bug #457806
|
||||||
|
|
||||||
|
18 Feb 2013; Agostino Sarubbo <ago@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Stable for ppc, wrt bug #457806
|
||||||
|
|
||||||
|
17 Feb 2013; Agostino Sarubbo <ago@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Stable for x86, wrt bug #457806
|
||||||
|
|
||||||
|
16 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Stable on arm, wrt bug #457806
|
||||||
|
|
||||||
|
16 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Stable on amd64, wrt bug #457806
|
||||||
|
|
||||||
|
16 Feb 2013; Tim Harder <radhermit@gentoo.org> metadata.xml:
|
||||||
|
Add to netmon herd.
|
||||||
|
|
||||||
|
16 Feb 2013; Pacho Ramos <pacho@gentoo.org> -libmnl-1.0.1.ebuild,
|
||||||
|
metadata.xml:
|
||||||
|
Cleanup due bug #96436
|
||||||
|
|
||||||
|
08 Feb 2013; Mike Frysinger <vapier@gentoo.org> libmnl-1.0.1.ebuild,
|
||||||
|
libmnl-1.0.2.ebuild, libmnl-1.0.3.ebuild:
|
||||||
|
Fix docompress path, and simplify the find deletes.
|
||||||
|
|
||||||
|
29 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Use prune_libtool_files instead of manual removing, add ~amd64-linux keyword
|
||||||
|
|
||||||
|
01 Dec 2012; Raúl Porcel <armin76@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
Add ~alpha/~ia64/~sparc wrt #439394, #432974
|
||||||
|
|
||||||
|
26 Oct 2012; Anthony G. Basile <blueness@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
keyword ~arm, bug #439394
|
||||||
|
|
||||||
|
26 Oct 2012; Anthony G. Basile <blueness@gentoo.org> libmnl-1.0.3.ebuild:
|
||||||
|
keyword ~ppc64, bug #432974
|
||||||
|
|
||||||
|
*libmnl-1.0.3 (02 Sep 2012)
|
||||||
|
|
||||||
|
02 Sep 2012; Tim Harder <radhermit@gentoo.org> +libmnl-1.0.3.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
24 Aug 2012; Jeroen Roovers <jer@gentoo.org> libmnl-1.0.2.ebuild:
|
||||||
|
Marked ~hppa (bug #432380).
|
||||||
|
|
||||||
|
11 Aug 2012; Markus Meier <maekke@gentoo.org> libmnl-1.0.2.ebuild:
|
||||||
|
x86 stable, bug #419263
|
||||||
|
|
||||||
|
03 Aug 2012; Markos Chandras <hwoarang@gentoo.org> libmnl-1.0.2.ebuild:
|
||||||
|
Stable on amd64 wrt bug #419263
|
||||||
|
|
||||||
|
02 Aug 2012; Jeroen Roovers <jer@gentoo.org> libmnl-1.0.1.ebuild,
|
||||||
|
libmnl-1.0.2.ebuild:
|
||||||
|
Fix spelling.
|
||||||
|
|
||||||
|
14 Jun 2012; Michael Weber <xmw@gentoo.org> libmnl-1.0.2.ebuild:
|
||||||
|
adding ~ppc keyword (bug 304037)
|
||||||
|
|
||||||
|
*libmnl-1.0.2 (25 Jan 2012)
|
||||||
|
|
||||||
|
25 Jan 2012; Peter Volkov <pva@gentoo.org> +libmnl-1.0.2.ebuild:
|
||||||
|
Version bump.
|
||||||
|
|
||||||
|
16 Sep 2011; Tony Vroon <chainsaw@gentoo.org> libmnl-1.0.1.ebuild:
|
||||||
|
Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney &
|
||||||
|
Tomáš "Mepho" Pružina in bug #381613.
|
||||||
|
|
||||||
|
15 Sep 2011; Andreas Schuerch <nativemad@gentoo.org> libmnl-1.0.1.ebuild:
|
||||||
|
x86 stable, bug 381613
|
||||||
|
|
||||||
|
01 May 2011; Fabian Groffen <grobian@gentoo.org> libmnl-1.0.1.ebuild:
|
||||||
|
Fix econf call for Prefix
|
||||||
|
|
||||||
|
01 May 2011; Peter Volkov <pva@gentoo.org> libmnl-1.0.1.ebuild:
|
||||||
|
Put library into / and libmnl.pc into searchable by pkg-config path.
|
||||||
|
|
||||||
|
*libmnl-1.0.1 (01 May 2011)
|
||||||
|
|
||||||
|
01 May 2011; Peter Volkov <pva@gentoo.org> +libmnl-1.0.1.ebuild,
|
||||||
|
+metadata.xml:
|
||||||
|
Initial import. Required for new ipset.
|
25
sdk_container/src/third_party/portage-stable/net-libs/libmnl/Manifest
vendored
Normal file
25
sdk_container/src/third_party/portage-stable/net-libs/libmnl/Manifest
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
|
Hash: SHA256
|
||||||
|
|
||||||
|
DIST libmnl-1.0.3.tar.bz2 337375 SHA256 6f14336e9acdbc62c2dc71bbb59ce162e54e9af5c80153e92476c5443fe784de SHA512 c47b76a6125271ef9dce13bc8bebd415d2bbd79b6d50491d8ba23344e7e6fe0c1413fe055913ab9444203f0d73166b79f0d4b532b13b62feecde3e5a8cd442a7 WHIRLPOOL 80717c63015e8df36a11c2b7914d63747ff296fac72b4f3a66670038f94d28961ddc6dce2050c41d3ceaf195030b61535ee84a628fa1fa686d8fed013f4d6261
|
||||||
|
EBUILD libmnl-1.0.3-r1.ebuild 830 SHA256 ba28c0bfe15c70305e3d49dc83fa0d294eef34e739d971cb2e8fbdbe87f9148d SHA512 1cdb249e04b39bf184b9aa3e34da8968fc00326b19ce2515030886168d1675a8bc152bbdce263cf4c8fd555db7f58cfba43165ce275ff29eb3a8d4a6bfa93cf9 WHIRLPOOL fda65c393ab1247282cdad3af5f26a12beb920782ff406be80ce7b02d09f55d02abe721e02ee2a65f49a957ae0bb2c726dd21db124f8c0f5292ba86944dc4ccc
|
||||||
|
EBUILD libmnl-1.0.3.ebuild 877 SHA256 346ac52d722ccb80031a0d6a89ba5877ef2d36e506b179a365e280f94f89fdef SHA512 68462943ecd46d7de23633e83a426e3a2ed7acfeb7dc2858b583154d0abbbccdce54c4a653ce5c1d898353eed27b7fc3ed5eac83e3c50923b9b8c12ba3d56695 WHIRLPOOL 4ee405b420ce16fe9c876bea7de2d06399e92cd8f4f3ecfe2f65224538eb27ef63113ff0db4e3b8848159b97fa645ba16d10fc3917935194a6bd1bce23b76e2a
|
||||||
|
MISC ChangeLog 3912 SHA256 bfb78a8c26df33351f943d588082ce0d62dd895ef1967a8c25a5692a93010153 SHA512 ddafe5e32e4a4683ac43e80e7ca25616827ba039ec0461ea8b568318529f6c434c7f33bb9eef2bab53897b4a5730493e7d22dfc3fb55aad1c63d35822d5d54ac WHIRLPOOL 9563c0cf96c6c31933aa0060741fa88162a93b287c8cde7a2ff7752c458016125dba19f557a0c481deafa162b706e7fcf32f409feebf52c5098486792a73ae40
|
||||||
|
MISC metadata.xml 548 SHA256 28a8017caf4f83aad20dad3aa1af6eab5d5bb6916500459b447ffe2faa543d9d SHA512 155c22299b7a2b59accdf51c8a641e7a12a501e549d1f97f6a655b1d47d3951b0120acb3593eb84cda2baad12b52db31811a100ca672e58f2dd4299c2be69d28 WHIRLPOOL 0c643a51187ef69dd6f2edc91aafdc63e2eba8dba2b122d9efe168733badeef0c5c7cb946a8f5ee5d6d859b14e85a896b6cc127a15b1e2a3b8aeaece8010457c
|
||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||||
|
|
||||||
|
iQIcBAEBCAAGBQJRyLhrAAoJELEHsLL7fEFWJ9UP/iaOwTcoZBk2kNEg9/n5zxvO
|
||||||
|
5Nm4yn+J1+DiLNIUlmIiR+jbyKnbA9bgFUBVon72Id6Tx6vpo2cLVDbtp+Dqk8/p
|
||||||
|
OgSKCcKa9drVESDoQefIFR9N4O40MqwHuEQNpluJyd/GAxeQC4iWgXVrBekpwoeL
|
||||||
|
D/rH6nHYjcWu+Po+kQjTXO4gjlsMNZjLv32jlw33Il947x3aGgFzNiR4SssC/UfE
|
||||||
|
1Wu5D4B2gOQ5pnqNu88NBKUF6lgQQ3nFV02QIHDrjnhZ499l4Q/XFG1am0kNA+du
|
||||||
|
N8+iss1QwpBk7nmEd11Heu6bZyEWMYp4EZuYPVyAdm6SF2B5rL4bQ98ctQ5+mpcT
|
||||||
|
tpUwrQTMrfAmQX47YaTZM5X5wT+HvNTJWygtmPACaHo5arGO0C4ykqfF1XdXk24+
|
||||||
|
Qrg7GOhptuoLkTwbk6twTHPILtUW9Wdc5BPONxVJvvzVQj4tGB51Wy70lTOBQcMz
|
||||||
|
AjjywJVVnWe5DFOG3KRLdd3i6eD7aYKrX4rtDqanX/zLiXNgc4xq5wU0k0SST2i3
|
||||||
|
BAXVCJL0kgbohiSQBJ9fpwwZr85/oLXa4hcZZNWy/P02SqafjmKZxHZ/hL8dZoQQ
|
||||||
|
+8xNSnwPEecXALJXJPKEJPsoRRsCSGGn+z8ywpEHF07JMKB334LRP9Sc7bvWsPzv
|
||||||
|
aBF5dwzIof6VlFKbXqNm
|
||||||
|
=nDIb
|
||||||
|
-----END PGP SIGNATURE-----
|
32
sdk_container/src/third_party/portage-stable/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
vendored
Normal file
32
sdk_container/src/third_party/portage-stable/net-libs/libmnl/libmnl-1.0.3-r1.ebuild
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/libmnl-1.0.3-r1.ebuild,v 1.3 2013/06/24 21:21:43 vapier Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit eutils toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Minimalistic netlink library"
|
||||||
|
HOMEPAGE="http://netfilter.org/projects/libmnl"
|
||||||
|
SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
|
||||||
|
IUSE="examples static-libs"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf $(use_enable static-libs static)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
gen_usr_ldscript -a mnl
|
||||||
|
prune_libtool_files
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
find examples/ -name 'Makefile*' -delete
|
||||||
|
dodoc -r examples/
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
}
|
35
sdk_container/src/third_party/portage-stable/net-libs/libmnl/libmnl-1.0.3.ebuild
vendored
Normal file
35
sdk_container/src/third_party/portage-stable/net-libs/libmnl/libmnl-1.0.3.ebuild
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/net-libs/libmnl/libmnl-1.0.3.ebuild,v 1.15 2013/02/21 16:41:45 jer Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit eutils multilib
|
||||||
|
|
||||||
|
DESCRIPTION="Minimalistic netlink library"
|
||||||
|
HOMEPAGE="http://netfilter.org/projects/libmnl"
|
||||||
|
SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux"
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--libdir="${EPREFIX}"/$(get_libdir)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
dodir /usr/$(get_libdir)/pkgconfig/
|
||||||
|
mv "${ED}"/{,usr/}$(get_libdir)/pkgconfig/libmnl.pc || die
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
find examples/ -name 'Makefile*' -delete
|
||||||
|
dodoc -r examples/
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
|
||||||
|
prune_libtool_files
|
||||||
|
}
|
13
sdk_container/src/third_party/portage-stable/net-libs/libmnl/metadata.xml
vendored
Normal file
13
sdk_container/src/third_party/portage-stable/net-libs/libmnl/metadata.xml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>netmon</herd>
|
||||||
|
<longdescription lang="en">
|
||||||
|
libmnl is a minimalistic user-space library oriented to Netlink developers.
|
||||||
|
There are a lot of common tasks in parsing, validating, constructing of both
|
||||||
|
the Netlink header and TLVs that are repetitive and easy to get wrong. This
|
||||||
|
library aims to provide simple helpers that allows you to re-use code and to
|
||||||
|
avoid re-inventing the wheel.
|
||||||
|
</longdescription>
|
||||||
|
</pkgmetadata>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user