[Groonga-commit] groonga/groonga [master] Remove curl dependency from groonga-server-gqtp

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Sep 24 10:04:09 JST 2012


Kouhei Sutou	2012-09-24 10:04:09 +0900 (Mon, 24 Sep 2012)

  New Revision: f48f50f57193532e1acc71ccef404f04c3d47f69
  https://github.com/groonga/groonga/commit/f48f50f57193532e1acc71ccef404f04c3d47f69

  Log:
    Remove curl dependency from groonga-server-gqtp

  Modified files:
    packages/debian/control
    packages/debian/groonga-server-gqtp.init

  Modified: packages/debian/control (+0 -2)
===================================================================
--- packages/debian/control    2012-09-23 18:44:09 +0900 (21f0e03)
+++ packages/debian/control    2012-09-24 10:04:09 +0900 (76313d6)
@@ -38,7 +38,6 @@ Depends:
   ${misc:Depends},
   ${shlibs:Depends},
   adduser,
-  curl,
   groonga (= ${binary:Version})
 Description: Fulltext search engine. (meta-package for server use)
  Groonga is an open-source fulltext search engine and column store.
@@ -73,7 +72,6 @@ Depends:
   ${misc:Depends},
   ${shlibs:Depends},
   adduser,
-  curl,
   groonga-server-common (= ${binary:Version})
 Description: Fulltext search engine. (meta-package for GQTP server use)
  Groonga is an open-source fulltext search engine and column store.

  Modified: packages/debian/groonga-server-gqtp.init (+1 -6)
===================================================================
--- packages/debian/groonga-server-gqtp.init    2012-09-23 18:44:09 +0900 (01ad5a1)
+++ packages/debian/groonga-server-gqtp.init    2012-09-24 10:04:09 +0900 (be8d850)
@@ -18,7 +18,6 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="a full-text search engine and column store"
 NAME=groonga
 DAEMON=/usr/bin/$NAME
-CURL=/usr/bin/curl
 USER=groonga
 GROUP=groonga
 DATABASE=/var/lib/groonga/db/db
@@ -105,11 +104,7 @@ fi
 send_command()
 {
     command=$1
-    if [ "${PROTOCOL}" = "http" ]; then
-	$CURL "http://${ADDRESS}:${PORT}/d/${command}"
-    else
-        $DAEMON --port ${PORT} -c ${ADDRESS} ${command}
-    fi
+    $DAEMON --port ${PORT} -c ${ADDRESS} ${command}
 }
 
 #
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index