Author: glen                         Date: Tue Jun 15 09:31:01 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new default port

---- Files affected:
packages/phorum-mod-sphinx_search:
   phorum-mod-sphinx_search.spec (1.9 -> 1.10) , defaultport.patch (NONE -> 
1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec
diff -u packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec:1.9 
packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec:1.10
--- packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec:1.9 Tue Jun 
15 06:22:01 2010
+++ packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec     Tue Jun 
15 11:30:56 2010
@@ -5,7 +5,7 @@
 Summary:       Sphinx Fulltext-Search Module
 Name:          phorum-mod-%{module}
 Version:       1.0.0
-Release:       0.8
+Release:       0.9
 License:       Apache-like
 Group:         Applications/WWW
 Source0:       
http://www.phorum.org/phorum5/file.php/download/62/3354/sphinx_search_%{version}.tar.gz
@@ -18,6 +18,7 @@
 Patch2:                index_names.patch
 Patch3:                cleanup-junk.patch
 Patch4:                doc-updates.patch
+Patch5:                defaultport.patch
 URL:           http://www.phorum.org/phorum5/read.php?62,136982,138325
 BuildRequires: rpm-php-pearprov
 BuildRequires: rpmbuild(macros) >= 1.553
@@ -56,6 +57,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 # php-sphinx
 rm sphinxclient.php
@@ -84,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2010/06/15 09:30:56  glen
+- new default port
+
 Revision 1.9  2010/06/15 04:22:01  glen
 - add sample crontab
 

================================================================
Index: packages/phorum-mod-sphinx_search/defaultport.patch
diff -u /dev/null packages/phorum-mod-sphinx_search/defaultport.patch:1.1
--- /dev/null   Tue Jun 15 11:31:01 2010
+++ packages/phorum-mod-sphinx_search/defaultport.patch Tue Jun 15 11:30:56 2010
@@ -0,0 +1,19 @@
+--- phorum-mod-sphinx_search-1.0.0/settings.php~       2010-06-15 
07:21:50.000000000 +0300
++++ phorum-mod-sphinx_search-1.0.0/settings.php        2010-06-15 
12:28:58.068470638 +0300
+@@ -35,5 +35,5 @@
+     $frm->addbreak("Hostname and port");
+ 
+     $row = $frm->addrow("What is the hostname of the sphinx daemon? (e.g. 
127.0.0.1)$warn", $frm->text_box("hostname", 
$PHORUM["mod_sphinx_search"]["hostname"], 30));
+-    $row = $frm->addrow("What is the port of the sphinx daemon? (e.g. 
3312)$warn", $frm->text_box("port", $PHORUM["mod_sphinx_search"]["port"], 30));
++    $row = $frm->addrow("What is the port of the sphinx daemon? (e.g. 
9312)$warn", $frm->text_box("port", $PHORUM["mod_sphinx_search"]["port"], 30));
+     $frm->show();
+--- phorum-mod-sphinx_search-1.0.0/defaults.php~       2010-06-15 
07:21:50.000000000 +0300
++++ phorum-mod-sphinx_search-1.0.0/defaults.php        2010-06-15 
12:29:20.795338455 +0300
+@@ -8,6 +8,4 @@
+     $GLOBALS["PHORUM"]["mod_sphinx_search"]["hostname"] = "127.0.0.1";
+ 
+ if (! isset($GLOBALS["PHORUM"]["mod_sphinx_search"]["port"]))
+-    $GLOBALS["PHORUM"]["mod_sphinx_search"]["port"] = 3312;
+-
+-?>
++    $GLOBALS["PHORUM"]["mod_sphinx_search"]["port"] = 9312;
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phorum-mod-sphinx_search/phorum-mod-sphinx_search.spec?r1=1.9&r2=1.10&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to