couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r668231 - in /incubator/couchdb/trunk: ./ bin/ etc/ etc/couchdb/ etc/default/ etc/logrotate.d/ src/couchdb/ src/mochiweb/ var/
Date Mon, 16 Jun 2008 16:44:51 GMT
Author: nslater
Date: Mon Jun 16 09:44:50 2008
New Revision: 668231

URL: http://svn.apache.org/viewvc?rev=668231&view=rev
Log:
renamed directory variables, stage one

Modified:
    incubator/couchdb/trunk/bin/Makefile.am
    incubator/couchdb/trunk/bin/couchdb.tpl.in
    incubator/couchdb/trunk/bin/couchjs.tpl.in
    incubator/couchdb/trunk/configure.ac
    incubator/couchdb/trunk/etc/Makefile.am
    incubator/couchdb/trunk/etc/couchdb/Makefile.am
    incubator/couchdb/trunk/etc/couchdb/couch.ini.tpl.in
    incubator/couchdb/trunk/etc/couchdb/couch_httpd.conf.tpl.in
    incubator/couchdb/trunk/etc/default/couchdb.tpl.in
    incubator/couchdb/trunk/etc/logrotate.d/couchdb.tpl.in
    incubator/couchdb/trunk/src/couchdb/Makefile.am
    incubator/couchdb/trunk/src/mochiweb/Makefile.am
    incubator/couchdb/trunk/var/Makefile.am

Modified: incubator/couchdb/trunk/bin/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/bin/Makefile.am?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/bin/Makefile.am (original)
+++ incubator/couchdb/trunk/bin/Makefile.am Mon Jun 16 09:44:50 2008
@@ -27,11 +27,11 @@
 	    -e "s|%ICU_CONFIG%|$(ICU_CONFIG)|g" \
 	    -e "s|%AWK%|$(AWK)|g" \
 	    -e "s|%bindir%|@bindir@|g" \
-	    -e "s|%erlangbindir%|@erlangbindir@|g" \
-	    -e "s|%erlanglibdir%|@erlanglibdir@|g" \
-	    -e "s|%pkgconfdir%|@pkgconfdir@|g" \
-	    -e "s|%pkgstatelogdir%|@pkgstatelogdir@|g" \
-	    -e "s|%pkgstatelibdir%|@pkgstatelibdir@|g" \
+	    -e "s|%localerlangbindir%|@localerlangbindir@|g" \
+	    -e "s|%localerlanglibdir%|@localerlanglibdir@|g" \
+	    -e "s|%localconfdir%|@localconfdir@|g" \
+	    -e "s|%localstatelogdir%|@localstatelogdir@|g" \
+	    -e "s|%localstatelibdir%|@localstatelibdir@|g" \
 	    -e "s|%localstatedir%|@localstatedir@|g" \
 	    -e "s|%bug_uri%|@bug_uri@|g" \
 	    -e "s|%package_author_address%|@package_author_address@|g" \
@@ -43,7 +43,7 @@
 	chmod +x $@
 
 couchjs: couchjs.tpl
-	sed -e "s|%libbindir%|@libbindir@|g" \
+	sed -e "s|%locallibbindir%|@locallibbindir@|g" \
 	    -e "s|%bug_uri%|@bug_uri@|g" \
 	    -e "s|%package_author_address%|@package_author_address@|g" \
 	    -e "s|%package_author_name%|@package_author_name@|g" \

Modified: incubator/couchdb/trunk/bin/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/bin/couchdb.tpl.in?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/bin/couchdb.tpl.in (original)
+++ incubator/couchdb/trunk/bin/couchdb.tpl.in Mon Jun 16 09:44:50 2008
@@ -25,10 +25,10 @@
 
 RESPAWN_TIMEOUT=0
 
-LIB_DIRECTORY=%pkgstatelibdir%
-LOG_DIRECTORY=%pkgstatelogdir%
+LIB_DIRECTORY=%localstatelibdir%
+LOG_DIRECTORY=%localstatelogdir%
 
-INI_FILE=%pkgconfdir%/couch.ini
+INI_FILE=%localconfdir%/couch.ini
 PID_FILE=%localstatedir%/run/couchdb.pid
 
 STDOUT_FILE=couchdb.stdout
@@ -205,8 +205,8 @@
     fi
     command="`%ICU_CONFIG% --invoke` \
         %ERL% $interactive_option -smp auto -sasl errlog_type error \
-        -pa %erlanglibdir%/couch-%version%/ebin \
-            %erlanglibdir%/mochiweb-r76/ebin \
+        -pa %localerlanglibdir%/couch-%version%/ebin \
+            %localerlanglibdir%/mochiweb-r76/ebin \
         -eval \"application:load(inets)\" \
         -eval \"application:load(crypto)\" \
         -eval \"application:load(couch)\" \

Modified: incubator/couchdb/trunk/bin/couchjs.tpl.in
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/bin/couchjs.tpl.in?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/bin/couchjs.tpl.in (original)
+++ incubator/couchdb/trunk/bin/couchjs.tpl.in Mon Jun 16 09:44:50 2008
@@ -65,7 +65,7 @@
 }
 
 run_couchjs () {
-    exec %libbindir%/%couchjs_command_name% $@
+    exec %locallibbindir%/%couchjs_command_name% $@
 }
 
 parse_script_option_list () {

Modified: incubator/couchdb/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/configure.ac?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/configure.ac (original)
+++ incubator/couchdb/trunk/configure.ac Mon Jun 16 09:44:50 2008
@@ -211,15 +211,15 @@
 
 AC_SUBST([bug_uri], ["LOCAL_BUG_URI"])
 
-AC_SUBST([pkgconfdir], [${sysconfdir}/${package_identifier}])
-AC_SUBST([pkgdatadir], [${datadir}/${package_identifier}])
-AC_SUBST([pkgdocdir], [${datadir}/doc/${package_identifier}])
-AC_SUBST([pkglibdir], [${libdir}/${package_identifier}])
-AC_SUBST([pkgstatelibdir], [${localstatedir}/lib/${package_identifier}])
-AC_SUBST([pkgstatelogdir], [${localstatedir}/log/${package_identifier}])
-AC_SUBST([libbindir], [${pkglibdir}/bin])
-AC_SUBST([erlangbindir], [${pkglibdir}/erlang/bin])
-AC_SUBST([erlanglibdir], [${pkglibdir}/erlang/lib])
+AC_SUBST([localconfdir], [${sysconfdir}/${package_identifier}])
+AC_SUBST([localdatadir], [${datadir}/${package_identifier}])
+AC_SUBST([localdocdir], [${datadir}/doc/${package_identifier}])
+AC_SUBST([locallibdir], [${libdir}/${package_identifier}])
+AC_SUBST([localstatelibdir], [${localstatedir}/lib/${package_identifier}])
+AC_SUBST([localstatelogdir], [${localstatedir}/log/${package_identifier}])
+AC_SUBST([locallibbindir], [${locallibdir}/bin])
+AC_SUBST([localerlangbindir], [${locallibdir}/erlang/bin])
+AC_SUBST([localerlanglibdir], [${locallibdir}/erlang/lib])
 
 AC_REVISION([LOCAL_VERSION])
 

Modified: incubator/couchdb/trunk/etc/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/etc/Makefile.am?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/etc/Makefile.am (original)
+++ incubator/couchdb/trunk/etc/Makefile.am Mon Jun 16 09:44:50 2008
@@ -39,7 +39,7 @@
 	    fi \
 	fi
 	sed -e "s|%configure_input%|$@. Generated from $< by configure.|" \
-	    -e "s|%pkgconfdir%|$(pkgconfdir)|g" \
+	    -e "s|%localconfdir%|$(localconfdir)|g" \
 	    -e "s|%sysconfdir%|$(sysconfdir)|" \
 	    -e "s|%localstatedir%|$(localstatedir)|" \
 	< $< > $@
@@ -55,12 +55,12 @@
 	sed -e "s|%configure_input%|$@. Generated from $< by configure.|" \
 	    -e "s|%bindir%|$(bindir)|" \
 	    -e "s|%sysconfdir%|$(sysconfdir)|" \
-	    -e "s|%erlangbindir%|$(erlangbindir)|" \
+	    -e "s|%localerlangbindir%|$(localerlangbindir)|" \
 	    -e "s|%couchdb_command_name%|$(couchdb_command_name)|" \
 	< $< > $@
 
 logrotate.d/couchdb: logrotate.d/couchdb.tpl
-	sed -e "s|%pkgstatelogdir%|@pkgstatelogdir@|g" < $< > $@
+	sed -e "s|%localstatelogdir%|@localstatelogdir@|g" < $< > $@
 
 launchd/org.apache.couchdb.plist: launchd/org.apache.couchdb.plist.tpl
 	if test "$(mkdir_p)"; then \

Modified: incubator/couchdb/trunk/etc/couchdb/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/etc/couchdb/Makefile.am?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/etc/couchdb/Makefile.am (original)
+++ incubator/couchdb/trunk/etc/couchdb/Makefile.am Mon Jun 16 09:44:50 2008
@@ -17,14 +17,14 @@
 transform = @program_transform_name@
 couchjs_command_name = `echo couchjs | sed '$(transform)'`
 
-couchprivlibdir = $(erlanglibdir)/couch-$(version)/priv/lib
+couchprivlibdir = $(localerlanglibdir)/couch-$(version)/priv/lib
 
 couch.ini: couch.ini.tpl
 	sed -e "s|%bindir%|$(bindir)|g" \
-	    -e "s|%pkgconfdir%|$(pkgconfdir)|g" \
-	    -e "s|%pkgdatadir%|$(pkgdatadir)|g" \
-	    -e "s|%pkgstatelibdir%|$(pkgstatelibdir)|g" \
-	    -e "s|%pkgstatelogdir%|$(pkgstatelogdir)|g" \
+	    -e "s|%localconfdir%|$(localconfdir)|g" \
+	    -e "s|%localdatadir%|$(localdatadir)|g" \
+	    -e "s|%localstatelibdir%|$(localstatelibdir)|g" \
+	    -e "s|%localstatelogdir%|$(localstatelogdir)|g" \
 	    -e "s|%couchprivlibdir%|$(couchprivlibdir)|g" \
 	    -e "s|%couchjs_command_name%|$(couchjs_command_name)|g" \
 	< $< > $@

Modified: incubator/couchdb/trunk/etc/couchdb/couch.ini.tpl.in
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/etc/couchdb/couch.ini.tpl.in?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/etc/couchdb/couch.ini.tpl.in (original)
+++ incubator/couchdb/trunk/etc/couchdb/couch.ini.tpl.in Mon Jun 16 09:44:50 2008
@@ -4,15 +4,15 @@
 
 ConsoleStartupMsg=Apache CouchDB is starting.
 
-DbRootDir=%pkgstatelibdir%
+DbRootDir=%localstatelibdir%
 
 Port=5984
 
 BindAddress=127.0.0.1
 
-DocumentRoot=%pkgdatadir%/www
+DocumentRoot=%localdatadir%/www
 
-LogFile=%pkgstatelogdir%/couch.log
+LogFile=%localstatelogdir%/couch.log
 
 UtilDriverDir=%couchprivlibdir%
 
@@ -20,4 +20,4 @@
 
 [Couch Query Servers]
 
-javascript=%bindir%/%couchjs_command_name% %pkgdatadir%/server/main.js
+javascript=%bindir%/%couchjs_command_name% %localdatadir%/server/main.js

Modified: incubator/couchdb/trunk/etc/couchdb/couch_httpd.conf.tpl.in
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/etc/couchdb/couch_httpd.conf.tpl.in?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/etc/couchdb/couch_httpd.conf.tpl.in (original)
+++ incubator/couchdb/trunk/etc/couchdb/couch_httpd.conf.tpl.in Mon Jun 16 09:44:50 2008
@@ -5,7 +5,7 @@
 ServerName localhost
 SocketType ip_comm
 Modules mod_couch mod_get mod_log
-ServerRoot %pkgconfdir%
-DocumentRoot %pkgdatadir%/www
-ErrorLog %pkgstatelogdir%/http_error.log
-TransferLog %pkgstatelogdir%/http_access.log
+ServerRoot %localconfdir%
+DocumentRoot %localdatadir%/www
+ErrorLog %localstatelogdir%/http_error.log
+TransferLog %localstatelogdir%/http_access.log

Modified: incubator/couchdb/trunk/etc/default/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/etc/default/couchdb.tpl.in?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/etc/default/couchdb.tpl.in (original)
+++ incubator/couchdb/trunk/etc/default/couchdb.tpl.in Mon Jun 16 09:44:50 2008
@@ -3,7 +3,7 @@
 # Sourced by init script for configuration.
 
 COUCHDB_USER=couchdb
-COUCHDB_INI_FILE=%pkgconfdir%/couch.ini
+COUCHDB_INI_FILE=%localconfdir%/couch.ini
 COUCHDB_PID_FILE=%localstatedir%/run/couchdb.pid
 COUCHDB_STDOUT_FILE=/dev/null
 COUCHDB_STDERR_FILE=/dev/null

Modified: incubator/couchdb/trunk/etc/logrotate.d/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/etc/logrotate.d/couchdb.tpl.in?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/etc/logrotate.d/couchdb.tpl.in (original)
+++ incubator/couchdb/trunk/etc/logrotate.d/couchdb.tpl.in Mon Jun 16 09:44:50 2008
@@ -1,4 +1,4 @@
-%pkgstatelogdir%/*.log {
+%localstatelogdir%/*.log {
        weekly
        rotate 10
        copytruncate

Modified: incubator/couchdb/trunk/src/couchdb/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/src/couchdb/Makefile.am?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/src/couchdb/Makefile.am (original)
+++ incubator/couchdb/trunk/src/couchdb/Makefile.am Mon Jun 16 09:44:50 2008
@@ -12,7 +12,7 @@
 
 ICU_LOCAL_FLAGS = $(ICU_LOCAL_CFLAGS) $(ICU_LOCAL_LDFLAGS)
 
-couchprivlibdir = $(erlanglibdir)/couch-$(version)/priv/lib
+couchprivlibdir = $(localerlanglibdir)/couch-$(version)/priv/lib
 
 couchprivlib_LTLIBRARIES = couch_erl_driver.la
 couch_erl_driver_la_SOURCES = couch_erl_driver.c
@@ -23,8 +23,8 @@
 libbin_PROGRAMS = couchjs
 couchjs_SOURCES = couch_js.c
 
-couchebindir = $(erlanglibdir)/couch-$(version)/ebin
-couchincludedir = $(erlanglibdir)/couch-$(version)/include
+couchebindir = $(localerlanglibdir)/couch-$(version)/ebin
+couchincludedir = $(localerlanglibdir)/couch-$(version)/include
 
 couch_file_collection = \
     cjson.erl \

Modified: incubator/couchdb/trunk/src/mochiweb/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/src/mochiweb/Makefile.am?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/src/mochiweb/Makefile.am (original)
+++ incubator/couchdb/trunk/src/mochiweb/Makefile.am Mon Jun 16 09:44:50 2008
@@ -10,7 +10,7 @@
 ## License for the specific language governing permissions and limitations under
 ## the License.
 
-mochiwebebindir = $(erlanglibdir)/mochiweb-r76/ebin
+mochiwebebindir = $(localerlanglibdir)/mochiweb-r76/ebin
 
 mochiweb_file_collection = \
     mochifmt.erl \

Modified: incubator/couchdb/trunk/var/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/var/Makefile.am?rev=668231&r1=668230&r2=668231&view=diff
==============================================================================
--- incubator/couchdb/trunk/var/Makefile.am (original)
+++ incubator/couchdb/trunk/var/Makefile.am Mon Jun 16 09:44:50 2008
@@ -12,12 +12,12 @@
 
 install-data-hook:
 	if test ! "$(mkdir_p)" = ""; then \
-	    $(mkdir_p) "$(DESTDIR)$(pkgstatelibdir)"; \
-	    $(mkdir_p) "$(DESTDIR)$(pkgstatelogdir)"; \
+	    $(mkdir_p) "$(DESTDIR)$(localstatelibdir)"; \
+	    $(mkdir_p) "$(DESTDIR)$(localstatelogdir)"; \
 	    $(mkdir_p) "$(DESTDIR)$(localstatedir)/run"; \
 	else \
 	    echo "WARNING: You may have to create these directories by hand."; \
-	    mkdir -p "$(DESTDIR)$(pkgstatelibdir)"; \
-	    mkdir -p "$(DESTDIR)$(pkgstatelogdir)"; \
+	    mkdir -p "$(DESTDIR)$(localstatelibdir)"; \
+	    mkdir -p "$(DESTDIR)$(localstatelogdir)"; \
 	    mkdir -p "$(DESTDIR)$(localstatedir)/run"; \
 	fi



Mime
View raw message