Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/logsentry/
Date: Sun, 27 May 2018 12:01:07
Message-Id: 1527422450.c8ae91cbf788bd7be35f66071395cc02c86d1547.pacho@gentoo
1 commit: c8ae91cbf788bd7be35f66071395cc02c86d1547
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 27 11:46:29 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun May 27 12:00:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8ae91cb
7
8 app-admin/logsentry: Drop old
9
10 Package-Manager: Portage-2.3.38, Repoman-2.3.9
11
12 app-admin/logsentry/logsentry-1.1.1.ebuild | 67 ------------------------------
13 1 file changed, 67 deletions(-)
14
15 diff --git a/app-admin/logsentry/logsentry-1.1.1.ebuild b/app-admin/logsentry/logsentry-1.1.1.ebuild
16 deleted file mode 100644
17 index ac050f8053e..00000000000
18 --- a/app-admin/logsentry/logsentry-1.1.1.ebuild
19 +++ /dev/null
20 @@ -1,67 +0,0 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=0
25 -
26 -inherit toolchain-funcs
27 -
28 -DESCRIPTION="Automatically monitor system logs and mail security violations"
29 -# Seems that the project has been discontinued by CISCO?
30 -HOMEPAGE="https://sourceforge.net/projects/sentrytools/"
31 -SRC_URI="mirror://gentoo/${P}.tar.gz"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="amd64 arm ~mips ppc s390 sh sparc x86"
36 -IUSE=""
37 -
38 -DEPEND=">=sys-apps/sed-4"
39 -RDEPEND="virtual/mailx"
40 -
41 -S="${WORKDIR}"/logcheck-${PV}
42 -
43 -src_compile() {
44 - einfo "compile and install mixed in the package makefile"
45 -}
46 -
47 -src_install() {
48 - dodir /usr/bin /etc/logcheck/tmp
49 - cp systems/linux/logcheck.sh{,.orig}
50 - sed -i \
51 - -e 's:/usr/local/bin:/usr/bin:' \
52 - -e 's:/usr/local/etc:/etc/logcheck:' \
53 - systems/linux/logcheck.sh || \
54 - die "sed logcheck.sh failed"
55 - sed -i \
56 - -e "s:/usr/local/bin:${D}/usr/bin:" \
57 - -e "s:/usr/local/etc:${D}/etc/logcheck:" \
58 - -e "s:\$(CC):& \$(LDFLAGS):" \
59 - Makefile || die "sed Makefile failed"
60 - make CC="$(tc-getCC)" CFLAGS="${CFLAGS}" linux || die
61 -
62 - dodoc README* CHANGES CREDITS
63 - dodoc systems/linux/README.*
64 -
65 - cat << EOF > "${S}"/logsentry.cron
66 -#!/bin/sh
67 -#
68 -# Uncomment the following if you want
69 -# logsentry (logcheck) to run hourly
70 -#
71 -# this is part of the logsentry package
72 -#
73 -#
74 -
75 -#/bin/sh /etc/logcheck/logcheck.sh
76 -EOF
77 -
78 - exeinto /etc/cron.hourly
79 - doexe logsentry.cron
80 -}
81 -
82 -pkg_postinst() {
83 - elog
84 - elog "Uncomment the logcheck line in /etc/cron.hourly/logsentry.cron,"
85 - elog "or add directly to root's crontab"
86 - elog
87 -}