Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [UPDATE] telephony/iaxmodem 1.3.4 -> 1.3.5
To:
Larry Moore <lmoore@starwon.com.au>
Cc:
OpenBSD Ports <ports@openbsd.org>
Date:
Wed, 18 Feb 2026 11:01:05 +0000

Download raw body.

Thread
On 2026/02/18 18:24, Larry Moore wrote:
> --- /usr/ports/telephony/iaxmodem/pkg/iaxmodem.rc	Thu Jan  1 08:00:00 1970
> +++ ./pkg/iaxmodem.rc	Tue Feb 17 03:22:34 2026
> @@ -0,0 +1,26 @@
> +#!/bin/ksh
> +#
> +
> +daemon="${TRUEPREFIX}/bin/iaxmodem"
> +
> +. /etc/rc.d/rc.subr
> +
> +
> +pexp="$(eval echo ${daemon})"

not sure what this is supposed to do? is there anything wrong with the
default?

> +rc_reload=
> +rc_reload_signal=HUP
> +rc_stop_signal=TERM

these rc_* are the default anyway

> +
> +rc_start() {
> +	rc_exec "${daemon}"
> +}
> +
> +rc_reload() {
> +	pkill -${rc_reload_signal} -xf "${pexp}"
> +}
> +
> +rc_stop() {
> +	pkill -${rc_stop_signal} -xf "${pexp}"
> +}

and these are similar to the default but with missing daemon_rtable
checks etc

> +rc_cmd $1