Bug 185627 - [PATCH] devel/ioncube upgrade to 4.5.1
Summary: [PATCH] devel/ioncube upgrade to 4.5.1
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: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-10 02:20 UTC by John Marshall
Modified: 2014-01-25 15:40 UTC (History)
0 users

See Also:


Attachments
ioncube_r339270_4.5.1.diff (2.12 KB, patch)
2014-01-10 02:20 UTC, John Marshall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marshall 2014-01-10 02:20:00 UTC
	Upgrade the port to current release: ionCube 4.5.1
	http://www.ioncube.com/loaders.php
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-10 02:20:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-10 02:20:08 UTC
Maintainer of devel/ioncube,

Please note that PR ports/185627 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/185627

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Svyatoslav Lempert 2014-01-10 12:23:54 UTC
Please commit this

-- 
Svyatoslav
Comment 4 John Marino freebsd_committer freebsd_triage 2014-01-19 14:56:09 UTC
State Changed
From-To: feedback->open

Maintainer has approved.
Comment 5 John Marino freebsd_committer freebsd_triage 2014-01-25 14:50:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marino

I'll take it.
Comment 6 dfilter service freebsd_committer freebsd_triage 2014-01-25 15:35:50 UTC
Author: marino
Date: Sat Jan 25 15:35:43 2014
New Revision: 341043
URL: http://svnweb.freebsd.org/changeset/ports/341043
QAT: https://qat.redports.org/buildarchive/r341043/

Log:
  devel/ioncube: Update from version 4.5.0 to 4.5.1, support stage
  
  Also:
   * reword COMMENT to satisfy portlint
   * Use OPSYS with OSVERSION
   * Remove ECHO PKGMESSAGE post-install target, redundant
  
  PR:		ports/185627
  Submitted by:	John Marshall
  Approved by:	maintainer (Svyatoslav Lempert)
  Fixed by:	marino@

Modified:
  head/devel/ioncube/Makefile
  head/devel/ioncube/distinfo

Modified: head/devel/ioncube/Makefile
==============================================================================
--- head/devel/ioncube/Makefile	Sat Jan 25 15:17:56 2014	(r341042)
+++ head/devel/ioncube/Makefile	Sat Jan 25 15:35:43 2014	(r341043)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ioncube
-DISTVERSION=	4.5.0
+DISTVERSION=	4.5.1
 CATEGORIES=	devel
 MASTER_SITES=	http://downloads3.ioncube.com/loader_downloads/ \
 		http://dl.ispsystem.info/ioncube/${DISTVERSION}/ \
@@ -10,7 +10,7 @@ MASTER_SITES=	http://downloads3.ioncube.
 DISTNAME=	${PORTNAME}_loaders_fre_${VER}_${ARCH:S,i386,x86,:S,amd64,x86-64,}
 
 MAINTAINER=	svyatoslav.lempert@gmail.com
-COMMENT=	ionCube loader for PHP code
+COMMENT=	Loader for ionCube-encoded PHP files
 
 ONLY_FOR_ARCHS=	i386 amd64
 NO_BUILD=	yes
@@ -21,10 +21,9 @@ SUB_FILES=	pkg-message
 WRKSRC=		${WRKDIR}/${PORTNAME}
 DIST_SUBDIR=	${PORTNAME}/${DISTVERSION}
 
-NO_STAGE=	yes
-
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD
 # FreeBSD 10 is unsupported
 .if ${OSVERSION} >= 1000000
 IGNORE=	is unsupported on FreeBSD 10
@@ -35,21 +34,17 @@ VER=	8
 .if ${OSVERSION} >= 900000
 VER=	9
 .endif
-
-.if empty(PHP_VERSION)
-PHP_VERSION!=	${MAKE} -C ${PORTSDIR}/${PHP_PORT} -V PORTVERSION
+.else
+IGNORE= is unsupported on ${OPSYS}
 .endif
 
 PHP_INSTVER=	${PHP_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
 
 do-install:
-	@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/
 	${INSTALL_DATA} ${WRKSRC}/ioncube_loader_fre_${PHP_INSTVER}.so \
-		${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader.so
+		${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader.so
 	${INSTALL_DATA} ${WRKSRC}/ioncube_loader_fre_${PHP_INSTVER}_ts.so \
-		${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader_ts.so
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+		${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader_ts.so
 
 .include <bsd.port.post.mk>

Modified: head/devel/ioncube/distinfo
==============================================================================
--- head/devel/ioncube/distinfo	Sat Jan 25 15:17:56 2014	(r341042)
+++ head/devel/ioncube/distinfo	Sat Jan 25 15:35:43 2014	(r341043)
@@ -1,8 +1,8 @@
-SHA256 (ioncube/4.5.0/ioncube_loaders_fre_8_x86-64.tar.bz2) = 00a4dbd78b2912a9f0614c4efb3171ab5514ad850a8409bb17ce3e7d0dbb870e
-SIZE (ioncube/4.5.0/ioncube_loaders_fre_8_x86-64.tar.bz2) =  4286047
-SHA256 (ioncube/4.5.0/ioncube_loaders_fre_8_x86.tar.bz2) = c7d71b7e2ceaec6e55d4903e7260955b1fd20028bbff2f86cd4f3d73662375bd
-SIZE (ioncube/4.5.0/ioncube_loaders_fre_8_x86.tar.bz2) = 4163909
-SHA256 (ioncube/4.5.0/ioncube_loaders_fre_9_x86-64.tar.bz2) = f5a89b020fdf5162c14526ea0ca795c056615b9d048579cf17fa270d04d1bb58
-SIZE (ioncube/4.5.0/ioncube_loaders_fre_9_x86-64.tar.bz2) = 4403538
-SHA256 (ioncube/4.5.0/ioncube_loaders_fre_9_x86.tar.bz2) = 8ee59169ad36175092dbcfb49af7ac9da604b0a79f645f3476f67e8a6f08366e
-SIZE (ioncube/4.5.0/ioncube_loaders_fre_9_x86.tar.bz2) = 4144589
+SHA256 (ioncube/4.5.1/ioncube_loaders_fre_8_x86-64.tar.bz2) = 215b583a10a1caf1d3b5838e3536803f6937ec458d541b0970250fcc1c844d53
+SIZE (ioncube/4.5.1/ioncube_loaders_fre_8_x86-64.tar.bz2) = 4351370
+SHA256 (ioncube/4.5.1/ioncube_loaders_fre_8_x86.tar.bz2) = 15d7fbcb10091c8dbff16938201a2ae6cc77857391ce7852862b0e7b2442e8bc
+SIZE (ioncube/4.5.1/ioncube_loaders_fre_8_x86.tar.bz2) = 4125316
+SHA256 (ioncube/4.5.1/ioncube_loaders_fre_9_x86-64.tar.bz2) = 2990bfd08f247ecf0dfaf9cbfd584a558a2aaad30a013473b14954686eb1055b
+SIZE (ioncube/4.5.1/ioncube_loaders_fre_9_x86-64.tar.bz2) = 4528536
+SHA256 (ioncube/4.5.1/ioncube_loaders_fre_9_x86.tar.bz2) = f9415dda250af994929c7eefaea721d9b40f911c0fbff256b267c177f5527258
+SIZE (ioncube/4.5.1/ioncube_loaders_fre_9_x86.tar.bz2) = 4126011
_______________________________________________
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 7 John Marino freebsd_committer freebsd_triage 2014-01-25 15:37:34 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!