mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- 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
This commit is contained in:
parent
626871cd3d
commit
28ed69b4c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197649
@ -6,22 +6,29 @@
|
||||
#
|
||||
|
||||
PORTNAME= sbox-dtc
|
||||
PORTVERSION= 1.07.1
|
||||
PORTVERSION= 1.07.3
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ftp://ftp.gplhost.com/pub/sbox-dtc/bsd/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A safe CGI wrapper
|
||||
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}\"'
|
||||
|
||||
USE_APACHE= yes
|
||||
CFLAGS+= -DWEB_GROUP='\"nobody\"'
|
||||
MAKE_ARGS= CC="${CC}" COPTS="${CFLAGS}" \
|
||||
INSTALL_DIRECTORY=${PREFIX}/www/cgi-bin
|
||||
|
||||
PLIST_FILES= www/cgi-bin/sbox
|
||||
|
||||
.if defined(WITH_APACHE2)
|
||||
IGNORE= Untested
|
||||
.endif
|
||||
PLIST_DIRS= www/cgi-bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (sbox-dtc-1.07.1.tar.gz) = ebf17b10d91a9234e90e693fa925b62e
|
||||
SHA256 (sbox-dtc-1.07.1.tar.gz) = dc4e7952ac99e11747b8e4af170c5bedfe2980c7ea3f4ead6f8fcd2c77dbc44d
|
||||
SIZE (sbox-dtc-1.07.1.tar.gz) = 34397
|
||||
MD5 (sbox-dtc-1.07.3.tar.gz) = 21497ce80849549aebd643866dedbcf0
|
||||
SHA256 (sbox-dtc-1.07.3.tar.gz) = 717acfacab87b3f2f3ff6828de0098f1af1f596be0dad048c30f53d9ed0ab8b5
|
||||
SIZE (sbox-dtc-1.07.3.tar.gz) = 34599
|
||||
|
@ -8,3 +8,5 @@ scripts in a chroot'ed shell restricted to the author's home directories.
|
||||
|
||||
sbox is compatible with all Web servers running under BSD-derived flavors of
|
||||
Unix. You can use and redistribute it freely.
|
||||
|
||||
WWW: http://www.gplhost.com/software-sboxdtc.html
|
||||
|
Loading…
Reference in New Issue
Block a user