summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-04-11 19:36:00 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-04-11 21:23:45 +0200
commit40c44b0897ad44d8f279f92c1f8d7a063352fd5e (patch)
tree3b0cfe0e8f5a9a5373626d173d030683aafa2265 /app-admin/logsurfer+
parentapp-admin/logcheck: bump to version 1.2.23 (diff)
downloadgentoo-40c44b0897ad44d8f279f92c1f8d7a063352fd5e.tar.gz
gentoo-40c44b0897ad44d8f279f92c1f8d7a063352fd5e.tar.bz2
gentoo-40c44b0897ad44d8f279f92c1f8d7a063352fd5e.zip
app-admin/logsurfer+: migrate to GLEP 81
Also updated to EAPI=7. Closes: https://bugs.gentoo.org/781203 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-admin/logsurfer+')
-rw-r--r--app-admin/logsurfer+/logsurfer+-1.8-r4.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/app-admin/logsurfer+/logsurfer+-1.8-r4.ebuild b/app-admin/logsurfer+/logsurfer+-1.8-r4.ebuild
new file mode 100644
index 000000000000..2e8aeb9f6464
--- /dev/null
+++ b/app-admin/logsurfer+/logsurfer+-1.8-r4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${P/+/}"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Real Time Log Monitoring and Alerting"
+HOMEPAGE="https://www.crypt.gen.nz/logsurfer/"
+SRC_URI="mirror://sourceforge/logsurfer/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="freedist GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="bindist" #444330
+
+RDEPEND="
+ acct-group/logsurfer
+ acct-user/logsurfer
+"
+
+src_configure() {
+ local myeconfargs=(
+ --with-etcdir=/etc
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ dobin src/logsurfer
+ doman man/logsurfer.1 man/logsurfer.conf.4
+
+ newinitd "${FILESDIR}"/logsurfer-1.8.initd-r1 logsurfer
+ newconfd "${FILESDIR}"/logsurfer.confd logsurfer
+
+ einstalldocs
+}