commit: 69feaa7d106adcc44f0378d48a18042a831f89c4 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Oct 1 18:13:16 2023 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Oct 1 18:14:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69feaa7d
app-admin/logsentry: drop 1.1.1-r2 Bug: https://bugs.gentoo.org/914845 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-admin/logsentry/logsentry-1.1.1-r2.ebuild | 73 --------------------------- 1 file changed, 73 deletions(-) diff --git a/app-admin/logsentry/logsentry-1.1.1-r2.ebuild b/app-admin/logsentry/logsentry-1.1.1-r2.ebuild deleted file mode 100644 index 3613336e1ebd..000000000000 --- a/app-admin/logsentry/logsentry-1.1.1-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -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="selinux" - -RDEPEND=" - virtual/mailx - selinux? ( sec-policy/selinux-logsentry ) -" - -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:' \ - -e 's:/etc/logcheck/tmp:/var/tmp/logcheck:' \ - systems/linux/logcheck.sh || \ - die "sed logcheck.sh failed" - sed -i \ - -e "s:/usr/local/bin:${D}/usr/bin:" \ - -e "s:/usr/local/etc:${D}/etc/logcheck:" \ - -e "s:/etc/logcheck/tmp:/var/tmp/logcheck:" \ - -e "s:\$(CC):& \$(LDFLAGS):" \ - Makefile || die "sed Makefile failed" - - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" linux - - dodoc README* CHANGES CREDITS - dodoc systems/linux/README.* - - cat << EOF > "${S}"/logsentry.cron || die -#!/bin/sh -# -# Uncomment the following if you want -# logsentry (logcheck) to run hourly -# -# this is part of the logsentry package -# -# - -#/bin/sh /etc/logcheck/logcheck.sh -EOF - - exeinto /etc/cron.hourly - doexe logsentry.cron -} - -pkg_postinst() { - elog - elog "Uncomment the logcheck line in /etc/cron.hourly/logsentry.cron," - elog "or add directly to root's crontab" - elog -}
