From cd2af2685059c4d8975a714776a0847a7feff072 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 16 Dec 2015 15:10:34 +0200 Subject: Apache devel configuration adapted to new option names --- etc/brep-apache2.conf | 16 ++++++++-------- etc/dev/apachectl | 2 +- etc/dev/brep-site.conf | 8 ++++---- 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 -- cgit v1.1