It was pointed out to me off-list (thanks Mattieu) that I never tested the rc script that comes with net/mcast-proxy with the actual port itself. Problem is that I used the rc script from my mail to tech@ from 3 June[1], which was for an mcast-proxy in base (with the binary in /usr/sbin/). However, the port installs into /usr/local/bin/.
Two ways to fix this: install the binary in ${TRUEPREFIX}/sbin/ or fix the rc script to use the binary from ${TRUEPREFIX}/bin/. This diff uses the latter approach. Should the binary live in sbin/? At least hier(7) suggests it, but that diff is a bit more involved. Comments? OKs? Thanks, Paul 'WEiRD' de Weerd PS: I'm also working on changing this port to the proper upstream, but that's not immediately affecting the usability of the package, so I'll leave that for a later diff. [1]: http://marc.info/?l=openbsd-tech&m=149650042205168&w=2 Index: net/mcast-proxy/Makefile =================================================================== RCS file: /cvs/ports/net/mcast-proxy/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- net/mcast-proxy/Makefile 31 Jul 2017 09:38:56 -0000 1.3 +++ net/mcast-proxy/Makefile 7 Aug 2017 09:27:22 -0000 @@ -4,7 +4,7 @@ COMMENT = multicast proxy daemon DISTNAME = mcast-proxy-1.0 CATEGORIES = net -REVISION = 1 +REVISION = 2 MASTER_SITES = http://www.weirdnet.nl/openbsd/code/mcast-proxy/ Index: net/mcast-proxy/pkg/mcastproxy.rc =================================================================== RCS file: /cvs/ports/net/mcast-proxy/pkg/mcastproxy.rc,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 mcastproxy.rc --- net/mcast-proxy/pkg/mcastproxy.rc 30 Jul 2017 21:12:36 -0000 1.1.1.1 +++ net/mcast-proxy/pkg/mcastproxy.rc 7 Aug 2017 09:27:28 -0000 @@ -2,7 +2,7 @@ # # $OpenBSD: mcastproxy.rc,v 1.1.1.1 2017/07/30 21:12:36 jca Exp $ -daemon="${TRUEPREFIX}/sbin/mcast-proxy" +daemon="${TRUEPREFIX}/bin/mcast-proxy" . /etc/rc.d/rc.subr -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/