diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-12-17 23:40:56 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-12-17 23:40:56 +0000 |
commit | 0f069de4cc40d50fa107ae722f23ace9d82da2f1 (patch) | |
tree | 365cf64592f907d8e995cb5ffaf1e56eb3f85182 | |
parent | dc45f4780336f6e5c27852af6e3fc3bf72946a3b (diff) | |
download | pkgsrc-0f069de4cc40d50fa107ae722f23ace9d82da2f1.tar.gz |
A X11 newsreader with support for threading and MIME
closes PR 4611 by Matthias Scheler <tron@lyssa.owl.de>.
-rw-r--r-- | news/knews/Makefile | 34 | ||||
-rw-r--r-- | news/knews/files/md5 | 1 | ||||
-rw-r--r-- | news/knews/patches/patch-aa | 20 | ||||
-rw-r--r-- | news/knews/patches/patch-ab | 10 | ||||
-rw-r--r-- | news/knews/patches/patch-ac | 14 | ||||
-rw-r--r-- | news/knews/patches/patch-ad | 10 | ||||
-rw-r--r-- | news/knews/pkg/COMMENT | 1 | ||||
-rw-r--r-- | news/knews/pkg/DESCR | 2 | ||||
-rw-r--r-- | news/knews/pkg/PLIST | 3 |
9 files changed, 95 insertions, 0 deletions
diff --git a/news/knews/Makefile b/news/knews/Makefile new file mode 100644 index 00000000000..11cbe2c34e9 --- /dev/null +++ b/news/knews/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 1997/12/17 23:40:56 hubertf Exp $ +# New ports collection Makefile for: knews +# Version required: 0.9.8 +# Date created: 30th November 1997 +# Whom: tron +# + +DISTNAME= knews-0.9.8 +CATEGORIES= news +MASTER_SITES= ftp://ftp.nada.kth.se/home/su95-kjo/knews/ \ + ftp://ftp.cs.tu-berlin.de/pub/net/news/knews/ + +MAINTAINER= tron@lyssa.owl.de + +LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm + +USE_IMAKE= yes +USE_X11= yes +WRKSRC= $(WRKDIR)/knews + +pre-fetch: +.if !defined(DOMAIN_NAME) + @${ECHO_MSG} "Type \"make DOMAIN_NAME=xyz\" to set the domain name." +.else + @${ECHO_MSG} "Using \"${DOMAIN_NAME}\" as the domain name." +.endif + +post-patch: +.if defined(DOMAIN_NAME) + ${ECHO_MSG} >>${WRKSRC}/configure.h \ + "#define DOMAIN_NAME \"${DOMAIN_NAME}\"" +.endif + +.include <bsd.port.mk> diff --git a/news/knews/files/md5 b/news/knews/files/md5 new file mode 100644 index 00000000000..5faece1150c --- /dev/null +++ b/news/knews/files/md5 @@ -0,0 +1 @@ +MD5 (knews-0.9.8.tar.gz) = e262b6b7aed0e1478e72f09e5dc3ffd1 diff --git a/news/knews/patches/patch-aa b/news/knews/patches/patch-aa new file mode 100644 index 00000000000..3200889b8a2 --- /dev/null +++ b/news/knews/patches/patch-aa @@ -0,0 +1,20 @@ +--- configure.h.orig Sun Aug 18 14:11:26 1996 ++++ configure.h Sun Nov 30 16:33:59 1997 +@@ -14,7 +14,7 @@ + * + * If you don't have sendmail, use /bin/false :-). + */ +-/* #define MAIL_COMMAND "/usr/sbin/sendmail -t" */ ++#define MAIL_COMMAND "/usr/sbin/sendmail -t" + /* #define MAIL_COMMAND "/usr/lib/sendmail -t" */ + + +@@ -42,7 +42,7 @@ + /* #define DOMAIN_NAME "/your/file/here" */ + /* #define DOMAIN_NAME "your_domain_here" */ + +-#define DOMAIN_HACK 1 ++#define DOMAIN_HACK 0 + + + diff --git a/news/knews/patches/patch-ab b/news/knews/patches/patch-ab new file mode 100644 index 00000000000..4a42c0c8683 --- /dev/null +++ b/news/knews/patches/patch-ab @@ -0,0 +1,10 @@ +--- src/global.h.orig Tue Aug 13 16:30:33 1996 ++++ src/global.h Sun Nov 30 18:32:48 1997 +@@ -109,6 +109,7 @@ + long no_unread; + long first_art; + long last_art; ++ long active_last_art; + ART_LIST_NODE *read_arts; + long disp; + char subscribed; diff --git a/news/knews/patches/patch-ac b/news/knews/patches/patch-ac new file mode 100644 index 00000000000..a4cd5fe7aa9 --- /dev/null +++ b/news/knews/patches/patch-ac @@ -0,0 +1,14 @@ +--- src/procs.c.orig Fri Aug 2 12:52:44 1996 ++++ src/procs.c Sun Nov 30 18:32:48 1997 +@@ -75,7 +75,10 @@ + (ART_LIST_NODE *)XtMalloc(sizeof *temp); + temp->next = NULL; + temp->first = 1; +- temp->last = global.curr_group->last_art; ++ temp->last = (global.curr_group->active_last_art > ++ global.curr_group->last_art ) ? ++ global.curr_group->active_last_art : ++ global.curr_group->last_art; + + if (res_process_xrefs()) + for (art = get_articles(main_thr) ; art ; art = art->next) diff --git a/news/knews/patches/patch-ad b/news/knews/patches/patch-ad new file mode 100644 index 00000000000..6652f050936 --- /dev/null +++ b/news/knews/patches/patch-ad @@ -0,0 +1,10 @@ +--- src/thread.c.orig Fri Jul 26 11:59:43 1996 ++++ src/thread.c Sun Nov 30 18:32:48 1997 +@@ -1120,6 +1120,7 @@ + if (!reply || atoi(reply) != NNTP_OK_GROUP) + return reply; + ++ global.curr_group->active_last_art = global.curr_group->last_art; + sscanf(reply, "%*d%ld%ld%ld", + &main_thr->total, + &global.curr_group->first_art, diff --git a/news/knews/pkg/COMMENT b/news/knews/pkg/COMMENT new file mode 100644 index 00000000000..de004d0dfee --- /dev/null +++ b/news/knews/pkg/COMMENT @@ -0,0 +1 @@ +A X11 newsreader with support for threading and MIME diff --git a/news/knews/pkg/DESCR b/news/knews/pkg/DESCR new file mode 100644 index 00000000000..34bd1d03068 --- /dev/null +++ b/news/knews/pkg/DESCR @@ -0,0 +1,2 @@ +Knews is a threaded newsreader with an X Window interface that +uses NNTP to get news. It displays the threads in a graphical tree. diff --git a/news/knews/pkg/PLIST b/news/knews/pkg/PLIST new file mode 100644 index 00000000000..9f88de7eb56 --- /dev/null +++ b/news/knews/pkg/PLIST @@ -0,0 +1,3 @@ +bin/knews +lib/X11/app-defaults/Knews +man/cat1/knews.0 |