From fef3c3e18aecab4764a7d19011e3e3ebdac2e1ba Mon Sep 17 00:00:00 2001 From: Andrew Savchenko Date: Mon, 4 Nov 2019 19:49:06 +0300 Subject: [PATCH] net-misc/l7-protocols: remove old version Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Andrew Savchenko --- .../l7-protocols-2009.05.28.ebuild | 65 ------------------- 1 file changed, 65 deletions(-) delete mode 100644 net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild diff --git a/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild b/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild deleted file mode 100644 index c6dc39ec2398..000000000000 --- a/net-misc/l7-protocols/l7-protocols-2009.05.28.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit eutils fixheadtails toolchain-funcs - -IUSE="" - -MY_P=${PN}-${PV//./-} - -DESCRIPTION="Protocol definitions of l7-filter kernel modules" -HOMEPAGE="http://l7-filter.sourceforge.net/protocols" - -SRC_URI="mirror://sourceforge/l7-filter/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~s390 ~sh sparc x86" -S=${WORKDIR}/${MY_P} - -src_unpack() { - unpack ${A} - - cd "${S}" - sed -e "s|gcc.*\-o|$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o|g" \ - -e "s|g++.*\-o|$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o|g" \ - -i testing/Makefile - ht_fix_file testing/*.sh -} - -src_compile() { - emake -C testing || die -} - -# NOTE Testing mechanism is currently broken: -# stack smashing attack in function main() - -# Is also extraordinarly inefficent getting random data. -# -#src_test() { -# cd testing -# find ${S} -name \*.pat -print -exec ./test_match.sh {} \; \ -# -exec ./timeit.sh {} \; || die "failed tests" -# einfo "patterns past testing" -#} - -src_install() { - dodir /usr/share/${PN} - pushd testing > /dev/null - cp -pPR randprintable randchars test_speed-{kernel,userspace} README \ - match_kernel *.sh data "${D}"/usr/share/${PN} - popd > /dev/null - mv example_traffic "${D}"/usr/share/${PN} - - dodoc README CHANGELOG HOWTO WANTED || die - for dir in extra file_types malware ; do - newdoc ${dir}/README README.${dir} - done - rm -rf README CHANGELOG HOWTO LICENSE Makefile WANTED */README testing - - dodir /etc/l7-protocols - cp -R * "${D}"/etc/l7-protocols - chown -R root:0 "${D}" -} -- 2.26.2