- remove /var/run/gnugk from @sample (the content of /var/run is wiped

out on boot so there's really no point in keeping this)
- instruct users to create /var/run/gnugk before starting gnugk instead

pointed by todd@ in a mail to ports@
This commit is contained in:
ajacoutot 2007-06-20 14:40:34 +00:00
parent 5e5ec2f584
commit 300701eb8a
3 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/04/27 21:10:42 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.2 2007/06/20 14:40:34 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= "H.323 gatekeeper"
COMMENT= H.323 gatekeeper
DISTNAME= gnugk-2.2.6
PKGNAME= ${DISTNAME}p0
CATEGORIES= net telephony
HOMEPAGE= http://www.gnugk.org/

View File

@ -1,4 +1,5 @@
To start the gatekeeper as the unpriviledged ${GNUGK_ID} user, as root:
install -d -o _gnugk /var/run/gnugk
${PREFIX}/bin/gnugk -c /etc/gnugk.ini -u _gnugk \
-o /var/log/gnugk/gnugk.log --pid /var/run/gnugk/gnugk.pid >/dev/null &

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/04/27 21:10:42 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.2 2007/06/20 14:40:34 ajacoutot Exp $
@newgroup ${GNUGK_ID}:586
@newuser ${GNUGK_ID}:586:586:daemon:Gatekeeper Daemon:/var/empty:/sbin/nologin
bin/addpasswd
@ -40,4 +40,3 @@ share/examples/gnugk/uri.ini
share/examples/gnugk/vqueue.ini
@owner ${GNUGK_ID}
@sample /var/log/gnugk/
@sample /var/run/gnugk/