summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2004-06-22 23:13:02 +0000
committerSven Wegener <swegener@gentoo.org>2004-06-22 23:13:02 +0000
commit03db6f2692653702457a7851185e0ed832f69f2e (patch)
treed94625d1c1089cbf37fa64b97541b6b74c2f7355 /net-news/suck
parentmark stable on amd64 (Manifest recommit) (diff)
downloadgentoo-2-03db6f2692653702457a7851185e0ed832f69f2e.tar.gz
gentoo-2-03db6f2692653702457a7851185e0ed832f69f2e.tar.bz2
gentoo-2-03db6f2692653702457a7851185e0ed832f69f2e.zip
Initial import, ebuild written by me.
Diffstat (limited to 'net-news/suck')
-rw-r--r--net-news/suck/ChangeLog10
-rw-r--r--net-news/suck/Manifest3
-rw-r--r--net-news/suck/files/digest-suck-4.3.21
-rw-r--r--net-news/suck/metadata.xml5
-rw-r--r--net-news/suck/suck-4.3.2.ebuild48
5 files changed, 67 insertions, 0 deletions
diff --git a/net-news/suck/ChangeLog b/net-news/suck/ChangeLog
new file mode 100644
index 000000000000..87941c988dba
--- /dev/null
+++ b/net-news/suck/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-news/suck
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/suck/ChangeLog,v 1.1 2004/06/22 23:13:02 swegener Exp $
+
+*suck-4.3.2 (23 Jun 2004)
+
+ 23 Jun 2004; Sven Wegener <swegener@gentoo.org> +metadata.xml,
+ +suck-4.3.2.ebuild:
+ Initial import, ebuild written by me.
+
diff --git a/net-news/suck/Manifest b/net-news/suck/Manifest
new file mode 100644
index 000000000000..fb83ddb53522
--- /dev/null
+++ b/net-news/suck/Manifest
@@ -0,0 +1,3 @@
+MD5 9d29a3bdff4b86e120c21cb2712143ea suck-4.3.2.ebuild 1088
+MD5 686870fa70619c6e5285e9eb87a113d0 ChangeLog 347
+MD5 42078d2bd0030ce7062a4405c32e2bef files/digest-suck-4.3.2 62
diff --git a/net-news/suck/files/digest-suck-4.3.2 b/net-news/suck/files/digest-suck-4.3.2
new file mode 100644
index 000000000000..b7ca85220698
--- /dev/null
+++ b/net-news/suck/files/digest-suck-4.3.2
@@ -0,0 +1 @@
+MD5 b4de28e7f256ec3c2c388b2c984f30bf suck-4.3.2.tar.gz 187560
diff --git a/net-news/suck/metadata.xml b/net-news/suck/metadata.xml
new file mode 100644
index 000000000000..4d0ebe73a55f
--- /dev/null
+++ b/net-news/suck/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>net-news</herd>
+</pkgmetadata>
diff --git a/net-news/suck/suck-4.3.2.ebuild b/net-news/suck/suck-4.3.2.ebuild
new file mode 100644
index 000000000000..1c6d98dba43b
--- /dev/null
+++ b/net-news/suck/suck-4.3.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/suck/suck-4.3.2.ebuild,v 1.1 2004/06/22 23:13:02 swegener Exp $
+
+DESCRIPTION="Grab news from a remote NNTP server and feed them to another"
+HOMEPAGE="http://home.comcast.net/~bobyetman/"
+SRC_URI="http://home.comcast.net/~bobyetman/${P}.tar.gz"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="ssl perl"
+
+DEPEND="sys-libs/db
+ perl? ( sys-devel/libperl )
+ ssl? ( dev-libs/openssl )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Fix paths to the locations in Gentoo
+ sed -i \
+ -e 's:/usr/lib/news/rnews:/usr/lib/news/bin/rnews:' \
+ -e 's:/usr/news/db/history:/var/spool/news/db/history:' \
+ suck_config.h
+}
+
+src_compile() {
+ use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in
+ use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in
+
+ econf || die "econf failed"
+
+ emake phrases.h || die "emake phrases.h failed"
+ emake all lpost || die "emake failed"
+}
+
+src_install() {
+ dobin lmove lpost rpost suck testhost
+ doman man/*
+ dodoc CHANGELOG CONTENTS README*
+ docinto java
+ dodoc java/*
+ docinto perl
+ dodoc perl/*
+ docinto sample
+ dodoc sample/*
+}