Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Kevin McCarthy (signals)" <signals@g.o>
Subject: gentoo-x86 commit in app-admin/logsentry: ChangeLog logsentry-1.1.1-r1.ebuild
Date: Tue, 5 Apr 2011 16:47:19 +0000 (UTC)
signals     11/04/05 16:47:19

  Modified:             ChangeLog
  Added:                logsentry-1.1.1-r1.ebuild
  Log:
  Move temp dir from /etc to /var/tmp. #352486
  
  (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)

Revision  Changes    Path
1.27                 app-admin/logsentry/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logsentry/ChangeLog?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logsentry/ChangeLog?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logsentry/ChangeLog?r1=1.26&r2=1.27

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/logsentry/ChangeLog,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ChangeLog	13 Aug 2010 12:49:06 -0000	1.26
+++ ChangeLog	5 Apr 2011 16:47:19 -0000	1.27
@@ -1,6 +1,11 @@
 # ChangeLog for app-admin/logsentry
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logsentry/ChangeLog,v 1.26 2010/08/13 12:49:06 xarthisius Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logsentry/ChangeLog,v 1.27 2011/04/05 16:47:19 signals Exp $
+
+*logsentry-1.1.1-r1 (05 Apr 2011)
+
+  05 Apr 2011; Kevin McCarthy <signals@g.o> +logsentry-1.1.1-r1.ebuild:
+  Move temp dir from /etc to /var/tmp. #352486
 
   13 Aug 2010; Kacper Kowalik <xarthisius@g.o>
   logsentry-1.1.1.ebuild:



1.1                  app-admin/logsentry/logsentry-1.1.1-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logsentry/logsentry-1.1.1-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logsentry/logsentry-1.1.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: logsentry-1.1.1-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logsentry/logsentry-1.1.1-r1.ebuild,v 1.1 2011/04/05 16:47:19 signals Exp $

inherit toolchain-funcs

DESCRIPTION="automatically monitor system logs and mail security violations on a periodic basis"
# Seems that the project has been discontinued by CISCO?
HOMEPAGE="http://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 /var/tmp/logcheck /etc/logcheck
	cp systems/linux/logcheck.sh{,.orig}
	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"
	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
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in media-libs/mesa: ChangeLog mesa-7.10.1-r1.ebuild
Next by thread:
gentoo-x86 commit in net-analyzer/scapy: ChangeLog scapy-1.1.1-r1.ebuild scapy-2.0.1.ebuild scapy-2.1.0.ebuild scapy-2.2.0.ebuild
Previous by date:
gentoo-x86 commit in media-libs/mesa: ChangeLog mesa-7.10.1-r1.ebuild
Next by date:
gentoo-x86 commit in net-analyzer/scapy: ChangeLog scapy-1.1.1-r1.ebuild scapy-2.0.1.ebuild scapy-2.1.0.ebuild scapy-2.2.0.ebuild


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.