summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-news/slrn/ChangeLog11
-rw-r--r--net-news/slrn/files/digest-slrn-0.9.7.4-r14
-rw-r--r--net-news/slrn/slrn-0.9.7.4-r1.ebuild59
3 files changed, 73 insertions, 1 deletions
diff --git a/net-news/slrn/ChangeLog b/net-news/slrn/ChangeLog
index af6dadadd175..5597914088f2 100644
--- a/net-news/slrn/ChangeLog
+++ b/net-news/slrn/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for usr/slrn
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/ChangeLog,v 1.4 2002/07/28 04:40:09 cselkirk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/ChangeLog,v 1.5 2002/08/05 02:25:08 cselkirk Exp $
+
+*slrn-slrn-0.7.7.4-r1 (04 Jul 2002)
+
+ 04 Aug 2002; Calum Selkirk <cselkirk@gentoo.org>
+ *slrn-slrn-0.7.7.4-r1.ebuild:
+
+ Added a patch to fix broken nls translations (patch Author Thomas Schultz).
+ Also added a test for nls.
+ This fixes #6019
*slrn-slrn-0.7.7.4 (23 Jun 2002)
diff --git a/net-news/slrn/files/digest-slrn-0.9.7.4-r1 b/net-news/slrn/files/digest-slrn-0.9.7.4-r1
new file mode 100644
index 000000000000..dc421164cad8
--- /dev/null
+++ b/net-news/slrn/files/digest-slrn-0.9.7.4-r1
@@ -0,0 +1,4 @@
+MD5 da944c58f301cf07a41f996d91de8431 slrn-0.9.7.4.tar.bz2 824593
+MD5 835ac527bb0653b1850b095ba1ea1ebc slrn-0.9.7.4-mem_leak.diff 3463
+MD5 32c3203c07449d310c6edbb5c06f8cbf slrn-0.9.7.4-popup_win.diff 329
+MD5 b8bab19dd11b9cddfbc41e1ead8e196b slrn-0.9.7.4-po.diff 20240
diff --git a/net-news/slrn/slrn-0.9.7.4-r1.ebuild b/net-news/slrn/slrn-0.9.7.4-r1.ebuild
new file mode 100644
index 000000000000..38103de6f515
--- /dev/null
+++ b/net-news/slrn/slrn-0.9.7.4-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Added ssl support and new patches
+# $Header $
+
+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"
+
+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
+ 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
+}