From 19cf58b317e7dc4f0e47c5be18c308b9f8f9706b Mon Sep 17 00:00:00 2001 From: Jon Portnoy Date: Mon, 8 Sep 2003 16:50:22 +0000 Subject: Initial import. --- net-misc/stone/Manifest | 4 ++-- net-misc/stone/files/digest-stone-2.2 | 1 + net-misc/stone/stone-2.2.ebuild | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 net-misc/stone/files/digest-stone-2.2 create mode 100644 net-misc/stone/stone-2.2.ebuild (limited to 'net-misc/stone') diff --git a/net-misc/stone/Manifest b/net-misc/stone/Manifest index 5fd329950128..c370d5d9943d 100644 --- a/net-misc/stone/Manifest +++ b/net-misc/stone/Manifest @@ -1,3 +1,3 @@ -MD5 89e4a5743802908755578bf848e105cf stone-2.2.ebuild 678 -MD5 125ee013081b112d56a1d15507d72ef2 skel.ChangeLog 3674 +MD5 6df82329b0f2994ec9c44b52d7d2152a stone-2.2.ebuild 771 +MD5 8d8aad73426a2d7f63bbd83fee36c549 ChangeLog 359 MD5 e366c21a42d2054cdfc1c007aee9a0a1 files/digest-stone-2.2 60 diff --git a/net-misc/stone/files/digest-stone-2.2 b/net-misc/stone/files/digest-stone-2.2 new file mode 100644 index 000000000000..5f22338d828b --- /dev/null +++ b/net-misc/stone/files/digest-stone-2.2 @@ -0,0 +1 @@ +MD5 70ae17e2d9a5d9310177468475554c23 stone-2.2.tar.gz 47635 diff --git a/net-misc/stone/stone-2.2.ebuild b/net-misc/stone/stone-2.2.ebuild new file mode 100644 index 000000000000..6b5643b997b9 --- /dev/null +++ b/net-misc/stone/stone-2.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stone/stone-2.2.ebuild,v 1.1 2003/09/08 16:50:19 avenj Exp $ + +DESCRIPTION="A simple TCP/IP packet repeater" +HOMEPAGE="http://www.gcd.org/sengoku/stone/" +SRC_URI="http://www.gcd.org/sengoku/stone/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="ssl" + +DEPEND="virtual/glibc + ssl? ( dev-libs/openssl )" + +S=${WORKDIR}/${P} + +src_compile() { + if [ "`use ssl`" ] ; then + emake \ + SSL=/usr \ + SSL_FLAGS="-DUSE_SSL -I/usr/include/openssl" \ + SSL_LIBS="-ldl -L/usr/lib -lssl -lcrypto" \ + linux-ssl || die + else + emake linux || die + fi +} + +src_install() { + dobin stone + doman stone.1 + dodoc README* +} -- cgit v1.2.3-65-gdbad