From owner-freebsd-ports Sun Mar 17 16:50:48 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA18977 for ports-outgoing; Sun, 17 Mar 1996 16:50:48 -0800 (PST) Received: from sunrise.cs.berkeley.edu (sunrise.CS.Berkeley.EDU [128.32.38.121]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA18971 for ; Sun, 17 Mar 1996 16:50:46 -0800 (PST) Received: (from asami@localhost) by sunrise.cs.berkeley.edu (8.6.12/8.6.12) id QAA20011; Sun, 17 Mar 1996 16:53:23 -0800 Date: Sun, 17 Mar 1996 16:53:23 -0800 Message-Id: <199603180053.QAA20011@sunrise.cs.berkeley.edu> To: andreas@knobel.gun.de CC: ports@freebsd.org In-reply-to: <199603171331.OAA04867@knobel.gun.de> (message from Andreas Klemm on Sun, 17 Mar 1996 14:31:30 +0100 (MET)) Subject: Re: Updated knews port from 0.9.3 to 0.9.5, here the diffs From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * I found this version on a knews homepage and got it via * http... So you should get knews and place it onto the default * MASTER_SITE in the FreeBSD universe ;-) That's ok, just specify the master site using "http:". Normal ncftp's that people are using will fail and get it from ftp.freebsd.org's backup. * Here the URL, where I got it from ... From that page you * can easily navigate to the http_link, to get the sources. * * http://www.matematik.su.se/users/kjj/knews.html Thanks, but the file I got from there had a different checksum. I did an od, it has a string "" at the beginning of the file, so it seems like the author screwed up something. * diff -r1.1.1.1 Makefile * 2,3c2,3 * < # Version required: 0.9.3 * < # Date created: Sat Nov 18 15:23:47 MET 1995 By the way, context or unified diffs are preferred. ;) Satoshi P.S. This is the version I have after fixing some stuff, please use this as a base if you are going to re-submit the port. --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/news/knews/Makefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Makefile --- Makefile 1995/11/19 16:55:03 1.1.1.1 +++ Makefile 1996/03/18 00:40:08 @@ -1,27 +1,21 @@ # New ports collection makefile for: knews -# Version required: 0.9.3 -# Date created: Sat Nov 18 15:23:47 MET 1995 +# Version required: 0.9.5 +# Date: Sun Mar 17 13:52:34 MET 1996 # Whom: Andreas Klemm <andreas@knobel.gun.de> # +# $Id$ # -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/ +DISTNAME= knews-0.9.5 +CATEGORIES+= x11 news +MASTER_SITES= http://www.matematik.su.se/users/kjj/ +# note it is an http site -# perhaps Andreas is going to maintain it personally some day... :) -#MAINTAINER= andreas@knobel.gun.de -MAINTAINER= joerg +MAINTAINER= andreas@knobel.gun.de +WRKSRC= ${WRKDIR}/knews 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> Index: files/md5 =================================================================== RCS file: /home/ncvs/ports/news/knews/files/md5,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 md5 --- md5 1995/11/19 16:55:04 1.1.1.1 +++ md5 1996/03/18 00:42:09 @@ -1 +1 @@ -MD5 (knews-0.9.3.tar.gz) = a334f15710040284d74246b7d4c20fe4 +MD5 (knews-0.9.5.tar.gz) = ecff642c1c49301a4af95bfa6a4981b1 Index: patches/patch-aa =================================================================== RCS file: /home/ncvs/ports/news/knews/patches/patch-aa,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 patch-aa --- patch-aa 1995/11/19 16:55:05 1.1.1.1 +++ patch-aa 1996/03/18 00:35:53 @@ -1,36 +1,30 @@ -*** configure.h.orig Sat Nov 18 17:06:08 1995 ---- configure.h Sat Nov 18 17:08:26 1995 +*** configure.h.orig Sun Jan 21 14:28:57 1996 +--- configure.h Sun Mar 17 14:22:23 1996 *************** -*** 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 :-). +*** 16,22 **** +--- 16,26 ---- + * which will cause knews to pop up a nice notice for the user. + * */ -! #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" ++ #ifdef __FreeBSD__ ++ #define MAIL_COMMAND "/usr/sbin/sendmail -t" ++ #else + #define MAIL_COMMAND "/usr/lib/sendmail -t" ++ #endif /* 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 ---- +*** 43,49 **** +--- 47,57 ---- * 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" ++ #ifdef __FreeBSD__ ++ #define DEFAULT_EDIT_COMMAND "xterm -cr red -fn 10x20 -bg lightsteelblue -e vi +%i %s" ++ #else + #define DEFAULT_EDIT_COMMAND "xterm -e vi +%i %s" ++ #endif /* The default NNTPSERVER. Basically: don't set this, use $NNTPSERVER Index: pkg/COMMENT =================================================================== RCS file: /home/ncvs/ports/news/knews/pkg/COMMENT,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 COMMENT --- COMMENT 1995/11/19 16:55:04 1.1.1.1 +++ COMMENT 1996/03/18 00:40:41 @@ -1 +1 @@ -knews-0.9.3: Knews is a threaded nntp newsreader for X +A threaded nntp newsreader for X