From owner-freebsd-questions@FreeBSD.ORG Sat Aug 5 17:23:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8581116A4DE; Sat, 5 Aug 2006 17:23:27 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id B95D643D5E; Sat, 5 Aug 2006 17:23:24 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from c-68-59-28-54.hsd1.sc.comcast.net (jn@c-68-59-28-54.hsd1.sc.comcast.net [68.59.28.54]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k75HNNuv038806; Sat, 5 Aug 2006 10:23:24 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Sat, 5 Aug 2006 13:23:12 -0400 User-Agent: KMail/1.9.3 References: <20060804182042.U25268@ganymede.hub.org> <44D41605.90509@freebsd.org> <20060805011842.C25268@ganymede.hub.org> In-Reply-To: <20060805011842.C25268@ganymede.hub.org> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_BQN1EROku9ARgqP" Message-Id: <200608051323.13484.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on ns1.jnielsen.net X-Virus-Status: Clean X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Colin Percival , User Freebsd Subject: Re: BSDstats Project v1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2006 17:23:27 -0000 --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--