[csw-devel] SF.net SVN: gar:[3358] csw/mgar/pkg

valholla at users.sourceforge.net valholla at users.sourceforge.net
Mon Feb 23 04:10:38 CET 2009


Revision: 3358
          http://gar.svn.sourceforge.net/gar/?rev=3358&view=rev
Author:   valholla
Date:     2009-02-23 03:10:38 +0000 (Mon, 23 Feb 2009)

Log Message:
-----------
initial checkin

Added Paths:
-----------
    csw/mgar/pkg/php5_apc/
    csw/mgar/pkg/php5_apc/Makefile
    csw/mgar/pkg/php5_apc/checksums
    csw/mgar/pkg/php5_apc/files/
    csw/mgar/pkg/php5_apc/files/apc_pool.diff


Property changes on: csw/mgar/pkg/php5_apc
___________________________________________________________________
Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/php5_apc/Makefile
===================================================================
--- csw/mgar/pkg/php5_apc/Makefile	                        (rev 0)
+++ csw/mgar/pkg/php5_apc/Makefile	2009-02-23 03:10:38 UTC (rev 3358)
@@ -0,0 +1,48 @@
+GARNAME = APC
+GARVERSION = 3.0.19
+CATEGORIES = lang
+
+DESCRIPTION = APC Extention for PHP
+define BLURB
+	The Alternative PHP Cache (APC) is a free and open opcode cache for PHP.
+	It was conceived of to provide a free, open, and robust framework 
+	for caching and optimizing PHP intermediate code. 
+endef
+
+INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
+PHP_PREFIX = $(prefix)/php5
+PHP_BIN = $(PHP_PREFIX)/bin
+
+PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
+STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
+STRIP_DIRS += $(PHP5ROOT)/bin
+
+PATCHFILES = apc_pool.diff
+PACKAGES = CSWphp5apc
+
+MASTER_SITES = http://us.php.net/apc
+SPKG_SOURCEURL = http://pecl.php.net/package/apc
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tgz
+
+DISTFILES = $(DISTNAME).tgz
+
+CATALOGNAME_CSWphp5apc = php5_apc
+SPKG_DESC_CSWphp5apc = APC Extention for PHP5
+REQUIRED_PKGS_CSWphp5apc = CSWphp5
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
+CONFIGURE_ARGS += --with-apxs=$(prefix)/apache2/sbin/apxs
+
+post-extract-$(MODULATION):
+	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
+	$(DONADA)
+
+TEST_SCRIPTS = manual
+
+test-manual:
+	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php ; export TEST_PHP_EXECUTABLE ; \
+		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
+	$(DONADA)
+
+include gar/category.mk

Added: csw/mgar/pkg/php5_apc/checksums
===================================================================
--- csw/mgar/pkg/php5_apc/checksums	                        (rev 0)
+++ csw/mgar/pkg/php5_apc/checksums	2009-02-23 03:10:38 UTC (rev 3358)
@@ -0,0 +1,2 @@
+951f43d2873e3572f5d5ae71a9b66f90  download/APC-3.0.19.tgz
+945e5502e45a48f47ed2521d3142afdd  download/apc_pool.diff

Added: csw/mgar/pkg/php5_apc/files/apc_pool.diff
===================================================================
--- csw/mgar/pkg/php5_apc/files/apc_pool.diff	                        (rev 0)
+++ csw/mgar/pkg/php5_apc/files/apc_pool.diff	2009-02-23 03:10:38 UTC (rev 3358)
@@ -0,0 +1,11 @@
+--- ./apc_pool.c.orig	2009-02-18 15:11:37.456436248 -0600
++++ ./apc_pool.c	2009-02-18 15:07:42.710261378 -0600
+@@ -43,7 +43,7 @@
+     unsigned char       *mark;
+     struct _pool_block  *next;
+     unsigned             :0; /* this should align to word */
+-    unsigned char       data[0]; 
++    unsigned char       data[]; 
+ }pool_block;
+ 
+ /*


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list