[packages/php-pear] v1.3.14: added theseer channel (pear.netpirates.net)

glen glen at pld-linux.org
Mon Sep 23 20:10:38 CEST 2013


commit 7a1a8238fc122c4e09865a7f8ab1e7f086bcb54b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Sep 23 21:09:50 2013 +0300

    v1.3.14: added theseer channel (pear.netpirates.net)

 channel-theseer.xml | 16 ++++++++++++++++
 php-pear.spec       |  7 ++++++-
 update-channels.sh  |  3 ++-
 3 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/php-pear.spec b/php-pear.spec
index 617185c..2e1f79b 100644
--- a/php-pear.spec
+++ b/php-pear.spec
@@ -1,7 +1,7 @@
 Summary:	PEAR - PHP Extension and Application Repository
 Summary(pl.UTF-8):	PEAR - rozszerzenie PHP i repozytorium aplikacji
 Name:		php-pear
-Version:	1.3.13
+Version:	1.3.14
 Release:	1
 Epoch:		4
 License:	Public Domain
@@ -26,6 +26,7 @@ Source15:	channel-symfony2.xml
 Source16:	channel-saucelabs.xml
 Source17:	channel-twig.xml
 Source18:	channel-zz.xml
+Source19:	channel-theseer.xml
 BuildRequires:	/usr/bin/php
 BuildRequires:	php-pear-PEAR >= 1:1.9.0
 BuildRequires:	rpmbuild(macros) >= 1.570
@@ -248,3 +249,7 @@ check_channel_dirs
 %{php_pear_dir}/.channels/.alias/zz.txt
 %{php_pear_dir}/.channels/zustellzentrum.cweiske.de.reg
 %{php_pear_dir}/.registry/.channel.zustellzentrum.cweiske.de
+
+%{php_pear_dir}/.channels/.alias/theseer.txt
+%{php_pear_dir}/.channels/pear.netpirates.net.reg
+%{php_pear_dir}/.registry/.channel.pear.netpirates.net
diff --git a/channel-theseer.xml b/channel-theseer.xml
new file mode 100644
index 0000000..dabda6c
--- /dev/null
+++ b/channel-theseer.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
+    <name>pear.netpirates.net</name>
+    <summary>Netpirates PEAR channel</summary>
+    <suggestedalias>theseer</suggestedalias>
+    <servers>
+        <primary>
+            <rest>
+                <baseurl type="REST1.0">http://pear.netpirates.net/rest/</baseurl>
+                <baseurl type="REST1.1">http://pear.netpirates.net/rest/</baseurl>
+                <baseurl type="REST1.2">http://pear.netpirates.net/rest/</baseurl>
+                <baseurl type="REST1.3">http://pear.netpirates.net/rest/</baseurl>
+            </rest>
+        </primary>
+    </servers>
+</channel>
\ No newline at end of file
diff --git a/update-channels.sh b/update-channels.sh
index 5ecc9dc..c7927a8 100755
--- a/update-channels.sh
+++ b/update-channels.sh
@@ -5,6 +5,7 @@ channels="
 	pear.firephp.org
 	pear.horde.org
 	pear.michelf.com
+	pear.netpirates.net
 	pear.pdepend.org
 	pear.phing.info
 	pear.phpdb.org
@@ -19,7 +20,7 @@ channels="
 	saucelabs.github.com/pear
 	zustellzentrum.cweiske.de
 "
-for channel in $channels; do
+for channel in ${@:-$channels}; do
 	url=http://$channel/channel.xml
 	wget -q --timeout=10 --tries=1 -O tmp.xml $url || continue
 	alias=$(sed -nre 's,.*<suggestedalias>(.+)</suggestedalias>.*$,\1,p' tmp.xml)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear.git/commitdiff/7a1a8238fc122c4e09865a7f8ab1e7f086bcb54b



More information about the pld-cvs-commit mailing list