From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/freelan/, net-misc/freelan/files/openrc/
Date: Tue, 29 Mar 2016 17:15:13 +0000 (UTC) [thread overview]
Message-ID: <1459271675.cf9a40a3dfae2cc97c81af7f1ca8734d53e57af6.aballier@gentoo> (raw)
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
}
reply other threads:[~2016-03-29 17:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1459271675.cf9a40a3dfae2cc97c81af7f1ca8734d53e57af6.aballier@gentoo \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox