Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 2010 05:57:40 GMT
From:      Svyatoslav Lempert <svyatoslav.lempert@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145099: [UPDATE] devel/ioncube - new version 3.3.12_1 (added IGNOREFILES and FreeBSD 8 i386)
Message-ID:  <201003280557.o2S5veqj092681@www.freebsd.org>
Resent-Message-ID: <201003280600.o2S60GVn062458@freefall.freebsd.org>

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

>Number:         145099
>Category:       ports
>Synopsis:       [UPDATE] devel/ioncube - new version 3.3.12_1 (added IGNOREFILES and FreeBSD 8 i386)
>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 28 06:00:16 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Svyatoslav Lempert
>Release:        8.0
>Organization:
>Environment:
>Description:
Hello!

ionCube's developers is often (every 2-3 weeks) change checksums for distribution files without notify of changes about it on a official web-site http://www.ioncube.com/loaders.php or other ways.

Distribution files ioncube*.tar.gz have the same names for all versions and often to change port distinfo and to watch it is difficult.

In this reason I have added ioncube dist files as IGNOREFILES in the port Makefile.

Also because ionCube released distribution optimised for FreeBSD 8 i386 (but version for FreeBSD 7 works too and it used for amd64 arch) I have added additional checks for support this.

Now I will send port update only at real change of the version ionCube (that there is 1 time in 2-3 months) and I will not disturb FreeBSD community peoples "superfluous" frequent commits.

Thanks for attention and your work, the new .shar file in the attachment.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ioncube
#	ioncube/Makefile
#	ioncube/distinfo
#	ioncube/pkg-descr
#	ioncube/pkg-plist
#	ioncube/files
#	ioncube/files/pkg-message.in
#
echo c - ioncube
mkdir -p ioncube > /dev/null 2>&1
echo x - ioncube/Makefile
sed 's/^X//' >ioncube/Makefile << '1f4d04c66ddf926d90f11fe7232c6262'
X# New ports collection makefile for:    ioncube
X# Date created:		Sun Mar 28 14:54:51 IRKST 2010
X# Whom:			Svyatoslav Lempert <svyatoslav.lempert@gmail.com>
X#
X# $FreeBSD: ports/devel/ioncube/Makefile,v 1.2 2010/03/27 22:28:12 miwi Exp $
X#
X
XPORTNAME=	ioncube
XDISTVERSION=	3.3.12
XPORTREVISION=	1
XCATEGORIES=	devel
XMASTER_SITES=	http://downloads2.ioncube.com/loader_downloads/ \
X		http://downloads.ioncube.com/loader_downloads/
XDISTFILES=	${PORTNAME}_loaders_fre_${VER}_${ARCH_DIST}${EXTRACT_SUFX}
X
XMAINTAINER=	svyatoslav.lempert@gmail.com
XCOMMENT=	An ionCube loader for PHP code
X
XONLY_FOR_ARCHS=	i386 amd64
XNO_BUILD=	yes
XUSE_PHP=	yes
X
XSUB_FILES=	pkg-message
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
X# Distfiles checksums are changed very often by developers without notification 
X# and IGNOREFILES has been added for maintenance port status in the working state
XIGNOREFILES=	${DISTFILES}
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 700000
XVER=		6
X.else
XVER=		7
X.endif
X
X.if ${ARCH} == i386
XARCH_DIST=	x86
X.else
XARCH_DIST=	x86-64
X.endif
X
X# Added because ionCube loader have optimized FreeBSD 8 disribution for i386 only
X# (for amd64 architecture disribution for FreeBSD 7 used and work without problem)
X.if ${OSVERSION} >= 800000 && ${ARCH} == i386
XVER=		8
XARCH_DIST=	x86
X.endif
X
X# Detect PHP version
X.if ${PHP_VER} >= 5
XPHP_INSTVER=	5.2
X.else
XPHP_INSTVER=	4.4
X.endif
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/
X	${INSTALL_DATA} ${WRKDIR}/ioncube/ioncube_loader_fre_${PHP_INSTVER}.so \
X		${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader.so
X	${INSTALL_DATA} ${WRKDIR}/ioncube/ioncube_loader_fre_${PHP_INSTVER}_ts.so \
X		${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader_ts.so
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
1f4d04c66ddf926d90f11fe7232c6262
echo x - ioncube/distinfo
sed 's/^X//' >ioncube/distinfo << '4cad136f0b5344c41c4930f7614c12ad'
XMD5 (ioncube_loaders_fre_6_x86.tar.gz) = IGNORE
XSHA256 (ioncube_loaders_fre_6_x86.tar.gz) = IGNORE
XMD5 (ioncube_loaders_fre_6_x86-64.tar.gz) = IGNORE
XSHA256 (ioncube_loaders_fre_6_x86-64.tar.gz) = IGNORE
XMD5 (ioncube_loaders_fre_7_x86.tar.gz) = IGNORE
XSHA256 (ioncube_loaders_fre_7_x86.tar.gz) = IGNORE
XMD5 (ioncube_loaders_fre_7_x86-64.tar.gz) = IGNORE
XSHA256 (ioncube_loaders_fre_7_x86-64.tar.gz) = IGNORE
XMD5 (ioncube_loaders_fre_8_x86.tar.gz) = IGNORE
XSHA256 (ioncube_loaders_fre_8_x86.tar.gz) = IGNORE
4cad136f0b5344c41c4930f7614c12ad
echo x - ioncube/pkg-descr
sed 's/^X//' >ioncube/pkg-descr << 'd91ea6092b9d9a8eb5d396133ef9a8a4'
XThe ionCube Loader is a free application that runs the files
Xencoded by the ionCube PHP Encoder, while enhancing the
Xrunning speed of PHP applications.
X
XBenefits:
X- Enables users to run files encoded by the ionCube PHP Encoder
X
XWWW: http://www.ioncube.com/
d91ea6092b9d9a8eb5d396133ef9a8a4
echo x - ioncube/pkg-plist
sed 's/^X//' >ioncube/pkg-plist << 'bc56ea14694e330d1d56231e6ed3af0a'
Xlib/php/%%PHP_EXT_DIR%%/ioncube/ioncube_loader.so
Xlib/php/%%PHP_EXT_DIR%%/ioncube/ioncube_loader_ts.so
X@dirrm lib/php/%%PHP_EXT_DIR%%/ioncube
X@dirrmtry lib/php/%%PHP_EXT_DIR%%
bc56ea14694e330d1d56231e6ed3af0a
echo c - ioncube/files
mkdir -p ioncube/files > /dev/null 2>&1
echo x - ioncube/files/pkg-message.in
sed 's/^X//' >ioncube/files/pkg-message.in << '45b5d0c82a12a463c723bedcedc5d053'
X********************************************************************************
X
XYou have installed the ionCube loader package.
X
XEdit %%LOCALBASE%%/etc/php.ini and add:
X
X[Zend]
Xzend_extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/ioncube/ioncube_loader.so"
Xzend_extension_ts="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/ioncube/ioncube_loader_ts.so"
X
X********************************************************************************
45b5d0c82a12a463c723bedcedc5d053
exit



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



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