From fec7a5b72f3c414d92a5a2d925b001c4705dc0a8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 23 Jun 2015 14:01:44 +0200 Subject: [PATCH] libnetfilter_cthelper: New package Signed-off-by: Michael Tremer --- config/rootfiles/common/libnetfilter_cthelper | 7 ++ .../core/92/filelists/libnetfilter_cthelper | 1 + lfs/libnetfilter_cthelper | 77 +++++++++++++++++++ make.sh | 1 + 4 files changed, 86 insertions(+) create mode 100644 config/rootfiles/common/libnetfilter_cthelper create mode 120000 config/rootfiles/core/92/filelists/libnetfilter_cthelper create mode 100644 lfs/libnetfilter_cthelper diff --git a/config/rootfiles/common/libnetfilter_cthelper b/config/rootfiles/common/libnetfilter_cthelper new file mode 100644 index 0000000000..4e2e9e5bdb --- /dev/null +++ b/config/rootfiles/common/libnetfilter_cthelper @@ -0,0 +1,7 @@ +#usr/include/libnetfilter_cthelper +#usr/include/libnetfilter_cthelper/libnetfilter_cthelper.h +#usr/lib/libnetfilter_cthelper.la +#usr/lib/libnetfilter_cthelper.so +usr/lib/libnetfilter_cthelper.so.0 +usr/lib/libnetfilter_cthelper.so.0.0.0 +#usr/lib/pkgconfig/libnetfilter_cthelper.pc diff --git a/config/rootfiles/core/92/filelists/libnetfilter_cthelper b/config/rootfiles/core/92/filelists/libnetfilter_cthelper new file mode 120000 index 0000000000..02fac036e6 --- /dev/null +++ b/config/rootfiles/core/92/filelists/libnetfilter_cthelper @@ -0,0 +1 @@ +../../../common/libnetfilter_cthelper \ No newline at end of file diff --git a/lfs/libnetfilter_cthelper b/lfs/libnetfilter_cthelper new file mode 100644 index 0000000000..3b469e6ae5 --- /dev/null +++ b/lfs/libnetfilter_cthelper @@ -0,0 +1,77 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2013 IPFire Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 1.0.0 + +THISAPP = libnetfilter_cthelper-$(VER) +DL_FILE = $(THISAPP).tar.bz2 +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = b2efab1a3a198a5add448960ba011acd + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index e06abfdc52..9487883540 100755 --- a/make.sh +++ b/make.sh @@ -408,6 +408,7 @@ buildipfire() { ipfiremake libnfnetlink ipfiremake libnetfilter_queue ipfiremake libnetfilter_conntrack + ipfiremake libnetfilter_cthelper ipfiremake libnetfilter_cttimeout ipfiremake iptables -- 2.39.2