1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add PHP flavor support.

Add LICENSE
Fix portlint warnings (strip .so file, fix @exec in plist)
Regenerate patches with makepatch
Change maintainer as requested.

PR:		227378
Submitted by:	freebsd-ports@dan.me.uk
Reported by:	freebsd-ports@dan.me.uk
Reviewed by:	mfechner@FreeBSD.org
Approved by:	maintainer timeout
This commit is contained in:
Matthias Fechner 2018-10-20 11:33:29 +00:00
parent cff152c810
commit 9b238fe9cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482491
5 changed files with 15 additions and 15 deletions

View File

@ -8,12 +8,15 @@ CATEGORIES= www
MASTER_SITES= http://www.suphp.org/download/ \
LOCAL/bdrewery/${PORTNAME}/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= bdrewery@FreeBSD.org
MAINTAINER= freebsd-ports@dan.me.uk
COMMENT= Securely execute PHP scripts under Apache
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= apache:2.2+ autoreconf libtool php:cgi
USES= apache:2.2+ autoreconf libtool php:cgi,flavors
SUB_FILES= pkg-message
CFLAGS+= -I${LOCALBASE}/include
@ -45,6 +48,7 @@ CONFIGURE_ARGS+= --with-apr=${LOCALBASE}
post-install:
.if !defined(WITH_DEBUG)
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/suphp
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_suphp.so
.endif
${INSTALL_DATA} ${WRKSRC}/doc/suphp.conf-example \
${STAGEDIR}${PREFIX}/etc/suphp.conf-example

View File

@ -1,6 +1,6 @@
--- configure.ac.orig 2014-08-31 10:39:02.982846403 +0100
+++ configure.ac 2014-08-31 10:39:31.763844267 +0100
@@ -15343,7 +15343,7 @@
--- configure.ac.orig 2013-05-20 16:26:56 UTC
+++ configure.ac
@@ -66,7 +66,7 @@ if test -n "$APXS"; then
| cut -f2 -d"/" \
| cut -f1 -d" "`
major_version=`echo $APACHE_VERSION|cut -f1,2 -d.`

View File

@ -1,6 +1,6 @@
--- doc/suphp.conf-example.orig
--- doc/suphp.conf-example.orig 2011-03-13 17:52:24 UTC
+++ doc/suphp.conf-example
@@ -6,10 +6,10 @@
@@ -6,10 +6,10 @@ logfile=/var/log/suphp.log
loglevel=info
;User Apache is running as
@ -13,7 +13,7 @@
;Path to chroot() to before executing script
;chroot=/mychroot
@@ -33,15 +33,15 @@
@@ -33,15 +33,15 @@ env_path="/bin:/usr/bin"
umask=0077
; Minimum UID

View File

@ -1,8 +1,4 @@
$NetBSD: patch-src_SmartPtr.hpp,v 1.1 2011/09/21 12:54:16 adam Exp $
Fix C++ syntax
--- src/SmartPtr.hpp.orig 2011-09-21 12:48:02.000000000 +0000
--- src/SmartPtr.hpp.orig 2007-03-13 14:17:02 UTC
+++ src/SmartPtr.hpp
@@ -150,7 +150,7 @@ namespace suPHP {
template<class T>

View File

@ -1,8 +1,8 @@
sbin/suphp
etc/suphp.conf-example
%%APACHEMODDIR%%/mod_suphp.so
@exec %D/sbin/apxs -e -a -n suphp %D/%f
@unexec %D/sbin/apxs -e -A -n suphp %D/%f
@postexec %D/sbin/apxs -e -a -n suphp %D/%f
@preunexec %D/sbin/apxs -e -A -n suphp %D/%f
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README