pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tin: remove, used to update news/tin



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Tue Jan 15 16:48:27 2019 +0100
Changeset:	71bf8f377cbf4190d008d700593ab6c2e57f6db4

Removed Files:
	tin/DESCR
	tin/Makefile
	tin/PLIST
	tin/TODO
	tin/distinfo
	tin/options.mk
	tin/patches/patch-Makefile
	tin/patches/patch-configure
	tin/patches/patch-include_tin.h
	tin/patches/patch-src_Makefile.in

Log Message:
tin: remove, used to update news/tin

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=71bf8f377cbf4190d008d700593ab6c2e57f6db4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tin/DESCR                         |  1 -
 tin/Makefile                      | 64 ---------------------------------------
 tin/PLIST                         | 29 ------------------
 tin/TODO                          |  5 ---
 tin/distinfo                      | 10 ------
 tin/options.mk                    | 61 -------------------------------------
 tin/patches/patch-Makefile        | 15 ---------
 tin/patches/patch-configure       | 16 ----------
 tin/patches/patch-include_tin.h   | 15 ---------
 tin/patches/patch-src_Makefile.in | 24 ---------------
 10 files changed, 240 deletions(-)

diffs:
diff --git a/tin/DESCR b/tin/DESCR
deleted file mode 100644
index a99b0fa123..0000000000
--- a/tin/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-TIN:  Easy to use threaded newsreader with NOV/NNTP support.
diff --git a/tin/Makefile b/tin/Makefile
deleted file mode 100644
index a0b316086a..0000000000
--- a/tin/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	tin-2.4.3
-CATEGORIES=	news
-MASTER_SITES=	ftp://ftp.tin.org/pub/news/clients/tin/stable/
-MASTER_SITES+=	ftp://ftp.funet.fi/pub/unix/news/tin-unoff/
-MASTER_SITES+=	ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/
-MASTER_SITES+=	ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/stable/
-MASTER_SITES+=	ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/
-EXTRACT_SUFX=	.tar.xz
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	http://www.tin.org/
-COMMENT=	USENET newsreader (termcap based)
-# See src/nntplib.c, vms/vms.c
-LICENSE=	tin-license
-
-RESTRICTED=		Profit from use, sale, trade, or reproduction disallowed
-NO_BIN_ON_CDROM=	${RESTRICTED}
-NO_SRC_ON_CDROM=	${RESTRICTED}
-
-GNU_CONFIGURE=	yes
-USE_PKGLOCALEDIR=yes
-
-INSTALLATION_DIRS=	share/doc/tin
-
-# for tinews.pl
-USE_TOOLS+=	msgfmt perl:run yacc
-REPLACE_PERL=	tools/*.pl
-BUILD_TARGET=	build
-
-.include "options.mk"
-
-CONFIGURE_ARGS+=	--with-nntp-default-server=news
-CONFIGURE_ARGS+=	--with-mime-default-charset=ISO-8859-1
-CONFIGURE_ARGS+=	--enable-break-long-lines
-CONFIGURE_ARGS+=	--with-gpg=${PREFIX}/bin/gpg
-CONFIGURE_ARGS+=	--with-ispell=${PREFIX}/bin/ispell
-CONFIGURE_ARGS+=	--with-metamail=${PREFIX}/bin/metamail
-CONFIGURE_ARGS+=	--with-pcre=${BUILDLINK_PREFIX.pcre}
-CONFIGURE_ARGS+=	--disable-mime-strict-charset
-CONFIGURE_ARGS+=	--with-defaults-dir=${PKG_SYSCONFDIR}
-CONFIGURE_ARGS+=	--enable-mh-mail-handling
-CONFIGURE_ARGS+=	--with-coffee
-
-SUBST_CLASSES+=		tin
-SUBST_STAGE.tin=	pre-configure
-SUBST_MESSAGE.tin=	Adjusting path to the configuration directory.
-SUBST_FILES.tin=	doc/tin.1
-SUBST_SED.tin=		-e 's:/etc/nntpserver:${PKG_SYSCONFDIR}/nntp/server:'
-
-post-configure:
-	${ECHO} '#define NNTP_SERVER_FILE "${PKG_SYSCONFDIR}/nntp/server"' >>${WRKSRC}/include/autoconf.h
-	${ECHO} '#define SMTP_SERVER_FILE "${PKG_SYSCONFDIR}/smtpserver"' >>${WRKSRC}/include/autoconf.h
-
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/doc/WHATSNEW ${DESTDIR}${PREFIX}/share/doc/tin
-	${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/mmdf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/tin-mmdf.5
-
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../converters/uulib/buildlink3.mk"
-.include "../../devel/libidn/buildlink3.mk"
-.include "../../devel/pcre/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/tin/PLIST b/tin/PLIST
deleted file mode 100644
index fce3b09a28..0000000000
--- a/tin/PLIST
+++ /dev/null
@@ -1,29 +0,0 @@
-@comment $NetBSD$
-bin/metamutt
-bin/opt-case.pl
-bin/rtin
-bin/tin
-bin/tinews.pl
-bin/url_handler.pl
-bin/w2r.pl
-man/man1/opt-case.pl.1
-man/man1/rtin.1
-man/man1/tin.1
-man/man1/tinews.pl.1
-man/man1/url_handler.pl.1
-man/man1/w2r.pl.1
-man/man5/rtin.5
-man/man5/tin-mmdf.5
-man/man5/tin.5
-share/doc/tin/WHATSNEW
-${PLIST.nls}share/locale/da/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/de/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/en_GB/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/es/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/et/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/fr/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/ru/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/sv/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/tr/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/tin.mo
-${PLIST.nls}share/locale/zh_TW/LC_MESSAGES/tin.mo
diff --git a/tin/TODO b/tin/TODO
deleted file mode 100644
index 051424183e..0000000000
--- a/tin/TODO
+++ /dev/null
@@ -1,5 +0,0 @@
-[X] Update to latest release 2.4.3
-[X] Rework patches to apply without offset
-[X] Test package
-[X] Suggest option "termcap" for "mk/defaults/options.description"
-    (from pkglint warning)
diff --git a/tin/distinfo b/tin/distinfo
deleted file mode 100644
index c798f08d5f..0000000000
--- a/tin/distinfo
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD$
-
-SHA1 (tin-2.4.3.tar.xz) = f0460e6e9aa555864df8d12986c06e3c0c27f70a
-RMD160 (tin-2.4.3.tar.xz) = ca9404b46705b75b615b79e6d0434c85e009c616
-SHA512 (tin-2.4.3.tar.xz) = 9d4b22ec889cc0b468d9d5488907b6b4a6fc864dcbd18ef2e91a463734e651bc7ff149d6c74805f82cbf0d4f6e7f28b005ba07268966e3c96928b5b20be59eba
-Size (tin-2.4.3.tar.xz) = 1538960 bytes
-SHA1 (patch-Makefile) = 7f9048d31e70d9630ba6511d834db5d0c60a7de1
-SHA1 (patch-configure) = 02f6c943c7e6cbf8552f163c8ff4922413c9c340
-SHA1 (patch-include_tin.h) = 75a933e15128e7e102598c311ff292caf9c49041
-SHA1 (patch-src_Makefile.in) = 412f1cd6b01618e64d6a3f713f3758d5a563e79e
diff --git a/tin/options.mk b/tin/options.mk
deleted file mode 100644
index f3b6b99fc6..0000000000
--- a/tin/options.mk
+++ /dev/null
@@ -1,61 +0,0 @@
-# $NetBSD$
-
-PKG_OPTIONS_VAR=		PKG_OPTIONS.tin
-PKG_OPTIONS_REQUIRED_GROUPS=	display
-PKG_OPTIONS_GROUP.display=	curses termcap # wide-curses removed, see below
-PKG_SUPPORTED_OPTIONS=		canlock icu inet6 nls tin-use-inn-spool
-PKG_SUGGESTED_OPTIONS=		canlock inet6 nls termcap # see PR #51819
-# untested
-#PKG_SUPPORTED_OPTIONS+=	socks
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mcanlock)
-.include "../../news/libcanlock/buildlink3.mk"
-CONFIGURE_ARGS+=	--enable-cancel-locks
-.endif
-
-# Option wide-curses removed
-# Use curses option and set CURSES_DEFAULT in mk.conf to select type
-.if !empty(PKG_OPTIONS:Mcurses)
-.include "../../mk/curses.buildlink3.mk"
-CONFIGURE_ARGS+=	--with-screen=${CURSES_TYPE}
-CONFIGURE_ARGS+=	--with-curses-dir=${BUILDLINK_PREFIX.curses}
-.endif
-
-.if !empty(PKG_OPTIONS:Mtermcap)
-.include "../../mk/termcap.buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Micu)
-.include "../../textproc/icu/buildlink3.mk"
-.endif
-
-.if empty(PKG_OPTIONS:Minet6)
-CONFIGURE_ARGS+=	--disable-ipv6
-.endif
-
-PLIST_VARS+=	nls
-.if !empty(PKG_OPTIONS:Mnls)
-PLIST.nls=	yes
-.include "../../devel/gettext-lib/buildlink3.mk"
-CONFIGURE_ARGS+=	--enable-nls
-.else
-CONFIGURE_ARGS+=	--disable-nls
-.endif
-
-.if !empty(PKG_OPTIONS:Mtin-use-inn-spool)
-BUILD_DEFS+=		INN_DATA_DIR VARBASE
-INN_DATA_DIR?=		${VARBASE}/news
-CONFIGURE_ARGS+=	--with-inews-dir=${PREFIX}/inn/bin \
-			--with-libdir=${INN_DATA_DIR}/db \
-			--with-spooldir=${INN_DATA_DIR}/spool/articles \
-			--with-nov-dir=${INN_DATA_DIR}/spool/overview
-.else
-CONFIGURE_ARGS+=	--enable-nntp-only
-.endif
-
-#.if !empty(PKG_OPTIONS:Msocks)
-#.include "../../net/dante/buildlink3.mk"
-#CONFIGURE_ARGS+=	--with-socks=${BUILDLINK_PREFIX.dante}
-#.endif
diff --git a/tin/patches/patch-Makefile b/tin/patches/patch-Makefile
deleted file mode 100644
index a981006479..0000000000
--- a/tin/patches/patch-Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Do not ignore error for missing src/Makefile.
-
---- Makefile.orig
-+++ Makefile
-@@ -407,7 +407,7 @@ all:
- 	@$(ECHO) " "
- 
- build:
--	@-if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) ; else $(ECHO) "You need to run configure first - didn't you read README?" ; fi
-+	@if $(TEST) -r $(SRCDIR)/Makefile ; then $(CD) $(SRCDIR) && $(MAKE) ; else $(ECHO) "You need to run configure first - didn't you read README?" ; fi
- 
- install:
- 	@$(CD) $(SRCDIR) && $(MAKE) install
diff --git a/tin/patches/patch-configure b/tin/patches/patch-configure
deleted file mode 100644
index 084a859ccd..0000000000
--- a/tin/patches/patch-configure
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-Skip missing include directories.
-
---- configure.orig
-+++ configure
-@@ -11429,6 +11429,9 @@ echo "$ac_t""$cf_cv_ncurses_h2" 1>&6
- if test -n "$cf_1st_incdir" ; then
-   for cf_add_incdir in $cf_1st_incdir
-   do
-+    if ! [ -d $cf_add_incdir ]; then
-+      continue;
-+    fi
- 	while test $cf_add_incdir != /usr/include
- 	do
- 	  if test -d $cf_add_incdir
diff --git a/tin/patches/patch-include_tin.h b/tin/patches/patch-include_tin.h
deleted file mode 100644
index d6d1da0c34..0000000000
--- a/tin/patches/patch-include_tin.h
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-Use system libcanlock.
-
---- include/tin.h.orig
-+++ include/tin.h
-@@ -2394,7 +2394,7 @@ extern struct tm *localtime(time_t *);
- 
- /* libcanlock */
- #ifdef USE_CANLOCK
--#	include "../libcanlock/include/canlock.h"
-+#	include <libcanlock-3/canlock.h>
- #endif /* USE_CANLOCK */
- 
- /* gsasl */
diff --git a/tin/patches/patch-src_Makefile.in b/tin/patches/patch-src_Makefile.in
deleted file mode 100644
index cd276faf4a..0000000000
--- a/tin/patches/patch-src_Makefile.in
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD$
-
-Do not link internal static libcanlock.
-Do not install mbox manpage.
-
---- src/Makefile.in.orig
-+++ src/Makefile.in
-@@ -208,7 +208,7 @@ EXTRAOBJS = @EXTRAOBJS@
- EXTRA_INTLLIBS = @INTLDIR_MAKE@ @INTLLIBS@
- EXTRA_PCREHDRS = @PCREDIR_MAKE@ ../pcre/pcre.h
- EXTRA_PCRELIBS = @PCREDIR_MAKE@ ../pcre/$(PRELIB)pcre.a
--EXTRA_CANLIBS = @CANDIR_MAKE@ ../libcanlock/$(PRELIB)canlock.a
-+#EXTRA_CANLIBS = @CANDIR_MAKE@ ../libcanlock/$(PRELIB)canlock.a
- EXTRALIBS = $(EXTRA_INTLLIBS) $(EXTRA_PCRELIBS) $(EXTRA_CANLIBS)
- 
- OFILES	= @ALLOCA@ $(EXTRAOBJS) \
-@@ -340,7 +340,6 @@ install_manpage : $(DESTDIR)$(INS_MANUAL
- 	@-$(RM) -f $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5
- 	@$(ECHO) ".so $(INS_MANUAL_DIR)5/$(PROJECT).5" > $(DESTDIR)$(INS_MANUAL_DIR)5/r$(PROJECT).5
- 	@$(CHMOD) 444 $(DESTDIR)$(INS_MANUAL_DIR)5/r$(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 :


Home | Main Index | Thread Index | Old Index