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
commitc11119b259589f0b37d21a11ae02b132ceda370f (patch)
tree45bc4975b6456c231653e5df892f8bbe7fe46c4c /net-nntp/newspost
parentChanged dependency on newspost from = to ~. (diff)
downloadhistorical-c11119b259589f0b37d21a11ae02b132ceda370f.tar.gz
historical-c11119b259589f0b37d21a11ae02b132ceda370f.tar.bz2
historical-c11119b259589f0b37d21a11ae02b132ceda370f.zip
Revision bumps, security bug #78530. Stable on x86.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-nntp/newspost')
-rw-r--r--net-nntp/newspost/ChangeLog9
-rw-r--r--net-nntp/newspost/Manifest15
-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, 112 insertions, 6 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..f826d6ca35d3 100644
--- a/net-nntp/newspost/Manifest
+++ b/net-nntp/newspost/Manifest
@@ -1,16 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 230a40d436e27b7f84ae15b7873b39f9 newspost-2.1.1-r1.ebuild 1065
MD5 8054891e10866126dc47a80483eee824 newspost-2.0.ebuild 908
MD5 18e106b26c4817c3b5bcdfbbca2bc39a newspost-2.1.1.ebuild 946
-MD5 15dfeca5f29175b7f302437a8ee89d27 ChangeLog 2556
+MD5 9fd6ca9753c1e77bf5c17b6ad13e7efd newspost-2.0-r1.ebuild 995
+MD5 6d38a62594cead7073b23de498d0ecc2 ChangeLog 2779
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)
+Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFB7DFvI1lqEGTUzyQRAjeWAKDHBNMQtEy26m1mz5Dhr1JZe7NKvwCfWKbe
-YePRRPOWjNBsJzjWO9g5j6A=
-=Bh/b
+iD8DBQFB/7M+I1lqEGTUzyQRAmqzAKCRCaKOyai8ruU34t946aHV6iP1QgCfUvxX
+gdE3QV3TwOT4nxEBPxjkZEQ=
+=9egI
-----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"
+}