From 4ca678a8577175d6bd9f2e3baf7e717a19e201d9 Mon Sep 17 00:00:00 2001 From: Tim FitzGeorge Date: Tue, 5 Apr 2022 05:29:03 +0200 Subject: [PATCH] ipblocklist-sources: New package. Placing the ipblocklist sources file as an own package, easily allows to update this single file during a core update and to keep the vendor details for the blocklists up-to-date. Signed-off-by: Tim FitzGeorge Signed-off-by: Stefan Schantl --- config/rootfiles/common/ipblocklist-sources | 1 + lfs/ipblocklist-sources | 53 +++++++++++++++++++++ make.sh | 1 + 3 files changed, 55 insertions(+) create mode 100644 config/rootfiles/common/ipblocklist-sources create mode 100644 lfs/ipblocklist-sources diff --git a/config/rootfiles/common/ipblocklist-sources b/config/rootfiles/common/ipblocklist-sources new file mode 100644 index 0000000000..e1789037b1 --- /dev/null +++ b/config/rootfiles/common/ipblocklist-sources @@ -0,0 +1 @@ +var/ipfire/ipblocklist/sources diff --git a/lfs/ipblocklist-sources b/lfs/ipblocklist-sources new file mode 100644 index 0000000000..9cc1cc8a24 --- /dev/null +++ b/lfs/ipblocklist-sources @@ -0,0 +1,53 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2022 IPFire development 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 = ipfire + +THISAPP = ipblocklist-sources +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +install : $(TARGET) + +check : + +download : + +md5 : + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : + @$(PREBUILD) + mkdir -p /var/ipfire/ipblocklist + install -v -m 0644 $(DIR_SRC)/config/ipblocklist/sources /var/ipfire/ipblocklist + + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 4c2dc10b56..89bc7ec416 100755 --- a/make.sh +++ b/make.sh @@ -1439,6 +1439,7 @@ buildipfire() { lfsmake2 hyperscan lfsmake2 suricata lfsmake2 ids-ruleset-sources + lfsmake2 ipblocklist-sources lfsmake2 squid lfsmake2 squidguard lfsmake2 calamaris -- 2.39.2