]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Added libdnet needed by snort 2.9.
authorChristian Schmidt <maniacikarus@ipfire.org>
Mon, 6 Dec 2010 17:45:39 +0000 (18:45 +0100)
committerChristian Schmidt <maniacikarus@ipfire.org>
Mon, 6 Dec 2010 17:45:39 +0000 (18:45 +0100)
config/rootfiles/common/libdnet-1.11 [new file with mode: 0644]
lfs/libdnet [new file with mode: 0644]

diff --git a/config/rootfiles/common/libdnet-1.11 b/config/rootfiles/common/libdnet-1.11
new file mode 100644 (file)
index 0000000..07917ed
--- /dev/null
@@ -0,0 +1,26 @@
+usr/bin/dnet-config
+#usr/include/dnet
+#usr/include/dnet.h
+#usr/include/dnet/addr.h
+#usr/include/dnet/arp.h
+#usr/include/dnet/blob.h
+#usr/include/dnet/eth.h
+#usr/include/dnet/fw.h
+#usr/include/dnet/icmp.h
+#usr/include/dnet/intf.h
+#usr/include/dnet/ip.h
+#usr/include/dnet/ip6.h
+#usr/include/dnet/os.h
+#usr/include/dnet/rand.h
+#usr/include/dnet/route.h
+#usr/include/dnet/tcp.h
+#usr/include/dnet/tun.h
+#usr/include/dnet/udp.h
+usr/lib/libdnet
+usr/lib/libdnet.1
+usr/lib/libdnet.1.0.1
+usr/lib/libdnet.a
+usr/lib/libdnet.la
+#usr/man/man3/dnet.3
+#usr/man/man8/dnet.8
+usr/sbin/dnet
diff --git a/lfs/libdnet b/lfs/libdnet
new file mode 100644 (file)
index 0000000..66adfb2
--- /dev/null
@@ -0,0 +1,77 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# 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 <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 1.11
+
+THISAPP    = libdnet-$(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 = 04c394ed8e1e7fc455456e79e908916d
+
+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)
+       cd $(DIR_APP) && ./configure --prefix=/usr
+       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make install
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)