public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-php/PEAR-PEAR: PEAR-PEAR-1.9.5.ebuild ChangeLog
@ 2015-01-16 19:42 Brian Evans (grknight)
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Evans (grknight) @ 2015-01-16 19:42 UTC (permalink / raw
  To: gentoo-commits

grknight    15/01/16 19:42:40

  Modified:             ChangeLog
  Added:                PEAR-PEAR-1.9.5.ebuild
  Log:
  Version bump
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key D1F781EFF9F4A3B6)

Revision  Changes    Path
1.165                dev-php/PEAR-PEAR/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog?rev=1.165&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog?rev=1.165&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog?r1=1.164&r2=1.165

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -r1.164 -r1.165
--- ChangeLog	10 Oct 2014 16:59:08 -0000	1.164
+++ ChangeLog	16 Jan 2015 19:42:40 -0000	1.165
@@ -1,6 +1,12 @@
 # ChangeLog for dev-php/PEAR-PEAR
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.164 2014/10/10 16:59:08 grknight Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.165 2015/01/16 19:42:40 grknight Exp $
+
+*PEAR-PEAR-1.9.5 (16 Jan 2015)
+
+  16 Jan 2015; Brian Evans <grknight@gentoo.org> +PEAR-PEAR-1.9.5.ebuild,
+  +files/gentoo-libtool-mismatch-fix-v2.patch:
+  Version bump
 
   10 Oct 2014; Brian Evans <grknight@gentoo.org> PEAR-PEAR-1.9.4.ebuild:
   elog update wrt bug 472012



1.1                  dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild?rev=1.1&content-type=text/plain

Index: PEAR-PEAR-1.9.5.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild,v 1.1 2015/01/16 19:42:40 grknight Exp $

EAPI="5"

inherit depend.php eutils

PEAR="${PV}"

KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos"

DESCRIPTION="PEAR Base System"
HOMEPAGE="http://pear.php.net/package/PEAR"
SRC_URI="http://pear.php.net/get/PEAR-${PEAR}.tgz"
LICENSE="MIT"
SLOT="0"
IUSE=""

DEPEND="dev-lang/php[cli,pcre(+),xml,zlib]"

RDEPEND="${DEPEND}"

PDEPEND="dev-php/pear"

S="${WORKDIR}"

pkg_setup() {
	has_php

	[[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
	[[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
	[[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/tmp"

	elog
	elog "cache_dir is set to: ${PEAR_CACHEDIR}"
	elog "download_dir is set to: ${PEAR_DOWNLOADDIR}"
	elog "temp_dir is set to: ${PEAR_TEMPDIR}"
	elog
	elog "If you want to change the above values, you need to set"
	elog "PEAR_CACHEDIR, PEAR_DOWNLOADDIR and PEAR_TEMPDIR variable(s)"
	elog "accordingly in /etc/portage/make.conf and re-emerge ${PN}."
	elog
}

src_prepare() {
	cd PEAR-${PV}
	epatch "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch"
	epatch_user
}

src_install() {
	# Prevent SNMP related sandbox violoation.
	addpredict /usr/share/snmp/mibs/.index
	addpredict /var/lib/net-snmp/

	# install PEAR package
	cd "${S}"/PEAR-${PEAR}

	insinto /usr/share/php
	doins -r PEAR/
	doins -r OS/
	doins PEAR.php PEAR5.php System.php
	doins scripts/pearcmd.php
	doins scripts/peclcmd.php

	newbin scripts/pear.sh pear
	newbin scripts/peardev.sh peardev
	newbin scripts/pecl.sh pecl

	# adjust some scripts for current version
	for i in pearcmd.php peclcmd.php ; do
		sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}"
	done

	for i in pear peardev pecl ; do
		sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}"
		sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i "${D}/usr/bin/${i}"
	done
	sed "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" -i "${D}/usr/bin/pear"

	sed "s:@package_version@:${PEAR}:g" -i "${D}/usr/share/php/PEAR/Command/Package.php"
	sed "s:@PEAR-VER@:${PEAR}:g" -i "${D}/usr/share/php/PEAR/Dependency2.php"
	sed "s:@PEAR-VER@:${PEAR}:g" -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php"
	sed "s:@PEAR-VER@:${PEAR}:g" -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php"

	# finalize install
	insinto /etc
	newins "${FILESDIR}"/pear.conf-r2 pear.conf
	sed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" -i "${D}/etc/pear.conf"
	sed "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" -i "${D}/etc/pear.conf"
	sed "s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g" -i "${D}/etc/pear.conf"
	sed "s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" -i "${D}/etc/pear.conf"

	# Change the paths for eprefix!
	sed "s|s:19:\"/usr/share/php/docs\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/docs\"|g" -i "${D}/etc/pear.conf"
	sed "s|s:19:\"/usr/share/php/data\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/data\"|g" -i "${D}/etc/pear.conf"
	sed "s|s:20:\"/usr/share/php/tests\"|s:$(( ${#EPREFIX}+20 )):\"${EPREFIX}/usr/share/php/tests\"|g" -i "${D}/etc/pear.conf"
	sed "s|s:14:\"/usr/share/php\"|s:$(( ${#EPREFIX}+14 )):\"${EPREFIX}/usr/share/php\"|g" -i "${D}/etc/pear.conf"
	sed "s|s:8:\"/usr/bin\"|s:$(( ${#EPREFIX}+8 )):\"${EPREFIX}/usr/bin\"|g" -i "${D}/etc/pear.conf"

	[[ "${PEAR_TEMPDIR}" != "/tmp" ]] && keepdir "${PEAR_TEMPDIR#${EPREFIX}}"
	keepdir "${PEAR_CACHEDIR#${EPREFIX}}"
	diropts -m1777
	keepdir "${PEAR_DOWNLOADDIR#${EPREFIX}}"
}

pkg_preinst() {
	rm -f "${EROOT}/etc/pear.conf"
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-php/PEAR-PEAR: PEAR-PEAR-1.9.5.ebuild ChangeLog
@ 2015-04-14 18:03 Brian Evans (grknight)
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Evans (grknight) @ 2015-04-14 18:03 UTC (permalink / raw
  To: gentoo-commits

grknight    15/04/14 18:03:37

  Modified:             PEAR-PEAR-1.9.5.ebuild ChangeLog
  Log:
  Fix repoman warning wrt slot operator
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D1F781EFF9F4A3B6)

Revision  Changes    Path
1.2                  dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild?r1=1.1&r2=1.2

Index: PEAR-PEAR-1.9.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PEAR-PEAR-1.9.5.ebuild	16 Jan 2015 19:42:40 -0000	1.1
+++ PEAR-PEAR-1.9.5.ebuild	14 Apr 2015 18:03:37 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild,v 1.1 2015/01/16 19:42:40 grknight Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild,v 1.2 2015/04/14 18:03:37 grknight Exp $
 
 EAPI="5"
 
@@ -17,7 +17,7 @@
 SLOT="0"
 IUSE=""
 
-DEPEND="dev-lang/php[cli,pcre(+),xml,zlib]"
+DEPEND="dev-lang/php:*[cli,pcre(+),xml,zlib]"
 
 RDEPEND="${DEPEND}"
 



1.166                dev-php/PEAR-PEAR/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog?rev=1.166&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog?rev=1.166&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog?r1=1.165&r2=1.166

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -r1.165 -r1.166
--- ChangeLog	16 Jan 2015 19:42:40 -0000	1.165
+++ ChangeLog	14 Apr 2015 18:03:37 -0000	1.166
@@ -1,6 +1,9 @@
 # ChangeLog for dev-php/PEAR-PEAR
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.165 2015/01/16 19:42:40 grknight Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.166 2015/04/14 18:03:37 grknight Exp $
+
+  14 Apr 2015; Brian Evans <grknight@gentoo.org> PEAR-PEAR-1.9.5.ebuild:
+  Fix repoman warning wrt slot operator
 
 *PEAR-PEAR-1.9.5 (16 Jan 2015)
 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-14 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14 18:03 [gentoo-commits] gentoo-x86 commit in dev-php/PEAR-PEAR: PEAR-PEAR-1.9.5.ebuild ChangeLog Brian Evans (grknight)
  -- strict thread matches above, loose matches on Subject: below --
2015-01-16 19:42 Brian Evans (grknight)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox