From eb1f478e6779891f926e3451ed902b1df53d9b28 Mon Sep 17 00:00:00 2001 From: gene Date: Tue, 18 Nov 1997 11:05:01 +0000 Subject: [PATCH] Import of a threaded newsreader. --- news/tin/Makefile | 46 ++++++++++++ news/tin/files/md5 | 1 + news/tin/patches/patch-aa | 27 +++++++ news/tin/patches/patch-ad | 153 ++++++++++++++++++++++++++++++++++++++ news/tin/pkg/COMMENT | 1 + news/tin/pkg/DESCR | 1 + news/tin/pkg/PLIST | 4 + 7 files changed, 233 insertions(+) create mode 100644 news/tin/Makefile create mode 100644 news/tin/files/md5 create mode 100644 news/tin/patches/patch-aa create mode 100644 news/tin/patches/patch-ad create mode 100644 news/tin/pkg/COMMENT create mode 100644 news/tin/pkg/DESCR create mode 100644 news/tin/pkg/PLIST diff --git a/news/tin/Makefile b/news/tin/Makefile new file mode 100644 index 00000000000..0dde6a31290 --- /dev/null +++ b/news/tin/Makefile @@ -0,0 +1,46 @@ +# ex:ts=8 +# New ports collection makefile for: tin +# Version required: tin1.3-unoff-BETA +# Date created: 18 November 1997 +# Whom: gene +# +# $OpenBSD: Makefile,v 1.1.1.1 1997/11/18 11:05:01 gene Exp $ +# Id: Makefile,v 1.45 1997/10/11 23:08:09 ache Exp $ +# + +DISTNAME= tin1.3-unoff-BETA-970930 +PKGNAME= tin-1.3.970930 +CATEGORIES= news +MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/tin/ \ + ftp://ftp.akk.uni-karlsruhe.de/pub/tin/ \ + ftp://ftp.nuxi.com/pub/tin/ +EXTRACT_SUFX= .tgz + +MAINTAINER= gene@OpenBSD.ORG + +WRKSRC= ${WRKDIR}/${DISTNAME:S/1.3-unoff-BETA//} +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-nntp-default-server=news \ + --with-spooldir=/var/news \ + --with-libdir=${PREFIX}/news/lib \ + --with-mime-default-charset=US-ASCII \ + --enable-forgery \ + --enable-curses \ + --with-ncurses \ + --enable-break-long-lines \ + --with-pgp=${PREFIX}/bin/pgp \ + --with-ispell=${PREFIX}/bin/ispell \ + --with-metamail=${PREFIX}/bin/metamail +MAKEFILE= makefile +ALL_TARGET= build +MAN1= tin.1 + +.if defined(NNTP_ONLY) +CONFIGURE_ARGS+= --enable-nntp-only +.endif + +post-configure: + echo '#define NNTP_SERVER_FILE "${PREFIX}/etc/nntpserver"' >>${WRKSRC}/include/autoconf.h + echo '#define SMTP_SERVER_FILE "${PREFIX}/etc/smtpserver"' >>${WRKSRC}/include/autoconf.h + +.include diff --git a/news/tin/files/md5 b/news/tin/files/md5 new file mode 100644 index 00000000000..58333ebfac1 --- /dev/null +++ b/news/tin/files/md5 @@ -0,0 +1 @@ +MD5 (tin1.3-unoff-BETA-970930.tgz) = 43fb8ed28fe17092fa05bbb259f37778 diff --git a/news/tin/patches/patch-aa b/news/tin/patches/patch-aa new file mode 100644 index 00000000000..7bc1f97e264 --- /dev/null +++ b/news/tin/patches/patch-aa @@ -0,0 +1,27 @@ +*** configure.orig Tue Nov 18 05:32:36 1997 +--- configure Tue Nov 18 05:37:23 1997 +*************** +*** 2874,2880 **** + cf_save_LIBS="$LIBS" + echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6 + echo "configure:2877: checking for initscr in -lncurses" >&5 +! LIBS="-lncurses $LIBS" + cat > conftest.$ac_ext <&6 + echo "configure:2877: checking for initscr in -lncurses" >&5 +! case $host_os in # XXX +! openbsd*) +! echo -n "(trying -lcurses for OpenBSD)..." +! LIBS="-lcurses $LIBS" +! ;; +! *) +! LIBS="-lncurses $LIBS" +! ;; +! esac + cat > conftest.$ac_ext <