Bug 187925 - security/php-suhosin upgrade to 0.9.35
Summary: security/php-suhosin upgrade to 0.9.35
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-25 10:40 UTC by reko.turja
Modified: 2014-03-26 13:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description reko.turja 2014-03-25 10:40:00 UTC
There is new version of suhosin available that's compatible with recent php versions.

Fix: 

On 10.0 machine updating the port was simple: removing security/php-suhosin/files directory (the patches seem to be unnecessary with new suhosin version) and setting the Makefile PORTVERSION to 0.9.35.
I set DEFAULT_PHP_VER=54 as that the version I'm using, but I guess it's unnecessary.

After doing to edits I grabbed the new checksums using "make makesum" and did "make install"

Suhosin compiled and installed cleanly without warnings/errors using:
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: x86_64-unknown-freebsd10.0 Thread model: posix

and has been running nicely in my system for several days now.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-25 10:40:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 reko.turja 2014-03-25 11:48:24 UTC
Looks like the new suhosin is supported officially only on >=php54 so for 
the older version of suhosin needs to be used for earlier versions of php. 
That is way over my head as the Makefile logic goes...

-Reko
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-03-26 13:20:53 UTC
Author: ale
Date: Wed Mar 26 13:20:50 2014
New Revision: 349251
URL: http://svnweb.freebsd.org/changeset/ports/349251
QAT: https://qat.redports.org/buildarchive/r349251/

Log:
  Update to 0.9.35 release with support for PHP 5.4+.
  
  PR:		ports/187925
  Submitted by:	Reko Turja <reko.turja@liukuma.net>

Deleted:
  head/security/php-suhosin/files/
Modified:
  head/security/php-suhosin/Makefile
  head/security/php-suhosin/distinfo

Modified: head/security/php-suhosin/Makefile
==============================================================================
--- head/security/php-suhosin/Makefile	Wed Mar 26 13:18:13 2014	(r349250)
+++ head/security/php-suhosin/Makefile	Wed Mar 26 13:20:50 2014	(r349251)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	suhosin
-PORTVERSION=	0.9.33
+PORTVERSION=	0.9.35
 CATEGORIES=	security
 MASTER_SITES=	http://download.suhosin.org/
 PKGNAMEPREFIX=	php-
@@ -11,16 +11,18 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	ale@FreeBSD.org
 COMMENT=	A PHP extension that implements high-level protections
 
+LICENSE=	PHP301
+
+OPTIONS_DEFINE=	EXAMPLES
+
 USE_PHP=	yes
 USE_PHPEXT=	yes
-DEFAULT_PHP_VER=53
-IGNORE_WITH_PHP=5 55
+IGNORE_WITH_PHP=53
 
 CONFIGURE_ARGS=	--enable-suhosin
 
-NO_STAGE=	yes
 post-install:
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/suhosin.ini ${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/suhosin.ini ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/security/php-suhosin/distinfo
==============================================================================
--- head/security/php-suhosin/distinfo	Wed Mar 26 13:18:13 2014	(r349250)
+++ head/security/php-suhosin/distinfo	Wed Mar 26 13:20:50 2014	(r349251)
@@ -1,2 +1,2 @@
-SHA256 (suhosin-0.9.33.tgz) = 865b1c72bae9a5a710fe0b07a0635556ce6c838653ec364d2a2a6e6f594529c5
-SIZE (suhosin-0.9.33.tgz) = 104488
+SHA256 (suhosin-0.9.35.tgz) = 19de2eb1b6060bd09fda18bb2402dbcc14bd55aa366a482f37a55501b9980f21
+SIZE (suhosin-0.9.35.tgz) = 129287
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Alex Dupre freebsd_committer freebsd_triage 2014-03-26 13:21:09 UTC
State Changed
From-To: open->closed

Updated, thanks!