*BSD News Article 96023


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!206.229.87.25!news-peer.sprintlink.net!news.sprintlink.net!Sprint!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: porting newsyslog to solaris
Date: 23 May 1997 10:25:05 GMT
Organization: Awfulhak Ltd.
Lines: 38
Message-ID: <5m3ra1$ic4@ui-gate.utell.co.uk>
References: <33861FD3.D334E9D1@skyinet.net>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41504

In article <33861FD3.D334E9D1@skyinet.net>,
	"Francis Percival C. Favoreal" <dune@skyinet.net> writes:
> Hi !!!
> 
> I like the newsyslog of FreeBSD very much that I want to install
> it in Solaris 2.5. Solaris 2.5 has a newsyslog but I am not quite
> satisfied with its performance.
> 
> Is this possible? What are the steps that I have to do if it is
> possible?
> 
> So far what I did is to upload the source of FreeBSD's newsyslog
> and include files to Solaris 2.5 and try to compile from there.
> Now, my problem is to get rid of the warnings and an error. Most
> of them are conflicts in redefinitions and one of them is a parse
> error.
> 
> Would I be making progress here ?

You're going about things the right way.  My only suggestion is
that you take the -current newsyslog.  It allows you to specify
a pid file to use to specify the program to -HUP when the log
file is rotated.  Very handy for programs that don't use
syslogd.

This isn't in 2.2 (yet).

You can find the -current sources on

    ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/usr.sbin/newsyslog/

> Thank you very much.
> 

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !