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
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')
-rw-r--r--net-nntp/newspost/ChangeLog9
-rw-r--r--net-nntp/newspost/Manifest19
-rw-r--r--net-nntp/newspost/files/CAN-2005-0101.patch11
-rw-r--r--net-nntp/newspost/files/digest-newspost-2.0-r11
-rw-r--r--net-nntp/newspost/files/digest-newspost-2.1.1-r11
-rw-r--r--net-nntp/newspost/newspost-2.0-r1.ebuild39
-rw-r--r--net-nntp/newspost/newspost-2.1.1-r1.ebuild42
7 files changed, 109 insertions, 13 deletions
diff --git a/net-nntp/newspost/ChangeLog b/net-nntp/newspost/ChangeLog
index b2ed4abccbfa..6a52e0c693bc 100644
--- a/net-nntp/newspost/ChangeLog
+++ b/net-nntp/newspost/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-nntp/newspost
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/newspost/ChangeLog,v 1.2 2005/01/17 21:42:30 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/newspost/ChangeLog,v 1.3 2005/02/01 16:49:59 swegener Exp $
+
+*newspost-2.1.1-r1 (01 Feb 2005)
+
+ 01 Feb 2005; Sven Wegener <swegener@gentoo.org>
+ +files/CAN-2005-0101.patch, +newspost-2.0-r1.ebuild,
+ +newspost-2.1.1-r1.ebuild:
+ Revision bumps, security bug #78530. Stable on x86.
*newspost-2.0 (17 Jan 2005)
diff --git a/net-nntp/newspost/Manifest b/net-nntp/newspost/Manifest
index 342cd94b214a..514c3cadbf21 100644
--- a/net-nntp/newspost/Manifest
+++ b/net-nntp/newspost/Manifest
@@ -1,16 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 8054891e10866126dc47a80483eee824 newspost-2.0.ebuild 908
-MD5 18e106b26c4817c3b5bcdfbbca2bc39a newspost-2.1.1.ebuild 946
+MD5 378eee84b27741457b358222ad083af3 newspost-2.1.1-r1.ebuild 1062
+MD5 6897abffea8716b4ac68e4b030a2ad4f newspost-2.0.ebuild 935
+MD5 bd1633b12d24db42e4d1adfa5d67cf19 newspost-2.1.1.ebuild 1004
+MD5 0d1834240759a39609d8910a8be7954c newspost-2.0-r1.ebuild 992
MD5 15dfeca5f29175b7f302437a8ee89d27 ChangeLog 2556
MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161
+MD5 46899efb4a2b656aa05aa4d86f5792ba files/digest-newspost-2.0-r1 63
+MD5 b215709cb527d3080506432abfb71147 files/digest-newspost-2.1.1-r1 65
MD5 b215709cb527d3080506432abfb71147 files/digest-newspost-2.1.1 65
+MD5 e72758703815a9480ba6c7b081011d30 files/CAN-2005-0101.patch 284
MD5 46899efb4a2b656aa05aa4d86f5792ba files/digest-newspost-2.0 63
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFB7DFvI1lqEGTUzyQRAjeWAKDHBNMQtEy26m1mz5Dhr1JZe7NKvwCfWKbe
-YePRRPOWjNBsJzjWO9g5j6A=
-=Bh/b
------END PGP SIGNATURE-----
diff --git a/net-nntp/newspost/files/CAN-2005-0101.patch b/net-nntp/newspost/files/CAN-2005-0101.patch
new file mode 100644
index 000000000000..2bfdfc2c190d
--- /dev/null
+++ b/net-nntp/newspost/files/CAN-2005-0101.patch
@@ -0,0 +1,11 @@
+--- base/socket.c.orig Tue Jan 18 11:08:02 2005
++++ base/socket.c Tue Jan 18 11:10:08 2005
+@@ -126,7 +126,7 @@
+
+ i = 0;
+ pi = buffer;
+- while (TRUE) {
++ while (read_count < STRING_BUFSIZE - 1) {
+ retval = read(sockfd, pi, 1);
+ if(retval < 0)
+ ui_socket_error(errno);
diff --git a/net-nntp/newspost/files/digest-newspost-2.0-r1 b/net-nntp/newspost/files/digest-newspost-2.0-r1
new file mode 100644
index 000000000000..b068f8ec0dce
--- /dev/null
+++ b/net-nntp/newspost/files/digest-newspost-2.0-r1
@@ -0,0 +1 @@
+MD5 664f96c37b2a6566cf55dc4e040648fe newspost-2.0.tar.gz 58001
diff --git a/net-nntp/newspost/files/digest-newspost-2.1.1-r1 b/net-nntp/newspost/files/digest-newspost-2.1.1-r1
new file mode 100644
index 000000000000..0e684c678de4
--- /dev/null
+++ b/net-nntp/newspost/files/digest-newspost-2.1.1-r1
@@ -0,0 +1 @@
+MD5 099a69ce511f746aec88a57d03575d5f newspost-2.1.1.tar.gz 61412
diff --git a/net-nntp/newspost/newspost-2.0-r1.ebuild b/net-nntp/newspost/newspost-2.0-r1.ebuild
new file mode 100644
index 000000000000..be370b8c0a4a
--- /dev/null
+++ b/net-nntp/newspost/newspost-2.0-r1.ebuild
@@ -0,0 +1,39 @@
+# 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.0-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"
+
+RDEPEND=""
+DEPEND=">=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
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install () {
+ dobin newspost || die "dobin failed"
+ doman man/man1/newspost.1 || die "doman failed"
+ dodoc README CHANGES COPYING || die "dodoc failed"
+}
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"
+}