diff options
author | Sven Wegener <swegener@gentoo.org> | 2004-06-18 18:30:56 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2004-06-18 18:30:56 +0000 |
commit | d58eaba6269c484be545bb0d42d92ff522d2d92d (patch) | |
tree | 653fad33db9ea9d5cfc2e63716f9cb1c9be8c16e /net-news | |
parent | ~amd64 (diff) | |
download | historical-d58eaba6269c484be545bb0d42d92ff522d2d92d.tar.gz historical-d58eaba6269c484be545bb0d42d92ff522d2d92d.tar.bz2 historical-d58eaba6269c484be545bb0d42d92ff522d2d92d.zip |
Added support for yEnc encoded articles. Integrated four patches from upstream. Added metadata.xml.
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/slrn/ChangeLog | 13 | ||||
-rw-r--r-- | net-news/slrn/Manifest | 15 | ||||
-rw-r--r-- | net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-mime.diff | 11 | ||||
-rw-r--r-- | net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-post.diff | 12 | ||||
-rw-r--r-- | net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges.diff | 27 | ||||
-rw-r--r-- | net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges2.diff | 26 | ||||
-rw-r--r-- | net-news/slrn/files/digest-slrn-0.9.8.0-r1 | 1 | ||||
-rw-r--r-- | net-news/slrn/metadata.xml | 5 | ||||
-rw-r--r-- | net-news/slrn/slrn-0.9.8.0-r1.ebuild | 50 |
9 files changed, 155 insertions, 5 deletions
diff --git a/net-news/slrn/ChangeLog b/net-news/slrn/ChangeLog index 79c9d5c089c6..53d46cc174b6 100644 --- a/net-news/slrn/ChangeLog +++ b/net-news/slrn/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for net-news/slrn # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/ChangeLog,v 1.15 2004/02/29 00:24:33 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/ChangeLog,v 1.16 2004/06/18 18:30:56 swegener Exp $ + +*slrn-0.9.8.0-r1 (18 Jun 2004) + + 18 Jun 2004; Sven Wegener <swegener@gentoo.org> +metadata.xml, + +files/0.9.8.0/slrn-0.9.8.0-mime.diff, + +files/0.9.8.0/slrn-0.9.8.0-post.diff, + +files/0.9.8.0/slrn-0.9.8.0-ranges.diff, + +files/0.9.8.0/slrn-0.9.8.0-ranges2.diff, +slrn-0.9.8.0-r1.ebuild: + Added support for decoding yEnc encoded articles using dev-libs/uulib via the + local use flag uudeview. Added four patches from upstream maintainers which + fix minor issues. Added metadata.xml. 28 Feb 2004; Jason Wever <weeve@gentoo.org> slrn-0.9.8.0.ebuild: Stable for sparcenstein. diff --git a/net-news/slrn/Manifest b/net-news/slrn/Manifest index 4d7ec437f99c..c1bd569436d2 100644 --- a/net-news/slrn/Manifest +++ b/net-news/slrn/Manifest @@ -1,7 +1,14 @@ -MD5 d5312f2c093368f7435186a7c42951fa ChangeLog 2216 -MD5 51c04aa6d6b8f42ff5bc9949f3c35b86 slrn-0.9.7.4-r1.ebuild 1545 -MD5 4c445266b08848fe6a2153487bfaa7c7 slrn-0.9.7.4.ebuild 1374 -MD5 0052406c57e3a56c2182b2199aeb50cf slrn-0.9.8.0.ebuild 1576 +MD5 02ee7e42874b9d74a3c5669fa85a8719 slrn-0.9.7.4-r1.ebuild 1544 +MD5 00da5af207d21bd56d0db23ba182f0ae slrn-0.9.7.4.ebuild 1373 +MD5 c11d691e9cb3d3d7540e72a70fccd46f slrn-0.9.8.0.ebuild 1575 +MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161 +MD5 6bd00ae42c02ae0cd14cf0761a406142 slrn-0.9.8.0-r1.ebuild 1201 +MD5 e76c08bc9b54ab08c0e93f704313f1b3 ChangeLog 2708 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 +MD5 d023c37bf388d5a3d465ae1fe19767b9 files/digest-slrn-0.9.8.0-r1 65 +MD5 f7cb12ae4f279161334f22f526f7753c files/0.9.8.0/slrn-0.9.8.0-post.diff 298 +MD5 c6206596799c2e5186648f76c63515a6 files/0.9.8.0/slrn-0.9.8.0-ranges2.diff 615 +MD5 aec97981fff230f801619e5047a0dc13 files/0.9.8.0/slrn-0.9.8.0-mime.diff 393 +MD5 39f274095df53e98ae1e5dad26bd2614 files/0.9.8.0/slrn-0.9.8.0-ranges.diff 721 diff --git a/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-mime.diff b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-mime.diff new file mode 100644 index 000000000000..f6375e76e589 --- /dev/null +++ b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-mime.diff @@ -0,0 +1,11 @@ +--- slrn/src/mime.c~ 2002-11-01 13:32:34.000000000 +0100 ++++ slrn/src/mime.c 2003-11-21 18:39:34.000000000 +0100 +@@ -650,7 +650,7 @@ + l = a->lines; + + /* skip header and separator */ +- while (((l != NULL) && (l->flags & HEADER_LINE)) || l->buf[0] == '\0') ++ while ((l != NULL) && ((l->flags & HEADER_LINE) || l->buf[0] == '\0')) + l = l->next; + + if (l == NULL) return; diff --git a/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-post.diff b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-post.diff new file mode 100644 index 000000000000..3378877abfc2 --- /dev/null +++ b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-post.diff @@ -0,0 +1,12 @@ +--- slrn-0.9.8.0/src/post.c 2003-07-31 19:21:18.000000000 +0200 ++++ slrn/src/post.c 2003-09-04 23:56:33.000000000 +0200 +@@ -1233,6 +1234,9 @@ + + va_start(ap, fmt); + Slrn_Post_Obj->po_vprintf(fmt, ap); ++ va_end(ap); ++ ++ va_start(ap, fmt); + vfprintf(fcc_fp, fmt, ap); + va_end(ap); + } diff --git a/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges.diff b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges.diff new file mode 100644 index 000000000000..4888cbdd91ee --- /dev/null +++ b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges.diff @@ -0,0 +1,27 @@ +--- slrn-0.9.8.0/src/ranges.c 2003-08-02 01:19:39.000000000 +0200 ++++ slrn/src/ranges.c 2003-09-02 14:45:34.000000000 +0200 +@@ -264,13 +264,17 @@ + do + { + /* skip ranges that don't intersect at all */ +- if (b != NULL) +- while ((a != NULL) && (a->max < b->min)) +- a = a->next; +- +- if (a != NULL) +- while ((b != NULL) && (b->max < a->min)) +- b = b->next; ++ do ++ { ++ if (b != NULL) ++ while ((a != NULL) && (a->max < b->min)) ++ a = a->next; ++ ++ if (a != NULL) ++ while ((b != NULL) && (b->max < a->min)) ++ b = b->next; ++ } ++ while ((a!=NULL) && (b!=NULL) && (a->max < b->min)); + + /* append a range containing the next intersection */ + if ((a!=NULL) && (b!=NULL)) diff --git a/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges2.diff b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges2.diff new file mode 100644 index 000000000000..cce311cddd2f --- /dev/null +++ b/net-news/slrn/files/0.9.8.0/slrn-0.9.8.0-ranges2.diff @@ -0,0 +1,26 @@ +--- slrn/src/ranges.c.orig 2004-02-12 22:38:53.000000000 +0100 ++++ slrn/src/ranges.c 2004-02-12 23:02:33.000000000 +0100 +@@ -136,7 +136,22 @@ + r->next = n; + + return head; +- } ++ } ++ ++ /* Do we need to insert a new range? */ ++ if (max+1 < r->min) ++ { ++ Slrn_Range_Type *n; ++ n = (Slrn_Range_Type *) slrn_safe_malloc (sizeof(Slrn_Range_Type)); ++ n->min = min; ++ n->max = max; ++ n->next = r; ++ n->prev = r->prev; ++ n->prev->next = n; ++ r->prev = n; ++ ++ return head; ++ } + + /* Update min / max values */ + if (min < r->min) diff --git a/net-news/slrn/files/digest-slrn-0.9.8.0-r1 b/net-news/slrn/files/digest-slrn-0.9.8.0-r1 new file mode 100644 index 000000000000..02026be11140 --- /dev/null +++ b/net-news/slrn/files/digest-slrn-0.9.8.0-r1 @@ -0,0 +1 @@ +MD5 47e9931771114ba192356a0473e9649e slrn-0.9.8.0.tar.bz2 995881 diff --git a/net-news/slrn/metadata.xml b/net-news/slrn/metadata.xml new file mode 100644 index 000000000000..4d0ebe73a55f --- /dev/null +++ b/net-news/slrn/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-news</herd> +</pkgmetadata> diff --git a/net-news/slrn/slrn-0.9.8.0-r1.ebuild b/net-news/slrn/slrn-0.9.8.0-r1.ebuild new file mode 100644 index 000000000000..ec8aa159e911 --- /dev/null +++ b/net-news/slrn/slrn-0.9.8.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/slrn/slrn-0.9.8.0-r1.ebuild,v 1.1 2004/06/18 18:30:56 swegener Exp $ + +inherit eutils + +# Upstream patches from http://slrn.sourceforge.net/patches/ +# ${FILESDIR}/${PV}/${P}-<name>.diff +SLRN_PATCHES="mime post ranges ranges2" + +DESCRIPTION="s-lang Newsreader" +HOMEPAGE="http://slrn.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +SLOT="0" +LICENSE="GPL-2" +#KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64" +KEYWORDS="~x86" +IUSE="ssl nls uudeview" + +RDEPEND="virtual/mta + >=app-arch/sharutils-4.2.1 + >=sys-libs/slang-1.4.4 + ssl? ( >=dev-libs/openssl-0.9.6 )" +DEPEND="${RDEPEND} + uudeview? ( dev-libs/uulib ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd ${S} + + for i in ${SLRN_PATCHES} ; do + epatch ${FILESDIR}/${PV}/${P}-${i}.diff + done +} + +src_compile() { + econf \ + --with-docdir=/usr/share/doc/${PF} \ + --with-slrnpull \ + `use_enable nls` \ + `use_with ssl` \ + `use_with uudeview` \ + || die "econf failed" + emake || die "emake failed" +} + +src_install () { + make DESTDIR=${D} install || die "make install failed" +} |