*BSD News Article 79687


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news2.acs.oakland.edu!news.tacom.army.mil!news.webspan.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!news.sgi.com!news.mathworks.com!uunet!in1.uu.net!fu-berlin.de!cs.tu-berlin.de!solid.theo-physik.uni-kiel.de!news.netuse.de!news.gtn.com!blackbush.xlink.net!slsv6bt!bln.sel.alcatel.de!news
From: blume_h@slbwlz.bln.sel.alcatel.de (H. Blume von Contributed)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: GUP for FreeBSD?
Date: 01 Oct 1996 17:15:52 +0200
Organization: Alcatel SEL
Lines: 119
Sender: blume_h@slbwlz.bln.sel.alcatel.de
Message-ID: <k820fisok7.fsf@slbwlz.bln.sel.alcatel.de>
References: <51u34f$903@granny.mac.co.nz> <525rur$b8@klemm.gtn.com>
NNTP-Posting-Host: slbwlz.bln.sel.alcatel.de
In-reply-to: andreas@klemm.gtn.com's message of 23 Sep 1996 11:23:07 GMT
X-Newsreader: Gnus v5.1

>>>>> "Andreas" == Andreas Klemm <andreas@klemm.gtn.com> writes:
In article <525rur$b8@klemm.gtn.com> andreas@klemm.gtn.com (Andreas Klemm) writes:


    Andreas> In article <51u34f$903@granny.mac.co.nz>,
    Andreas> 	nikolai@netaccess.co.nz (Nikolai Schupbach) writes:
    >> Is there anyone who has ported gup to FreeBSD? Or is there any other software 
    >> available for automatically updating the newsfeeds file in INN via email?
    >> 
    >> Any help or suggestions would be very much appreciated.

    Andreas> Where is gup available ?! BTW: why don't you do a port of it ?!
    Andreas> I could commit it if you like.

uh, gup works fine here on a 2.1.0-stable machine.
actually no insurmountable problems installing it.

hb


diff -N -r -c gup/Makefile /home/stw/working/gup/Makefile
*** gup/Makefile        Thu Aug  5 09:01:23 1993
--- /home/stw/working/gup/Makefile      Thu Dec 14 17:43:18 1995
***************
*** 8,14 ****
  # a working version for your system, please mail a copy back to the
  # author so that others may benefit from your effort.
  
! CONFIG                = vanilla
  
  # Destination directories for the executable and man page. Note that
  # the executable is only used in a .forward so /usr/local/bin may
--- 8,14 ----
  # a working version for your system, please mail a copy back to the
  # author so that others may benefit from your effort.
  
! CONFIG                = freebsd
  
  # Destination directories for the executable and man page. Note that
  # the executable is only used in a .forward so /usr/local/bin may
***************
*** 28,39 ****
  
  # ACTIVE_PATH is the full pathname for your news active file. This
  # file is used to validate newgroup names.
! ACTIVE_PATH   =
  
  
  # NEWSGROUPS_PATH is the fill pathname for your newsgroups file. This
  # file is used to provide descriptions for each newsgroup.
! NEWSGROUPS_PATH       =
  
  # BACKSTOP_MAILID is used if gup cannot find a FROM: or a REPLY-TO: or
  # a valid site command, this is where the mail goes to.
--- 28,39 ----
  
  # ACTIVE_PATH is the full pathname for your news active file. This
  # file is used to validate newgroup names.
! ACTIVE_PATH   = /usr/local/news/lib/active
  
  
  # NEWSGROUPS_PATH is the fill pathname for your newsgroups file. This
  # file is used to provide descriptions for each newsgroup.
! NEWSGROUPS_PATH       = /usr/local/news/lib/newsgroups
  
  # BACKSTOP_MAILID is used if gup cannot find a FROM: or a REPLY-TO: or
  # a valid site command, this is where the mail goes to.
***************
*** 41,47 ****
  
  # MAIL_COMMAND is the mailer that accepts a mail with rfc822 headers and
  # body from stdin.
! MAIL_COMMAND  =       "/usr/lib/sendmail -t"
  
  # With a command like "include alt.*" the resultant list is, long.
  # LOG_MATCH_LIMIT, defines the upper bound on the number of pattern
--- 41,47 ----
  
  # MAIL_COMMAND is the mailer that accepts a mail with rfc822 headers and
  # body from stdin.
! MAIL_COMMAND  =       "/usr/sbin/sendmail -t"
  
  # With a command like "include alt.*" the resultant list is, long.
  # LOG_MATCH_LIMIT, defines the upper bound on the number of pattern
diff -N -r -c gup/config/freebsd /home/stw/working/gup/config/freebsd
*** gup/config/freebsd  Thu Jan  1 01:00:00 1970
--- /home/stw/working/gup/config/freebsd        Mon Dec 11 18:46:55 1995
***************
*** 0 ****
--- 1,5 ----
+ #     For:    FreeBSD
+ 
+ CC            = gcc
+ P_CFLAGS      = -O
+ P_NO_FLAGS    = -DNO_MALLOC_H 
diff -N -r -c gup/rfc822.h /home/stw/working/gup/rfc822.h
*** gup/rfc822.h        Fri Jul 23 09:20:40 1993
--- /home/stw/working/gup/rfc822.h      Mon Dec 11 18:51:35 1995
***************
*** 246,252 ****
  extern int    errno;
  extern int    sys_nerr;
  extern int    optind;
! extern char   *sys_errlist[];
  extern char   **environ;
  extern char   *optarg;
  
--- 246,252 ----
  extern int    errno;
  extern int    sys_nerr;
  extern int    optind;
! /*extern char *sys_errlist[];*/
  extern char   **environ;
  extern char   *optarg;
  
-- 
email: src@contrib.COM / Heiko.Blume@bln.sel.alcatel.de
TCP/IP GmbH, Woertherstr. 16, 10405 Berlin
Tel: +49.30/443366-0, Fax: +49.30/443366-15