version bumped.
authorMatsuu Takuto <matsuu@gentoo.org>
Thu, 1 Jan 2004 05:12:09 +0000 (05:12 +0000)
committerMatsuu Takuto <matsuu@gentoo.org>
Thu, 1 Jan 2004 05:12:09 +0000 (05:12 +0000)
net-misc/stone/Manifest
net-misc/stone/files/digest-stone-2.2b [new file with mode: 0644]
net-misc/stone/metadata.xml [new file with mode: 0644]
net-misc/stone/stone-2.2.ebuild
net-misc/stone/stone-2.2b.ebuild [new file with mode: 0644]

index 5f8bca9c20dc250206d8cfad44c3810d9273192f..76b84f297d7557700fcd52ab52fbd9a12a1b89de 100644 (file)
@@ -1,5 +1,6 @@
-MD5 8d8aad73426a2d7f63bbd83fee36c549 ChangeLog 359
-MD5 66a23b263b83e2334b681a2c6e3e4f7e stone-2.2.ebuild 776
-MD5 133932458d319009f1e02c9fc6e2bf4b stone-2.2b.ebuild 831
+MD5 939d26f3bb9e7b55c2f310d3731fc2ec ChangeLog 547
+MD5 620bef21f702ee131d8f72af7e2a857b stone-2.2.ebuild 777
+MD5 6c69eb27e9455cc3c6c2e9ce4467f7c0 stone-2.2b.ebuild 833
+MD5 c50346bf0fb8b39c521dca42b145f6ee metadata.xml 230
 MD5 e366c21a42d2054cdfc1c007aee9a0a1 files/digest-stone-2.2 60
 MD5 6621999994b580fa5645bf581ffcca30 files/digest-stone-2.2b 61
diff --git a/net-misc/stone/files/digest-stone-2.2b b/net-misc/stone/files/digest-stone-2.2b
new file mode 100644 (file)
index 0000000..cf8ef97
--- /dev/null
@@ -0,0 +1 @@
+MD5 6053d96954597abc582b00ea31ac29a7 stone-2.2b.tar.gz 61738
diff --git a/net-misc/stone/metadata.xml b/net-misc/stone/metadata.xml
new file mode 100644 (file)
index 0000000..b35df34
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+  <email>matsuu@gentoo.org</email>
+  <name>MATSUU Takuto</name>
+</maintainer>
+</pkgmetadata>
index 6b5643b997b91a63c4ac14b46e4ae8d66f562932..97266ab3718db2c22940ab3da7cbb42073d7f6d3 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stone/stone-2.2.ebuild,v 1.2 2004/01/01 05:12:01 matsuu Exp $
 
 DESCRIPTION="A simple TCP/IP packet repeater"
 HOMEPAGE="http://www.gcd.org/sengoku/stone/"
@@ -8,7 +8,7 @@ SRC_URI="http://www.gcd.org/sengoku/stone/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86 amd64"
 IUSE="ssl"
 
 DEPEND="virtual/glibc
diff --git a/net-misc/stone/stone-2.2b.ebuild b/net-misc/stone/stone-2.2b.ebuild
new file mode 100644 (file)
index 0000000..f1bcbf7
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stone/stone-2.2b.ebuild,v 1.1 2004/01/01 05:12:01 matsuu 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 ~amd64"
+IUSE="ssl"
+
+DEPEND="virtual/glibc
+       ssl? ( dev-libs/openssl )"
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+       if [ "`use ssl`" ] ; then
+               emake \
+                       CFLAGS="${CFLAGS}" \
+                       SSL=/usr \
+                       SSL_FLAGS="-DUSE_SSL -I/usr/include/openssl" \
+                       SSL_LIBS="-ldl -L/usr/lib -lssl -lcrypto" \
+                       linux-ssl || die
+       else
+               emake \
+                       CFLAGS="${CFLAGS}" \
+                       linux || die
+       fi
+}
+
+src_install() {
+       dobin stone
+       doman stone.1
+       dodoc README*
+}