public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/freelan/, net-misc/freelan/files/openrc/
@ 2016-03-29 17:15 Alexis Ballier
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier @ 2016-03-29 17:15 UTC (permalink / raw
  To: gentoo-commits

commit:     cf9a40a3dfae2cc97c81af7f1ca8734d53e57af6
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 29 17:14:23 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Mar 29 17:14:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf9a40a3

net-misc/freelan: add basic openrc init script

Package-Manager: portage-2.2.28
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 net-misc/freelan/files/openrc/freelan.initd | 13 +++++++++++++
 net-misc/freelan/freelan-2.0.ebuild         |  2 ++
 2 files changed, 15 insertions(+)

diff --git a/net-misc/freelan/files/openrc/freelan.initd b/net-misc/freelan/files/openrc/freelan.initd
new file mode 100755
index 0000000..d286405
--- /dev/null
+++ b/net-misc/freelan/files/openrc/freelan.initd
@@ -0,0 +1,13 @@
+#!/sbin/runscript
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+command="/usr/bin/freelan"
+command_args="-s -p /var/run/freelan.pid"
+pidfile="/var/run/freelan.pid"
+
+depend() {
+	need net
+	use logger
+}

diff --git a/net-misc/freelan/freelan-2.0.ebuild b/net-misc/freelan/freelan-2.0.ebuild
index c8d8d49..e6284f2 100644
--- a/net-misc/freelan/freelan-2.0.ebuild
+++ b/net-misc/freelan/freelan-2.0.ebuild
@@ -55,4 +55,6 @@ src_compile() {
 src_install() {
 	DESTDIR="${D}" escons --mode=release prefix="${EPREFIX:-/}" bin_prefix="/usr" install
 	dodoc CONTRIBUTING.md README.md
+
+	newinitd "${FILESDIR}/openrc/freelan.initd" freelan
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-29 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-29 17:15 [gentoo-commits] repo/gentoo:master commit in: net-misc/freelan/, net-misc/freelan/files/openrc/ Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox