summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich Oslage <bluebird@gentoo.org>2008-09-07 13:10:59 +0000
committerFriedrich Oslage <bluebird@gentoo.org>2008-09-07 13:10:59 +0000
commit585fbaaf9d3cf88e48ef14fde653baeebfeaa0e1 (patch)
tree0a09aaf694862a3ba3a4b908be80fedf082d2aae /app-forensics/lynis
parentx86 stable, bug #236665 (diff)
downloadgentoo-2-585fbaaf9d3cf88e48ef14fde653baeebfeaa0e1.tar.gz
gentoo-2-585fbaaf9d3cf88e48ef14fde653baeebfeaa0e1.tar.bz2
gentoo-2-585fbaaf9d3cf88e48ef14fde653baeebfeaa0e1.zip
Inital import, thanks to Christian Ruppert, bug #232353
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-forensics/lynis')
-rw-r--r--app-forensics/lynis/ChangeLog10
-rw-r--r--app-forensics/lynis/Manifest5
-rw-r--r--app-forensics/lynis/files/lynis.cron3
-rw-r--r--app-forensics/lynis/lynis-1.2.1.ebuild44
-rw-r--r--app-forensics/lynis/metadata.xml13
5 files changed, 75 insertions, 0 deletions
diff --git a/app-forensics/lynis/ChangeLog b/app-forensics/lynis/ChangeLog
new file mode 100644
index 000000000000..b68824a7a315
--- /dev/null
+++ b/app-forensics/lynis/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-forensics/lynis
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/ChangeLog,v 1.1 2008/09/07 13:10:59 bluebird Exp $
+
+*lynis-1.2.1 (07 Sep 2008)
+
+ 07 Sep 2008; Friedrich Oslage <bluebird@gentoo.org> +files/lynis.cron,
+ +metadata.xml, +lynis-1.2.1.ebuild:
+ Inital import, thanks to Christian Ruppert, bug #232353
+
diff --git a/app-forensics/lynis/Manifest b/app-forensics/lynis/Manifest
new file mode 100644
index 000000000000..69c7ef7a144b
--- /dev/null
+++ b/app-forensics/lynis/Manifest
@@ -0,0 +1,5 @@
+AUX lynis.cron 61 RMD160 49ffe5e3515a4fdd9bb1e128cec4e7ba6949a7c4 SHA1 8635506114f41e413c8f502d5eeb4218c09eff12 SHA256 3b276345bab05de1397b38e0ddcf65d243e0a84a4b398e22516ea8c225012279
+DIST lynis-1.2.1.tar.gz 72632 RMD160 e6bd6d98ce026e10e326ccfce718447034f9d4b4 SHA1 2df1b86bb13813389eb4f878d86d59e3953dcde6 SHA256 24e256770dbc5a50c2088eda6da9ba21c2136db6233e36af38c033cea4aa347f
+EBUILD lynis-1.2.1.ebuild 1128 RMD160 2fe5e0ec8639468a2a280fd4648d44a4c05d3968 SHA1 71b1131eed1c30706d18c92155f61b9d57cf3854 SHA256 d18713dd8d2d3507d471796eab4b8193ceb3a2e125502a217341d677e7cb3122
+MISC ChangeLog 318 RMD160 847551abdd5ca7b39942b2aea97afc4c725ff9c2 SHA1 07ecead63afa0d326a9d2d7abc56b889246aec8c SHA256 fae29e2b055ae1dcca77cf4d56a98ed729f62a03f66f9b8b09913a6a64569f33
+MISC metadata.xml 366 RMD160 bc453318435b3d64b872d168aabedf14825e17eb SHA1 1ee4f6f545bdc00f06a36d5d4dd1a4b20192d36d SHA256 38ff839cd558142ca16832c398c4baed173a9cc7775f66ae71a9b8d1783d2d2a
diff --git a/app-forensics/lynis/files/lynis.cron b/app-forensics/lynis/files/lynis.cron
new file mode 100644
index 000000000000..eab83797f2d7
--- /dev/null
+++ b/app-forensics/lynis/files/lynis.cron
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/bin/lynis -c --auditor "automated" --cronjob
diff --git a/app-forensics/lynis/lynis-1.2.1.ebuild b/app-forensics/lynis/lynis-1.2.1.ebuild
new file mode 100644
index 000000000000..9356fc386095
--- /dev/null
+++ b/app-forensics/lynis/lynis-1.2.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.2.1.ebuild,v 1.1 2008/09/07 13:10:59 bluebird Exp $
+
+DESCRIPTION="Security and system auditing tool"
+HOMEPAGE="http://www.rootkit.nl/projects/lynis.html"
+SRC_URI="http://www.rootkit.nl/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+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/lynis/include
+ doins include/* || die "failed to install lynis includes"
+
+ insinto /usr/share/lynis/plugins
+ doins plugins/* || die "failed to install lynis plugins"
+
+ dobin lynis || die "failed to install lynis script"
+
+ insinto /etc/lynis
+ 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"
+
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/lynis.cron lynis || die "failed to install cron script"
+}
+
+pkg_postinst() {
+ echo
+ elog "A cron script has been installed to ${ROOT}etc/cron.daily/lynis."
+ echo
+}
diff --git a/app-forensics/lynis/metadata.xml b/app-forensics/lynis/metadata.xml
new file mode 100644
index 000000000000..be7991d023f7
--- /dev/null
+++ b/app-forensics/lynis/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>forensics</herd>
+<maintainer>
+ <email>bluebird@gentoo.org</email>
+ <description>Proxy Maintainer</description>
+</maintainer>
+<maintainer>
+ <email>spooky85@gmail.com</email>
+ <name>Christian Ruppert</name>
+</maintainer>
+</pkgmetadata>