db18448c1d
build. Bump PORTREVISION PR: ports/147779 Submitted by: Serg [mail_of_sergey mail.ru] Approved by: maintainer, tabthorpe (mentor) Feature safe: yes
40 lines
948 B
Makefile
40 lines
948 B
Makefile
# Ports collection makefile for: dtc
|
|
# Date created: 12 January 2005
|
|
# Whom: Thomas Goirand
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sbox
|
|
PORTVERSION= 1.10
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://files.bsdroot.lv/FreeBSD/distfiles/
|
|
|
|
MAINTAINER= aldis@BSDroot.lv
|
|
COMMENT= A CGI wrapper for Web site hosting services to safely grant CGI
|
|
|
|
SBOX_UIDMIN?= 1000
|
|
SBOX_GIDMIN?= 1000
|
|
SBOX_SAFEPATH?= /bin:/usr/bin:${PREFIX}/bin:${LOCALBASE}/bin
|
|
SBOX_LOGFILE?= /var/log/sbox.log
|
|
|
|
CFLAGS+= -DWEB_USER='\"${WWWOWN}\"' \
|
|
-DWEB_GROUP='\"${WWWGRP}\"' \
|
|
-DUID_MIN=${SBOX_UIDMIN} \
|
|
-DGID_MIN=${SBOX_GIDMIN} \
|
|
-DSAFE_PATH='\"${SBOX_SAFEPATH}\"' \
|
|
-DLOG_FILE='\"${SBOX_LOGFILE}\"'
|
|
|
|
MAKE_ARGS= CC="${CC}" COPTS="${CFLAGS}" \
|
|
INSTALL_DIRECTORY=${PREFIX}/www/cgi-bin
|
|
|
|
PLIST_FILES= www/cgi-bin/sbox
|
|
PLIST_DIRS= www/cgi-bin
|
|
|
|
PATCH_STRIP= -p1
|
|
|
|
pre-su-install:
|
|
${MKDIR} ${PREFIX}/www/cgi-bin
|
|
|
|
.include <bsd.port.mk>
|