summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-02-01 16:50:00 +0000
committerSven Wegener <swegener@gentoo.org>2005-02-01 16:50:00 +0000
commit5db72650a18d259e36de0c880354de32e50dcbfa (patch)
treec942d143282749cafc265a299159809bcf3584ba /net-nntp/newspost/newspost-2.1.1-r1.ebuild
parentChanged dependency on newspost from = to ~. (diff)
downloadgentoo-2-5db72650a18d259e36de0c880354de32e50dcbfa.tar.gz
gentoo-2-5db72650a18d259e36de0c880354de32e50dcbfa.tar.bz2
gentoo-2-5db72650a18d259e36de0c880354de32e50dcbfa.zip
Revision bumps, security bug #78530. Stable on x86.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-nntp/newspost/newspost-2.1.1-r1.ebuild')
-rw-r--r--net-nntp/newspost/newspost-2.1.1-r1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/net-nntp/newspost/newspost-2.1.1-r1.ebuild b/net-nntp/newspost/newspost-2.1.1-r1.ebuild
new file mode 100644
index 000000000000..d0265a66d442
--- /dev/null
+++ b/net-nntp/newspost/newspost-2.1.1-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/newspost/newspost-2.1.1-r1.ebuild,v 1.1 2005/02/01 16:50:00 swegener Exp $
+
+inherit eutils
+
+DESCRIPTION="a usenet binary autoposter for unix"
+HOMEPAGE="http://newspost.unixcab.org/"
+SRC_URI="http://newspost.unixcab.org/download/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+# NOTE: This package should work on PPC but not tested!
+# It also has a solaris make file but we don't do solaris.
+# but it should mean that it is 64bit clean.
+KEYWORDS="x86 ~amd64 ~ppc ~ppc-macos"
+
+RDEPEND="virtual/libc"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/CAN-2005-0101.patch
+
+ sed -i \
+ -e "s:OPT_FLAGS = :OPT_FLAGS = ${CFLAGS}#:" Makefile \
+ || die "sed Makefile failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install () {
+ dobin newspost || die "dobin failed"
+ doman man/man1/newspost.1 || die "doman failed"
+ dodoc README CHANGES || die "dodoc failed"
+}