mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
- Update to 1.10
- Pass maintainership to the submitter PR: ports/144862 Submitted by: Aldis Berjoza <aldis@bsdroot.lv>
This commit is contained in:
parent
04f0db98ed
commit
be2fe42d4f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252034
@ -5,18 +5,18 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= sbox-dtc
|
||||
PORTVERSION= 1.07.3
|
||||
PORTNAME= sbox
|
||||
PORTVERSION= 1.10
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ftp://ftp.gplhost.com/pub/sbox-dtc/bsd/
|
||||
MASTER_SITES= http://files.bsdroot.lv/FreeBSD/distfiles/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
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/httpd-suexec.log
|
||||
SBOX_LOGFILE?= /var/log/sbox.log
|
||||
|
||||
CFLAGS+= -DWEB_USER='\"${WWWOWN}\"' \
|
||||
-DWEB_GROUP='\"${WWWGRP}\"' \
|
||||
@ -31,4 +31,9 @@ MAKE_ARGS= CC="${CC}" COPTS="${CFLAGS}" \
|
||||
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>
|
||||
|
@ -1,3 +1,3 @@
|
||||
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
|
||||
MD5 (sbox-1.10.tar.gz) = 3f30b178f289aafa01c826564a4fa441
|
||||
SHA256 (sbox-1.10.tar.gz) = b0fe564111317614c6185a7374dd0d2a7e964d61e27b4faafa3f3476403e1721
|
||||
SIZE (sbox-1.10.tar.gz) = 38437
|
||||
|
18
www/sbox-dtc/files/patch-sbox.h
Normal file
18
www/sbox-dtc/files/patch-sbox.h
Normal file
@ -0,0 +1,18 @@
|
||||
--- sbox.h.orig 2005-12-05 23:00:27.000000000 +0200
|
||||
+++ sbox.h 2010-03-18 19:42:17.032943014 +0200
|
||||
@@ -1,4 +1,15 @@
|
||||
/*
|
||||
+ * patch by Aldis Berjoza <aldis@bsdroot.lv> 2010-03-18
|
||||
+ * This will define UID_MAX and GID_MAX macros to match FreeBSD
|
||||
+ */
|
||||
+#ifndef __BSD_VISIBLE
|
||||
+#define __BSD_VISIBLE
|
||||
+#endif
|
||||
+#ifndef _SYS_LIMITS_H_
|
||||
+#include <sys/limits.h>
|
||||
+#endif
|
||||
+
|
||||
+/*
|
||||
* sbox.h -- definitions for the script box
|
||||
* Copyright 1997-1998, Lincoln D. Stein
|
||||
* $Revision: 1.11 $
|
@ -9,4 +9,4 @@ 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
|
||||
WWW: http://stein.cshl.org/WWW/software/sbox/
|
||||
|
Loading…
Reference in New Issue
Block a user