1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/sbox-dtc/Makefile
Rong-En Fan 28ed69b4c8 - Update to 1.07.3
- Add some knobs to change sbox settings, like UID_MIN, GID_MIN, SAFE_PATH,
  and LOGFILE.  These values are not the same as distribution default, but
  the same as bsd.apache.mk.
- Remove dependency on Apache as this is only a CGI. This will fix brokenness
  for sysutils/dtc (conflict dependency).
- Refine COMMENT from author's version of this port
- Add WWW entry
2007-08-14 10:38:52 +00:00

35 lines
889 B
Makefile

# Ports collection makefile for: dtc
# Date created: 12 January 2005
# Whom: Thomas Goirand
#
# $FreeBSD$
#
PORTNAME= sbox-dtc
PORTVERSION= 1.07.3
CATEGORIES= www
MASTER_SITES= ftp://ftp.gplhost.com/pub/sbox-dtc/bsd/
MAINTAINER= ports@FreeBSD.org
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/httpd-suexec.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
.include <bsd.port.mk>