Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936265 - app-misc/openhab-bin request to add openrc support and init script
Summary: app-misc/openhab-bin request to add openrc support and init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 20:01 UTC by Xavier Miller
Modified: 2024-07-25 07:21 UTC (History)
2 users (show)

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


Attachments
proposed patch for app-misc/openhab-bin-4.2.0.ebuild (openhab-bin-4.2.0.ebuild.-openrc-patch,737 bytes, patch)
2024-07-18 20:05 UTC, Xavier Miller
Details | Diff
files/openrc -- openrc init.d script (openhab,437 bytes, text/plain)
2024-07-18 20:06 UTC, Xavier Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller 2024-07-18 20:01:06 UTC
please add support for openrc in openhab-bin ebuild

I wrote some init script and patched the current ebuild

Reproducible: Always
Comment 1 Xavier Miller 2024-07-18 20:05:15 UTC
Created attachment 897945 [details, diff]
proposed patch for app-misc/openhab-bin-4.2.0.ebuild

patch for current ebuild
Comment 2 Xavier Miller 2024-07-18 20:06:02 UTC
Created attachment 897947 [details]
files/openrc -- openrc init.d script

to add in files subdir of ebuild
Comment 3 Larry the Git Cow gentoo-dev 2024-07-25 07:21:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e765c8b50800a67f21a7b5e65a13a6a6971b5b8b

commit e765c8b50800a67f21a7b5e65a13a6a6971b5b8b
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-07-24 11:59:40 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-07-25 07:20:39 +0000

    app-misc/openhab-bin: add support for OpenRC
    
    Thanks to Xavier Miller for the initial patches.
    
    Closes: https://bugs.gentoo.org/936265
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 app-misc/openhab-bin/files/openhab.initd               | 18 ++++++++++++++++++
 ...ab-bin-4.2.0.ebuild => openhab-bin-4.2.0-r1.ebuild} | 11 +++++++++++
 2 files changed, 29 insertions(+)