From e0d19e47dacda2cfe0fc03487cdf6957a44d6cf4 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Tue, 5 Dec 2006 10:40:33 +0000 Subject: [PATCH] fixed #2017 --- campcaster/etc/debian/control | 3 ++- campcaster/etc/debian/rules | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/campcaster/etc/debian/control b/campcaster/etc/debian/control index 59357d4e6..c55e32a69 100644 --- a/campcaster/etc/debian/control +++ b/campcaster/etc/debian/control @@ -53,7 +53,8 @@ Build-Depends: debhelper (>= 4.0.0), php-pear, php5-gd, postgresql-8.1, - postgresql-client-8.1 + postgresql-client-8.1, + pwgen Standards-Version: 3.6.1 Package: campcaster-libs diff --git a/campcaster/etc/debian/rules b/campcaster/etc/debian/rules index 168d6fbe2..a53ba6d96 100755 --- a/campcaster/etc/debian/rules +++ b/campcaster/etc/debian/rules @@ -29,15 +29,18 @@ endif config.status: configure dh_testdir - CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ - --build=$(DEB_BUILD_GNU_TYPE) \ - --prefix=/opt/campcaster \ - --with-www-docroot=/var/www \ - --with-apache-group=www-data \ - --with-station-audio-out=hw:0,0 \ - --with-studio-audio-out=hw:1,0 \ - --with-studio-audio-cue=hw:2,0 \ - --with-hostname=localhost + SCHEDULER_STORAGE_PASS=`pwgen -N1 -s` + CFLAGS="$(CFLAGS)" ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/opt/campcaster \ + --with-www-docroot=/var/www \ + --with-apache-group=www-data \ + --with-station-audio-out=hw:0,0 \ + --with-studio-audio-out=hw:1,0 \ + --with-studio-audio-cue=hw:2,0 \ + --with-hostname=localhost \ + --with-scheduler-storage-pass=${SCHEDULER_STORAGE_PASS} build: build-arch