From 07e6b1a931eadead8f0428fdef7f505653a98a10 Mon Sep 17 00:00:00 2001 From: linuxadmin Date: Thu, 3 May 2007 23:39:11 +0000 Subject: [PATCH] Snortsnarf hinzugefuegt. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@520 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- doc/packages-list.txt | 9 +++++ lfs/snortsnarf | 80 +++++++++++++++++++++++++++++++++++++++++++ make.sh | 1 + 3 files changed, 90 insertions(+) create mode 100644 lfs/snortsnarf diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 5897b46dcf..df21e8bd56 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -27,6 +27,7 @@ * Net-Server-0.93 * Net_SSLeay.pm-1.25 * Python-2.4.3 +* SnortSnarf-050314.1 * Text-Tabs+Wrap-2005.0824 * URI-1.35 * Unix-Syslog-0.100 @@ -60,6 +61,7 @@ * cyrus-imapd-2.2.12 * cyrus-sasl-2.1.21 * db-4.4.20 +* dbus-0.62 * dhcp-3.0.4 * dhcpcd-2.0.8 * diffutils-2.8.1 @@ -104,11 +106,13 @@ * groff-1.18.1.1 * grub-0.97 * gzip-1.3.5 +* hal-0.5.7.1 * hddtemp-0.3-beta14 * hdparm-6.6 * htop-0.6.2 * httpd-2.2.2 * hwdata-0.191 +* hwinfo-ipfire * iana-etc-2.10 * ibod * iftop-0.17 @@ -119,6 +123,7 @@ * ipp2p-0.8.2-iptables * iproute2-2.6.16-060323 * iptables-1.3.5 +* iptraf-3.0.0 * iptstate-2.1 * iputils-ss020927 * isapnptools-1.26 @@ -171,6 +176,7 @@ * mpg123-0.59r * mtools-3.9.10 * mysql-5.0.24a +* nagios-2.5 * nano-1.2.5 * nash * nasm-0.98.39 @@ -185,6 +191,7 @@ * ntop-3.2 * ntp-4.2.2 * ocaml-3.09.2 +* oinkmaster-1.2 * oinkmaster-2.0 * openldap-2.3.20 * openssh-4.3p2 @@ -220,6 +227,7 @@ * shadow-4.0.15 * slang-2.0.6 * smartmontools-5.36 +* snort-2.3.3 * snort-2.6.1.4 * sox-12.18.1 * spandsp-0.0.3pre24 @@ -241,6 +249,7 @@ * tftp-hpa-0.42 * tiff-3.8.2 * traceroute-1.4a12 +* tripwire-2.4.0.1 * tripwire-2.4.1.2 * uClibc-0.9.28-pass1 * uClibc-0.9.28-pass2 diff --git a/lfs/snortsnarf b/lfs/snortsnarf new file mode 100644 index 0000000000..ef6de27bba --- /dev/null +++ b/lfs/snortsnarf @@ -0,0 +1,80 @@ +############################################################################### +# This file is part of the IPCop Firewall. # +# # +# IPCop 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 2 of the License, or # +# (at your option) any later version. # +# # +# IPCop 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 IPCop; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Makefiles are based on LFSMake, which is # +# Copyright (C) 2002 Rod Roard # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 050314.1 + +THISAPP = SnortSnarf-$(VER) +DL_FILE = $(THISAPP).tar.gz +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 = 28ad6d1c492d69ff519f7cab1549123d + +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 zxf $(DIR_DL)/$(DL_FILE) + mkdir /etc/snortsnarf + cp -R $(DIR_APP)/* /etc/snortsnarf + # install -m 0644 $(DIR_SRC)$(DL_FILE) /etc/snortsnarf/ + chown nobody:nobody /etc/snortsnarf/snortsnarf.pl + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index b395223bf2..5659082fa9 100644 --- a/make.sh +++ b/make.sh @@ -458,6 +458,7 @@ buildipfire() { ipfiremake setserial ipfiremake setup ipfiremake snort + ipfiremake snortsnarf ipfiremake squid ipfiremake squid-graph ipfiremake squidguard -- 2.39.2