summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2003-09-05 05:24:34 +0000
committerNed Ludd <solar@gentoo.org>2003-09-05 05:24:34 +0000
commit789dec2a4cb86062999f1ca64b42af94d07a429c (patch)
treec72e189f08c5fc89049643b018ae15027f744544 /net-news/slrn
parentversion bump to fix potential XRef buffer overflow vulnerabilty. fixes bug #2... (diff)
downloadhistorical-789dec2a4cb86062999f1ca64b42af94d07a429c.tar.gz
historical-789dec2a4cb86062999f1ca64b42af94d07a429c.tar.bz2
historical-789dec2a4cb86062999f1ca64b42af94d07a429c.zip
version bump to fix potential XRef buffer overflow vulnerabilty. fixes bug #27850
Diffstat (limited to 'net-news/slrn')
-rw-r--r--net-news/slrn/Manifest4
-rw-r--r--net-news/slrn/files/digest-slrn-0.9.8.01
-rw-r--r--net-news/slrn/slrn-0.9.8.0.ebuild62
3 files changed, 65 insertions, 2 deletions
diff --git a/net-news/slrn/Manifest b/net-news/slrn/Manifest
index 9964902060f4..6126744a0310 100644
--- a/net-news/slrn/Manifest
+++ b/net-news/slrn/Manifest
@@ -1,7 +1,7 @@
-MD5 9af36033a559191714c7a420b9722f43 ChangeLog 1782
+MD5 c4204fe29c3d855c6a5f79e5fb562fbe ChangeLog 1954
MD5 f855bf15be264f79a6b0470bfeef9da5 slrn-0.9.7.4-r1.ebuild 1552
MD5 0676c1067068f3dde54ac49847855de4 slrn-0.9.7.4.ebuild 1377
-MD5 2e80bd7050b740f1d3e5d007c9460394 slrn-0.9.8.0.ebuild 1588
+MD5 a6a1c0c80acecced98fe0e8d0cafbda7 slrn-0.9.8.0.ebuild 1582
MD5 1d73f5e30732304a30c5f4d7f746d0e0 files/digest-slrn-0.9.7.4 203
MD5 b54a9e966cdf74fdd72047814f37299d files/digest-slrn-0.9.7.4-r1 267
MD5 d023c37bf388d5a3d465ae1fe19767b9 files/digest-slrn-0.9.8.0 65
diff --git a/net-news/slrn/files/digest-slrn-0.9.8.0 b/net-news/slrn/files/digest-slrn-0.9.8.0
new file mode 100644
index 000000000000..02026be11140
--- /dev/null
+++ b/net-news/slrn/files/digest-slrn-0.9.8.0
@@ -0,0 +1 @@
+MD5 47e9931771114ba192356a0473e9649e slrn-0.9.8.0.tar.bz2 995881
diff --git a/net-news/slrn/slrn-0.9.8.0.ebuild b/net-news/slrn/slrn-0.9.8.0.ebuild
new file mode 100644
index 000000000000..84b208e56874
--- /dev/null
+++ b/net-news/slrn/slrn-0.9.8.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# Added ssl support and new patches
+# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/slrn-0.9.8.0.ebuild,v 1.1 2003/09/05 05:24:31 solar Exp $
+
+IUSE="ssl nls"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="s-lang Newsreader"
+PATCH_URI="http://slrn.sourceforge.net/patches"
+SRC_URI="mirror://sourceforge/slrn/${P}.tar.bz2"
+#${PATCH_URI}/${P}-mem_leak.diff
+#${PATCH_URI}/${P}-popup_win.diff
+#${PATCH_URI}/${P}-po.diff"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+HOMEPAGE="http://slrn.sourceforge.net/"
+DEPEND="virtual/glibc
+ virtual/mta
+ >=sys-apps/sharutils-4.2.1
+ >=sys-libs/slang-1.4.4
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ nls? ( sys-devel/gettext )"
+
+RDEPEND="virtual/glibc
+ virtual/mta
+ >=sys-apps/sharutils-4.2.1
+ >=sys-libs/slang-1.4.4
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+ cd ${S}
+ for i in ${P}-{mem_leak,popup_win,po}.diff ; do
+ [ -f ${DISTDIR}/${i} ] &&
+ patch -p1 < ${DISTDIR}/${i}
+ done
+
+}
+
+src_compile() {
+ local myconf
+ use nls && myconf="--enable-nls" \
+ || myconf="--disable-nls"
+ use ssl && myconf="--with-ssl=/usr" \
+ || myconf="--without-ssl"
+ ./configure --infodir=/usr/share/info \
+ --mandir=/usr/share/man --prefix=/usr \
+ --with-slrnpull --host=${CHOST} $myconf \
+ || die "./configure failed (myconf=$myconf)"
+ emake || die
+}
+
+src_install () {
+
+ make DESTDIR=${D} DOCDIR=/usr/share/doc/${P} install || die
+ find $D/usr/share/doc -type f | xargs gzip
+}