diff --git a/audio/fookebox/Makefile b/audio/fookebox/Makefile index 95de9eec8c8..494e369ce06 100755 --- a/audio/fookebox/Makefile +++ b/audio/fookebox/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.2 2012/10/11 07:48:59 jasper Exp $ +# $OpenBSD: Makefile,v 1.3 2012/10/15 13:53:56 jasper Exp $ COMMENT= jukebox frontend to mpd MODPY_EGG_VERSION= 0.6.1 DISTNAME= fookebox-${MODPY_EGG_VERSION} -REVISION= 0 +REVISION= 1 CATEGORIES= audio www HOMEPAGE= http://fookebox.googlecode.com/ diff --git a/audio/fookebox/files/config.ini b/audio/fookebox/files/config.ini index b399383e85c..44b669d7703 100644 --- a/audio/fookebox/files/config.ini +++ b/audio/fookebox/files/config.ini @@ -1,4 +1,4 @@ -# $OpenBSD: config.ini,v 1.2 2012/10/11 07:48:59 jasper Exp $ +# $OpenBSD: config.ini,v 1.3 2012/10/15 13:53:56 jasper Exp $ # # fookebox - Pylons configuration # @@ -21,8 +21,8 @@ use = egg:fookebox full_stack = true static_files = true -cache_dir = %(here)s/data -sqlalchemy.url = sqlite:///%(cache_dir)s/fookebox.sqlite +cache_dir = /var/db/fookebox/ +sqlalchemy.url = sqlite:////%(cache_dir)s/fookebox.sqlite beaker.session.key = fookebox beaker.session.secret = RBTH0M2E1RGSWx+gefeZgWERX diff --git a/audio/fookebox/pkg/PLIST b/audio/fookebox/pkg/PLIST index 7f61abd69b9..bf094e5be86 100644 --- a/audio/fookebox/pkg/PLIST +++ b/audio/fookebox/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/11 07:14:21 jasper Exp $ +@comment $OpenBSD: PLIST,v 1.2 2012/10/15 13:53:56 jasper Exp $ lib/python${MODPY_VERSION}/site-packages/fookebox/ lib/python${MODPY_VERSION}/site-packages/fookebox-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ lib/python${MODPY_VERSION}/site-packages/fookebox-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO @@ -142,3 +142,5 @@ share/examples/fookebox/config.ini @sample ${SYSCONFDIR}/fookebox/config.ini share/examples/fookebox/fookebox.fcgi share/examples/fookebox/fookebox.wsgi +@sample /var/db/fookebox/ + diff --git a/audio/fookebox/pkg/README b/audio/fookebox/pkg/README index a479354391f..2925859e169 100644 --- a/audio/fookebox/pkg/README +++ b/audio/fookebox/pkg/README @@ -1,4 +1,4 @@ -$OpenBSD: README,v 1.1.1.1 2012/10/11 07:14:21 jasper Exp $ +$OpenBSD: README,v 1.2 2012/10/15 13:53:56 jasper Exp $ +----------------------------------------------------------------------- | Running ${FULLPKGNAME} on OpenBSD @@ -16,9 +16,11 @@ please use the command below: paster make-config fookebox ${SYSCONFDIR}/fookebox/config.ini -Adjust the configuration if needed. For example you may to change the -sqlalchemy.url line to ensure an abolute path to the database by using -four slashes in the URI. Now setup the application: +Adjust the configuration if needed. Create the initial database with: + + touch /var/db/fookebox/fookebox.sqlite + +Now setup the application: paster setup-app ${SYSCONFDIR}/fookebox/config.ini