Hi! This patch adds rc script for scanlogd. OK? Index: Makefile =================================================================== RCS file: /cvs/ports/security/scanlogd/Makefile,v retrieving revision 1.32 diff -u -p -u -p -r1.32 Makefile --- Makefile 23 Oct 2013 10:10:56 -0000 1.32 +++ Makefile 26 Aug 2014 11:20:01 -0000 @@ -3,6 +3,7 @@ COMMENT= TCP port scan detection tool
DISTNAME= scanlogd-2.2.7 +REVISION= 0 CATEGORIES= security HOMEPAGE= http://www.openwall.com/scanlogd/ Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/security/scanlogd/pkg/PLIST,v retrieving revision 1.5 diff -u -p -u -p -r1.5 PLIST --- pkg/PLIST 23 Oct 2013 10:10:56 -0000 1.5 +++ pkg/PLIST 26 Aug 2014 11:20:01 -0000 @@ -3,3 +3,4 @@ @newuser _scanlogd:514:_scanlogd:daemon:scanlogd:/nonexistent:/sbin/nologin @man man/man8/scanlogd.8 @bin sbin/scanlogd +@rcscript ${RCDIR}/scanlogd Index: pkg/scanlogd.rc =================================================================== RCS file: pkg/scanlogd.rc diff -N pkg/scanlogd.rc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg/scanlogd.rc 26 Aug 2014 11:20:01 -0000 @@ -0,0 +1,10 @@ +#!/bin/sh +# +# $OpenBSD: apcupsd.rc,v 1.3 2012/08/27 13:39:59 sthen Exp $ + +daemon="${TRUEPREFIX}/sbin/scanlogd" + +. /etc/rc.d/rc.subr +rc_reload=NO + +rc_cmd $1
