From: Daniel Black Date: Sun, 15 Apr 2007 10:30:43 +0000 (+0000) Subject: inital import. bug #173390 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b8ac363dbdbd97a4620529f929441615bff6519;p=gentoo.git inital import. bug #173390 Package-Manager: portage-2.1.2.2 --- 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 + +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..af44195a3690 --- /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 951 RMD160 c043c16ae5def50f02ee387d76e15391b1b54530 SHA1 b1d1800ceea35ccfddad803a6edf14bf4831d235 SHA256 067e840a36743e453c0ebe6516faf8a3592d63f0ec9b9e7bd176b271e769a8ca +MD5 b6ad26a9aa060e051f8b6de301903211 l7-filter-userspace-0.4.ebuild 951 +RMD160 c043c16ae5def50f02ee387d76e15391b1b54530 l7-filter-userspace-0.4.ebuild 951 +SHA256 067e840a36743e453c0ebe6516faf8a3592d63f0ec9b9e7bd176b271e769a8ca l7-filter-userspace-0.4.ebuild 951 +MISC ChangeLog 531 RMD160 44c42b001224e2c9b30e3d75f4ddd962d4849040 SHA1 a0c724a2ddd5538e998fa497e377c920354a1352 SHA256 ac5f7cfc7137143e1524d22d2f26339b190b887d8e419c460ed64f056b581d6d +MD5 95a0925817850d98a01f4b69daad9315 ChangeLog 531 +RMD160 44c42b001224e2c9b30e3d75f4ddd962d4849040 ChangeLog 531 +SHA256 ac5f7cfc7137143e1524d22d2f26339b190b887d8e419c460ed64f056b581d6d ChangeLog 531 +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 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 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 +@@ -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 @@ + + + +no-herd +dragonheart@gentoo.org +