summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nntp/tin')
-rw-r--r--net-nntp/tin/ChangeLog8
-rw-r--r--net-nntp/tin/files/1.8.2-various.patch29
-rw-r--r--net-nntp/tin/files/digest-tin-1.8.23
-rw-r--r--net-nntp/tin/tin-1.8.2.ebuild54
4 files changed, 93 insertions, 1 deletions
diff --git a/net-nntp/tin/ChangeLog b/net-nntp/tin/ChangeLog
index 768b8a6f7314..80a30a343f0a 100644
--- a/net-nntp/tin/ChangeLog
+++ b/net-nntp/tin/ChangeLog
@@ -1,6 +1,12 @@
# 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.8 2006/05/02 23:38:59 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/ChangeLog,v 1.9 2006/08/09 19:55:52 swegener Exp $
+
+*tin-1.8.2 (09 Aug 2006)
+
+ 09 Aug 2006; Sven Wegener <swegener@gentoo.org>
+ +files/1.8.2-various.patch, +tin-1.8.2.ebuild:
+ Version bump, bug #121529.
02 May 2006; Jason Wever <weeve@gentoo.org> tin-1.6.2.ebuild:
Stable on SPARC.
diff --git a/net-nntp/tin/files/1.8.2-various.patch b/net-nntp/tin/files/1.8.2-various.patch
new file mode 100644
index 000000000000..e28717463748
--- /dev/null
+++ b/net-nntp/tin/files/1.8.2-various.patch
@@ -0,0 +1,29 @@
+diff -Nur tin-1.8.2.orig/src/Makefile.in tin-1.8.2/src/Makefile.in
+--- tin-1.8.2.orig/src/Makefile.in 2005-07-16 19:49:36.000000000 +0000
++++ tin-1.8.2/src/Makefile.in 2006-08-09 19:08:44.142766906 +0000
+@@ -336,8 +336,6 @@
+ @$(INSTALL) -m 444 $(DOCDIR)/tin.1 $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT)/$(PROJECT).$(INS_MANUAL_EXT)
+ @( $(CD) $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT) && $(RM) -f r$(PROJECT).$(INS_MANUAL_EXT) && $(LN) $(PROJECT).$(INS_MANUAL_EXT) r$(PROJECT).$(INS_MANUAL_EXT) )
+ @$(INSTALL) -m 444 $(DOCDIR)/tin.5 $(DESTDIR)$(INS_MANUAL_DIR)5/$(PROJECT).5
+- @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mbox.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mbox.5 - file already exists" ; fi
+- @-if test ! -f $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; then $(INSTALL) -m 444 $(DOCDIR)/mmdf.5 $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 ; else $(ECHO) " ... skipping $(DESTDIR)$(INS_MANUAL_DIR)5/mmdf.5 - file already exists" ; fi
+
+ uninstall_manpage :
+ @$(ECHO) "Uninstalling $(PROJECT) manual page in $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT) ..."
+@@ -361,7 +359,6 @@
+
+ install_helpers : $(DESTDIR)$(INS_BINARY_DIR) $(DESTDIR)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT)
+ @$(ECHO) "Installing helper applications ..."
+- @-if test ! -f $(DESTDIR)$(INS_BINARY_DIR)/url_handler.sh ; then $(INSTALL) -m 755 $(TOLDIR)/url_handler.sh $(DESTDIR)$(INS_BINARY_DIR)/url_handler.sh ; fi
+ @-if test ! -f $(DESTDIR)$(INS_BINARY_DIR)/metamutt ; then $(INSTALL) -m 755 $(TOLDIR)/metamutt $(DESTDIR)$(INS_BINARY_DIR)/metamutt ; fi
+ @$(INSTALL) -m 755 $(TOLDIR)/w2r.pl $(DESTDIR)$(INS_BINARY_DIR)/w2r.pl
+ @$(INSTALL) -m 755 $(TOLDIR)/opt-case.pl $(DESTDIR)$(INS_BINARY_DIR)/opt-case.pl
+@@ -382,7 +379,7 @@
+ install : $(DESTDIR)$(INS_BINARY_DIR)
+ @$(MAKE) all
+ @$(ECHO) "Installing $(EXE) v$(VER) to $(DESTDIR)$(INS_BINARY_DIR) ..."
+- @$(INSTALL) -s $(BINDIR)/$(EXE) $(DESTDIR)$(INS_BINARY_DIR)/$(EXE)
++ @$(INSTALL) $(BINDIR)/$(EXE) $(DESTDIR)$(INS_BINARY_DIR)/$(EXE)
+ @( $(CD) $(DESTDIR)$(INS_BINARY_DIR) && $(RM) -f r$(EXE) && $(LN) $(EXE) r$(EXE) )
+ @$(MAKE) install_helpers
+ @$(MAKE) install_manpage
diff --git a/net-nntp/tin/files/digest-tin-1.8.2 b/net-nntp/tin/files/digest-tin-1.8.2
new file mode 100644
index 000000000000..64ae7765724a
--- /dev/null
+++ b/net-nntp/tin/files/digest-tin-1.8.2
@@ -0,0 +1,3 @@
+MD5 b6726c7f3e01b821b3b20d446ac2da9b tin-1.8.2.tar.bz2 1436706
+RMD160 2af922eb2fdc10fd6b305d6a3d033fd116db25ae tin-1.8.2.tar.bz2 1436706
+SHA256 6b4f45e8b5e142bc9191116972e1408e45c037242bdef22d156ddd5500139677 tin-1.8.2.tar.bz2 1436706
diff --git a/net-nntp/tin/tin-1.8.2.ebuild b/net-nntp/tin/tin-1.8.2.ebuild
new file mode 100644
index 000000000000..d6dc7a37c3ff
--- /dev/null
+++ b/net-nntp/tin/tin-1.8.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/tin/tin-1.8.2.ebuild,v 1.1 2006/08/09 19:55:52 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 ~sparc ~x86"
+IUSE="crypt debug ipv6 ncurses nls"
+
+DEPEND="ncurses? ( sys-libs/ncurses )
+ nls? ( sys-devel/gettext )
+ crypt? ( app-crypt/gnupg )"
+RDEPEND="${DEPEND}
+ net-misc/urlview"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PV}-various.patch
+}
+
+src_compile() {
+ econf \
+ --enable-nntp-only \
+ --enable-prototypes \
+ --disable-echo \
+ --disable-mime-strict-charset \
+ --with-coffee \
+ --enable-fascist-newsadmin \
+ --with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.org}}" \
+ $(use_enable ncurses curses) \
+ $(use_with ncurses) \
+ $(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"
+}