Ping.

On Sat, Jan 22, 2022 at 05:46:24PM +0100, Marcus Glocker wrote:

> This adds rc-script to nostromo.
> 
> OK?
> 
> 
> Index: www/nostromo/Makefile
> ===================================================================
> RCS file: /cvs/ports/www/nostromo/Makefile,v
> retrieving revision 1.45
> diff -u -p -u -p -r1.45 Makefile
> --- www/nostromo/Makefile     6 Jul 2020 20:53:59 -0000       1.45
> +++ www/nostromo/Makefile     22 Jan 2022 14:28:56 -0000
> @@ -3,6 +3,7 @@
>  COMMENT=             simple, fast and secure HTTP server
>  
>  DISTNAME=            nostromo-1.9.9
> +REVISION=            0
>  CATEGORIES=          www
>  MASTER_SITES=                http://www.nazgul.ch/dev/
>  
> Index: www/nostromo/pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/www/nostromo/pkg/PLIST,v
> retrieving revision 1.8
> diff -u -p -u -p -r1.8 PLIST
> --- www/nostromo/pkg/PLIST    23 Jun 2011 22:50:30 -0000      1.8
> +++ www/nostromo/pkg/PLIST    22 Jan 2022 14:28:56 -0000
> @@ -1,6 +1,7 @@
>  @comment $OpenBSD: PLIST,v 1.8 2011/06/23 22:50:30 naddy Exp $
>  @newgroup _nostromo:536
>  @newuser _nostromo:536:_nostromo:daemon:Nostromo 
> Account:/nonexistent:/sbin/nologin
> +@rcscript ${RCDIR}/nostromo
>  @man man/man8/nhttpd.8
>  @bin sbin/crypt
>  @bin sbin/nhttpd
> Index: www/nostromo/pkg/nostromo.rc
> ===================================================================
> RCS file: www/nostromo/pkg/nostromo.rc
> diff -N www/nostromo/pkg/nostromo.rc
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ www/nostromo/pkg/nostromo.rc      22 Jan 2022 14:28:56 -0000
> @@ -0,0 +1,13 @@
> +#!/bin/ksh
> +#
> +# $OpenBSD$
> +
> +daemon="${TRUEPREFIX}/sbin/nhttpd"
> +
> +. /etc/rc.d/rc.subr
> +
> +rc_pre() {
> +     install -d -o _nostromo /var/run/nostromo
> +}
> +
> +rc_cmd $1
> 

Reply via email to