Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2006 13:23:12 -0400
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        Colin Percival <cperciva@freebsd.org>, User Freebsd <freebsd@hub.org>
Subject:   Re: BSDstats Project v1.0
Message-ID:  <200608051323.13484.lists@jnielsen.net>
In-Reply-To: <20060805011842.C25268@ganymede.hub.org>
References:  <20060804182042.U25268@ganymede.hub.org> <44D41605.90509@freebsd.org> <20060805011842.C25268@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_BQN1EROku9ARgqP
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Saturday 05 August 2006 00:21, User Freebsd wrote:
> On Fri, 4 Aug 2006, Colin Percival wrote:
> > User Freebsd wrote:
> >> 'k folks ... the quick and dirty .. actually, not too dirty ...
> >>
> >> The attached script [...]
> >
> > Can you make this into a port which users can install?
>
> I'm not sure, can I?  Can ports install into /etc/periodic?  Or is there
> some other way of doing it?
>
> If you want to do the initial port and assign MAINTAINER to
> scrappy@freebsd.org, I'll maintain it from there ... I'm just not sure
> how to deal with installing into non-/usr/local as a port ... :(

Here is a sample (working) port. Un-tar the archive under ports/sysutils. It 
installs the script to ${LOCALBASE}/etc/periodic/monthly and prints a 
message about how to enable it. Have a look at it, edit all the text 
entries to make them your own (in particular I didn't do a real pkg-descr), 
and submit it as a PR (I can assist you with that off-list if you'd like).

Feature request: the script should output one line of text indicating 
success or failure (and to remind people who read their periodic e-mails 
that it's actually running).

JN

[note to -questions readers: the attachment probably won't make it to the 
list]

--Boundary-00=_BQN1EROku9ARgqP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608051323.13484.lists>