Interactive interface for browsing global, full-resolution satellite imagery
RPM build changes for side-by-side deployment
Mike McGannd599cc2667e7
diff --git a/Gruntfile.js b/Gruntfile.jsindex b694b1b59..e80c8810d 100644--- a/Gruntfile.js+++ b/Gruntfile.js@@ -149,6 +149,14 @@ module.exports = function(grunt) {apache: {src: "build/worldview-dev.httpd.conf",dest: "dist/<%=pkg%>-dev.httpd.conf"+ },+ rpm_apache: {+ src: "build/rpmbuild/SOURCES/httpd.conf",+ dest: "build/rpmbuild/SOURCES/httpd.<%=pkg%>.conf"+ },+ rpm_apache_debug: {+ src: "build/rpmbuild/SOURCES/httpd-debug.conf",+ dest: "build/rpmbuild/SOURCES/httpd.<%=pkg%>-debug.conf"}},@@ -528,6 +536,8 @@ module.exports = function(grunt) {grunt.registerTask("rpm_only", ["remove:rpmbuild","copy:rpm_sources",+ "rename:rpm_apache",+ "rename:rpm_apache_debug","replace:rpm_sources","remove:dist_rpm","exec:rpmbuild",diff --git a/etc/deploy/sources/httpd.worldview-debug.conf b/etc/deploy/sources/httpd-debug.confsimilarity index 100%rename from etc/deploy/sources/httpd.worldview-debug.confrename to etc/deploy/sources/httpd-debug.confdiff --git a/etc/deploy/sources/httpd.worldview.conf b/etc/deploy/sources/httpd.confsimilarity index 100%rename from etc/deploy/sources/httpd.worldview.confrename to etc/deploy/sources/httpd.confdiff --git a/etc/deploy/worldview.spec b/etc/deploy/worldview.specindex b0c3d9221..5ea483bac 100644--- a/etc/deploy/worldview.spec+++ b/etc/deploy/worldview.spec@@ -11,10 +11,10 @@ Summary: Browse full-resolution, near real-time satellite imagery.License: Copyright NASAURL: http://earthdata.nasa.gov-Source0: worldview.tar.bz2-Source1: worldview-debug.tar.bz2-Source2: httpd.worldview.conf-Source3: httpd.worldview-debug.conf+Source0: @[email protected]+Source1: @[email protected]+Source2: httpd.@[email protected]+Source3: httpd.@[email protected]#Source4: events_log.conf#Source4: events_log-debug.conf#Source5: cron.worldview@@ -72,36 +72,36 @@ cp %{SOURCE3} .%installrm -rf %{buildroot}-chmod 755 worldview/bin/*-chmod 755 worldview-debug/bin/*+chmod 755 @WORLDVIEW@/bin/*+chmod 755 @WORLDVIEW@-debug/bin/*# Apache configuration for releaseinstall -m 755 -d %{buildroot}/%{httpdconfdir}-install -m 644 httpd.worldview.conf \+install -m 644 httpd.@[email protected] \%{buildroot}/%{httpdconfdir}/@[email protected]-rm httpd.worldview.conf+rm httpd.@[email protected]# Apache configuration for debug-install -m 644 httpd.worldview-debug.conf \+install -m 644 httpd.@[email protected] \%{buildroot}/%{httpdconfdir}/@[email protected]-rm httpd.worldview-debug.conf+rm httpd.@[email protected]# Release options directoryinstall -m 755 -d %{buildroot}/%{_sysconfdir}-mv worldview/options %{buildroot}/%{_sysconfdir}/@WORLDVIEW@-ln -s %{_sysconfdir}/@WORLDVIEW@ worldview/options+mv @WORLDVIEW@/options %{buildroot}/%{_sysconfdir}/@WORLDVIEW@+ln -s %{_sysconfdir}/@WORLDVIEW@ @WORLDVIEW@/options# Debug options directory-mv worldview-debug/options %{buildroot}/%{_sysconfdir}/@WORLDVIEW@-debug-ln -s %{_sysconfdir}/@WORLDVIEW@-debug worldview-debug/options+mv @WORLDVIEW@-debug/options %{buildroot}/%{_sysconfdir}/@WORLDVIEW@-debug+ln -s %{_sysconfdir}/@WORLDVIEW@-debug @WORLDVIEW@-debug/options# Release applicationinstall -m 755 -d %{buildroot}/%{_datadir}/@WORLDVIEW@-cp -r worldview/* %{buildroot}/%{_datadir}/@WORLDVIEW@+cp -r @WORLDVIEW@/* %{buildroot}/%{_datadir}/@WORLDVIEW@# Debug applicationinstall -m 755 -d %{buildroot}/%{_datadir}/@WORLDVIEW@-debug-cp -r worldview-debug/* %{buildroot}/%{_datadir}/@WORLDVIEW@-debug+cp -r @WORLDVIEW@-debug/* %{buildroot}/%{_datadir}/@WORLDVIEW@-debug#install -m 755 -d %{buildroot}/%{_sysconfdir}/@WORLDVIEW@#install -m 644 events_log.conf \