diff options
Diffstat (limited to 'net-misc/netpipes')
-rw-r--r-- | net-misc/netpipes/Manifest | 6 | ||||
-rw-r--r-- | net-misc/netpipes/files/netpipes-4.2-string.patch | 10 | ||||
-rw-r--r-- | net-misc/netpipes/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/netpipes/netpipes-4.2-r2.ebuild | 33 |
4 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/netpipes/Manifest b/net-misc/netpipes/Manifest new file mode 100644 index 000000000000..1a92f69f1369 --- /dev/null +++ b/net-misc/netpipes/Manifest @@ -0,0 +1,6 @@ +AUX netpipes-4.2-string.patch 179 SHA256 ebf50461f9c8d47dc17e938b2b40db75a8f00420633fe68fb55d26c571802806 SHA512 5eedd31bf184dd28b85dbfac07ba008e36d12419339181ad04f427d062f99d6be886720d212fe9f4f612988647be8c4f35e977bb0023f6c20e718da01bdbf9de WHIRLPOOL 25e0583738c516bed584d52312e8d340989083cfbb8b53699fca8f1191d7033c4c566e34c0261aed64bdea7c00787414e74ea6c430b75a50c7cfc0ca328efbfe +DIST netpipes-4.2-export.tar.gz 75276 SHA256 0712b2cd55ad78084385d215f8037aad3c53b06a6fd8c9bda83ec23afd440a27 SHA512 a875922d179b98d5d663825cb83dc92b515ca3fa77e44ce05941a0de58951840626836b597ea244a660be637d61be3428de7dab413a1c439e4673c82dae02531 WHIRLPOOL 555850c5ff14be9b7517782dc855683c5b7bc4921d81c4c6ec091cde1a18a8ca89844214dff2eb2fb04f2165fbd3929ae2be6d7a9407fccfd4f9e48b53f0c523 +EBUILD netpipes-4.2-r2.ebuild 729 SHA256 3debc4b3f2eb4f04f70d1f65551de9743fff2dc8aaa244e1ead86f79223b1490 SHA512 4848eb2a845a2ec7ca7d103838a0a7552d83e5a5c2bf4f96fd53994822c56d59e19ceb435fdbe619903631b802b4077ac60fff87efee6fad220390ec7e02e3fe WHIRLPOOL 37158aa8806e975aa30ea86fed8538b290b8da6c1487d8e8acb3bf916a42b65c3436e6aed38d4b55c90fc706fb7600c388eb5eb950959560bbc8f97954990147 +MISC ChangeLog 2466 SHA256 39f6f44182c82b2420e13581dd40c90f46cae205bb5e66cd957188551146584e SHA512 70cc0cee199af4966f1fcd23989bff30c950a15910b7c59ac964600d6ca2f75e549558d73a30ae85bcbf5438033fb49501f7b8c01f2bb14399e52f7338631069 WHIRLPOOL 2b1951412de27a19a1d347c51ca36441303c9a18555fdd34b3bb4b279e887f117234a18067894827309a57229c4ba41435294ce0119bf07975fba2b03372d953 +MISC ChangeLog-2015 2051 SHA256 9ecb8fea63d9150cda66851e366c7bd548df5964642e093afe968ede1eab7fbb SHA512 8b02f66b5dbac749552866a0e7a7ca516f17c07fc8d218b2d638788f0ed2c5e64726ae26cfa6030d8c5959606b2038883c6d8b2fb07e8383c9992e6955340618 WHIRLPOOL a15166a7ab7f0a2f3194beb3622b236e0c03ed2eb108054dfcb211c9363a27f0b9c357ee9a9ed09be479b3edb9adce860a529d4159d67aa842ce6bd5f0193117 +MISC metadata.xml 276 SHA256 d15d6b6bd9ffc8a642c7469d01788ba9158efb4ca27fcf3324d9e52d1b70ec93 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250 WHIRLPOOL 26b9e81575f613b751f76234013c30a8da84a1c0dd75c12b8df32706ee753691bbc889a2dec5001cc8c4b05c47aca49ed9fabbb5a6fefed74aaa86d6c3f56cee diff --git a/net-misc/netpipes/files/netpipes-4.2-string.patch b/net-misc/netpipes/files/netpipes-4.2-string.patch new file mode 100644 index 000000000000..8dfc3cdcd137 --- /dev/null +++ b/net-misc/netpipes/files/netpipes-4.2-string.patch @@ -0,0 +1,10 @@ +--- a/timelimit.c ++++ b/timelimit.c +@@ -30,6 +30,7 @@ + #include <unistd.h> + #include <stdlib.h> + #include <errno.h> ++#include <string.h> + extern int errno; + #include "common.h" + diff --git a/net-misc/netpipes/metadata.xml b/net-misc/netpipes/metadata.xml new file mode 100644 index 000000000000..74c2baebb4ec --- /dev/null +++ b/net-misc/netpipes/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>netmon@gentoo.org</email> + <name>Gentoo network monitoring and analysis project</name> +</maintainer> +</pkgmetadata> diff --git a/net-misc/netpipes/netpipes-4.2-r2.ebuild b/net-misc/netpipes/netpipes-4.2-r2.ebuild new file mode 100644 index 000000000000..36be1f20476a --- /dev/null +++ b/net-misc/netpipes/netpipes-4.2-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="a package to manipulate BSD TCP/IP stream sockets" +HOMEPAGE="http://web.purplefrog.com/~thoth/netpipes/" +SRC_URI="http://web.purplefrog.com/~thoth/netpipes/ftp/${P}-export.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="amd64 x86" + +S=${WORKDIR}/${P}-export + +src_prepare() { + sed -i \ + -e 's:CFLAGS =:CFLAGS +=:' \ + -e '/ -o /s:${CFLAGS}:$(CFLAGS) $(LDFLAGS):g' \ + Makefile || die + + epatch "${FILESDIR}/${P}"-string.patch +} + +src_compile () { + emake CC=$(tc-getCC) +} + +src_install() { + dodir /usr/share/man + emake INSTROOT="${D}"/usr INSTMAN="${D}"/usr/share/man install +} |