Remove NO_REGRESS.

Add rc script.
This commit is contained in:
ajacoutot 2011-03-15 06:54:26 +00:00
parent 2ba6348eac
commit d39f6a2259
3 changed files with 17 additions and 5 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.2 2011/03/14 21:40:50 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2011/03/15 06:54:26 ajacoutot Exp $
COMMENT = MDNS/DNS-SD daemon
DISTNAME = openmdns-0.4
CATEGORIES = net
REVISION = 0
REVISION = 1
MAINTAINER = Gonzalo L. R. <gonzalo@x61.com.ar>
@ -19,8 +19,6 @@ PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://www.haesbaert.org/openmdns/releases/
NO_REGRESS = Yes
WANTLIB += c event util
MAKE_FLAGS = BINDIR="${TRUEPREFIX}/bin" \

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/03/14 20:47:34 landry Exp $
@comment $OpenBSD: PLIST,v 1.2 2011/03/15 06:54:26 ajacoutot Exp $
@newgroup _mdnsd:664
@newuser _mdnsd:664:_mdnsd:daemon:MDNS Daemon:/var/empty:/sbin/nologin
@bin bin/mdnsctl
@bin bin/mdnsd
@man man/cat8/mdnsctl.0
@man man/cat8/mdnsd.0
@rcscript ${RCDIR}/mdnsd

13
net/openmdns/pkg/mdnsd.rc Normal file
View File

@ -0,0 +1,13 @@
#!/bin/sh
#
# $OpenBSD: mdnsd.rc,v 1.1 2011/03/15 06:54:26 ajacoutot Exp $
daemon="${TRUEPREFIX}/bin/mdnsd"
daemon_flags="em0"
. /etc/rc.d/rc.subr
pexp="mdnsd: mdnsd"
rc_reload=NO
rc_cmd $1