Developers Blog

Blog > Rivendell 2, beta Debian/Ubuntu packages

on Oct 18, 2011

Rivendell 2 has been released in May. Few months have been necessary to refactor the debian packages.

Here is a first “beta” release. The packages need to be tested on various platforms before a real release. Your feedback is welcome (and necessary) on Rivendell mailing-lists (fr).

More packages

A rivendell-server package provides only required tools on your Rivendell NAS. It includes the new rdxport.cgi and the require Apache setup.

A rivendell-doc package provides the text documentation. You can install it only when needed.

Default configuration

The previous configuration generated by debconf is now disabled. It has been replaced by a simple default configuration. Our goal is to provide a simple way to install a test machine (with simple alsa setup), without many debconf questions.

Advanced users have their preferred way to setup their Rivendell infrastructure, they don’t need package complex scripts.

The rivendell package creates a default /etc/rd.conf and /etc/asound.conf. Rivendell init.d script is installed but is now disabled by default. For the moment, the AudioOwner value is left empty if the package fails to detect the user (debconf will be used to confirm this default value).

The rivendell-server package creates its default own /etc/rd.conf when it’s used alone (in fact rivendell package replaces this default rivendell-server rd.conf if needed). Apache server is installed and setup to make available Rivendell cgi scripts.

Obviously existing rd.conf or asound.conf files are not modified.

Test the package

For the moment, beta packages are available for : Debian stable, testing, unstable and Ubuntu natty, for both i386 and amd64.

Prequisites

Add our debian/ubuntu repository into /etc/apt/sources.list.d/tryphon.list (required to install libhpi) and update :

sudo apt-get update

Install MySql server :

sudo apt-get install mysql-server

Note the mysql root password choosed during setup.

Download and install

Download beta packages for your distribution and your architecture on http://download.tryphon.eu/rivendell/. For example for your Ubuntu Natty i386 :

wget —base=http://download.tryphon.eu/rivendell/natty/ \
libhpi_4.08.07-1_i386.deb \
librivendell_2.0.2-1_i386.deb \
rivendell_2.0.2-1_i386.deb \
rivendell-server_2.0.2-1_i386.deb

Manually install these packages. Missing dependencies will be resolved by apt-get in a second step :

sudo dpkg -i *.deb
sudo apt-get install -f

If apt-get fails to find the required dependencies, there is a problem to report ;)

Setup

Check AudioOwner in /etc/rd.conf. It should be correct if you’ve used sudo, otherwise it will be empty.

[Identity]
; Specify who uses rivendell interfaces (like rdairplay)
; This user must be into the rivendell unix group
AudioOwner=user

Add your user in rivendell group :

sudo adduser $USER rivendell

Log out and log in to load this group change and the realtime security limits setup by the rivendell package.

Start rdadmin to create the database. Enter mysql login (root) and the password (choosed during mysql-server installation). The database is now created, you can leave rdadmin.

Start rdairplay, select the test cart and enjoy ;)

New source repositories

We’re using now git-buildpackage. The repositories are available on Tryphon Projects portal :

Source packages will be available in Tryphon Debian repository when packages will be released “officially”.

Known limitations