xrn - an X-based NNTP news reader %n xrn %v 6-17 %c * %l * %b * %d * %f ftp.x.org:/R5contrib %t xrn6-17.tar.gz %w usr.bin.X11 %% # Copyright 1994 Rickard E. Faith, Kevin E. Martin, and Doug L. Hoffman # All rights reserved. # See the BOGUS.LICENSE file for distribution restrictions. if [ ! -d $BUILDDIR ]; then mkdir $BUILDDIR; fi cd $BUILDDIR rm -rf ${NAME}${VERSION} tar zxvf $SRCTARDIR/$TARFILE cd ${NAME}${VERSION} patch -p1 -s << 'EOF_MARKER' && --- xrn6-17/config.h.rik Wed Dec 4 14:30:23 1991 +++ xrn6-17/config.h Sat Sep 10 19:40:32 1994 @@ -97,33 +97,33 @@ * by command line option, X resource, or environment variable */ #ifndef SERVER_FILE -#define SERVER_FILE "/usr/local/lib/rn/server" +#define SERVER_FILE "/usr/lib/rn/server" #endif /* * name of the host to use as the users host name in the From field * in a composition is in the file */ #ifndef HIDDEN_FILE -#define HIDDEN_FILE "/usr/local/lib/news/hiddenhost" +#define HIDDEN_FILE "/usr/lib/news/hiddenhost" #endif /* * name of the host to use as the users hosts name in the Path field * in a composition is in the file */ #ifndef PATH_FILE -#define PATH_FILE "/usr/local/lib/news/pathhost" +#define PATH_FILE "/usr/lib/news/pathhost" #endif /* * name of the internet domain is in this file */ #ifndef DOMAIN_FILE -#define DOMAIN_FILE "/usr/local/lib/news/domain" +#define DOMAIN_FILE "/usr/lib/news/domain" #endif /* * name of the organization is in this file */ #ifndef ORG_FILE -#define ORG_FILE "/usr/local/lib/news/organization" +#define ORG_FILE "/usr/lib/news/organization" #endif #else #define SERVER_FILE "SYS$LOGIN:NNTP.SERVER" @@ -304,10 +304,12 @@ #define BSD_BFUNCS #endif +#ifndef __linux__ /* v{s,f}printf functions */ #if defined(sequent) || defined(ibm032) || defined(hp300) || defined(sony) || !defined(SYSV) #define NEED_VPRINTF #endif +#endif /* * define this if your system C library doesn't have the tempnam @@ -369,7 +371,7 @@ #ifndef SENDMAIL #ifndef VMS -#define SENDMAIL "/usr/lib/sendmail -oi -t" +#define SENDMAIL "/usr/sbin/sendmail -oi -t" #else #define SENDMAIL "MAIL " #endif --- xrn6-17/tempnam.c.rik Wed Jul 24 16:03:56 1991 +++ xrn6-17/tempnam.c Sat Sep 10 17:15:49 1994 @@ -9,9 +9,12 @@ #include #include #include +#ifdef __linux__ +#include +#endif #ifndef P_tmpdir -#define P_tmpdir "/usr/tmp/" +#define P_tmpdir "/var/tmp/" #endif static char check_directory(dir) EOF_MARKER xmkmf make %doc ALT-MAILER ALT-MAILER-2 CHANGES COMMON-PROBLEMS COPYRIGHT FIXERS %doc MAILER PERL-MAILER PRINTER README TODO * make install * make install.man %% * usr/X386/bin/xrn * usr/X386/lib/X11/app-defaults/XRn