Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505034 - net-misc/serviio - Serviio DLNA Media Server
Summary: net-misc/serviio - Serviio DLNA Media Server
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-03-19 01:56 UTC by Mike Nerone
Modified: 2021-10-20 14:17 UTC (History)
1 user (show)

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


Attachments
net-misc/serviio-1.4.1.1.ebuild (serviio-1.4.1.1.ebuild,1.15 KB, text/plain)
2014-03-19 01:56 UTC, Mike Nerone
Details
files/initd (initd,628 bytes, text/plain)
2014-03-19 01:57 UTC, Mike Nerone
Details
files/confd (confd,146 bytes, text/plain)
2014-03-19 01:57 UTC, Mike Nerone
Details
files/systemd.service (systemd.service,148 bytes, text/plain)
2014-03-19 01:58 UTC, Mike Nerone
Details
files/systemd.service.conf (systemd.service.conf,135 bytes, text/plain)
2014-03-19 01:58 UTC, Mike Nerone
Details
net-misc/serviio-1.4.1.1.ebuild (serviio-1.4.1.1.ebuild,1.21 KB, text/plain)
2014-03-19 06:33 UTC, Mike Nerone
Details
files/systemd.service (systemd.service,165 bytes, text/plain)
2014-03-19 06:35 UTC, Mike Nerone
Details
net-misc/serviio-1.4.1.1.ebuild (serviio-1.4.1.1.ebuild,1.39 KB, text/plain)
2014-03-20 19:31 UTC, Mike Nerone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Nerone 2014-03-19 01:56:23 UTC
Created attachment 372984 [details]
net-misc/serviio-1.4.1.1.ebuild

Serviio [1] is a popular, featureful, and free DLNA media server (though paid "Pro" licenses are available for some additional features).

Please consider the attached ebuild for net-misc/serviio-1.4.1.1 for inclusion in Portage.

Attachments for FILESDIR contents will follow.

Note 1: LICENSE references "Serviio-EULA". The file for /usr/portage/licenses should be grabbed from the distfile as "LICENCE.txt". Please let me know if I'm supposed to attach this regardless of the fact that it's in the distfile.

Note 2: I use systemd, and haven't actually tested the included initd/confd for OpenRC. I got those from Serviio's wiki [2], and they look fine to me.

[1] http://serviio.org/
[2] http://wiki.serviio.org/doku.php?id=howto:linux:install:gentoo
Comment 1 Mike Nerone 2014-03-19 01:57:25 UTC
Created attachment 372986 [details]
files/initd
Comment 2 Mike Nerone 2014-03-19 01:57:43 UTC
Created attachment 372988 [details]
files/confd
Comment 3 Mike Nerone 2014-03-19 01:58:04 UTC
Created attachment 372990 [details]
files/systemd.service
Comment 4 Mike Nerone 2014-03-19 01:58:25 UTC
Created attachment 372992 [details]
files/systemd.service.conf
Comment 5 Mike Nerone 2014-03-19 06:33:06 UTC
Created attachment 372994 [details]
net-misc/serviio-1.4.1.1.ebuild

There was a small issue caused by the fact that each vendor launcher shell script would spawn the server/console Java process as a child rather than exec'ing. Besides being wasteful, in the case of the server it also left systemd unable to know which process was the real one. This would make a restart fail, for example, because the death of the shell parent would trigger systemd to try to execute again before the Java process had exited.

Fixed with a sed patch in this new ebuild.
Comment 6 Mike Nerone 2014-03-19 06:35:06 UTC
Created attachment 372996 [details]
files/systemd.service

With the fix in the previous comment, we can now more optimally let systemd know that to stop the service, only the main process need be killed.
Comment 7 Brian Evans (RETIRED) gentoo-dev 2014-03-20 13:14:56 UTC
According to http://serviio.org/download

"transcode? ( media-video/ffmpeg )"

looks like it should be:

"transcode? ( media-video/ffmpeg[encode,libass,mp3,rtmp,x264] )"

in order to pick up all of the libraries to be used by ffmpeg and allow encoding support
Comment 8 Mike Nerone 2014-03-20 19:31:49 UTC
Created attachment 373138 [details]
net-misc/serviio-1.4.1.1.ebuild

Re: comment #7 - Good call, thanks, Brian! I've made that change, along with adding "raw" to IUSE to pull in media-gfx/dcraw as mentioned on the same page.