summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-04-15 10:30:43 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-04-15 10:30:43 +0000
commite7cd32fec068b020b0a874e2efec13a747826614 (patch)
treedd748b6a28de5ce87b9091e9a52fca565c0496eb /net-misc/l7-filter-userspace
parentFix patchset, bug 174645 (diff)
downloadgentoo-2-e7cd32fec068b020b0a874e2efec13a747826614.tar.gz
gentoo-2-e7cd32fec068b020b0a874e2efec13a747826614.tar.bz2
gentoo-2-e7cd32fec068b020b0a874e2efec13a747826614.zip
inital import. bug #173390
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-misc/l7-filter-userspace')
-rw-r--r--net-misc/l7-filter-userspace/ChangeLog11
-rw-r--r--net-misc/l7-filter-userspace/Manifest28
-rw-r--r--net-misc/l7-filter-userspace/files/Makefile.am13
-rw-r--r--net-misc/l7-filter-userspace/files/configure.ac20
-rw-r--r--net-misc/l7-filter-userspace/files/digest-l7-filter-userspace-0.43
-rw-r--r--net-misc/l7-filter-userspace/files/l7-filter-userspace-0.4-misc.patch34
-rw-r--r--net-misc/l7-filter-userspace/l7-filter-userspace-0.4.ebuild38
-rw-r--r--net-misc/l7-filter-userspace/metadata.xml6
8 files changed, 153 insertions, 0 deletions
diff --git a/net-misc/l7-filter-userspace/ChangeLog b/net-misc/l7-filter-userspace/ChangeLog
new file mode 100644
index 000000000000..0fbfcf7a6de7
--- /dev/null
+++ b/net-misc/l7-filter-userspace/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/l7-filter-userspace
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter-userspace/ChangeLog,v 1.1 2007/04/15 10:30:43 dragonheart Exp $
+
+*l7-filter-userspace-0.4 (15 Apr 2007)
+
+ 15 Apr 2007; Daniel Black <dragonheart@gentoo.org>
+ +files/l7-filter-userspace-0.4-misc.patch, +files/Makefile.am,
+ +files/configure.ac, +metadata.xml, +l7-filter-userspace-0.4.ebuild:
+ inital import thanks to Nebojsa Trpkovics request in bug 173390/
+
diff --git a/net-misc/l7-filter-userspace/Manifest b/net-misc/l7-filter-userspace/Manifest
new file mode 100644
index 000000000000..0612c785afe9
--- /dev/null
+++ b/net-misc/l7-filter-userspace/Manifest
@@ -0,0 +1,28 @@
+AUX Makefile.am 366 RMD160 274b46980dab67ea209d06bf88dacf1163b4bcd3 SHA1 87d3d8d39e24b9f4650d5484cc13dcdea2a8e4da SHA256 10575dd5f18b8f8be39a33ed48ec89903eb435fb99de9e0f50a955c7caee2be1
+MD5 a8064fae20be3b86c1c26235e74cd2be files/Makefile.am 366
+RMD160 274b46980dab67ea209d06bf88dacf1163b4bcd3 files/Makefile.am 366
+SHA256 10575dd5f18b8f8be39a33ed48ec89903eb435fb99de9e0f50a955c7caee2be1 files/Makefile.am 366
+AUX configure.ac 407 RMD160 a6202ecd5a822db79bb1b432aa53c3bd44817000 SHA1 d4a483b222ef2b54b80842dbc7d8a51549f00923 SHA256 100c77fb73888ab5c03f6a70f0f7664a6605c3c693fed99b0512d7616c74842b
+MD5 db4ed944d19c67f367a39aa7c83b6472 files/configure.ac 407
+RMD160 a6202ecd5a822db79bb1b432aa53c3bd44817000 files/configure.ac 407
+SHA256 100c77fb73888ab5c03f6a70f0f7664a6605c3c693fed99b0512d7616c74842b files/configure.ac 407
+AUX l7-filter-userspace-0.4-misc.patch 1061 RMD160 9894c357277d0fc7826f6d5ef8a74b3adbe3fb39 SHA1 ac13566a63d6cc4aa08f4a026cd279ce42a40c73 SHA256 ced7401737e4cfa2f595ec0b0a62589e14017b3a559afbd6a6bd9a36df8823cf
+MD5 0b34eb85ad8b7910c91a23e03d233ab8 files/l7-filter-userspace-0.4-misc.patch 1061
+RMD160 9894c357277d0fc7826f6d5ef8a74b3adbe3fb39 files/l7-filter-userspace-0.4-misc.patch 1061
+SHA256 ced7401737e4cfa2f595ec0b0a62589e14017b3a559afbd6a6bd9a36df8823cf files/l7-filter-userspace-0.4-misc.patch 1061
+DIST l7-filter-userspace-v0.4.tar.gz 24042 RMD160 e680e45349581a3525ece481490c846abb5943a5 SHA1 1ce92160dc04cddad793e4e6a705c9e29bdf6d5e SHA256 0e3f550879df069f07fc23a5989d451fa7216bccaa5b20b0eb69f7de6f4cc9f9
+EBUILD l7-filter-userspace-0.4.ebuild 928 RMD160 2290b71f79171901c0ad1e63e978c3b5aeb79485 SHA1 9f1277cbc3185acda0f22f5544ddbf94e64be7f9 SHA256 30a0a8e9370b3e769bac121d195c7ab8b227ff6a80e4af1a3aafcbc36b52370d
+MD5 230231cfc51507d55cb6985104a4f5b3 l7-filter-userspace-0.4.ebuild 928
+RMD160 2290b71f79171901c0ad1e63e978c3b5aeb79485 l7-filter-userspace-0.4.ebuild 928
+SHA256 30a0a8e9370b3e769bac121d195c7ab8b227ff6a80e4af1a3aafcbc36b52370d l7-filter-userspace-0.4.ebuild 928
+MISC ChangeLog 426 RMD160 8948354bf1e794b4b32c02cedaec2837888349cf SHA1 7c4e1b024a6935d70bbd25f592c30714de551ead SHA256 10d6ed63d28fee16ec66ba54c98ec75cb908124df0444b11512e7eb53f6dabe9
+MD5 244f95e0270a6fe44aec0321da60a895 ChangeLog 426
+RMD160 8948354bf1e794b4b32c02cedaec2837888349cf ChangeLog 426
+SHA256 10d6ed63d28fee16ec66ba54c98ec75cb908124df0444b11512e7eb53f6dabe9 ChangeLog 426
+MISC metadata.xml 223 RMD160 cff01eb73aa788a3f9b500b8e062baff25f98969 SHA1 620bcbfe3e4f48937207c8c4d03a1c5ae594632c SHA256 a7a47d67e632d5aa22da27dd605894f524342fe0475ddae5113d037f81a6c180
+MD5 2fca58a7644b7fd5e240d2054ab94fbe metadata.xml 223
+RMD160 cff01eb73aa788a3f9b500b8e062baff25f98969 metadata.xml 223
+SHA256 a7a47d67e632d5aa22da27dd605894f524342fe0475ddae5113d037f81a6c180 metadata.xml 223
+MD5 d972f1c3615051cb4dcd8a1e51c3a472 files/digest-l7-filter-userspace-0.4 271
+RMD160 40e7f9b7563b106b50ef5e2ad991265713241f4c files/digest-l7-filter-userspace-0.4 271
+SHA256 49619c8d6aa8e71f53563b1c74e7d25bb23c4ce8e6b1bae15566e32445d1aa53 files/digest-l7-filter-userspace-0.4 271
diff --git a/net-misc/l7-filter-userspace/files/Makefile.am b/net-misc/l7-filter-userspace/files/Makefile.am
new file mode 100644
index 000000000000..05096fc061a4
--- /dev/null
+++ b/net-misc/l7-filter-userspace/files/Makefile.am
@@ -0,0 +1,13 @@
+# Created by Daniel Black <dragonheart@gentoo.org> for the l7-filter projects
+#
+EXTRA_DIST = sample-l7-filter.conf
+
+bin_PROGRAMS = l7-filter
+
+AM_CXXFLAGS = $(NFNETLINK_CFLAGS)
+
+l7_filter_SOURCES = l7-classify.cpp l7-queue.cpp l7-conntrack.cpp l7-filter.cpp l7-parse-patterns.cpp util.cpp
+l7_filter_LDADD = $(NFNETLINK_LIBS)
+#-lpthread
+
+dist_man_MANS = l7-filter.1
diff --git a/net-misc/l7-filter-userspace/files/configure.ac b/net-misc/l7-filter-userspace/files/configure.ac
new file mode 100644
index 000000000000..f6e163680549
--- /dev/null
+++ b/net-misc/l7-filter-userspace/files/configure.ac
@@ -0,0 +1,20 @@
+
+#
+#
+# Created by Daniel Black <dragonheart@gentoo.org> for the l7-filter projects
+#
+
+AC_INIT(l7-filter-userspace, [0.4], [http://sourceforge.net/tracker/?group_id=80085])
+AC_PREREQ(2.60)
+
+AC_CANONICAL_TARGET
+
+AM_INIT_AUTOMAKE
+AC_CONFIG_HEADERS(config.h)
+
+#AC_PROG_CC
+AC_PROG_CXX
+
+PKG_CHECK_MODULES([NFNETLINK], [libnetfilter_conntrack libnetfilter_queue])
+AC_CHECK_LIB(pthread, main)
+AC_OUTPUT([Makefile])
diff --git a/net-misc/l7-filter-userspace/files/digest-l7-filter-userspace-0.4 b/net-misc/l7-filter-userspace/files/digest-l7-filter-userspace-0.4
new file mode 100644
index 000000000000..a50781d37b57
--- /dev/null
+++ b/net-misc/l7-filter-userspace/files/digest-l7-filter-userspace-0.4
@@ -0,0 +1,3 @@
+MD5 0acbb16d1185413836f05363f7e52a98 l7-filter-userspace-v0.4.tar.gz 24042
+RMD160 e680e45349581a3525ece481490c846abb5943a5 l7-filter-userspace-v0.4.tar.gz 24042
+SHA256 0e3f550879df069f07fc23a5989d451fa7216bccaa5b20b0eb69f7de6f4cc9f9 l7-filter-userspace-v0.4.tar.gz 24042
diff --git a/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.4-misc.patch b/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.4-misc.patch
new file mode 100644
index 000000000000..1420a4316c3f
--- /dev/null
+++ b/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.4-misc.patch
@@ -0,0 +1,34 @@
+Index: l7-filter.cpp
+===================================================================
+--- l7-filter.cpp (revision 49)
++++ l7-filter.cpp (working copy)
+@@ -34,6 +34,7 @@
+ #include "l7-queue.h"
+ #include "l7-classify.h"
+ #include "util.h"
++#include "config.h"
+
+ extern "C" {
+ #include <linux/netfilter.h>
+@@ -234,7 +235,7 @@
+ case '?':
+ default:
+ cerr <<
+- "l7-filter v" << L7VERSION <<
++ "l7-filter v" << VERSION <<
+ ", (C) 2006-2007 Ethan Sommer, Matthew Strait\n"
+ "l7-filter comes with ABSOLUTELY NO WARRANTY. This is free software\n"
+ "and you may redistribute it under the terms of the GPLv2.\n"
+Index: util.h
+===================================================================
+--- util.h (revision 49)
++++ util.h (working copy)
+@@ -3,8 +3,6 @@
+ #ifndef L7_UTIL_H
+ #define L7_UTIL_H
+
+-#define L7VERSION 0.4
+-
+ void l7printf(int triviality, const char * format, ...);
+ string friendly_print(unsigned char * s, int size);
+ void print_give_up(string key, unsigned char * buf, int len);
diff --git a/net-misc/l7-filter-userspace/l7-filter-userspace-0.4.ebuild b/net-misc/l7-filter-userspace/l7-filter-userspace-0.4.ebuild
new file mode 100644
index 000000000000..186234cf72fd
--- /dev/null
+++ b/net-misc/l7-filter-userspace/l7-filter-userspace-0.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-filter-userspace/l7-filter-userspace-0.4.ebuild,v 1.1 2007/04/15 10:30:43 dragonheart Exp $
+
+inherit autotools
+
+MY_P=${PN}-v${PV}
+DESCRIPTION="Userspace utilities for layer 7 iptables QoS"
+HOMEPAGE="http://l7-filter.sourceforge.net"
+SRC_URI="mirror://sourceforge/l7-filter/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+SLOT="0"
+S="${WORKDIR}"/${MY_P}
+DEPEND="
+ net-libs/libnetfilter_conntrack
+ net-libs/libnetfilter_queue"
+RDEPEND="net-misc/l7-protocols
+ ${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp "${FILESDIR}"/configure.ac .
+ cp "${FILESDIR}"/Makefile.am .
+ epatch "${FILESDIR}"/${P}-misc.patch
+ mv Changelog ChangeLog
+ mv LICENSE COPYING
+ touch AUTHORS INSTALL NEWS
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README TODO BUGS
+}
diff --git a/net-misc/l7-filter-userspace/metadata.xml b/net-misc/l7-filter-userspace/metadata.xml
new file mode 100644
index 000000000000..3869f71c0dd9
--- /dev/null
+++ b/net-misc/l7-filter-userspace/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>dragonheart@gentoo.org</email></maintainer>
+</pkgmetadata>