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
commit73a7449195677fecdcb363e81751da04d3bf4283 (patch)
tree4e07b72ab23c4c5c629f7d3bd665cbaf68717c0a /app-forensics/lynis
parentx86 stable, bug #236665 (diff)
downloadhistorical-73a7449195677fecdcb363e81751da04d3bf4283.tar.gz
historical-73a7449195677fecdcb363e81751da04d3bf4283.tar.bz2
historical-73a7449195677fecdcb363e81751da04d3bf4283.zip
Inital import, thanks to Christian Ruppert, bug #232353
Package-Manager: portage-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..abb400a7d313
--- /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 1230 RMD160 ede65fd6bd4d45484f66a255c3064bbd7bbc5013 SHA1 c52ce58637c54c6d15c8acede34d0735f0c97737 SHA256 aa755d0958f240f0a019f241ae9886640d57c0cacacc13c9281e0398410fbc4d
+MISC ChangeLog 411 RMD160 dad57d448b07b4b5c853215dccb26239a690dcbb SHA1 c90c01e50587dcbb28d0c14d025413bbde4e9323 SHA256 c86e8883aa480794a0a61e714225028ba702ff85bd6ef507f5663c54948212ea
+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>