Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 00:17:02 +0300 (MSK)
From:      Alexander Zhuravlev <zaa@zaa.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94705: [maintainer update] of security/pecl-hash to 1.2
Message-ID:  <20060319211702.D5F2D1696@orion.ulstu.ru>
Resent-Message-ID: <200603192120.k2JLKIfb021127@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94705
>Category:       ports
>Synopsis:       [maintainer update] of security/pecl-hash to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 19 21:20:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Zhuravlev
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD orion.ulstu.ru 4.11-STABLE FreeBSD 4.11-STABLE #26: Mon Dec 26 23:56:33 MSK 2005 root@orion.ulstu.ru:/usr/obj/usr/src/sys/ORION i386


	
>Description:
	PR contains three patches. 
	1. pecl-hash.diff updates pecl-hash to 1.2 and removes requirement for PHP5
	2. bsd.php.mk.diff removes requirement for PHP5 because the HASH extension can be installed
	   on PHP4 also.
	3. php5-extensions.diff. HASH extension is enabled by default on PHP 5.1.x installation.
	   Patch reflects this fact.

>How-To-Repeat:
	
>Fix:

	

--- pecl-hash.diff begins here ---
diff -urbBN pecl-hash.orig/Makefile pecl-hash/Makefile
--- pecl-hash.orig/Makefile	Fri Jan 13 11:31:43 2006
+++ pecl-hash/Makefile	Sun Mar 19 23:13:07 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	hash
-DISTVERSION=	1.1
+DISTVERSION=	1.2
 CATEGORIES=	security www
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -14,7 +14,7 @@
 DIST_SUBDIR=	PECL
 
 MAINTAINER=	zaa@zaa.pp.ru
-COMMENT=	pHASH Message Digest Framework for PHP
+COMMENT=	HASH Message Digest Framework for PHP
 
 USE_PHP=	yes
 USE_PHPIZE=	yes
@@ -22,10 +22,4 @@
 DEFAULT_PHP_VER=5
 PHP_MODNAME=	hash
 
-.include <bsd.port.pre.mk>
-
-.if ${PHP_VER} == 4
-IGNORE=		requires PHP version 5.0.3 or higher
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urbBN pecl-hash.orig/distinfo pecl-hash/distinfo
--- pecl-hash.orig/distinfo	Sat Jan  7 10:52:57 2006
+++ pecl-hash/distinfo	Sun Mar 19 22:58:19 2006
@@ -1,3 +1,3 @@
-MD5 (PECL/hash-1.1.tgz) = cf33b7b723fed4abfefe33b0ebce74b2
-SHA256 (PECL/hash-1.1.tgz) = 56b0e7104beec4b845705f7550586f883cc8f27c079959a3b05b0be1639dfcc4
-SIZE (PECL/hash-1.1.tgz) = 100713
+MD5 (PECL/hash-1.2.tgz) = cb163488ef822184b79accb50e6418b9
+SHA256 (PECL/hash-1.2.tgz) = 48bbcc079c7df3811036735c8b70530f218fc2776272335fa6b56688bb6db4da
+SIZE (PECL/hash-1.2.tgz) = 102008
diff -urbBN pecl-hash.orig/pkg-descr pecl-hash/pkg-descr
--- pecl-hash.orig/pkg-descr	Sat Jan  7 10:52:57 2006
+++ pecl-hash/pkg-descr	Sun Mar 19 23:16:16 2006
@@ -2,7 +2,7 @@
 using a generic factory method.
 At the moment it supports the following hashing algorithms:
 
- * md4, md5
+ * md2, md4, md5
  * sha1, sha256, sha384, sha512
  * ripemd128, ripemd160
  * tiger128, tiger160, tiger192 (3 and 4 passes)
--- pecl-hash.diff ends here ---

--- bsd.php.mk.diff begins here ---
--- Mk/bsd.php.mk.orig	Sun Mar 19 23:45:29 2006
+++ Mk/bsd.php.mk	Mon Mar 20 00:07:20 2006
@@ -251,7 +251,7 @@
 .if ${USE_PHP:L} != "yes"
 # non-version specific components
 _USE_PHP_ALL=	bcmath bz2 calendar ctype curl dba dbase \
-		exif fileinfo filepro fribidi ftp gd gettext gmp \
+		exif fileinfo filepro fribidi ftp gd gettext gmp hash \
 		iconv imagick imap interbase ldap mbstring mcrypt \
 		mhash ming mssql mysql ncurses odbc \
 		openssl panda pcntl pcre pdf pgsql posix \
@@ -261,7 +261,7 @@
 # version specific components
 _USE_PHP_VER4=	${_USE_PHP_ALL} crack dbx dio domxml mcal mcve \
 		mnogosearch oracle overload pfpro xslt yp
-_USE_PHP_VER5=	${_USE_PHP_ALL} dom hash mysqli pdo simplexml soap sqlite \
+_USE_PHP_VER5=	${_USE_PHP_ALL} dom mysqli pdo simplexml soap sqlite \
 		tidy xmlreader xmlwriter xsl
 
 bcmath_DEPENDS=	math/php${PHP_VER}-bcmath
--- bsd.php.mk.diff ends here ---

--- php5-extensions.diff begins here ---
diff -urbBN php5-extensions.orig/Makefile php5-extensions/Makefile
--- php5-extensions.orig/Makefile	Sat Mar 18 17:12:04 2006
+++ php5-extensions/Makefile	Sun Mar 19 23:48:47 2006
@@ -25,6 +25,7 @@
 WITH_CTYPE=	yes
 WITH_DOM=	yes
 WITH_ICONV=	yes
+WITH_HASH=	yes
 WITH_PCRE=	yes
 WITH_PDO=	yes
 WITH_POSIX=	yes
@@ -52,6 +53,7 @@
 		GD              "GD library support" off \
 		GETTEXT         "gettext library support" off \
 		GMP             "GNU MP support" off \
+		HASH            "HASH Message Digest Framework" on \
 		ICONV           "iconv support" on \
 		IMAGICK         "ImageMagick support" off \
 		IMAP            "IMAP support" off \
@@ -110,7 +112,7 @@
 
 ALL_OPTIONS=	BCMATH BZ2 CALENDAR CTYPE CURL DBA DBASE \
 		DOM EXIF FILEINFO FILEPRO FRIBIDI FTP GD GETTEXT \
-		GMP ICONV IMAGICK IMAP INTERBASE LDAP MBSTRING MCRYPT \
+		GMP ICONV HASH IMAGICK IMAP INTERBASE LDAP MBSTRING MCRYPT \
 		MHASH MIME_MAGIC MING MSSQL MYSQL MYSQLI \
 		NCURSES ODBC OPENSSL PANDA PCNTL PCRE PDF PDO PGSQL POSIX \
 		PSPELL READLINE RECODE SESSION SHMOP SIMPLEXML SNMP SOAP \
--- php5-extensions.diff ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060319211702.D5F2D1696>