Add an rc script for no-ip2, from Mark Peoples with tweaks by me

Maintainer timeout, ok ajacoutot@
This commit is contained in:
sthen 2011-11-28 08:37:51 +00:00
parent e7fe871f2c
commit 887b604584
3 changed files with 16 additions and 4 deletions

View File

@ -1,18 +1,18 @@
# $OpenBSD: Makefile,v 1.18 2011/11/16 00:20:08 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2011/11/28 08:37:51 sthen Exp $
COMMENT= No-IP.com Dynamic DNS client
V= 2.1.9
DISTNAME= noip-${V}
PKGNAME= no-ip-${V}
REVISION= 1
REVISION= 2
CATEGORIES= net
HOMEPAGE= http://www.no-ip.com/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# GPL
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.7 2009/04/30 23:25:12 jolan Exp $
@comment $OpenBSD: PLIST,v 1.8 2011/11/28 08:37:52 sthen Exp $
@newgroup _noip:624
@newuser _noip:624:_noip:daemon:noip user:/nonexistent:/sbin/nologin
@bin sbin/noip2
@ -7,3 +7,4 @@ share/doc/no-ip/README.FIRST
share/examples/no-ip/
share/examples/no-ip/no-ip2.conf
@sample ${SYSCONFDIR}/no-ip2.conf
@rcscript ${RCDIR}/noip2

11
net/no-ip/pkg/noip2.rc Normal file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# $OpenBSD: noip2.rc,v 1.1 2011/11/28 08:37:52 sthen Exp $
daemon="${TRUEPREFIX}/sbin/noip2"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1