From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 24 20:10:18 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D88BF37B401 for ; Sat, 24 May 2003 20:10:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDB7043FA3 for ; Sat, 24 May 2003 20:10:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4P3AHUp004326 for ; Sat, 24 May 2003 20:10:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4P3AHxU004325; Sat, 24 May 2003 20:10:17 -0700 (PDT) Resent-Date: Sat, 24 May 2003 20:10:17 -0700 (PDT) Resent-Message-Id: <200305250310.h4P3AHxU004325@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Serge Gagnon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C71437B401 for ; Sat, 24 May 2003 20:04:08 -0700 (PDT) Received: from quenix.dyndns.org (modemcable246.166-130-66.que.mc.videotron.ca [66.130.166.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BCF043F75 for ; Sat, 24 May 2003 20:04:07 -0700 (PDT) (envelope-from serge@quenix.dyndns.org) Received: from serge by quenix.dyndns.org with local (Exim 4.14) id 19JmAv-00010Q-Ho for FreeBSD-gnats-submit@freebsd.org; Sat, 24 May 2003 23:27:57 -0400 Message-Id: Date: Sat, 24 May 2003 23:27:57 -0400 From: Serge Gagnon Sender: Serge Gagnon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/52659: New port: news/xvnews Open Look-based newsreader X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Serge Gagnon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2003 03:10:19 -0000 >Number: 52659 >Category: ports >Synopsis: New port: news/xvnews Open Look-based newsreader >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 24 20:10:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Serge Gagnon >Release: FreeBSD 4.8-STABLE i386 >Organization: me >Environment: System: FreeBSD quenix.dyndns.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue May 6 22:02:29 EDT 2003 serge@quenix.dyndns.org:/usr/obj/usr/src/sys/OCEAN3 i386 >Description: This is a *new* port of news/xvnews. This version use the 2.3.4 source files. This version build with FreeBSD 5.X XVNews is a Usenet newsreader based on the XView toolkit. It dates from the early 1990s and is getting a bit long in the tooth. It's completely lacking in support for HTML, MIME, XML, drag-and-drop, or anything similar. Some people still love it. >How-To-Repeat: >Fix: --- xvnews.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xvnews # xvnews/files # xvnews/files/patch-xvnews.h # xvnews/files/patch-Imakfile # xvnews/files/patch-xv_regex.c # xvnews/files/patch-guide-libguide-gio.c # xvnews/files/patch-xv_post.c # xvnews/files/patch-config.h # xvnews/files/patch-xv_init.c # xvnews/Makefile # xvnews/distinfo # xvnews/pkg-plist # xvnews/pkg-descr # echo c - xvnews mkdir -p xvnews > /dev/null 2>&1 echo c - xvnews/files mkdir -p xvnews/files > /dev/null 2>&1 echo x - xvnews/files/patch-xvnews.h sed 's/^X//' >xvnews/files/patch-xvnews.h << 'END-of-xvnews/files/patch-xvnews.h' X--- xvnews.h.orig Sat May 24 21:22:54 2003 X+++ xvnews.h Sat May 24 21:23:35 2003 X@@ -79,6 +79,7 @@ X #define MAX_MESSAGE_LEN 512 X #define MAX_ARTICLE_LEN 2048 X #define POSTED_OK 240 X+#define CONT_POST 340 X #define NEWS_REPLY 1 X #define NEWS_POST 4 X #define MAIL_REPLY 2 END-of-xvnews/files/patch-xvnews.h echo x - xvnews/files/patch-Imakfile sed 's/^X//' >xvnews/files/patch-Imakfile << 'END-of-xvnews/files/patch-Imakfile' X--- Imakefile.orig Sun Sep 25 15:17:35 1994 X+++ Imakefile Sat May 24 21:20:19 2003 X@@ -17,9 +17,9 @@ X X MakeSubdirs($(SUBDIRS)) X X-DEFINES = X+DEFINES = -DPOSIX_REGEX X INCLUDES = -I$(GUIDEXV) -I$(LIBGUIDE) -I$(TOP) X-SYS_LIBRARIES = #-lintl X+SYS_LIBRARIES = -lcompat X X # Add -linn to the following line if you want to support nnrp.passwd X LOCAL_LIBRARIES = -L$(GUIDEXV) -lguidexv -L$(LIBGUIDE) -lguide -L$(XVIEWDIR) $(XVIEWLIB) X@@ -37,7 +37,7 @@ X xv_getauthor.c xv_init.c xv_init_newsrc.c xv_newsrc.c \ X xv_parse_newsrc.c xv_post.c xv_props.c xv_regex.c xv_search.c \ X xv_sort.c xv_stuff.c xvnews_stubs.c xvnews_ui.c xv_drag.c xv_kill.c X-ALLFILES = ${HEADERS} ${INFOFILES} ${MANPAGES} ${ICONS} ${SRCS} X+ALLFILES = ${HEADERS} ${INFOFILES} $(MANPAGES) ${ICONS} ${SRCS} X X AllTarget(xvnews) X END-of-xvnews/files/patch-Imakfile echo x - xvnews/files/patch-xv_regex.c sed 's/^X//' >xvnews/files/patch-xv_regex.c << 'END-of-xvnews/files/patch-xv_regex.c' X--- xv_regex.c.orig Sat May 24 21:06:41 2003 X+++ xv_regex.c Sat May 24 21:08:24 2003 X@@ -106,19 +106,6 @@ X return (char *)NULL; X #endif X X-#ifdef SVR4_REGEX X- result = compile(regex_str, regex_buf, ®ex_buf[MAXPATHLEN], '\0'); X- if (!result) { X- sprintf(regex_error, X- "Regular expression could not be compiled: %s\n", X- regex_str); X-#ifdef DEBUG X- fprintf(stderr, regex_error); X-#endif X- return regex_error; X- } X- return (char *)NULL; X-#endif X X #ifdef BSD_REGEX X return re_comp(regex_str); X@@ -140,9 +127,6 @@ X result = !regexec(&xv_regex_local, s, (size_t)0, NULL, 0); X #endif X X-#ifdef SVR4_REGEX X- result = step(s, regex_buf); X-#endif X X #ifdef BSD_REGEX X result = re_exec(s); END-of-xvnews/files/patch-xv_regex.c echo x - xvnews/files/patch-guide-libguide-gio.c sed 's/^X//' >xvnews/files/patch-guide-libguide-gio.c << 'END-of-xvnews/files/patch-guide-libguide-gio.c' X--- guide/libguide/gio.c.orig Fri Jul 1 10:30:16 1994 X+++ guide/libguide/gio.c Sat May 24 22:49:05 2003 X@@ -57,7 +57,8 @@ X #else X #include X #endif X-#include X+#include X+#include X #include "guide.h" X #include "gio.h" X X@@ -69,8 +70,8 @@ X /* X * File pointers. X */ X-static FILE *Inp = stdin; X-static FILE *Outp = stdout; X+static FILE *Inp = STDIN_FILENO; X+static FILE *Outp = STDOUT_FILENO; X X /* X * Internal state variables. X@@ -83,8 +84,6 @@ X /* X * System error message definitions. X */ X-extern int sys_nerr; X-extern char *sys_errlist[]; X X /* X * Internal function declarations. END-of-xvnews/files/patch-guide-libguide-gio.c echo x - xvnews/files/patch-xv_post.c sed 's/^X//' >xvnews/files/patch-xv_post.c << 'END-of-xvnews/files/patch-xv_post.c' X--- xv_post.c.orig Sat May 24 21:24:38 2003 X+++ xv_post.c Sat May 24 21:26:25 2003 X@@ -316,7 +316,9 @@ X } X } X put_server("%s", mbuf); X- put_server("\n.\n"); X+ put_server("\n"); X+ put_server("."); X+ put_server("\n"); X result = get_server(message, sizeof(message)); X if (result != POSTED_OK) { X if (result != ERR_POSTFAIL) { END-of-xvnews/files/patch-xv_post.c echo x - xvnews/files/patch-config.h sed 's/^X//' >xvnews/files/patch-config.h << 'END-of-xvnews/files/patch-config.h' X--- config.h.orig Sat May 24 22:01:08 2003 X+++ config.h Sat May 24 22:01:27 2003 X@@ -84,7 +84,7 @@ X Note that most mail programs need a '-t' option to work this way, X so you would change this to "/usr/ucb/Mail -t" on SunOs 4.x.x. X */ X-#define MAIL_PROGRAM "/usr/lib/sendmail -t" X+#define MAIL_PROGRAM "/usr/sbin/sendmail -t" X X /* COMPRESS_PROGRAM is the program which compresses your files, X usually this will be compress. On SunOS 4.x, use /usr/ucb/compress, END-of-xvnews/files/patch-config.h echo x - xvnews/files/patch-xv_init.c sed 's/^X//' >xvnews/files/patch-xv_init.c << 'END-of-xvnews/files/patch-xv_init.c' X--- xv_init.c.orig Sat May 24 22:53:35 2003 X+++ xv_init.c Sat May 24 22:56:44 2003 X@@ -33,7 +33,7 @@ X #include X #include X #include X-#include X+#include X #include X #include X #include END-of-xvnews/files/patch-xv_init.c echo x - xvnews/Makefile sed 's/^X//' >xvnews/Makefile << 'END-of-xvnews/Makefile' X# New Ports collection makefile for: xvnews X# Date created: Sat May 24 17:25:15 EDT 2003 X# Whom: Serge Gagnon gagnon__s@videotron.ca X# X# $FreeBSD$ X# X XPORTNAME= xvnews XPORTVERSION= 2.3.4 XCATEGORIES= news XMASTER_SITES= http://www.alumni.caltech.edu/~mjackson/ XDISTNAME= ${PORTNAME}-${PORTVERSION} XEXTRACT_SUFX= .tar.Z X XMAINTAINER= gagnon__s@videotron.ca XCOMMENT= Open Look-based newsreader X XLIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview X XUSE_IMAKE= yes XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} X XMAN1= xvnews.1 X Xpost-patch: X ${CP} ${WRKSRC}/xvnews.1 ${WRKSRC}/xvnews.man X X.include END-of-xvnews/Makefile echo x - xvnews/distinfo sed 's/^X//' >xvnews/distinfo << 'END-of-xvnews/distinfo' XMD5 (xvnews-2.3.4.tar.Z) = 53e35210a5bfcf8bbb77d35c2fa908e4 END-of-xvnews/distinfo echo x - xvnews/pkg-plist sed 's/^X//' >xvnews/pkg-plist << 'END-of-xvnews/pkg-plist' Xbin/xvnews Xlib/libguide.a Xlib/libguidexv.a END-of-xvnews/pkg-plist echo x - xvnews/pkg-descr sed 's/^X//' >xvnews/pkg-descr << 'END-of-xvnews/pkg-descr' XXVNews is a Usenet newsreader based on the XView toolkit. XIt dates from the early 1990s and is getting a bit long in the tooth. XIt's completely lacking in support for HTML, MIME, XML, drag-and-drop, Xor anything similar. X XSome people still love it. X XWWW: http://www.alumni.caltech.edu/~mjackson/xvnews.html END-of-xvnews/pkg-descr exit --- xvnews.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: