Update to release 1.4.3. Use CONFIGURE_STYLE and FLAVORS. Fake as well.
bump NEED_VERSION. Still a few things to do, tho.
This commit is contained in:
parent
74a911250b
commit
dfe0787336
@ -1,51 +1,35 @@
|
||||
# ex:ts=8
|
||||
# OpenBSD makefile for: tin
|
||||
# Version required: tinpre-1.4-19990216
|
||||
# Date created: 18 November 1997
|
||||
# Whom: gene
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.12 2000/04/09 17:37:45 espie Exp $
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.13 2000/07/02 11:05:46 fgsch Exp $
|
||||
|
||||
DISTNAME= tinpre-1.4-19990216
|
||||
PKGNAME= tin-1.4.19990216
|
||||
CATEGORIES= news
|
||||
NEED_VERSION= 1.210
|
||||
FAKE=No
|
||||
DISTNAME= tin-1.4.3
|
||||
CATEGORIES= news
|
||||
NEED_VERSION= 1.311
|
||||
MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/stable/ \
|
||||
ftp://ftp.aak.uni-karlsruhe.de/pub/news/clients/tin/stable/ \
|
||||
ftp://ftp.nuxi.com/pub/tin/stable/ \
|
||||
ftp://uiarchive.uiuc.edu/pub/packages/news/client/tin/unoff/
|
||||
|
||||
NO_PACKAGE= "too much compile time configuration"
|
||||
HOMEPAGE= http://www.tin.org/
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
PERMIT_PACKAGE_CDROM= "no fee"
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= "no fee"
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/tin/pre-v1.4/ \
|
||||
ftp://ftp.akk.uni-karlsruhe.de/pub/tin/ \
|
||||
ftp://ftp.nuxi.com/pub/tin/
|
||||
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_STYLE= gnu dest
|
||||
CONFIGURE_ARGS+= --with-spooldir=/var/news \
|
||||
--with-libdir=${PREFIX}/lib/news \
|
||||
--with-mime-default-charset=US-ASCII \
|
||||
--enable-forgery \
|
||||
--enable-curses \
|
||||
--with-ncurses \
|
||||
--enable-mh-mail-handling \
|
||||
--enable-break-long-lines \
|
||||
--with-coffee
|
||||
.if defined(NNTP_ONLY)
|
||||
--enable-break-long-lines
|
||||
|
||||
FLAVORS= nntp_only
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L} == "nntp_only"
|
||||
CONFIGURE_ARGS+= --enable-nntp-only
|
||||
.endif
|
||||
CONFIGURE_ENV= ${SETENV}
|
||||
|
||||
MAKE_FILE= makefile
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME:S/pre-1.4//}
|
||||
|
||||
ALL_TARGET= build
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
SHA1 (tinpre-1.4-19990216.tgz) = 8b9a3ddbf86d617967749423dc673dc715dbfed8
|
||||
RMD160 (tinpre-1.4-19990216.tgz) = bc809e53f0d014c796b55b8d9b0e108b2c46527d
|
||||
MD5 (tinpre-1.4-19990216.tgz) = a30eb82cdc480041e84b43b626a083da
|
||||
MD5 (tin-1.4.3.tar.gz) = 8a0557d6cd48c536381f8f53b26cdbf0
|
||||
RMD160 (tin-1.4.3.tar.gz) = d7d061d8b5a032cbebed4dc0fc8e4fab86c6ab02
|
||||
SHA1 (tin-1.4.3.tar.gz) = 17de5f467c83a5da150eb35c0dd2d2a6be921c7a
|
||||
|
@ -1,46 +0,0 @@
|
||||
--- configure.save Sun Mar 21 16:18:11 1999
|
||||
+++ configure Sun Mar 21 16:20:16 1999
|
||||
@@ -3648,9 +3648,9 @@
|
||||
echo "$ac_t""no" 1>&6
|
||||
|
||||
cf_save_LIBS="$LIBS"
|
||||
- echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
|
||||
-echo "configure:3653: checking for initscr in -lncurses" >&5
|
||||
- LIBS="-lncurses $LIBS"
|
||||
+ echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6
|
||||
+echo "configure:3653: checking for initscr in -lcurses" >&5
|
||||
+ LIBS="-lcurses $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3656 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -3685,9 +3685,9 @@
|
||||
|
||||
for cf_libdir in $cf_search
|
||||
do
|
||||
- echo $ac_n "checking for -lncurses in $cf_libdir""... $ac_c" 1>&6
|
||||
-echo "configure:3690: checking for -lncurses in $cf_libdir" >&5
|
||||
- LIBS="-L$cf_libdir -lncurses $cf_save_LIBS"
|
||||
+ echo $ac_n "checking for -lcurses in $cf_libdir""... $ac_c" 1>&6
|
||||
+echo "configure:3690: checking for -lcurses in $cf_libdir" >&5
|
||||
+ LIBS="-L$cf_libdir -lcurses $cf_save_LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3693 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -6279,14 +6279,14 @@
|
||||
else
|
||||
found_tcap=no
|
||||
if test $found_ncurses = yes ; then
|
||||
- echo $ac_n "checking for tgoto in -lncurses""... $ac_c" 1>&6
|
||||
-echo "configure:6284: checking for tgoto in -lncurses" >&5
|
||||
+ echo $ac_n "checking for tgoto in -lcurses""... $ac_c" 1>&6
|
||||
+echo "configure:6284: checking for tgoto in -lcurses" >&5
|
||||
ac_lib_var=`echo ncurses'_'tgoto | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
-LIBS="-lncurses $LIBS"
|
||||
+LIBS="-lcurses $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 6292 "configure"
|
||||
#include "confdefs.h"
|
@ -1,25 +0,0 @@
|
||||
--- src/auth.c.~1~ Mon Sep 7 21:52:28 1998
|
||||
+++ src/auth.c Mon Sep 7 21:54:15 1998
|
||||
@@ -64,17 +64,20 @@
|
||||
(void) sscanf (authcmd, "%*d.%*d.%d", &cookiefd);
|
||||
|
||||
if (cookiefd == -1) {
|
||||
+ int fdfd;
|
||||
char tempfile[BUFSIZ];
|
||||
|
||||
sprintf (tempfile, "%stin_AXXXXXX", TMPDIR);
|
||||
- if (!mktemp (tempfile)) {
|
||||
+ fdfd = mkstemp(tempfile);
|
||||
+ if (fdfd == -1) {
|
||||
error_message (txt_cannot_create_uniq_name);
|
||||
#ifdef DEBUG
|
||||
debug_nntp ("authorization", txt_cannot_create_uniq_name);
|
||||
#endif /* DEBUG */
|
||||
return FALSE;
|
||||
} else {
|
||||
- if ((fp = fopen (tempfile, "w+")) != (FILE *) 0) {
|
||||
+ fp = fdopen (fdfd, "w+");
|
||||
+ if (fp) {
|
||||
cookiefd = fileno (fp);
|
||||
(void) unlink (tempfile);
|
||||
} else {
|
@ -1,17 +0,0 @@
|
||||
--- src/open.c.orig Fri Aug 14 11:34:01 1998
|
||||
+++ src/open.c Mon Sep 7 21:55:05 1998
|
||||
@@ -630,11 +630,12 @@
|
||||
char tempfile[PATH_LEN];
|
||||
int count = 0;
|
||||
struct stat sb;
|
||||
+ int fdfd;
|
||||
|
||||
sprintf (tempfile, "%stin_nntpXXXXXX", TMPDIR);
|
||||
- mktemp (tempfile);
|
||||
+ fdfd = mkstemp (tempfile);
|
||||
|
||||
- if ((fp = fopen (tempfile, "w")) == (FILE *) 0) {
|
||||
+ if ((fp = fdopen (fdfd, "w")) == (FILE *) 0) {
|
||||
perror_message (txt_article_cannot_open, tempfile);
|
||||
return ((FILE *) 0);
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
--- doc/tin.1.orig Sat Aug 8 11:41:32 1998
|
||||
+++ doc/tin.1 Mon Sep 7 21:55:44 1998
|
||||
@@ -79,7 +79,7 @@
|
||||
.SH DESCRIPTION
|
||||
.B tin
|
||||
is a full-screen easy to use Usenet newsreader. It can read news locally (i.e.,
|
||||
-\fI/var/spool/news\fP) or remotely (\fBrtin\fR or \fBtin -r\fR option) via a
|
||||
+\fI/var/news\fP) or remotely (\fBrtin\fR or \fBtin -r\fR option) via a
|
||||
NNTP (Network News Transport Protocol) server. It will automatically utilize
|
||||
NOV (News OVerview) style index files if available locally or via the NNTP
|
||||
XOVER command.
|
||||
@@ -1176,7 +1176,7 @@
|
||||
.\" FIXME - bring into a useful order
|
||||
At startup, \fBtin\fR reads in the configuration file. This contains a list
|
||||
of variables that can be used to configure the way \fBtin\fR works. If it
|
||||
-exists, the global configuration file, \fI/usr/lib/news/tinrc\fP is read.
|
||||
+exists, the global configuration file, \fI/usr/local/lib/news/tinrc\fP is read.
|
||||
After that, the users own configuration file is read from
|
||||
\fI$HOME/.tin/tinrc\fP. The global file is useful for distributing
|
||||
system-wide defaults to new users who have no private tinrc yet.
|
||||
@@ -2265,14 +2265,14 @@
|
||||
.PP
|
||||
A slightly better method is to set \fBtin\fR setuid news and have all index
|
||||
files created and updated in the news spool directory (i.e.,
|
||||
-\fI/var/spool/news/.news\fP). This has the advantage that there will only be
|
||||
+\fI/var/news/.news\fP). This has the advantage that there will only be
|
||||
one copy of the index files on each machine on your network, but the
|
||||
disadvantage is that you will have \fBtin\fR running setuid news.
|
||||
.PP
|
||||
A better method is to install the \fBtind\fR index file updating daemon and
|
||||
have it create and update index files for all groups in your active file at
|
||||
regular intervals in the news spool directory (i.e.,
|
||||
-\fI/var/spool/news/.news\fP). This has the advantage that there will only be
|
||||
+\fI/var/news/.news\fP). This has the advantage that there will only be
|
||||
one copy of the index files on each machine on your network and
|
||||
\fBtin\fR must not be setuid news, but the disadvantage is that you will
|
||||
have to have news permissions to install \fBtind\fR and root permissions to
|
||||
@@ -2282,7 +2282,7 @@
|
||||
The best method is to install the \fBtind\fR index file updating daemon on
|
||||
your NNTP server and have it create and update index files for all groups in
|
||||
your active file at regular intervals in the news spool directory (i.e.,
|
||||
-\fI/var/spool/news/.news\fP). This has the advantage that there will only be
|
||||
+\fI/var/news/.news\fP). This has the advantage that there will only be
|
||||
one copy of the index files on the NNTP server for the whole of your
|
||||
network, but the disadvantage is that you will have to install my NNTP
|
||||
server patches to allow \fBtin\fR to retrieve index file from your NNTP
|
||||
@@ -2498,16 +2498,16 @@
|
||||
\fI$HOME/.sigfixed\fP
|
||||
fixed part of a randomly generated signature.
|
||||
.TP
|
||||
-\fI/usr/lib/news/active.times\fP
|
||||
+\fI/usr/local/lib/news/active.times\fP
|
||||
Contains list of new newsgroups as they are added to the news history file.
|
||||
.TP
|
||||
-\fI/usr/lib/news/newsgroups\fP
|
||||
+\fI/usr/local/lib/news/newsgroups\fP
|
||||
Short description of all newsgroups.
|
||||
.TP
|
||||
-\fI/usr/lib/news/subscriptions\fP
|
||||
+\fI/usr/local/lib/news/subscriptions\fP
|
||||
List of newsgroups to subscribe first time user to.
|
||||
.TP 2i
|
||||
-\fI/usr/lib/news/tinrc\fP
|
||||
+\fI/usr/local/lib/news/tinrc\fP
|
||||
Global configuration file.
|
||||
.\"
|
||||
.\"
|
@ -1 +1 @@
|
||||
TIN newsreader (termcap based)
|
||||
full-screen easy to use Usenet reader.
|
||||
|
@ -1 +1,4 @@
|
||||
TIN: Easy to use threaded newsreader with NOV/NNTP support.
|
||||
tin is a full-screen easy to use Usenet reader. It can read news locally
|
||||
or remotely via a NTTP (Network News Transport Protocol) server. It will
|
||||
automatically utilize NOV (News OVerview) style index files if available
|
||||
locally or via the NNTP XOVER command.
|
||||
|
@ -1,3 +1,4 @@
|
||||
bin/tin
|
||||
@comment $OpenBSD: PLIST,v 1.5 2000/07/02 11:05:48 fgsch Exp $
|
||||
bin/rtin
|
||||
bin/tin
|
||||
man/man1/tin.1
|
||||
|
Loading…
Reference in New Issue
Block a user