summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2009-03-10 16:00:13 +0000
committerChristian Ruppert <idl0r@gentoo.org>2009-03-10 16:00:13 +0000
commit4e9ad27dd0a5657ce67eb51243f0071bb3903898 (patch)
treebe8932e7e9accb8a5edbc2725fb4d401c691b41e /app-forensics
parentSparc stable, security Bug #257012. (diff)
downloadgentoo-2-4e9ad27dd0a5657ce67eb51243f0071bb3903898.tar.gz
gentoo-2-4e9ad27dd0a5657ce67eb51243f0071bb3903898.tar.bz2
gentoo-2-4e9ad27dd0a5657ce67eb51243f0071bb3903898.zip
Revision bump to 1.2.3-r1, removed old. metadata.xml updated. Lynis requires to be root so moved to /usr/sbin, fixed cron file. Some improvements.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/lynis/ChangeLog9
-rw-r--r--app-forensics/lynis/files/lynis.cron-new3
-rw-r--r--app-forensics/lynis/lynis-1.2.3-r1.ebuild (renamed from app-forensics/lynis/lynis-1.2.3.ebuild)22
-rw-r--r--app-forensics/lynis/metadata.xml6
4 files changed, 20 insertions, 20 deletions
diff --git a/app-forensics/lynis/ChangeLog b/app-forensics/lynis/ChangeLog
index b86d5b8c92da..91ac23eb4360 100644
--- a/app-forensics/lynis/ChangeLog
+++ b/app-forensics/lynis/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-forensics/lynis
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/ChangeLog,v 1.5 2009/03/07 11:11:54 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/ChangeLog,v 1.6 2009/03/10 16:00:13 idl0r Exp $
+
+*lynis-1.2.3-r1 (10 Mar 2009)
+
+ 10 Mar 2009; Christian Ruppert <idl0r@gentoo.org> +files/lynis.cron-new,
+ metadata.xml, -lynis-1.2.3.ebuild, +lynis-1.2.3-r1.ebuild:
+ Revision bump to 1.2.3-r1, removed old. metadata.xml updated. Lynis requires
+ to be root so moved to /usr/sbin, fixed cron file. Some improvements.
*lynis-1.2.3 (07 Mar 2009)
diff --git a/app-forensics/lynis/files/lynis.cron-new b/app-forensics/lynis/files/lynis.cron-new
new file mode 100644
index 000000000000..440b7fa68d95
--- /dev/null
+++ b/app-forensics/lynis/files/lynis.cron-new
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/sbin/lynis -c --auditor "automated" --cronjob
diff --git a/app-forensics/lynis/lynis-1.2.3.ebuild b/app-forensics/lynis/lynis-1.2.3-r1.ebuild
index bd1f326a58ac..9ee3255d3f4b 100644
--- a/app-forensics/lynis/lynis-1.2.3.ebuild
+++ b/app-forensics/lynis/lynis-1.2.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.2.3.ebuild,v 1.1 2009/03/07 11:11:54 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.2.3-r1.ebuild,v 1.1 2009/03/10 16:00:13 idl0r Exp $
DESCRIPTION="Security and system auditing tool"
HOMEPAGE="http://www.rootkit.nl/projects/lynis.html"
@@ -15,26 +15,20 @@ DEPEND=""
RDEPEND="app-shells/bash"
src_install() {
- insinto /usr/share/lynis/db
- doins db/*.db || die "failed to install lynis db files"
+ insinto /usr/share/${PN}
+ doins -r db/ include/ plugins/ || die "failed to install lynis base files"
- insinto /usr/share/lynis/include
- doins include/* || die "failed to install lynis includes"
+ dosbin lynis || die "dosbin failed"
- insinto /usr/share/lynis/plugins
- doins plugins/* || die "failed to install lynis plugins"
-
- dobin lynis || die "failed to install lynis script"
-
- insinto /etc/lynis
+ insinto /etc/${PN}
doins default.prf || die "failed to install default.prf"
- keepdir /etc/lynis
doman lynis.8 || die "doman failed"
- dodoc CHANGELOG README INSTALL FAQ TODO || die "dodoc failed"
+ dodoc CHANGELOG FAQ README TODO || die "dodoc failed"
+ # Remove the old one during the next stabilize progress
exeinto /etc/cron.daily
- newexe "${FILESDIR}"/lynis.cron lynis || die "failed to install cron script"
+ newexe "${FILESDIR}"/lynis.cron-new lynis || die "failed to install cron script"
}
pkg_postinst() {
diff --git a/app-forensics/lynis/metadata.xml b/app-forensics/lynis/metadata.xml
index be7991d023f7..e6aa47785764 100644
--- a/app-forensics/lynis/metadata.xml
+++ b/app-forensics/lynis/metadata.xml
@@ -3,11 +3,7 @@
<pkgmetadata>
<herd>forensics</herd>
<maintainer>
- <email>bluebird@gentoo.org</email>
- <description>Proxy Maintainer</description>
-</maintainer>
-<maintainer>
- <email>spooky85@gmail.com</email>
+ <email>idl0r@gentoo.org</email>
<name>Christian Ruppert</name>
</maintainer>
</pkgmetadata>