rpms/php-pecl-memcache/devel .cvsignore, 1.6, 1.7 php-pecl-memcache.spec, 1.6, 1.7 sources, 1.6, 1.7 xml2changelog, 1.2, 1.3

Remi Collet remi at fedoraproject.org
Sat Sep 13 05:34:01 UTC 2008


Author: remi

Update of /cvs/extras/rpms/php-pecl-memcache/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3376

Modified Files:
	.cvsignore php-pecl-memcache.spec sources xml2changelog 
Log Message:
update to 3.0.2


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-memcache/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	9 Feb 2008 07:50:03 -0000	1.6
+++ .cvsignore	13 Sep 2008 05:33:30 -0000	1.7
@@ -1 +1 @@
-memcache-2.2.3.tgz
+memcache-3.0.2.tgz


Index: php-pecl-memcache.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-memcache/devel/php-pecl-memcache.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- php-pecl-memcache.spec	9 Feb 2008 07:50:03 -0000	1.6
+++ php-pecl-memcache.spec	13 Sep 2008 05:33:30 -0000	1.7
@@ -6,7 +6,7 @@
 
 Summary:      Extension to work with the Memcached caching daemon
 Name:         php-pecl-memcache
-Version:      2.2.3
+Version:      3.0.2
 Release:      1%{?dist}
 License:      PHP
 Group:        Development/Languages
@@ -58,29 +58,36 @@
 # Drop in the bit of configuration
 %{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d
 %{__cat} > %{buildroot}%{_sysconfdir}/php.d/%{pecl_name}.ini << 'EOF'
-; Enable %{pecl_name} extension module
+; ----- Enable %{pecl_name} extension module
 extension=%{pecl_name}.so
 
-; Options for the %{pecl_name} module
+; ----- Options for the %{pecl_name} module
 
-; Whether to transparently failover to other servers on errors
+;  Whether to transparently failover to other servers on errors
 ;memcache.allow_failover=1
-; Defines how many servers to try when setting and getting data.
-;memcache.max_failover_attempts=20
-; Data will be transferred in chunks of this size
-;memcache.chunk_size=8192
-; The default TCP port number to use when connecting to the memcached server 
+;  Data will be transferred in chunks of this size
+;memcache.chunk_size=32768
+;  The default TCP port number to use when connecting to the memcached server 
 ;memcache.default_port=11211
-; Hash function {crc32, fnv}
+;  Hash function {crc32, fnv}
 ;memcache.hash_function=crc32
-; Hash strategy {standard, consistent}
-;memcache.hash_strategy=standard
+;  Hash strategy {standard, consistent}
+;memcache.hash_strategy=consistent
+;  Defines how many servers to try when setting and getting data.
+;memcache.max_failover_attempts=20
+;  The protocol {ascii, binary} : You need a memcached >= 1.3.0 to use the binary protocol
+;  The binary protocol results in less traffic and is more efficient
+;memcache.protocol=ascii
+;  Redundancy : When enabled the client sends requests to N servers in parallel
+;memcache.redundancy=1
+;memcache.session_redundancy=2
+
 
-; Options to use the memcache session handler
+; ----- Options to use the memcache session handler
 
-; Use memcache as a session handler
+;  Use memcache as a session handler
 ;session.save_handler=memcache
-; Defines a comma separated of server urls to use for session storage
+;  Defines a comma separated of server urls to use for session storage
 ;session.save_path="tcp://localhost:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
 EOF
 
@@ -110,13 +117,20 @@
 
 %files
 %defattr(-, root, root, -)
-%doc CHANGELOG %{pecl_name}-%{version}/CREDITS %{pecl_name}-%{version}/README %{pecl_name}-%{version}/example.php
+%doc CHANGELOG %{pecl_name}-%{version}/CREDITS %{pecl_name}-%{version}/README 
+%doc %{pecl_name}-%{version}/example.php %{pecl_name}-%{version}/memcache.php
 %config(noreplace) %{_sysconfdir}/php.d/%{pecl_name}.ini
 %{php_extdir}/%{pecl_name}.so
 %{pecl_xmldir}/%{name}.xml
 
 
 %changelog
+* Fri Sep 11 2008 Remi Collet <Fedora at FamilleCollet.com> 3.0.2-1
+- new version 3.0.2
+
+* Fri Sep 11 2008 Remi Collet <Fedora at FamilleCollet.com> 2.2.4-1
+- new version 2.2.4 (bug fixes)
+
 * Sat Feb  9 2008 Remi Collet <Fedora at FamilleCollet.com> 2.2.3-1
 - new version
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-memcache/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	9 Feb 2008 07:50:03 -0000	1.6
+++ sources	13 Sep 2008 05:33:30 -0000	1.7
@@ -1 +1 @@
-3e71b8ae8da28c4c907dca0fdeca5d47  memcache-2.2.3.tgz
+06079c86e13a970a2efe40018966acb4  memcache-3.0.2.tgz


Index: xml2changelog
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-memcache/devel/xml2changelog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xml2changelog	10 Jan 2008 19:36:38 -0000	1.2
+++ xml2changelog	13 Sep 2008 05:33:30 -0000	1.3
@@ -7,17 +7,22 @@
 if (in_array("--debug", $_SERVER['argv'])) print_r($xml);
 
 if ($xml['version'] >= "2"){ // Package.xml V 2.0
-	printf("* Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
+	printf("*** Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
 		$xml->version->release, $xml->stability->release, 
 		$xml->version->api, $xml->stability->api, 
 		$xml->date, $xml->notes);
+	$new=$xml->version->release;
 
 	if (isset($xml->changelog->release) && count($xml->changelog->release)) 
-	foreach($xml->changelog->release as $rel)
-		printf("* Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
+	    foreach($xml->changelog->release as $rel) {
+		$old=$rel->version->release;
+		if ("$old" != "$new") {
+		    printf("*** Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
 			$rel->version->release, $rel->stability->release, 
 			$rel->version->api, $rel->stability->api, 
 			$rel->date, $rel->notes);
+		}
+	    }
 } else { // Package.xml V 1.0
 	printf("* Version %s (%s) - %s\n\n%s\n\n",
 		$xml->release->version, $xml->release->state, $xml->release->date, $xml->release->notes);




More information about the fedora-extras-commits mailing list