On 2011-11-28, Mark Peoples <ma...@azbsd.org> wrote: > adds rc script, updates plist, bumps revision. sent the maintainer > just the rc last week but hadn't heard back
noip2 ignores SIGHUP so we need to set rc_reload=NO, and add a missing $OpenBSD$ line. Otherwise looks good (but I don't have a no-ip account to test it). OK? Index: Makefile =================================================================== RCS file: /cvs/ports/net/no-ip/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile 16 Nov 2011 00:20:08 -0000 1.18 +++ Makefile 28 Nov 2011 08:20:09 -0000 @@ -5,14 +5,14 @@ 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 <wilfr...@openbsd.org> -# GPL +# GPLv2+ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/net/no-ip/pkg/PLIST,v retrieving revision 1.7 diff -u -p -r1.7 PLIST --- pkg/PLIST 30 Apr 2009 23:25:12 -0000 1.7 +++ pkg/PLIST 28 Nov 2011 08:20:09 -0000 @@ -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 Index: pkg/noip2.rc =================================================================== RCS file: pkg/noip2.rc diff -N pkg/noip2.rc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg/noip2.rc 28 Nov 2011 08:20:09 -0000 @@ -0,0 +1,11 @@ +#!/bin/sh +# +# $OpenBSD$ + +daemon="${TRUEPREFIX}/sbin/noip2" + +. /etc/rc.d/rc.subr + +rc_reload=NO + +rc_cmd $1