summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Peterson <lavajoe@gentoo.org>2008-01-21 04:49:25 +0000
committerJoe Peterson <lavajoe@gentoo.org>2008-01-21 04:49:25 +0000
commit6a2327a202b0ecbd93e3d16e99257bbd0766f720 (patch)
tree0cbbcb34b9417000c6b9b1cb94cecdec058c4d42 /media-sound/squeezecenter
parentamd64 marked for testing - bug 205477 (diff)
downloadhistorical-6a2327a202b0ecbd93e3d16e99257bbd0766f720.tar.gz
historical-6a2327a202b0ecbd93e3d16e99257bbd0766f720.tar.bz2
historical-6a2327a202b0ecbd93e3d16e99257bbd0766f720.zip
Add nightly for 2008-01-19
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-sound/squeezecenter')
-rw-r--r--media-sound/squeezecenter/ChangeLog8
-rw-r--r--media-sound/squeezecenter/Manifest16
-rw-r--r--media-sound/squeezecenter/files/digest-squeezecenter-7.0_beta200801193
-rw-r--r--media-sound/squeezecenter/squeezecenter-7.0_beta20080119.ebuild307
4 files changed, 329 insertions, 5 deletions
diff --git a/media-sound/squeezecenter/ChangeLog b/media-sound/squeezecenter/ChangeLog
index 8a6cde71ba7f..23d3915d1cb7 100644
--- a/media-sound/squeezecenter/ChangeLog
+++ b/media-sound/squeezecenter/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/squeezecenter
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezecenter/ChangeLog,v 1.4 2008/01/16 18:04:44 lavajoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezecenter/ChangeLog,v 1.5 2008/01/21 04:49:24 lavajoe Exp $
+
+*squeezecenter-7.0_beta20080119 (21 Jan 2008)
+
+ 21 Jan 2008; Joe Peterson <lavajoe@gentoo.org>
+ +squeezecenter-7.0_beta20080119.ebuild:
+ Add nightly for 2008-01-19
*squeezecenter-7.0_beta20080115 (16 Jan 2008)
diff --git a/media-sound/squeezecenter/Manifest b/media-sound/squeezecenter/Manifest
index c053999b8ce9..f5dd3b1156fc 100644
--- a/media-sound/squeezecenter/Manifest
+++ b/media-sound/squeezecenter/Manifest
@@ -33,6 +33,7 @@ SHA256 19c74a3838f78c6a076220e749c236564d085c4ef095fa0f77bbb1be74532b2d files/sq
DIST SqueezeCenter_trunk_v2008-01-02.no-cpan-arch.tar.gz 17338037 RMD160 78636e78ec1deeef14918f4f4d7d7e66a284181c SHA1 fff6613594afd3bdad6b8d4c63cc493f89e4ab19 SHA256 b52443fc4903e75b30302d869f8a12f6d43e7115d4ecfce82cb86cd50b216f5c
DIST squeezecenter-7.0-16019-noCPAN.tgz 17885006 RMD160 8dd035dddf35bf87138dd1cb36ac25c152cacbdd SHA1 6ed8c03e766f991a5448f0b25a75b7dba67e06c0 SHA256 00197e0ff046d4416fcf3f594e569e860ef68c6a08ee404c780dd04c68f66f8f
DIST squeezecenter-7.0-16284-noCPAN.tgz 17972471 RMD160 92f389f54fed54be3a11bdfb29d2224168a1477d SHA1 4775475f6d1cdf8719a6314e6f2caa8ef1634083 SHA256 cc79537311845e23910baf21d13c16cf7f3d35992de678f7c8e4bb652cbb23ed
+DIST squeezecenter-7.0-16473-noCPAN.tgz 18160732 RMD160 2e6ed6fce4bc3a93c5d49b2986f3abe8877ba987 SHA1 7f1d111279391a476977caaef5bfdd6f17275b0a SHA256 0d4591c41a633dbbb3ba5fb006fe0fd37079f7e0de72d42bb971dd2a8601e64c
EBUILD squeezecenter-7.0_beta20080102.ebuild 11208 RMD160 1873bf01813dd997cf9ab5f3d268b02f8821b110 SHA1 ba7c73d03dbcd9d5c12f61bad3fb7a3674d61659 SHA256 9e6350db001e8c7523819095ee9ddb93ab41da63e44df09ca96a5e627eaf613a
MD5 e7803e1c9c3b4aabfd3d821cf0abb59a squeezecenter-7.0_beta20080102.ebuild 11208
RMD160 1873bf01813dd997cf9ab5f3d268b02f8821b110 squeezecenter-7.0_beta20080102.ebuild 11208
@@ -45,10 +46,14 @@ EBUILD squeezecenter-7.0_beta20080115.ebuild 11345 RMD160 d52be118a6872f4699f10a
MD5 d8cf16a6dc4ee31f80bbd2504e70ea75 squeezecenter-7.0_beta20080115.ebuild 11345
RMD160 d52be118a6872f4699f10ae61ea78ab5f0f455be squeezecenter-7.0_beta20080115.ebuild 11345
SHA256 ea6fef507ecb0615d1e0dcffb842cfd92270eaa1872e4065df108460d5e8da0e squeezecenter-7.0_beta20080115.ebuild 11345
-MISC ChangeLog 1364 RMD160 4ca4d188418682335f8fbc379fb36e7eade74686 SHA1 0f87806a99a7a7c136330c045b9560474070a112 SHA256 2aef29f72e276c47864870eb599cad34ce9c0b9d9b10391f29adc4b3881caa17
-MD5 1197cdb9b41e303afd4d778c5fd9ff71 ChangeLog 1364
-RMD160 4ca4d188418682335f8fbc379fb36e7eade74686 ChangeLog 1364
-SHA256 2aef29f72e276c47864870eb599cad34ce9c0b9d9b10391f29adc4b3881caa17 ChangeLog 1364
+EBUILD squeezecenter-7.0_beta20080119.ebuild 11345 RMD160 2b1b0371478210a85d0fddb88a38e8da45dbac98 SHA1 36702a99934e06e599708aa51c9898889feb858e SHA256 63a081ba22b681958ff39571a81dcd4e55d1c6d3e704696665265900e9516e9d
+MD5 e40d26f82c7b47c74ecdcca577f6ca6c squeezecenter-7.0_beta20080119.ebuild 11345
+RMD160 2b1b0371478210a85d0fddb88a38e8da45dbac98 squeezecenter-7.0_beta20080119.ebuild 11345
+SHA256 63a081ba22b681958ff39571a81dcd4e55d1c6d3e704696665265900e9516e9d squeezecenter-7.0_beta20080119.ebuild 11345
+MISC ChangeLog 1532 RMD160 81928f4fb2b9f607e9d7ba1d8f356413042e98d3 SHA1 7ede3d0597881053beb980c40f3845863ad2393f SHA256 8c886ea3f454c3ebcc90e7fa2efd4bf84947cd6f06fa623fa067ece0b10c484f
+MD5 ec8c1f2a9944cd8f8ecec41d729ff46c ChangeLog 1532
+RMD160 81928f4fb2b9f607e9d7ba1d8f356413042e98d3 ChangeLog 1532
+SHA256 8c886ea3f454c3ebcc90e7fa2efd4bf84947cd6f06fa623fa067ece0b10c484f ChangeLog 1532
MISC metadata.xml 790 RMD160 c75ebb0eda5fdc93127d453d975acebc50bec589 SHA1 e9cd926018accadcd17691d24ae22ca2620e0c30 SHA256 d886ca6099eb5d1a95fa1f5cb833b91eac229c5c1df478f73e52f6d3b1a5e135
MD5 1e4c5439e1c902e59f25ece2096160a9 metadata.xml 790
RMD160 c75ebb0eda5fdc93127d453d975acebc50bec589 metadata.xml 790
@@ -62,3 +67,6 @@ SHA256 bc3d5dc6440db103aad856478beb6ef2f9d663913f96e16a2706a42d0111451a files/di
MD5 7538e2358461a9d482937a3b8411776f files/digest-squeezecenter-7.0_beta20080115 289
RMD160 a75627578edafede8a2ca2b07f5bef17481907b6 files/digest-squeezecenter-7.0_beta20080115 289
SHA256 324afd787200586e196f55c7649083f34abcadb12f3c7f1ef860f3f69d90f2af files/digest-squeezecenter-7.0_beta20080115 289
+MD5 6c8e6b1d61b63227ec5010ec5e111057 files/digest-squeezecenter-7.0_beta20080119 289
+RMD160 1f85434623ed5b80a3ce9c6ab6f0e3285dc24801 files/digest-squeezecenter-7.0_beta20080119 289
+SHA256 5862cfd654ac00a31269d351066381544ab8ceda79509d6ad123b8e261d7929b files/digest-squeezecenter-7.0_beta20080119 289
diff --git a/media-sound/squeezecenter/files/digest-squeezecenter-7.0_beta20080119 b/media-sound/squeezecenter/files/digest-squeezecenter-7.0_beta20080119
new file mode 100644
index 000000000000..0706764cb67f
--- /dev/null
+++ b/media-sound/squeezecenter/files/digest-squeezecenter-7.0_beta20080119
@@ -0,0 +1,3 @@
+MD5 9eeaee57a36e611217891783556c8efb squeezecenter-7.0-16473-noCPAN.tgz 18160732
+RMD160 2e6ed6fce4bc3a93c5d49b2986f3abe8877ba987 squeezecenter-7.0-16473-noCPAN.tgz 18160732
+SHA256 0d4591c41a633dbbb3ba5fb006fe0fd37079f7e0de72d42bb971dd2a8601e64c squeezecenter-7.0-16473-noCPAN.tgz 18160732
diff --git a/media-sound/squeezecenter/squeezecenter-7.0_beta20080119.ebuild b/media-sound/squeezecenter/squeezecenter-7.0_beta20080119.ebuild
new file mode 100644
index 000000000000..c19fe6b4c51f
--- /dev/null
+++ b/media-sound/squeezecenter/squeezecenter-7.0_beta20080119.ebuild
@@ -0,0 +1,307 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezecenter/squeezecenter-7.0_beta20080119.ebuild,v 1.1 2008/01/21 04:49:24 lavajoe Exp $
+
+inherit eutils
+
+SVN_VER="16473"
+MAJOR_VER="${PV:0:3}"
+MY_SRC_DIR="SqueezeCenter_v${PV:8:4}-${PV:12:2}-${PV:14:2}"
+MY_P="squeezecenter-${MAJOR_VER}-${SVN_VER}-noCPAN"
+
+DESCRIPTION="Logitech SqueezeCenter music server"
+HOMEPAGE="http://www.slimdevices.com/pi_features.html"
+SRC_URI="http://www.slimdevices.com/downloads/nightly/${MY_SRC_DIR}/${MY_P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="lame wavpack musepack alac ogg bonjour flac avahi"
+
+# Note: dev-perl/module-build necessary because of SC bug#5882
+# (http://bugs.slimdevices.com/show_bug.cgi?id=5882).
+DEPEND="
+ dev-perl/File-Which
+ dev-perl/module-build
+ virtual/logger
+ virtual/mysql
+ avahi? ( net-dns/avahi )
+ ogg? ( media-sound/sox )
+ "
+# Note: dev-perl/GD necessary because of SC bug#6143
+# (http://bugs.slimdevices.com/show_bug.cgi?id=6143).
+RDEPEND="${DEPEND}
+ >=dev-lang/perl-5.8.8
+ >=dev-perl/GD-2.35
+ >=app-admin/sudo-1.6.8
+ alac? ( media-sound/alac_decoder )
+ lame? ( media-sound/lame )
+ wavpack? ( media-sound/wavpack )
+ bonjour? ( net-misc/mDNSResponder )
+ flac? ( media-libs/flac )
+ musepack? ( media-sound/musepack-tools )
+ "
+
+S="${WORKDIR}/${MY_P}"
+
+INSTROOT="/opt"
+PREFS="/etc/squeezecenter.prefs"
+CACHED_PREFS="/var/cache/squeezecenter/prefs/server.prefs"
+DBUSER="squeezecenter"
+
+pkg_setup() {
+ # Sox has optional OGG support, so make sure it has been built that way
+ if use ogg; then
+ if ! built_with_use media-sound/sox ogg; then
+ eerror "media-sound/sox not built with USE=ogg"
+ die "media-sound/sox not built with USE=ogg"
+ fi
+ fi
+
+ # Create the user and group if not already present
+ enewgroup squeezecenter || die
+ enewuser squeezecenter -1 -1 "${INSTROOT}/squeezecenter" squeezecenter || die
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Apply patches
+ epatch "${FILESDIR}/mDNSResponder-${MAJOR_VER}-gentoo.patch"
+
+ # Remove bundled binaries that are supplied by other ebuilds
+ einfo "Removing binaries provided by other ebuilds ..."
+ rm "${S}"/Bin/*/mDNSResponderPosix || die # net-misc/mDNSResponder
+ rm "${S}"/Bin/*/alac || die # media-sound/alac_decoder
+ rm "${S}"/Bin/*/flac || die # media-libs/flac
+ rm "${S}"/Bin/*/sox || die # media-sound/sox
+ rm "${S}"/Bin/*/wvunpack || die # media-sound/wavpack
+ rm "${S}"/Bin/*/mppdec || die # media-sound/musepack-tools
+
+ # Remove bundled MySQL as we depend on an external instance
+ einfo "Removing bundled MySQL ..."
+ rm -r "${S}"/MySQL || die
+ rm "${S}"/Bin/*/mysqld || die # virtual/mysql
+}
+
+src_compile() {
+ einfo "Building required Perl modules (some warnings are normal here) ..."
+ mkdir "${T}/sc_compile"
+ echo -e "\n${S}\n${T}/sc_compile" | Bin/build-perl-modules.pl || die "Unable to build Perl modules"
+}
+
+src_install() {
+ # Copy all files.
+ dodir "${INSTROOT}/squeezecenter"
+ cp -r * "${D}/${INSTROOT}/squeezecenter"
+
+ # Install init scripts.
+ newconfd "${FILESDIR}/squeezecenter-${MAJOR_VER}.conf.d" squeezecenter
+ newinitd "${FILESDIR}/squeezecenter-${MAJOR_VER}.init.d" squeezecenter
+
+ # Install default preferences.
+ insinto /etc
+ newins "${FILESDIR}/squeezecenter-${MAJOR_VER}.prefs" squeezecenter.prefs
+
+ # Install the SQL configuration scripts.
+ insinto "${INSTROOT}/squeezecenter/SQL/mysql"
+ doins "${FILESDIR}/dbdrop-${MAJOR_VER}-gentoo.sql"
+ doins "${FILESDIR}/dbcreate-${MAJOR_VER}-gentoo.sql"
+
+ # Initialize /var/{cache,run}.
+ keepdir /var/{cache,run}/squeezecenter
+ fowners squeezecenter:squeezecenter /var/{cache,run}/squeezecenter
+ fperms 770 /var/{cache,run}/squeezecenter
+
+ # Initialize /var/log.
+ dodir /var/log/squeezecenter
+ fowners squeezecenter:squeezecenter /var/log/squeezecenter
+ fperms 770 /var/log/squeezecenter
+ touch "${D}/var/log/squeezecenter/server.log"
+ touch "${D}/var/log/squeezecenter/scanner.log"
+ touch "${D}/var/log/squeezecenter/perfmon.log"
+ fowners squeezecenter:squeezecenter /var/log/squeezecenter/server.log
+ fowners squeezecenter:squeezecenter /var/log/squeezecenter/scanner.log
+ fowners squeezecenter:squeezecenter /var/log/squeezecenter/perfmon.log
+
+ # Install logrotate support.
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/squeezecenter-${MAJOR_VER}.logrotate.d" squeezecenter
+
+ # Install Avahi support (if USE flag is set).
+ if use avahi; then
+ insinto /etc/avahi/services
+ newins "${FILESDIR}/avahi-${MAJOR_VER}-squeezecenter.service" squeezecenter.service
+ fi
+}
+
+sc_starting_instr() {
+ elog "SqueezeCenter can be started with the following command:"
+ elog "\t/etc/init.d/squeezecenter start"
+ elog ""
+ elog "SqueezeCenter can be automatically started on each boot with the"
+ elog "following command:"
+ elog "\trc-update add squeezecenter default"
+ elog ""
+ elog "You might want to examine and modify the following configuration"
+ elog "file before starting SqueezeCenter:"
+ elog "\t/etc/conf.d/squeezecenter"
+ elog ""
+
+ # Discover the port number from the preferences, but if it isn't there
+ # then report the standard one.
+ httpport=$(gawk '$1 == "httpport:" { print $2 }' "${ROOT}${CACHED_PREFS}" 2>/dev/null)
+ elog "You may access and configure SqueezeCenter by browsing to:"
+ elog "\thttp://localhost:${httpport:-9000}/"
+}
+
+pkg_postinst() {
+ # FLAC and LAME are quite useful (but not essential) for SqueezeCenter -
+ # if they're not enabled then make sure the user understands that.
+ if ! use flac; then
+ ewarn "'flac' USE flag is not set. Although not essential, FLAC is required"
+ ewarn "for playing lossless WAV and FLAC (for Squeezebox 1), and for"
+ ewarn "playing other less common file types (if you have a Squeezebox 2, 3"
+ ewarn "or Transporter)."
+ ewarn "For maximum flexibility you are recommended to set the 'flac' USE flag".
+ ewarn ""
+ fi
+ if ! use lame; then
+ ewarn "'lame' USE flag is not set. Although not essential, LAME is"
+ ewarn "required if you want to limit the bandwidth your Squeezebox or"
+ ewarn "Transporter uses when streaming audio."
+ ewarn "For maximum flexibility you are recommended to set the 'lame' USE flag".
+ ewarn ""
+ fi
+
+ # Album art requires PNG and JPEG support from GD, so if it's not there
+ # then warn the user. It's not mandatory as the user may not be using
+ # album art.
+ if ! built_with_use dev-perl/GD jpeg || \
+ ! built_with_use dev-perl/GD png || \
+ ! built_with_use media-libs/gd jpeg || \
+ ! built_with_use media-libs/gd png; then
+ ewarn "For correct operation of album art through SqueezeCenter's web"
+ ewarn "interface the GD library and Perl module must be built with PNG"
+ ewarn "and JPEG support. If necessary you can add the following lines"
+ ewarn "to the file /etc/portage/package.use:"
+ ewarn "\tdev-perl/GD jpeg png"
+ ewarn "\tmedia-libs/gd jpeg png"
+ ewarn ""
+ fi
+
+ # Point user to database configuration step
+ elog "If this is a new installation of SqueezeCenter then the database"
+ elog "must be configured prior to use. This can be done by running the"
+ elog "following command:"
+ elog "\temerge --config =${CATEGORY}/${PF}"
+
+ # Remind user to configure Avahi if necessary
+ if use avahi; then
+ elog ""
+ elog "Avahi support installed. Remember to edit the folowing file if"
+ elog "you run SqueezeCenter's web interface on a port other than 9000:"
+ elog "\t/etc/avahi/services/squeezecenter.service"
+ fi
+
+ elog ""
+ sc_starting_instr
+}
+
+sc_remove_db_prefs() {
+ MY_PREFS=$1
+
+ einfo "Configuring SqueezeCenter database preferences (${MY_PREFS}) ..."
+ TMPPREFS="${T}"/squeezecenter-prefs-$$
+ touch "${ROOT}${MY_PREFS}"
+ sed -e '/^dbusername:/d' -e '/^dbpassword:/d' -e '/^dbsource:/d' < "${ROOT}${MY_PREFS}" > "${TMPPREFS}"
+ mv "${TMPPREFS}" "${ROOT}${MY_PREFS}"
+ chown squeezecenter:squeezecenter "${ROOT}${MY_PREFS}"
+ chmod 660 "${ROOT}${MY_PREFS}"
+}
+
+sc_update_prefs() {
+ MY_PREFS=$1
+ MY_DBUSER=$2
+ MY_DBUSER_PASSWD=$3
+
+ echo "dbusername: ${MY_DBUSER}" >> "${ROOT}${MY_PREFS}"
+ echo "dbpassword: ${MY_DBUSER_PASSWD}" >> "${ROOT}${MY_PREFS}"
+ echo "dbsource: dbi:mysql:database=${MY_DBUSER};mysql_socket=/var/run/mysqld/mysqld.sock" >> "${ROOT}${MY_PREFS}"
+}
+
+pkg_config() {
+ einfo "Press ENTER to create the SqueezeCenter database and set proper"
+ einfo "permissions on it. You will be prompted for the MySQL 'root' user's"
+ einfo "password during this process (note that the MySQL 'root' user is"
+ einfo "independent of the Linux 'root' user and so may have a different"
+ einfo "password)."
+ einfo ""
+ einfo "If you already have a SqueezeCenter database set up then this"
+ einfo "process will clear the existing database (your music files will not,"
+ einfo "however, be affected)."
+ einfo ""
+ einfo "Alternatively, press Control-C to abort now..."
+ read
+
+ # Get the MySQL root password from the user (not echoed to the terminal)
+ einfo "The MySQL 'root' user password is required to create the"
+ einfo "SqueezeCenter user and database."
+ DONE=0
+ while [ $DONE -eq 0 ]; do
+ trap "stty echo; echo" EXIT
+ stty -echo
+ read -p "MySQL root password: " ROOT_PASSWD; echo
+ stty echo
+ trap ":" EXIT
+ mysql --user=root --password="${ROOT_PASSWD}" </dev/null >/dev/null 2>&1 && DONE=1
+ if [ $DONE -eq 0 ]; then
+ eerror "Incorrect MySQL root password, or MySQL is not running"
+ fi
+ done
+
+ # Get the new password for the SqueezeCenter MySQL database user, and
+ # have it re-entered to confirm it. We should trivially check it's not
+ # the same as the MySQL root password.
+ einfo "A new MySQL user will be added to own the SqueezeCenter database."
+ einfo "Please enter the password for this new user (${DBUSER})."
+ DONE=0
+ while [ $DONE -eq 0 ]; do
+ trap "stty echo; echo" EXIT
+ stty -echo
+ read -p "MySQL ${DBUSER} password: " DBUSER_PASSWD; echo
+ stty echo
+ trap ":" EXIT
+ if [ -z "$DBUSER_PASSWD" ]; then
+ eerror "The password should not be blank; try again."
+ elif [ "$DBUSER_PASSWD" == "$ROOT_PASSWD" ]; then
+ eerror "The ${DBUSER} password should be different to the root password"
+ else
+ DONE=1
+ fi
+ done
+
+ # Drop the existing database and user - note we don't care about errors
+ # from this as it probably just indicates that the database wasn't
+ # yet present.
+ einfo "Dropping old SqueezeCenter database and user ..."
+ sed -e "s/__DATABASE__/${DBUSER}/" -e "s/__DBUSER__/${DBUSER}/" < "${INSTROOT}/squeezecenter/SQL/mysql/dbdrop-${MAJOR_VER}-gentoo.sql" | mysql --user=root --password="${ROOT_PASSWD}" >/dev/null 2>&1
+
+ # Drop and create the SqueezeCenter user and database.
+ einfo "Creating SqueezeCenter MySQL user and database (${DBUSER}) ..."
+ sed -e "s/__DATABASE__/${DBUSER}/" -e "s/__DBUSER__/${DBUSER}/" -e "s/__DBPASSWORD__/${DBUSER_PASSWD}/" < "${INSTROOT}/squeezecenter/SQL/mysql/dbcreate-${MAJOR_VER}-gentoo.sql" | mysql --user=root --password="${ROOT_PASSWD}" || die "Unable to create MySQL database and user"
+
+ # Remove the existing MySQL preferences from SqueezeCenter (if any).
+ sc_remove_db_prefs "${PREFS}"
+ [ -f "${CACHED_PREFS}" ] && sc_remove_db_prefs ${CACHED_PREFS}
+
+ # Insert the external MySQL configuration into the preferences.
+ sc_update_prefs "${PREFS}" "${DBUSER}" "${DBUSER_PASSWD}"
+ [ -f "${CACHED_PREFS}" ] && sc_update_prefs "${CACHED_PREFS}" "${DBUSER}" "${DBUSER_PASSWD}"
+
+ # Phew - all done.
+ # Give some tips on what to do now.
+ einfo "Database configuration complete."
+ einfo ""
+ sc_starting_instr
+}