summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-05-27 13:46:29 +0200
committerPacho Ramos <pacho@gentoo.org>2018-05-27 14:00:50 +0200
commitc8ae91cbf788bd7be35f66071395cc02c86d1547 (patch)
tree30c47d8129d32705c01398ee0f7f4217e1e00f7f /app-admin
parentapp-benchmarks/geekbench: arm stable wrt bug #654998 (diff)
downloadgentoo-c8ae91cbf788bd7be35f66071395cc02c86d1547.tar.gz
gentoo-c8ae91cbf788bd7be35f66071395cc02c86d1547.tar.bz2
gentoo-c8ae91cbf788bd7be35f66071395cc02c86d1547.zip
app-admin/logsentry: Drop old
Package-Manager: Portage-2.3.38, Repoman-2.3.9
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/logsentry/logsentry-1.1.1.ebuild67
1 files changed, 0 insertions, 67 deletions
diff --git a/app-admin/logsentry/logsentry-1.1.1.ebuild b/app-admin/logsentry/logsentry-1.1.1.ebuild
deleted file mode 100644
index ac050f8053e1..000000000000
--- a/app-admin/logsentry/logsentry-1.1.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ~mips ppc s390 sh 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 /etc/logcheck/tmp
- cp systems/linux/logcheck.sh{,.orig}
- sed -i \
- -e 's:/usr/local/bin:/usr/bin:' \
- -e 's:/usr/local/etc:/etc/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:\$(CC):& \$(LDFLAGS):" \
- Makefile || die "sed Makefile failed"
- make CC="$(tc-getCC)" CFLAGS="${CFLAGS}" linux || die
-
- dodoc README* CHANGES CREDITS
- dodoc systems/linux/README.*
-
- cat << EOF > "${S}"/logsentry.cron
-#!/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
-}