create the working directories with the correct group

so that others can access it
discussed with ajacoutot@
This commit is contained in:
robert 2011-11-30 11:00:59 +00:00
parent 5f568ac341
commit d01a9d9204
2 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2010/12/30 10:21:25 giovanni Exp $
# $OpenBSD: Makefile,v 1.13 2011/11/30 11:00:59 robert Exp $
COMMENT= web proxy with antivirus filter
@ -6,15 +6,17 @@ DISTNAME= havp-0.92a
CATEGORIES= www
MASTER_SITES= ${HOMEPAGE}/download/
REVISION= 0
HOMEPAGE= http://www.server-side.de/
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m pthread stdc++ clamav

View File

@ -1,13 +1,13 @@
#!/bin/sh
#
# $OpenBSD: havp.rc,v 1.1 2010/12/30 10:21:25 giovanni Exp $
# $OpenBSD: havp.rc,v 1.2 2011/11/30 11:00:59 robert Exp $
daemon="${TRUEPREFIX}/sbin/havp"
. /etc/rc.d/rc.subr
rc_pre() {
install -d -o _havp /var/run/havp/ /var/tmp/havp/
install -d -o _havp -g _havp /var/run/havp/ /var/tmp/havp/
}
rc_cmd $1