ports/144862: port update www/sbox-dtc to v1.10

Aldis Berjoza aldis at bsdroot.lv
Thu Mar 18 18:50:01 UTC 2010


>Number:         144862
>Category:       ports
>Synopsis:       port update www/sbox-dtc to v1.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 18 18:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Aldis Berjoza
>Release:        
>Organization:
>Environment:
>Description:
Updated www/sbox-dtc to v1.10

I uploaded sources to my file server, because from project homepage sources are in archive without version numbers.

I created tiny patch, that will make sure that UID_MAX and GID_MAX macros match FreeBSD.

I renamed port to sbox, because that's how new project homepage name it
http://stein.cshl.org/WWW/software/sbox/
I suggest to move www/sbox-dtc to www/sbox to avoid confusion
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -uNr /usr/ports/www/sbox-dtc/Makefile sbox-dtc/Makefile
--- /usr/ports/www/sbox-dtc/Makefile	2007-08-14 13:38:52.000000000 +0300
+++ sbox-dtc/Makefile	2010-03-18 19:29:10.139501530 +0200
@@ -5,18 +5,18 @@
 # $FreeBSD: ports/www/sbox-dtc/Makefile,v 1.3 2007/08/14 10:38:52 rafan Exp $
 #
 
-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 at FreeBSD.org
+MAINTAINER=	aldis at 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,6 @@
 PLIST_FILES=	www/cgi-bin/sbox
 PLIST_DIRS=	www/cgi-bin
 
+PATCH_STRIP=    -p1
+
 .include <bsd.port.mk>
diff -uNr /usr/ports/www/sbox-dtc/distinfo sbox-dtc/distinfo
--- /usr/ports/www/sbox-dtc/distinfo	2007-08-14 13:38:52.000000000 +0300
+++ sbox-dtc/distinfo	2010-03-18 18:31:00.025629515 +0200
@@ -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
diff -uNr /usr/ports/www/sbox-dtc/files/patch-sbox.h sbox-dtc/files/patch-sbox.h
--- /usr/ports/www/sbox-dtc/files/patch-sbox.h	1970-01-01 03:00:00.000000000 +0300
+++ sbox-dtc/files/patch-sbox.h	2010-03-18 19:47:55.522353820 +0200
@@ -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 at 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 $
diff -uNr /usr/ports/www/sbox-dtc/pkg-descr sbox-dtc/pkg-descr
--- /usr/ports/www/sbox-dtc/pkg-descr	2007-08-14 13:38:52.000000000 +0300
+++ sbox-dtc/pkg-descr	2010-03-18 18:31:49.600271265 +0200
@@ -9,4 +9,4 @@
 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/


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list