summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-02-11 13:47:49 +0000
committerSven Wegener <swegener@gentoo.org>2007-02-11 13:47:49 +0000
commit2ed7a8de185d42409aa07e13fab8912ffe6e1f05 (patch)
tree6393b9ad7fcd79db2334b29b2cac78a10b6e606c /net-nntp
parentRestore file removed by mistake. (diff)
downloadgentoo-2-2ed7a8de185d42409aa07e13fab8912ffe6e1f05.tar.gz
gentoo-2-2ed7a8de185d42409aa07e13fab8912ffe6e1f05.tar.bz2
gentoo-2-2ed7a8de185d42409aa07e13fab8912ffe6e1f05.zip
Version bump. Add unicode support, use system libpcre.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/tin/ChangeLog9
-rw-r--r--net-nntp/tin/files/digest-tin-1.8.33
-rw-r--r--net-nntp/tin/tin-1.8.3.ebuild69
3 files changed, 79 insertions, 2 deletions
diff --git a/net-nntp/tin/ChangeLog b/net-nntp/tin/ChangeLog
index ac7b74b0c37b..7fc19583ebf0 100644
--- a/net-nntp/tin/ChangeLog
+++ b/net-nntp/tin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-nntp/tin
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/ChangeLog,v 1.15 2006/11/13 22:20:41 swegener Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/ChangeLog,v 1.16 2007/02/11 13:47:49 swegener Exp $
+
+*tin-1.8.3 (11 Feb 2007)
+
+ 11 Feb 2007; Sven Wegener <swegener@gentoo.org> +tin-1.8.3.ebuild:
+ Version bump. Add unicode support, use system libpcre.
13 Nov 2006; Sven Wegener <swegener@gentoo.org>
-files/tin-1.7.7-mbox-mmdf.patch, -tin-1.6.2.ebuild, -tin-1.7.8.ebuild:
diff --git a/net-nntp/tin/files/digest-tin-1.8.3 b/net-nntp/tin/files/digest-tin-1.8.3
new file mode 100644
index 000000000000..d39e4be9a2ed
--- /dev/null
+++ b/net-nntp/tin/files/digest-tin-1.8.3
@@ -0,0 +1,3 @@
+MD5 e6ed45205020665c097556822b0d575b tin-1.8.3.tar.bz2 1437604
+RMD160 7e165eccb099cfc8aae073781a5642266321dd3e tin-1.8.3.tar.bz2 1437604
+SHA256 5ed70aff723181b6c8e26923a96054f7e2376204bf62b9a49fdf2b677f283f9f tin-1.8.3.tar.bz2 1437604
diff --git a/net-nntp/tin/tin-1.8.3.ebuild b/net-nntp/tin/tin-1.8.3.ebuild
new file mode 100644
index 000000000000..e291373dde48
--- /dev/null
+++ b/net-nntp/tin/tin-1.8.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/tin-1.8.3.ebuild,v 1.1 2007/02/11 13:47:49 swegener Exp $
+
+inherit versionator eutils
+
+DESCRIPTION="A threaded NNTP and spool based UseNet newsreader"
+HOMEPAGE="http://www.tin.org/"
+SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/v$(get_version_component_range 1-2)/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 arm ia64 ~ppc-macos sparc x86"
+IUSE="crypt debug idn ipv6 nls unicode"
+
+DEPEND="sys-libs/ncurses
+ dev-libs/libpcre
+ dev-libs/uulib
+ idn? ( net-dns/libidn )
+ unicode? ( dev-libs/icu )
+ nls? ( sys-devel/gettext )
+ crypt? ( app-crypt/gnupg )"
+RDEPEND="${DEPEND}
+ net-misc/urlview"
+
+pkg_setup() {
+ if use unicode && ! built_with_use sys-libs/ncurses unicode
+ then
+ die "For unicode support you need sys-libs/ncurses compiled with unicode support!"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/1.8.2-various.patch
+}
+
+src_compile() {
+ local screen="ncurses"
+
+ use unicode && screen="ncursesw"
+
+ econf \
+ --with-pcre=/usr \
+ --enable-nntp-only \
+ --enable-prototypes \
+ --disable-echo \
+ --disable-mime-strict-charset \
+ --with-coffee \
+ --enable-fascist-newsadmin \
+ --with-screen=${screen} \
+ --with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.org}}" \
+ $(use_enable ipv6) \
+ $(use_enable debug) \
+ $(use_enable crypt pgp-gpg) \
+ $(use_enable nls) \
+ || die "econf failed"
+ emake build || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc doc/{CHANGES{,.old},CREDITS,TODO,WHATSNEW,*.sample,*.txt} || die "dodoc failed"
+ insinto /etc/tin
+ doins doc/tin.defaults || die "doins failed"
+}