Calibre ships with a server to allow access to a library over the web. I've put together an init script and conf file for possible inclusion. I've based this off of the deluge one. Erik
Created attachment 298121 [details, diff] Patch for the ebuild to install the new files. diff -u /gentoo/portage/app-text/calibre/calibre-0.8.34.ebuild calibre-0.8.34-r1.ebuild --- /gentoo/portage/app-text/calibre/calibre-0.8.34.ebuild 2012-01-06 02:42:16.000000000 -0700 +++ calibre-0.8.34-r1.ebuild 2012-01-06 08:53:35.547713459 -0700 @@ -159,6 +159,9 @@ find "${ED}"usr/etc -type d -empty -delete python_convert_shebangs -r $(python_get_version) "${ED}" + + newinitd "${FILESDIR}"/calibre-server.init calibre-server + newconfd "${FILESDIR}"/calibre-server.conf calibre-server } pkg_postinst() {
Created attachment 298123 [details] New init script.
Created attachment 298125 [details] Conf.d file
Thanks, this is included with calibre-0.8.35.