summaryrefslogtreecommitdiffstats
path: root/security/drweb/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-10-15 15:44:22 +0000
committerache <ache@FreeBSD.org>2001-10-15 15:44:22 +0000
commitbe080b83d835357ca35691acb5702eba0b612f07 (patch)
tree64a3b70548064672af99c0dfeba1f6e48251e57e /security/drweb/Makefile
parent380368eb53b31a09dd563f0316b13621d5ad8395 (diff)
downloadFreeBSD-ports-be080b83d835357ca35691acb5702eba0b612f07.zip
FreeBSD-ports-be080b83d835357ca35691acb5702eba0b612f07.tar.gz
Put it into security sandbox - don't allow 'drweb' user to own any files
excepting pid/socket/temp
Diffstat (limited to 'security/drweb/Makefile')
-rw-r--r--security/drweb/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/drweb/Makefile b/security/drweb/Makefile
index bc0c9f0..bd70e24 100644
--- a/security/drweb/Makefile
+++ b/security/drweb/Makefile
@@ -7,7 +7,7 @@
PORTNAME= drweb
PORTVERSION= 4.26
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= http://www.drweb.ru/ftp/web_pub/
DISTNAME= ${PORTNAME}d-${PORTVERSION}-freebsd4
@@ -20,10 +20,12 @@ NO_BUILD= YES
# Needed for update.pl
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32
+SCRIPTS_ENV+= BINOWN=${BINOWN}
+
DRWEB_PREFIX= ${PREFIX}/${PORTNAME}
do-install:
- -@${MKDIR} -v ${DRWEB_PREFIX}
+ -@install -dv -o ${BINOWN} -g ${BINGRP} ${DRWEB_PREFIX}
@cd ${DRWEB_PREFIX}; ${RM} -f drw*.txt drw*.vdb drweb drwebd
${TAR} -xzf ${WRKSRC}/${DISTNAME}.tar.gz -C ${DRWEB_PREFIX} \
--exclude *.ini --exclude *.key
OpenPOWER on IntegriCloud