summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-19 11:14:44 +0000
committerSam James <sam@gentoo.org>2021-11-19 11:32:54 +0000
commit545f964483537c220dccc76c193a8a4da68436e6 (patch)
tree0a056dc15ad349fef6726e1f6c89e71a8205d6a9
parentmedia-libs/urt: update EAPI 6 -> 7 (diff)
downloadgentoo-545f964483537c220dccc76c193a8a4da68436e6.tar.gz
gentoo-545f964483537c220dccc76c193a8a4da68436e6.tar.bz2
gentoo-545f964483537c220dccc76c193a8a4da68436e6.zip
app-admin/logsentry: use 'emake'
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-admin/logsentry/logsentry-1.1.1-r2.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/app-admin/logsentry/logsentry-1.1.1-r2.ebuild b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild
index 39ec1c755fc0..7d4b1f56c3b7 100644
--- a/app-admin/logsentry/logsentry-1.1.1-r2.ebuild
+++ b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,24 +9,23 @@ DESCRIPTION="Automatically monitor system logs and mail security violations"
# Seems that the project has been discontinued by CISCO?
HOMEPAGE="https://sourceforge.net/projects/sentrytools/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
+S="${WORKDIR}"/logcheck-${PV}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ~mips ppc ~s390 sparc x86"
-IUSE=""
-DEPEND=">=sys-apps/sed-4"
RDEPEND="virtual/mailx"
-S="${WORKDIR}"/logcheck-${PV}
-
src_compile() {
einfo "compile and install mixed in the package makefile"
}
src_install() {
dodir /usr/bin /var/tmp/logcheck /etc/logcheck
+
cp systems/linux/logcheck.sh{,.orig} || die
+
sed -i \
-e 's:/usr/local/bin:/usr/bin:' \
-e 's:/usr/local/etc:/etc/logcheck:' \
@@ -39,7 +38,8 @@ src_install() {
-e "s:/etc/logcheck/tmp:/var/tmp/logcheck:" \
-e "s:\$(CC):& \$(LDFLAGS):" \
Makefile || die "sed Makefile failed"
- make CC="$(tc-getCC)" CFLAGS="${CFLAGS}" linux || die
+
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" linux
dodoc README* CHANGES CREDITS
dodoc systems/linux/README.*