aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1995-11-19 16:55:05 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1995-11-19 16:55:05 +0000
commit0f6cdff22384c495f4d4ee2981d5cceb87b0e174 (patch)
treeab6adaeab27be09f70b0d59e331000ba58fff0aa /news
parentdb3bc498bdeab17ef7aeae78f271f9641d9b3dbb (diff)
downloadports-0f6cdff22384c495f4d4ee2981d5cceb87b0e174.tar.gz
ports-0f6cdff22384c495f4d4ee2981d5cceb87b0e174.zip
Notes
Diffstat (limited to 'news')
-rw-r--r--news/knews/Makefile27
-rw-r--r--news/knews/distinfo1
-rw-r--r--news/knews/files/patch-aa36
-rw-r--r--news/knews/files/patch-ac64
-rw-r--r--news/knews/pkg-comment1
-rw-r--r--news/knews/pkg-descr17
-rw-r--r--news/knews/pkg-plist6
-rw-r--r--news/knews/scripts/pre-configure6
8 files changed, 158 insertions, 0 deletions
diff --git a/news/knews/Makefile b/news/knews/Makefile
new file mode 100644
index 000000000000..79c4867071d7
--- /dev/null
+++ b/news/knews/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: knews
+# Version required: 0.9.3
+# Date created: Sat Nov 18 15:23:47 MET 1995
+# Whom: Andreas Klemm <andreas@knobel.gun.de>
+#
+#
+
+DISTNAME= knews-0.9.3
+PKGNAME= knews-0.9.3
+CATEGORIES+= x11
+CATEGORIES+= news
+MASTER_SITES+= ftp://sunsite.unc.edu/pub/Linux/X11/xapps/networked/
+MASTER_SITES+= ftp://ftp.cc.gatech.edu/ac88/linux/X11/xapps/networked/
+MASTER_SITES+= ftp://ftp.germany.eu.net/pub/os/Linux/Mirror.SunSITE/X11/xapps/networked/
+MASTER_SITES+= ftp://ftp.funet.fi/pub/mirrors/sunsite.unc.edu/pub/Linux/X11/xapps/networked/
+
+# perhaps Andreas is going to maintain it personally some day... :)
+#MAINTAINER= andreas@knobel.gun.de
+MAINTAINER= joerg
+
+USE_IMAKE= yes
+MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \
+ XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f
+
+IS_INTERACTIVE= no
+
+.include <bsd.port.mk>
diff --git a/news/knews/distinfo b/news/knews/distinfo
new file mode 100644
index 000000000000..75f0abdd2331
--- /dev/null
+++ b/news/knews/distinfo
@@ -0,0 +1 @@
+MD5 (knews-0.9.3.tar.gz) = a334f15710040284d74246b7d4c20fe4
diff --git a/news/knews/files/patch-aa b/news/knews/files/patch-aa
new file mode 100644
index 000000000000..dbdce59d2c17
--- /dev/null
+++ b/news/knews/files/patch-aa
@@ -0,0 +1,36 @@
+*** configure.h.orig Sat Nov 18 17:06:08 1995
+--- configure.h Sat Nov 18 17:08:26 1995
+***************
+*** 6,12 ****
+ * You'll probably want to leave this as sendmail, but make sure the path
+ * is right. If you don't have sendmail, use /bin/false :-).
+ */
+! #define MAIL_COMMAND "/usr/lib/sendmail -t"
+
+
+ /* This macro controls the generation of email addresses.
+--- 6,12 ----
+ * You'll probably want to leave this as sendmail, but make sure the path
+ * is right. If you don't have sendmail, use /bin/false :-).
+ */
+! #define MAIL_COMMAND "/usr/sbin/sendmail -t"
+
+
+ /* This macro controls the generation of email addresses.
+***************
+*** 33,39 ****
+ * Both %s and %i are optional, although the editor will not be much use
+ * if you don't specify %s...
+ */
+! #define DEFAULT_EDIT_COMMAND "xterm -e vi +%i %s"
+
+
+ /* The default NNTPSERVER. Basically: don't set this, use $NNTPSERVER
+--- 33,39 ----
+ * Both %s and %i are optional, although the editor will not be much use
+ * if you don't specify %s...
+ */
+! #define DEFAULT_EDIT_COMMAND "xterm -cr red -fn 10x20 -bg lightsteelblue -e vi +%i %s"
+
+
+ /* The default NNTPSERVER. Basically: don't set this, use $NNTPSERVER
diff --git a/news/knews/files/patch-ac b/news/knews/files/patch-ac
new file mode 100644
index 000000000000..f4245ba8e00f
--- /dev/null
+++ b/news/knews/files/patch-ac
@@ -0,0 +1,64 @@
+--- src/pedit.c.orig Thu Oct 5 11:50:50 1995
++++ src/pedit.c Sun Nov 19 16:54:27 1995
+@@ -394,38 +394,34 @@
+ }
+ }
+
+-#define MAX_REFS 8
+ static int print_references_header(FILE *fp, ARTICLE *art)
+ {
+- ARTICLE *arts[MAX_REFS + 2];
+- int i = MAX_REFS + 1, col, rows;
++ ARTICLE **arts, *a;
++ int i, j;
+
++ j = 0;
++ a = art;
+ do {
+- arts[i--] = art;
+- art = A_PARENT(art);
+- } while (i > 0 && art);
+-
+- if (art) {
+- while (A_PARENT(art))
+- art = A_PARENT(art);
+- arts[i] = art;
+- } else {
+- i++;
+- }
+-
+- rows = 1;
+- col = 11 + fprintf(fp, " <%s>", arts[i++]->msgid);
+- while (i < MAX_REFS + 2) {
+- if (col + arts[i]->hash_len > 75) {
+- rows++;
+- fprintf(fp, "\n ");
+- col = 1;
+- }
+- col += fprintf(fp, " <%s>", arts[i++]->msgid);
+- }
+- fprintf(fp, "\n");
++ a = A_PARENT(a);
++ j++;
++ } while (a);
+
+- return rows;
++ arts = (ARTICLE **)XtMalloc(sizeof(ARTICLE *) * j);
++
++ a = art;
++ i = j;
++ do {
++ arts[--i] = a;
++ a = A_PARENT(a);
++ } while(i);
++
++ for (i = 0; i < j; i++)
++ (void)fprintf(fp, " <%s>", arts[i]->msgid);
++ (void)fprintf(fp, "\n");
++
++ XtFree((char *)arts);
++
++ return 1;
+ }
+
+ static void print_attribution(FILE *fp, char *attr, ARTICLE *art)
diff --git a/news/knews/pkg-comment b/news/knews/pkg-comment
new file mode 100644
index 000000000000..f47e0ead431a
--- /dev/null
+++ b/news/knews/pkg-comment
@@ -0,0 +1 @@
+knews-0.9.3: Knews is a threaded nntp newsreader for X
diff --git a/news/knews/pkg-descr b/news/knews/pkg-descr
new file mode 100644
index 000000000000..2f3961442d94
--- /dev/null
+++ b/news/knews/pkg-descr
@@ -0,0 +1,17 @@
+True threading, with a graphical tree for the threads.
+Full support for reading MIME articles, except message/partial.
+Some options that will improve things for people reading over slow lines:
+
+ o Background threading of groups in advance.
+ o Doesn't have to read the active file or group descriptions on startup.
+ o A mechansim for reading the spool directory.
+ o Kill file support. Articles can be
+ - marked read (killed), or
+ - marked with color blobs, based on regular expressions.
+ o Regular expression searching in articles and the newsgroup list.
+ o XPAT searching.
+ o Can use different fonts and colors for quoted text and headers in articles
+ o Lots of action procedures that can be tied to keys.
+ o Supports multiple nntp servers.
+ o Tagging of articles and saving or piping them in order.
+ o Uudecode function. Not perfect, but handles most cases.
diff --git a/news/knews/pkg-plist b/news/knews/pkg-plist
new file mode 100644
index 000000000000..9d8af461d6d1
--- /dev/null
+++ b/news/knews/pkg-plist
@@ -0,0 +1,6 @@
+@cwd /usr/X11R6
+bin/knews
+bin/knewsd
+lib/X11/app-defaults/Knews
+man/man1/knews.1.gz
+man/man1/knewsd.1.gz
diff --git a/news/knews/scripts/pre-configure b/news/knews/scripts/pre-configure
new file mode 100644
index 000000000000..15a1b97edce3
--- /dev/null
+++ b/news/knews/scripts/pre-configure
@@ -0,0 +1,6 @@
+#! /bin/sh
+echo "You should tell knews the name of your NNTP server"
+echo "You can do this by setting the environment variable NNTPSERVER"
+echo "csh users: in .cshrc: setenv NNTPSERVER host.domain"
+echo "sh users: in .profile: NNTPSERVER=host.domain; export NNTPSERVER"
+exit 0