summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-02-23 11:01:57 +0000
committerPeter Volkov <pva@gentoo.org>2007-02-23 11:01:57 +0000
commit140a8e87dfaf2ae0d32b943a7a0b9bed4b8272ca (patch)
tree8b82aba5ef3f68b5a098ade9e8d9557c694f51c1 /net-analyzer
parentadd swig flag for dev-ruby/rubysqlite3 (diff)
downloadgentoo-2-140a8e87dfaf2ae0d32b943a7a0b9bed4b8272ca.tar.gz
gentoo-2-140a8e87dfaf2ae0d32b943a7a0b9bed4b8272ca.tar.bz2
gentoo-2-140a8e87dfaf2ae0d32b943a7a0b9bed4b8272ca.zip
Version bump. Thank upstream dev Loren Bandiera <lorenb AT mmgsecurity.com> for report.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/sussen/ChangeLog8
-rw-r--r--net-analyzer/sussen/files/digest-sussen-0.353
-rw-r--r--net-analyzer/sussen/sussen-0.35.ebuild87
3 files changed, 97 insertions, 1 deletions
diff --git a/net-analyzer/sussen/ChangeLog b/net-analyzer/sussen/ChangeLog
index cc6aa1b33d04..c47f2dc61c35 100644
--- a/net-analyzer/sussen/ChangeLog
+++ b/net-analyzer/sussen/ChangeLog
@@ -1,6 +1,12 @@
# 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.47 2007/02/12 19:44:02 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/ChangeLog,v 1.48 2007/02/23 11:01:57 pva Exp $
+
+*sussen-0.35 (23 Feb 2007)
+
+ 23 Feb 2007; <pva@gentoo.org> +sussen-0.35.ebuild:
+ Version bump. Thank upstream dev Loren Bandiera <lorenb AT mmgsecurity.com>
+ for report.
*sussen-0.34-r1 (12 Feb 2007)
diff --git a/net-analyzer/sussen/files/digest-sussen-0.35 b/net-analyzer/sussen/files/digest-sussen-0.35
new file mode 100644
index 000000000000..d2af51ec5518
--- /dev/null
+++ b/net-analyzer/sussen/files/digest-sussen-0.35
@@ -0,0 +1,3 @@
+MD5 65ec9c80612ab98a25e6085fba2afcfe sussen-0.35.tar.gz 1161686
+RMD160 91f3e1e632a18df2df215345a3a1f13c42bcb982 sussen-0.35.tar.gz 1161686
+SHA256 50c9e0da4a2463570b453800a6cc8e18092c3d83eb9998f96d7eb1c3c696d736 sussen-0.35.tar.gz 1161686
diff --git a/net-analyzer/sussen/sussen-0.35.ebuild b/net-analyzer/sussen/sussen-0.35.ebuild
new file mode 100644
index 000000000000..7b8e2de4ce6a
--- /dev/null
+++ b/net-analyzer/sussen/sussen-0.35.ebuild
@@ -0,0 +1,87 @@
+# 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.35.ebuild,v 1.1 2007/02/23 11:01:57 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-2"
+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"
+
+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 still work in progress... But 'new', 'save' and"
+ ewarn "'save as' operations are now implemented. Also it is possible to"
+ ewarn "execute definitions."
+ 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
+}