aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-16 13:10:34 (GMT)
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-17 12:13:45 (GMT)
commitcd2af2685059c4d8975a714776a0847a7feff072 (patch)
tree05a513328b4b864107049a0a5b92ee5ca92e7a41 /etc
parentb15d964d899c844eb2b4d92b8242480f8a557d5b (diff)
Apache devel configuration adapted to new option names
Diffstat (limited to 'etc')
-rw-r--r--etc/brep-apache2.conf16
-rwxr-xr-xetc/dev/apachectl2
-rw-r--r--etc/dev/brep-site.conf8
3 files changed, 13 insertions, 13 deletions
diff --git a/etc/brep-apache2.conf b/etc/brep-apache2.conf
index 6f806e8..bd8cd0c 100644
--- a/etc/brep-apache2.conf
+++ b/etc/brep-apache2.conf
@@ -18,14 +18,14 @@ LoadModule alias_module modules/mod_alias.so
# To use a repository root other than /pkg/, replace all occurrences of
# /pkg/ with the desired alternative root (use '/' for webserver root).
#
-brep-root /pkg/
-brep-db-host localhost
-brep-db-port 5432
-brep-search-results 10
-brep-pager-pages 5
-brep-description-len 500
-brep-changes-len 5000
-brep-log-verbosity 0
+brep-root /pkg/
+brep-db-host localhost
+brep-db-port 5432
+brep-search-results 10
+brep-search-pages 5
+brep-package-description 500
+brep-package-changes 5000
+brep-verbosity 0
# To override brep module options place them into the separate configuration
# file, suppressing the "brep-" prefix.
diff --git a/etc/dev/apachectl b/etc/dev/apachectl
index 4d45570..2d6e11f 100755
--- a/etc/dev/apachectl
+++ b/etc/dev/apachectl
@@ -50,7 +50,7 @@ mkdir -p "$AP_WORKSPACE_DIR"
mkdir -p "$AP_LOG_DIR"
mkdir -p "$AP_REPOSITORY_DIR"
-cat "$AP_CONFIG_DIR/../brep.conf" | \
+cat "$AP_CONFIG_DIR/../brep-apache2.conf" | \
sed -e 's%modules\(/mod_brep.so\)%${AP_MODULE_DIR}\1%g' \
-e 's%/pkg/%${AP_ROOT}%g' \
-e 's%^\(brep-db-port\s*\).*%\1${AP_DB_PORT}%g' \
diff --git a/etc/dev/brep-site.conf b/etc/dev/brep-site.conf
index 09f020c..bc64e12 100644
--- a/etc/dev/brep-site.conf
+++ b/etc/dev/brep-site.conf
@@ -3,7 +3,7 @@
# license : MIT; see accompanying LICENSE file
#
-search-results 2
-description-len 100
-changes-len 100
-log-verbosity 1
+search-results 2
+package-description 100
+package-changes 100
+verbosity 1