diff options
Diffstat (limited to 'net-misc/netsed')
-rw-r--r-- | net-misc/netsed/Manifest | 2 | ||||
-rw-r--r-- | net-misc/netsed/metadata.xml | 10 | ||||
-rw-r--r-- | net-misc/netsed/netsed-0.01b.ebuild | 34 |
3 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/netsed/Manifest b/net-misc/netsed/Manifest new file mode 100644 index 000000000000..68ccd149f10e --- /dev/null +++ b/net-misc/netsed/Manifest @@ -0,0 +1,2 @@ +DIST netsed.tgz 6352 SHA256 a04f6b235d787b1efd96ecdb398e6c8456301dbf965840e6fcbad36c68372dce +DIST netsed_0.01c-2.diff.gz 3140 SHA256 90799c1da3a219e61b12e4c19810b6b5558de3760ce75e38c592b8b423ac7426 diff --git a/net-misc/netsed/metadata.xml b/net-misc/netsed/metadata.xml new file mode 100644 index 000000000000..62d3535dd72b --- /dev/null +++ b/net-misc/netsed/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="freshmeat">netsed</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-misc/netsed/netsed-0.01b.ebuild b/net-misc/netsed/netsed-0.01b.ebuild new file mode 100644 index 000000000000..2fd1ee7e4c39 --- /dev/null +++ b/net-misc/netsed/netsed-0.01b.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Small tool for altering forwarded network data in real time" +HOMEPAGE="http://freshmeat.net/projects/netsed" +SRC_URI="http://dione.ids.pl/~lcamtuf/${PN}.tgz + http://http.us.debian.org/debian/pool/main/n/netsed/${PN}_0.01c-2.diff.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="" + +DEPEND="" + +src_unpack() { + mkdir -p "${S}" + cd "${S}" + unpack ${A} +} + +src_compile() { + epatch "${DISTDIR}"/${PN}_0.01c-2.diff.gz + make CFLAGS="${CFLAGS}" +} + +src_install() { + dobin netsed + doman debian/netsed.1 + dodoc README +} |