On Mon, Jul 31, 2017 at 08:11:54AM +0200, Paul de Weerd wrote:
| On Mon, Jul 31, 2017 at 08:08:36AM +0200, Antoine Jacoutot wrote:
| | There is a problem.
| | @newgroup _mcastproxy:791
| | @newuser _mcastproxy:791:791:daemon:Multicast Proxy:/var/empty:/sbin/nologin
| |
| | That UID is already in use:
| | 791 _orthanc _orthanc graphics/orthanc/server
| |
| | And the _mcastproxy user/group was not added to infrastructure/db/user.list
at
| | all.
|
| Indeed, apologies. The _orthanc user was added after my submission.
| I'll send a diff soon (on the train now)
Here it is. This changes the PLIST to use 792 and reserves this uid
in the user.list. Note that this doesn't bump the port even though it
technically should since the resulting pkg changes. However, I
figured that since the old pkg is 'invalid' (because of the clashing
UID), it may not be necessary.
Paul
Index: infrastructure/db/user.list
===================================================================
RCS file: /cvs/ports/infrastructure/db/user.list,v
retrieving revision 1.293
diff -u -p -r1.293 user.list
--- infrastructure/db/user.list 29 Jul 2017 18:48:44 -0000 1.293
+++ infrastructure/db/user.list 31 Jul 2017 07:20:22 -0000
@@ -300,3 +300,4 @@ id user group port options
789 _ftpsesame _ftpsesame net/ftpsesame
790 _mtr _mtr net/mtr
791 _orthanc _orthanc graphics/orthanc/server
+792 _mcastproxy _mcastproxy net/mcast-proxy
Index: net/mcast-proxy/pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/mcast-proxy/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- net/mcast-proxy/pkg/PLIST 30 Jul 2017 21:12:36 -0000 1.1.1.1
+++ net/mcast-proxy/pkg/PLIST 31 Jul 2017 07:20:04 -0000
@@ -1,6 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/07/30 21:12:36 jca Exp $
-@newgroup _mcastproxy:791
-@newuser _mcastproxy:791:791:daemon:Multicast Proxy:/var/empty:/sbin/nologin
+@newgroup _mcastproxy:792
+@newuser _mcastproxy:792:792:daemon:Multicast Proxy:/var/empty:/sbin/nologin
@bin bin/mcast-proxy
@man man/man5/mcast-proxy.conf.5
@man man/man8/mcast-proxy.8
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/