Cleanup.
authorLuca Longinotti <chtekk@gentoo.org>
Sun, 18 Mar 2007 03:24:25 +0000 (03:24 +0000)
committerLuca Longinotti <chtekk@gentoo.org>
Sun, 18 Mar 2007 03:24:25 +0000 (03:24 +0000)
Package-Manager: portage-2.1.2.2

dev-php5/xcache/ChangeLog
dev-php5/xcache/xcache-1.2.0.ebuild
dev-php5/znf/ChangeLog
dev-php5/znf/znf-0.7.6.ebuild

index d5252374c0932304733e3343159278c9e12445c2..ac5d8c551fc4e3fcf046e92f403a05d23452ff73 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for dev-php5/xcache
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.4 2007/03/04 17:32:23 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.5 2007/03/18 03:24:25 chtekk Exp $
+
+  18 Mar 2007; Luca Longinotti <chtekk@gentoo.org> xcache-1.2.0.ebuild:
+  Cleanup.
 
   04 Mar 2007; Luca Longinotti <chtekk@gentoo.org>
   -files/xcache-hardening-0.4.11.patch, metadata.xml, xcache-1.2.0.ebuild:
index 32395b3ebda2ca836748ff57c6b14a3013c3f70d..17f6a97c865f61c32a935880eaa06f043767e80f 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/xcache-1.2.0.ebuild,v 1.4 2007/03/04 17:32:23 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/xcache-1.2.0.ebuild,v 1.5 2007/03/18 03:24:25 chtekk Exp $
 
 PHP_EXT_NAME="xcache"
 PHP_EXT_INI="yes"
@@ -13,13 +13,11 @@ KEYWORDS="~amd64 ~x86"
 DESCRIPTION="Another PHP opcode cache and encoder."
 HOMEPAGE="http://trac.lighttpd.net/xcache/"
 SRC_URI="http://210.51.190.228/pub/XCache/Releases/${P}.tar.bz2"
-
 LICENSE="BSD"
 SLOT="0"
 IUSE=""
 
-DEPEND="!dev-php5/pecl-apc
-               !dev-php5/eaccelerator"
+DEPEND="!dev-php5/eaccelerator !dev-php5/pecl-apc"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}"
@@ -34,13 +32,13 @@ pkg_setup() {
 src_compile() {
        has_php
 
-       my_conf="--enable-xcache=shared \
-               --enable-xcache-constant    \
-               --enable-xcache-optimizer   \
-               --enable-xcache-coverager   \
-               --enable-xcache-assembler   \
-               --enable-xcache-encoder     \
-               --enable-xcache-decoder"
+       my_conf="--enable-xcache=shared   \
+                       --enable-xcache-constant  \
+                       --enable-xcache-optimizer \
+                       --enable-xcache-coverager \
+                       --enable-xcache-assembler \
+                       --enable-xcache-encoder   \
+                       --enable-xcache-decoder"
 
        enable_extension_with_built_with =${PHP_PKG} apache2 apxs2 /usr/sbin/apxs2 "optimisation for apache2"
        enable_extension_with_built_with =${PHP_PKG} apache apxs /usr/sbin/apxs "optimisation for apache1"
@@ -69,15 +67,12 @@ src_install() {
        dodir "${PHP_EXT_SHARED_DIR}"
        insinto "${PHP_EXT_SHARED_DIR}"
        doins Decompiler.class.php
+       dodir "${PHP_EXT_SHARED_DIR}/admin"
        insinto "${PHP_EXT_SHARED_DIR}/admin"
        doins admin/*
 }
 
 pkg_postinst() {
        elog "Decompiler.class.php and the admin/ directory shipped with this"
-       elog "release were installed into /usr/share/php5/xcache/."
-
-       if built_with_use =${PHP_PKG} apache || built_with_use =${PHP_PKG} apache2 ; then
-               elog "You need to restart your Apache webserver to enable xcache."
-       fi
+       elog "release were installed into ${ROOT}usr/share/php5/xcache/."
 }
index d918d2d8eb80af85f1b08bf3a7da214c2d80b5b5..30aefda8ea77f8082bb3b1b9e008cca22507c4d4 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for dev-php5/znf
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/znf/ChangeLog,v 1.4 2007/02/22 00:07:20 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/znf/ChangeLog,v 1.5 2007/03/18 03:21:08 chtekk Exp $
+
+  18 Mar 2007; Luca Longinotti <chtekk@gentoo.org> znf-0.7.6.ebuild:
+  Cleanup.
 
   22 Feb 2007; Piotr JaroszyƄski <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
index 19750d59e8bdf1b94863da9df82c9cba83c710e5..571005cce80aa19d3b47429bd38405f40505143a 100644 (file)
@@ -1,28 +1,29 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/znf/znf-0.7.6.ebuild,v 1.3 2006/04/19 01:37:53 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/znf/znf-0.7.6.ebuild,v 1.4 2007/03/18 03:21:08 chtekk Exp $
 
 inherit php-pear-lib-r1
 
-KEYWORDS="~sparc ~x86"
+KEYWORDS="~amd64 ~sparc ~x86"
+
+MY_P="ZNF-${PV}"
+
 DESCRIPTION="PHP5 MVC framework for enterprise web applications."
 HOMEPAGE="http://znf.zeronotice.com/"
+SRC_URI="mirror://sourceforge/znf/${MY_P}.tgz"
 LICENSE="LGPL-2.1"
 SLOT="0"
 IUSE="pear-db smarty"
 
-MY_P="ZNF-${PV}"
-SRC_URI="mirror://sourceforge/znf/${MY_P}.tgz"
-S="${WORKDIR}/${MY_P}"
-
+DEPEND=""
 RDEPEND="pear-db? ( >=dev-php/PEAR-DB-1.7.6-r1 )
                smarty? ( >=dev-php/smarty-2.6.10-r1 )"
 
+S="${WORKDIR}/${MY_P}"
+
 need_php_by_category
 
 pkg_setup() {
        has_php
-
-       # we need XML/XSL support in PHP5 for this
        require_php_with_use xml xsl
 }