Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397913 - app-text/calibre: Add init script for calibre-server
Summary: app-text/calibre: Add init script for calibre-server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-01-06 17:33 UTC by Erik Zeek
Modified: 2012-01-14 18:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for the ebuild to install the new files. (calibre-0.8.34.ebuild.patch,431 bytes, patch)
2012-01-06 17:34 UTC, Erik Zeek
Details | Diff
New init script. (calibre-server.init,1.78 KB, text/plain)
2012-01-06 17:35 UTC, Erik Zeek
Details
Conf.d file (calibre-server.conf,523 bytes, text/plain)
2012-01-06 17:35 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2012-01-06 17:33:32 UTC
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
Comment 1 Erik Zeek 2012-01-06 17:34:56 UTC
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() {
Comment 2 Erik Zeek 2012-01-06 17:35:21 UTC
Created attachment 298123 [details]
New init script.
Comment 3 Erik Zeek 2012-01-06 17:35:45 UTC
Created attachment 298125 [details]
Conf.d file
Comment 4 Zac Medico gentoo-dev 2012-01-14 18:27:37 UTC
Thanks, this is included with calibre-0.8.35.