aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-06-21 09:30:32 +0800
committershaun <shaun@FreeBSD.org>2006-06-21 09:30:32 +0800
commit87121d523bd8e336bd3c9f9fa40d76bf43798da8 (patch)
tree183d5a4fb0eecb7ec10def0104e4d054096d9d81
parentbc647f49845e878c6adff5151c51b2ac39800334 (diff)
downloadfreebsd-ports-gnome-87121d523bd8e336bd3c9f9fa40d76bf43798da8.tar.gz
freebsd-ports-gnome-87121d523bd8e336bd3c9f9fa40d76bf43798da8.tar.zst
freebsd-ports-gnome-87121d523bd8e336bd3c9f9fa40d76bf43798da8.zip
- Temporary workaround for Horde security issue:
http://www.vuxml.org/freebsd/09429f7c-fd6e-11da-b1cd-0050bf27ba24.html - Use ${PHP_VER} to select PHP dependency, since the default is now PHP 5. Approved by: ahze (mentor)
-rw-r--r--www/horde-base/Makefile31
-rw-r--r--www/horde-base/distinfo6
-rw-r--r--www/horde/Makefile31
-rw-r--r--www/horde/distinfo6
-rw-r--r--www/horde4-base/Makefile31
-rw-r--r--www/horde4-base/distinfo6
6 files changed, 78 insertions, 33 deletions
diff --git a/www/horde-base/Makefile b/www/horde-base/Makefile
index 470ea4de9234..b8f65b59494b 100644
--- a/www/horde-base/Makefile
+++ b/www/horde-base/Makefile
@@ -7,7 +7,7 @@
PORTNAME= horde
PORTVERSION= 3.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ftp://ftp.horde.org/pub/horde/ \
ftp://ftp.planetmirror.com/pub/horde/horde/ \
@@ -17,10 +17,14 @@ MASTER_SITES= ftp://ftp.horde.org/pub/horde/ \
ftp://ftp.it.horde.org/pub/mirror/horde.org/horde/ \
ftp://ftp.nl.horde.org/mirror/horde-ftp/pub/horde/ \
ftp://ftp.uk.horde.org/mirrors/ftp.horde.org/pub/horde/ \
- http://ftp.horde.org/pub/horde/
+ http://ftp.horde.org/pub/horde/ \
+ http://cvs.horde.org/co.php?r=1.146\&p=1\&f=horde/:patch1 \
+ http://cvs.horde.org/co.php?r=2.26\&p=1\&f=horde/templates/problem/:patch2
.if defined(WITH_PHP5)
PKGNAMESUFFIX= -php5
.endif
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} test.php:patch1 problem.inc:patch2
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= shaun@FreeBSD.org
COMMENT= A common code-base used by Horde applications, written in PHP
@@ -234,7 +238,14 @@ APACHE_CONF= ${APACHE_CNFDIR}/httpd.conf
PEARDIR?= ${LOCALBASE}/share/pear
LOG_FILE?= /var/log/horde.log
-.if defined(WITH_PHP5)
+PATCHES2RM= po/translation.php config/conf.xml scripts/sql/README \
+ config/mime_drivers.php.dist config/registry.php.dist
+SEDIN2RM= lib/Horde/Auth/mcal.php config/conf.xml docs/INSTALL \
+ config/mime_drivers.php.dist
+
+.include <bsd.port.pre.mk>
+
+.if ${PHP_VER} == 5
USE_PHP+= dom
.else
USE_PHP+= domxml
@@ -243,12 +254,7 @@ USE_PHP+= mcal
. endif
.endif
-PATCHES2RM= po/translation.php config/conf.xml scripts/sql/README \
- config/mime_drivers.php.dist config/registry.php.dist
-SEDIN2RM= lib/Horde/Auth/mcal.php config/conf.xml docs/INSTALL \
- config/mime_drivers.php.dist
-
-.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.php.mk"
.if ${APACHE_VERSION} >= 20
APACHE_CNFDIR= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}
@@ -263,6 +269,9 @@ PLIST_SUB+= RMDIRINC=""
.endif
pre-configure:
+ @${CP} -p ${DISTDIR}/test.php ${WRKSRC}
+ @${CP} -p ${DISTDIR}/problem.inc ${WRKSRC}/templates/problem/
+
@${RM} ${PATCHES2RM:S|^|${WRKSRC}/|:S|$|.orig|}
@${SED} -e "s:/home/httpd/html/horde:${HORDEDIR}:" \
-e "s:php_value auto_prepend_file:# php_value auto_prepend_file:" \
@@ -315,7 +324,7 @@ pre-configure:
${FIND} . -name "*.beforeHorde" -delete)
pre-install:
-.if !defined(WITHOUT_SUPPORTED_DB)
+.if !defined(WITHOUT_SUPPORTED_DB) && exists(${LOCALBASE}/bin/php)
@if ! php -m | ${GREP} -q -e "mysql" ; then \
if ! php -m | ${GREP} -q -e "pgsql" ; then \
if ! php -m | ${GREP} -q -e "sybase" ; then \
@@ -338,7 +347,7 @@ pre-install:
${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif
- # Copy RCSID tag from conf.xml into conf.php to stop Horde complaining
+# Copy RCSID tag from conf.xml into conf.php to stop Horde complaining
@if ! ${GREP} -q -e "$$Horde.*conf\.xml" ${WRKSRC}/config/conf.php.dist; then \
${GREP} -h "$$Horde.*conf\.xml" ${WRKSRC} ${WRKSRC}/config/conf.xml \
| ${SED} -e 's#^ *<!--#//#' -e 's# *--> *$$##g' \
diff --git a/www/horde-base/distinfo b/www/horde-base/distinfo
index 41a451749be5..e679b7530728 100644
--- a/www/horde-base/distinfo
+++ b/www/horde-base/distinfo
@@ -1,3 +1,9 @@
MD5 (horde-3.1.1.tar.gz) = ef5001144b80422b71454d285056e90a
SHA256 (horde-3.1.1.tar.gz) = 5edb80766cb71832b1c5435b5093392164dbab46bdf5a496050620249d66e06f
SIZE (horde-3.1.1.tar.gz) = 5068434
+MD5 (test.php) = e54d85c8a923718c3dac72a6403550fb
+SHA256 (test.php) = 487ede8215039250dfaa88cc5917ab2def8b8439d2d2b960fce430a68d8d0dfe
+SIZE (test.php) = 15028
+MD5 (problem.inc) = e125512147a9accf645ca665df182a74
+SHA256 (problem.inc) = 0ecced892b1110b6570f0059bbbb7d18213441d797208943f84d56a8d82f9e1e
+SIZE (problem.inc) = 2247
diff --git a/www/horde/Makefile b/www/horde/Makefile
index 470ea4de9234..b8f65b59494b 100644
--- a/www/horde/Makefile
+++ b/www/horde/Makefile
@@ -7,7 +7,7 @@
PORTNAME= horde
PORTVERSION= 3.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ftp://ftp.horde.org/pub/horde/ \
ftp://ftp.planetmirror.com/pub/horde/horde/ \
@@ -17,10 +17,14 @@ MASTER_SITES= ftp://ftp.horde.org/pub/horde/ \
ftp://ftp.it.horde.org/pub/mirror/horde.org/horde/ \
ftp://ftp.nl.horde.org/mirror/horde-ftp/pub/horde/ \
ftp://ftp.uk.horde.org/mirrors/ftp.horde.org/pub/horde/ \
- http://ftp.horde.org/pub/horde/
+ http://ftp.horde.org/pub/horde/ \
+ http://cvs.horde.org/co.php?r=1.146\&p=1\&f=horde/:patch1 \
+ http://cvs.horde.org/co.php?r=2.26\&p=1\&f=horde/templates/problem/:patch2
.if defined(WITH_PHP5)
PKGNAMESUFFIX= -php5
.endif
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} test.php:patch1 problem.inc:patch2
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= shaun@FreeBSD.org
COMMENT= A common code-base used by Horde applications, written in PHP
@@ -234,7 +238,14 @@ APACHE_CONF= ${APACHE_CNFDIR}/httpd.conf
PEARDIR?= ${LOCALBASE}/share/pear
LOG_FILE?= /var/log/horde.log
-.if defined(WITH_PHP5)
+PATCHES2RM= po/translation.php config/conf.xml scripts/sql/README \
+ config/mime_drivers.php.dist config/registry.php.dist
+SEDIN2RM= lib/Horde/Auth/mcal.php config/conf.xml docs/INSTALL \
+ config/mime_drivers.php.dist
+
+.include <bsd.port.pre.mk>
+
+.if ${PHP_VER} == 5
USE_PHP+= dom
.else
USE_PHP+= domxml
@@ -243,12 +254,7 @@ USE_PHP+= mcal
. endif
.endif
-PATCHES2RM= po/translation.php config/conf.xml scripts/sql/README \
- config/mime_drivers.php.dist config/registry.php.dist
-SEDIN2RM= lib/Horde/Auth/mcal.php config/conf.xml docs/INSTALL \
- config/mime_drivers.php.dist
-
-.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.php.mk"
.if ${APACHE_VERSION} >= 20
APACHE_CNFDIR= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}
@@ -263,6 +269,9 @@ PLIST_SUB+= RMDIRINC=""
.endif
pre-configure:
+ @${CP} -p ${DISTDIR}/test.php ${WRKSRC}
+ @${CP} -p ${DISTDIR}/problem.inc ${WRKSRC}/templates/problem/
+
@${RM} ${PATCHES2RM:S|^|${WRKSRC}/|:S|$|.orig|}
@${SED} -e "s:/home/httpd/html/horde:${HORDEDIR}:" \
-e "s:php_value auto_prepend_file:# php_value auto_prepend_file:" \
@@ -315,7 +324,7 @@ pre-configure:
${FIND} . -name "*.beforeHorde" -delete)
pre-install:
-.if !defined(WITHOUT_SUPPORTED_DB)
+.if !defined(WITHOUT_SUPPORTED_DB) && exists(${LOCALBASE}/bin/php)
@if ! php -m | ${GREP} -q -e "mysql" ; then \
if ! php -m | ${GREP} -q -e "pgsql" ; then \
if ! php -m | ${GREP} -q -e "sybase" ; then \
@@ -338,7 +347,7 @@ pre-install:
${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif
- # Copy RCSID tag from conf.xml into conf.php to stop Horde complaining
+# Copy RCSID tag from conf.xml into conf.php to stop Horde complaining
@if ! ${GREP} -q -e "$$Horde.*conf\.xml" ${WRKSRC}/config/conf.php.dist; then \
${GREP} -h "$$Horde.*conf\.xml" ${WRKSRC} ${WRKSRC}/config/conf.xml \
| ${SED} -e 's#^ *<!--#//#' -e 's# *--> *$$##g' \
diff --git a/www/horde/distinfo b/www/horde/distinfo
index 41a451749be5..e679b7530728 100644
--- a/www/horde/distinfo
+++ b/www/horde/distinfo
@@ -1,3 +1,9 @@
MD5 (horde-3.1.1.tar.gz) = ef5001144b80422b71454d285056e90a
SHA256 (horde-3.1.1.tar.gz) = 5edb80766cb71832b1c5435b5093392164dbab46bdf5a496050620249d66e06f
SIZE (horde-3.1.1.tar.gz) = 5068434
+MD5 (test.php) = e54d85c8a923718c3dac72a6403550fb
+SHA256 (test.php) = 487ede8215039250dfaa88cc5917ab2def8b8439d2d2b960fce430a68d8d0dfe
+SIZE (test.php) = 15028
+MD5 (problem.inc) = e125512147a9accf645ca665df182a74
+SHA256 (problem.inc) = 0ecced892b1110b6570f0059bbbb7d18213441d797208943f84d56a8d82f9e1e
+SIZE (problem.inc) = 2247
diff --git a/www/horde4-base/Makefile b/www/horde4-base/Makefile
index 470ea4de9234..b8f65b59494b 100644
--- a/www/horde4-base/Makefile
+++ b/www/horde4-base/Makefile
@@ -7,7 +7,7 @@
PORTNAME= horde
PORTVERSION= 3.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ftp://ftp.horde.org/pub/horde/ \
ftp://ftp.planetmirror.com/pub/horde/horde/ \
@@ -17,10 +17,14 @@ MASTER_SITES= ftp://ftp.horde.org/pub/horde/ \
ftp://ftp.it.horde.org/pub/mirror/horde.org/horde/ \
ftp://ftp.nl.horde.org/mirror/horde-ftp/pub/horde/ \
ftp://ftp.uk.horde.org/mirrors/ftp.horde.org/pub/horde/ \
- http://ftp.horde.org/pub/horde/
+ http://ftp.horde.org/pub/horde/ \
+ http://cvs.horde.org/co.php?r=1.146\&p=1\&f=horde/:patch1 \
+ http://cvs.horde.org/co.php?r=2.26\&p=1\&f=horde/templates/problem/:patch2
.if defined(WITH_PHP5)
PKGNAMESUFFIX= -php5
.endif
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} test.php:patch1 problem.inc:patch2
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= shaun@FreeBSD.org
COMMENT= A common code-base used by Horde applications, written in PHP
@@ -234,7 +238,14 @@ APACHE_CONF= ${APACHE_CNFDIR}/httpd.conf
PEARDIR?= ${LOCALBASE}/share/pear
LOG_FILE?= /var/log/horde.log
-.if defined(WITH_PHP5)
+PATCHES2RM= po/translation.php config/conf.xml scripts/sql/README \
+ config/mime_drivers.php.dist config/registry.php.dist
+SEDIN2RM= lib/Horde/Auth/mcal.php config/conf.xml docs/INSTALL \
+ config/mime_drivers.php.dist
+
+.include <bsd.port.pre.mk>
+
+.if ${PHP_VER} == 5
USE_PHP+= dom
.else
USE_PHP+= domxml
@@ -243,12 +254,7 @@ USE_PHP+= mcal
. endif
.endif
-PATCHES2RM= po/translation.php config/conf.xml scripts/sql/README \
- config/mime_drivers.php.dist config/registry.php.dist
-SEDIN2RM= lib/Horde/Auth/mcal.php config/conf.xml docs/INSTALL \
- config/mime_drivers.php.dist
-
-.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.php.mk"
.if ${APACHE_VERSION} >= 20
APACHE_CNFDIR= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}
@@ -263,6 +269,9 @@ PLIST_SUB+= RMDIRINC=""
.endif
pre-configure:
+ @${CP} -p ${DISTDIR}/test.php ${WRKSRC}
+ @${CP} -p ${DISTDIR}/problem.inc ${WRKSRC}/templates/problem/
+
@${RM} ${PATCHES2RM:S|^|${WRKSRC}/|:S|$|.orig|}
@${SED} -e "s:/home/httpd/html/horde:${HORDEDIR}:" \
-e "s:php_value auto_prepend_file:# php_value auto_prepend_file:" \
@@ -315,7 +324,7 @@ pre-configure:
${FIND} . -name "*.beforeHorde" -delete)
pre-install:
-.if !defined(WITHOUT_SUPPORTED_DB)
+.if !defined(WITHOUT_SUPPORTED_DB) && exists(${LOCALBASE}/bin/php)
@if ! php -m | ${GREP} -q -e "mysql" ; then \
if ! php -m | ${GREP} -q -e "pgsql" ; then \
if ! php -m | ${GREP} -q -e "sybase" ; then \
@@ -338,7 +347,7 @@ pre-install:
${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif
- # Copy RCSID tag from conf.xml into conf.php to stop Horde complaining
+# Copy RCSID tag from conf.xml into conf.php to stop Horde complaining
@if ! ${GREP} -q -e "$$Horde.*conf\.xml" ${WRKSRC}/config/conf.php.dist; then \
${GREP} -h "$$Horde.*conf\.xml" ${WRKSRC} ${WRKSRC}/config/conf.xml \
| ${SED} -e 's#^ *<!--#//#' -e 's# *--> *$$##g' \
diff --git a/www/horde4-base/distinfo b/www/horde4-base/distinfo
index 41a451749be5..e679b7530728 100644
--- a/www/horde4-base/distinfo
+++ b/www/horde4-base/distinfo
@@ -1,3 +1,9 @@
MD5 (horde-3.1.1.tar.gz) = ef5001144b80422b71454d285056e90a
SHA256 (horde-3.1.1.tar.gz) = 5edb80766cb71832b1c5435b5093392164dbab46bdf5a496050620249d66e06f
SIZE (horde-3.1.1.tar.gz) = 5068434
+MD5 (test.php) = e54d85c8a923718c3dac72a6403550fb
+SHA256 (test.php) = 487ede8215039250dfaa88cc5917ab2def8b8439d2d2b960fce430a68d8d0dfe
+SIZE (test.php) = 15028
+MD5 (problem.inc) = e125512147a9accf645ca665df182a74
+SHA256 (problem.inc) = 0ecced892b1110b6570f0059bbbb7d18213441d797208943f84d56a8d82f9e1e
+SIZE (problem.inc) = 2247