diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2009-11-13 22:43:42 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2009-11-13 22:43:42 +0000 |
commit | a81df3facf4fa8e7b0eb9a2a08673bf7884a7658 (patch) | |
tree | 95764729e33edc9be427a3ead743cc98e8e76708 /net-misc | |
parent | dev-python/grin: Minor updates, thanks to billie (diff) | |
download | sunrise-a81df3facf4fa8e7b0eb9a2a08673bf7884a7658.tar.gz sunrise-a81df3facf4fa8e7b0eb9a2a08673bf7884a7658.tar.bz2 sunrise-a81df3facf4fa8e7b0eb9a2a08673bf7884a7658.zip |
net-misc/tcputils: New package, see bug 111715. Thanks to Michael Buchfink and Tommy[D]
svn path=/sunrise/; revision=9517
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/tcputils/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/tcputils/Manifest | 5 | ||||
-rw-r--r-- | net-misc/tcputils/files/tcputils-0.6.2-Makefile.patch | 25 | ||||
-rw-r--r-- | net-misc/tcputils/metadata.xml | 5 | ||||
-rw-r--r-- | net-misc/tcputils/tcputils-0.6.2.ebuild | 27 |
5 files changed, 71 insertions, 0 deletions
diff --git a/net-misc/tcputils/ChangeLog b/net-misc/tcputils/ChangeLog new file mode 100644 index 000000000..db89a79f9 --- /dev/null +++ b/net-misc/tcputils/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-misc/tcputils +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 13 Nov 2009; Andreas K. Huettel (dilfridge) <mail@akhuettel.de> + +tcputils-0.6.2.ebuild, +files/tcputils-0.6.2-Makefile.patch, + +metadata.xml: + New package, see bug 111715. Thanks to Michael Buchfink and Tommy[D] + diff --git a/net-misc/tcputils/Manifest b/net-misc/tcputils/Manifest new file mode 100644 index 000000000..13aac69f0 --- /dev/null +++ b/net-misc/tcputils/Manifest @@ -0,0 +1,5 @@ +AUX tcputils-0.6.2-Makefile.patch 801 RMD160 a8e848bfb06b275f44c0012c6284a25aba41621d SHA1 0c93c71e0ec67dfede09c834e937df12ac509979 SHA256 04f52d86a5b44e7d8a0d0a81d41694e607d3a90167bd3b1f9a09a5f82379c9cf +DIST tcputils-0.6.2.tar.gz 13629 RMD160 f7a2efcd6c04d8d5bea7e4fe45fbae6f2416059a SHA1 64d9d7be504988c7bf2d6c715b4378d1f3d78ce6 SHA256 ea63a2aee9f6505b6296a51f4d1f907beb0ecb4bd1e2dd63962b3aed8400f83f +EBUILD tcputils-0.6.2.ebuild 713 RMD160 3f2f927f55a7c5972f0c38d84698abcb90ebd815 SHA1 3c441cd20bad17828983aac19d78056509569694 SHA256 c74d7198422573f4c8758e531ffa0d0b4561f5143fa16e97da9d88764c35f11c +MISC ChangeLog 337 RMD160 17c8543c3692a9893ced22c2de3c56e2f5501d29 SHA1 d720ce43ff3e34c53cb2450be9a7885085a3e364 SHA256 c143b64793d1ec8d73746636c9b8fdab722d158b3e8b9e951e10c2116e82b09b +MISC metadata.xml 171 RMD160 ed284df01c230fc7990a6b5888b39166d23f29ba SHA1 f3d64a69044b710e23fb874b3ee4cd338858c8b4 SHA256 a7b30fbacd0e4c312c07a3efac112a3794c81d134442d8104325734d03425adf diff --git a/net-misc/tcputils/files/tcputils-0.6.2-Makefile.patch b/net-misc/tcputils/files/tcputils-0.6.2-Makefile.patch new file mode 100644 index 000000000..069ba46aa --- /dev/null +++ b/net-misc/tcputils/files/tcputils-0.6.2-Makefile.patch @@ -0,0 +1,25 @@ +diff -r -u tcputils-0.6.2.orig/Makefile tcputils-0.6.2/Makefile +--- tcputils-0.6.2.orig/Makefile 1998-04-14 19:54:54.000000000 +0200 ++++ tcputils-0.6.2/Makefile 2009-11-13 23:14:02.000000000 +0100 +@@ -1,19 +1,9 @@ +-# Linux RedHat 5.0 has header files that generates warnings when compiling +-# with -pedantic, so we leave that out per default. +-CC = gcc -Wall #-pedantic +-INCLUDE-FLAGS = +-COPT = -g -O2 +-LDFLAGS = ${COPT} +-CFLAGS = ${COPT} ${INCLUDE-FLAGS} ++ + RANLIB = ranlib + INSTALL = install -c + MKDIR_P = mkdir -p +-# Solaris 2 needs to link with "-lsocket -lnsl". For other unices you might +-# need to comment out those libraries. +-NETLIBS = -lsocket -lnsl + +-# Where to install things. +-prefix = /usr/local ++prefix = /usr + bindir = ${prefix}/bin + mandir = ${prefix}/man + man1dir = ${mandir}/man1 diff --git a/net-misc/tcputils/metadata.xml b/net-misc/tcputils/metadata.xml new file mode 100644 index 000000000..6f1d493c5 --- /dev/null +++ b/net-misc/tcputils/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/net-misc/tcputils/tcputils-0.6.2.ebuild b/net-misc/tcputils/tcputils-0.6.2.ebuild new file mode 100644 index 000000000..77e8e9fbc --- /dev/null +++ b/net-misc/tcputils/tcputils-0.6.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="A small collection of programs to facilitate TCP programming in shell-scripts" +HOMEPAGE="ftp://ftp.lysator.liu.se/pub/unix/tcputils/" +SRC_URI="ftp://ftp.lysator.liu.se/pub/unix/${PN}/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +src_prepare() { + # trivially patch Makefile for using Gentoo CFLAGS etc + epatch "${FILESDIR}/${P}-Makefile.patch" +} + +src_install() { + dobin tcpconnect tcplisten tcpbug mini-inetd getpeername || die + doman tcpconnect.1 tcplisten.1 tcpbug.1 mini-inetd.1 getpeername.1 || die + dodoc README || die +} |