]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Snortsnarf hinzugefuegt.
authorlinuxadmin <linuxadmin@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Thu, 3 May 2007 23:39:11 +0000 (23:39 +0000)
committerlinuxadmin <linuxadmin@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Thu, 3 May 2007 23:39:11 +0000 (23:39 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@520 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

doc/packages-list.txt
lfs/snortsnarf [new file with mode: 0644]
make.sh

index 5897b46dcfb41bfea4f54553798b7770086690fe..df21e8bd5607ebb0572a271f587f775bc990b9af 100644 (file)
@@ -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
 * 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
 * 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
 * mpg123-0.59r
 * mtools-3.9.10
 * mysql-5.0.24a
+* nagios-2.5
 * nano-1.2.5
 * nash
 * nasm-0.98.39
 * ntop-3.2
 * ntp-4.2.2
 * ocaml-3.09.2
+* oinkmaster-1.2
 * oinkmaster-2.0
 * openldap-2.3.20
 * openssh-4.3p2
 * 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
 * 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 (file)
index 0000000..ef6de27
--- /dev/null
@@ -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 <rod@sunsetsystems.com>                        #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# 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 b395223bf2805c2ab6e5ce77cda30950391203d8..5659082fa9a4d375cdd236f9467d0598d406f96c 100644 (file)
--- 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