summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-07-16 17:54:06 +0000
committerPeter Volkov <pva@gentoo.org>2007-07-16 17:54:06 +0000
commitaab9f8efd6c83e25d9a5d0c573dd05bbb38c1f64 (patch)
tree552f4ee423405bd76084e0c81540f2d625a55f57 /net-analyzer
parentalpha stable (diff)
downloadgentoo-2-aab9f8efd6c83e25d9a5d0c573dd05bbb38c1f64.tar.gz
gentoo-2-aab9f8efd6c83e25d9a5d0c573dd05bbb38c1f64.tar.bz2
gentoo-2-aab9f8efd6c83e25d9a5d0c573dd05bbb38c1f64.zip
Version bump. Thank upstream dev Loren Bandiera for report.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/sussen/ChangeLog7
-rw-r--r--net-analyzer/sussen/files/digest-sussen-0.903
-rw-r--r--net-analyzer/sussen/metadata.xml2
-rw-r--r--net-analyzer/sussen/sussen-0.90.ebuild86
4 files changed, 96 insertions, 2 deletions
diff --git a/net-analyzer/sussen/ChangeLog b/net-analyzer/sussen/ChangeLog
index 3d71cfd7b30c..a765d48ff9ad 100644
--- a/net-analyzer/sussen/ChangeLog
+++ b/net-analyzer/sussen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/sussen
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/ChangeLog,v 1.51 2007/05/31 07:51:26 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/ChangeLog,v 1.52 2007/07/16 17:54:06 pva Exp $
+
+*sussen-0.90 (16 Jul 2007)
+
+ 16 Jul 2007; <pva@gentoo.org> metadata.xml, +sussen-0.90.ebuild:
+ Version bump. Thank upstream dev Loren Bandiera for report.
31 May 2007; <pva@gentoo.org>
-files/sussen-0.34-editor-no-definitions.patch,
diff --git a/net-analyzer/sussen/files/digest-sussen-0.90 b/net-analyzer/sussen/files/digest-sussen-0.90
new file mode 100644
index 000000000000..d671a6aaf47f
--- /dev/null
+++ b/net-analyzer/sussen/files/digest-sussen-0.90
@@ -0,0 +1,3 @@
+MD5 5df7c3720a486678a763c8f67d6074a1 sussen-0.90.tar.gz 1253529
+RMD160 13ea42ce11058831837ae858c7b45794efdf85b0 sussen-0.90.tar.gz 1253529
+SHA256 c360e6e924053a13186968645e087400fa691bb4e1ab52f2ec74939044de19ac sussen-0.90.tar.gz 1253529
diff --git a/net-analyzer/sussen/metadata.xml b/net-analyzer/sussen/metadata.xml
index b1c7ba674a08..c5a42a249a07 100644
--- a/net-analyzer/sussen/metadata.xml
+++ b/net-analyzer/sussen/metadata.xml
@@ -9,6 +9,6 @@
<longdescription lang="en">
Sussen is a tool that checks for vulnerabilities and configuration
issues on computer systems. It is based on the Open Vulnerability and
- Assessment Language.
+ Assessment Language (http://oval.mitre.org/).
</longdescription>
</pkgmetadata>
diff --git a/net-analyzer/sussen/sussen-0.90.ebuild b/net-analyzer/sussen/sussen-0.90.ebuild
new file mode 100644
index 000000000000..c4428575c814
--- /dev/null
+++ b/net-analyzer/sussen/sussen-0.90.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/sussen-0.90.ebuild,v 1.1 2007/07/16 17:54:06 pva Exp $
+
+#WANT_AUTOCONF="latest"
+#WANT_AUTOMAKE="1.8"
+#inherit eutils gnome2 mono autotools
+
+inherit gnome2 mono
+
+DESCRIPTION="Sussen is a tool that checks for vulnerabilities and configuration issues on computer systems"
+HOMEPAGE="http://dev.mmgsecurity.com/projects/sussen/"
+SRC_URI="http://dev.mmgsecurity.com/downloads/${PN}/${P}.tar.gz"
+LICENSE="GPL-3"
+IUSE="doc gnome"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="dev-lang/mono
+ gnome? ( >=dev-dotnet/gtk-sharp-2.4
+ >=dev-dotnet/gnome-sharp-2.4
+ >=dev-dotnet/gconf-sharp-2.4
+ >=dev-dotnet/glade-sharp-2.4
+ gnome-base/gnome-panel )"
+
+DEPEND="${RDEPEND}
+ doc? ( >=dev-util/monodoc-1.1.8 )
+ app-arch/rpm
+ >=dev-util/intltool-0.34.2"
+
+DOCS="AUTHORS ChangeLog README TODO NEWS"
+
+pkg_setup() {
+ use gnome || elog "gnome is absent in USE thus applet and editor will not be built"
+}
+
+# src_unpack, pkg_postinst, pkg_postrm are exported in gnome2.eclass. But since
+# we have gnome2 support depends on USE let's call gnome2.eclass internal
+# functions only when USE="gnome".
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ use gnome && gnome2_omf_fix
+}
+
+src_compile () {
+ # Put all asp pages in /usr/share/$PF dir instead of /usr/share/sussen
+ sed -i -e \
+ "s:wwwdir = \$(datadir)/doc/sussen/www/asp:wwwdir = \$(datadir)/doc/${PF}/www/asp:" \
+ www/asp/Makefile.in || die "sed failed."
+
+ # $(use_enable web yes)
+ econf ${myconf} \
+ --enable-web=no \
+ $(use_enable gnome) || die "./configure failed."
+
+ emake -j1 || die "Compilation failed"
+}
+
+src_install () {
+ make DESTDIR="${D}" install || die "Installation failed"
+
+ dodoc ${DOCS}
+
+ if use gnome ; then
+ ewarn "sussen-editor is removed from package. It'll became available"
+ ewarn "in the 1.1/1.2 branch."
+ echo
+ ewarn "Beginning with sussen-0.24 default location for oval definitions changed."
+ ewarn "If you had previous versions installed, please, run the following"
+ ewarn "commands to clean outdated locations for each user that run sussen:"
+ ewarn
+ ewarn "gconftool-2 --unset /apps/sussen-applet/oval_xml_directory"
+ ewarn "gconftool-2 --unset /apps/sussen-applet/oval_download_directory"
+ echo
+ fi
+}
+
+pkg_postinst() {
+ use gnome && gnome2_pkg_postinst
+}
+
+pkg_postrm() {
+ use gnome && gnome2_pkg_postrm
+}