public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/logsurfer+/, app-admin/logsurfer+/files/
Date: Mon, 25 Apr 2016 23:10:00 +0000 (UTC)	[thread overview]
Message-ID: <1461625787.e1202ee81331617f5ca654c42deb56bfc9362bc6.wizardedit@gentoo> (raw)

commit:     e1202ee81331617f5ca654c42deb56bfc9362bc6
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 25 23:03:35 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 23:09:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1202ee8

app-admin/logsurfer+: use #!/sbin/openrc-run instead of #!/sbin/runscript

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846

 app-admin/logsurfer+/files/logsurfer-1.8.initd |  4 +--
 app-admin/logsurfer+/logsurfer+-1.8-r2.ebuild  | 41 ++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/app-admin/logsurfer+/files/logsurfer-1.8.initd b/app-admin/logsurfer+/files/logsurfer-1.8.initd
index b75c26e..328c233 100644
--- a/app-admin/logsurfer+/files/logsurfer-1.8.initd
+++ b/app-admin/logsurfer+/files/logsurfer-1.8.initd
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/app-admin/logsurfer+/logsurfer+-1.8-r2.ebuild b/app-admin/logsurfer+/logsurfer+-1.8-r2.ebuild
new file mode 100644
index 0000000..eb5a99a
--- /dev/null
+++ b/app-admin/logsurfer+/logsurfer+-1.8-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+inherit toolchain-funcs user
+
+MY_P="logsurfer-${PV}"
+DESCRIPTION="Real Time Log Monitoring and Alerting"
+HOMEPAGE="http://www.crypt.gen.nz/logsurfer/"
+SRC_URI="http://kerryt.orcon.net.nz/${MY_P}.tar.gz
+	http://www.crypt.gen.nz/logsurfer/${MY_P}.tar.gz"
+
+LICENSE="freedist GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+RESTRICT="bindist" #444330
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+	econf --with-etcdir=/etc
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_install() {
+	dobin src/logsurfer
+	doman man/logsurfer.1 man/logsurfer.conf.4
+
+	newinitd "${FILESDIR}"/logsurfer-1.8.initd logsurfer
+	newconfd "${FILESDIR}"/logsurfer.confd logsurfer
+	dodoc ChangeLog README TODO
+}
+
+pkg_postinst() {
+	enewuser logsurfer -1 -1 -1 daemon
+}


             reply	other threads:[~2016-04-25 23:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25 23:10 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-14  0:36 [gentoo-commits] repo/gentoo:master commit in: app-admin/logsurfer+/, app-admin/logsurfer+/files/ Sam James

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=1461625787.e1202ee81331617f5ca654c42deb56bfc9362bc6.wizardedit@gentoo \
    --to=wizardedit@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