On Thu, May 12, 2011 at 1:59 PM, Mattieu Baptiste <mattie...@gmail.com> wrote: > Hi all, > > This patch adds an rc script for the pfstatd daemon in net/pfstat. > (maintainer timed out)
Any thoughts on this ? > > Cheers, > > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/net/pfstat/Makefile,v > retrieving revision 1.25 > diff -u -p -r1.25 Makefile > --- Makefile 19 Nov 2010 22:31:37 -0000 1.25 > +++ Makefile 8 May 2011 08:58:33 -0000 > @@ -8,7 +8,7 @@ DISTNAME= pfstat-2.3 > PKGNAME-main= ${DISTNAME} > PKGNAME-daemon= ${DISTNAME:S/-/d-/} > REVISION-main= 1 > -REVISION-daemon=2 > +REVISION-daemon=3 > CATEGORIES= net > MASTER_SITES= http://www.benzedrine.cx/ > > Index: pkg/PLIST-daemon > =================================================================== > RCS file: /cvs/ports/net/pfstat/pkg/PLIST-daemon,v > retrieving revision 1.3 > diff -u -p -r1.3 PLIST-daemon > --- pkg/PLIST-daemon 8 Apr 2010 19:31:31 -0000 1.3 > +++ pkg/PLIST-daemon 8 May 2011 08:58:33 -0000 > @@ -1,3 +1,4 @@ > @comment $OpenBSD: PLIST-daemon,v 1.3 2010/04/08 19:31:31 naddy Exp $ > @bin bin/pfstatd > @man man/cat8/pfstatd.0 > +@rcscript ${RCDIR}/pfstatd > Index: pkg/pfstatd.rc > =================================================================== > RCS file: pkg/pfstatd.rc > diff -N pkg/pfstatd.rc > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ pkg/pfstatd.rc 8 May 2011 08:58:33 -0000 > @@ -0,0 +1,11 @@ > +#!/bin/sh > +# > +# $OpenBSD$ > + > +daemon="${TRUEPREFIX}/bin/pfstatd" > + > +. /etc/rc.d/rc.subr > + > +rc_reload=NO > + > +rc_cmd $1 > > > > -- > Mattieu Baptiste > "/earth is 102% full ... please delete anyone you can." > -- Mattieu Baptiste "/earth is 102% full ... please delete anyone you can."