# ChangeLog for net-analyzer/sussen
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/ChangeLog,v 1.40 2006/12/14 14:52:13 pva Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/ChangeLog,v 1.41 2007/01/31 07:34:53 pva Exp $
+
+*sussen-0.34 (31 Jan 2007)
+
+ 31 Jan 2007; <pva@gentoo.org>
+ +files/sussen-0.34-sussen-out-of-range.patch, +sussen-0.34.ebuild:
+ Version bump. Thank upstream dev Loren Bandiera for report and for
+ regression fix.
*sussen-0.33 (14 Dec 2006)
MD5 4f7fc0b19fb5dcb990abb7dca4308ff4 files/sussen-0.33-ignore-unsupported-test.patch 730
RMD160 1ee38dde66534900bce5280aebed9dd06dcc4687 files/sussen-0.33-ignore-unsupported-test.patch 730
SHA256 3ed26bc104ff9f921a684d2129169beb76330703ec9133a48c10ab05fd010b5a files/sussen-0.33-ignore-unsupported-test.patch 730
+AUX sussen-0.34-sussen-out-of-range.patch 2771 RMD160 fc71eaba469522c537b3626e306e79a9874e20b9 SHA1 10278b7f8be8d9b4c74d747a3d91afe6690e70a5 SHA256 b5bcbc6df7c2b11b96d20465ae48e12503bdf58f0e42b5cdba34e5779a632153
+MD5 47cd800c5732c182ea2865690b846201 files/sussen-0.34-sussen-out-of-range.patch 2771
+RMD160 fc71eaba469522c537b3626e306e79a9874e20b9 files/sussen-0.34-sussen-out-of-range.patch 2771
+SHA256 b5bcbc6df7c2b11b96d20465ae48e12503bdf58f0e42b5cdba34e5779a632153 files/sussen-0.34-sussen-out-of-range.patch 2771
DIST sussen-0.15.tar.gz 842924
DIST sussen-0.29.tar.gz 864138 RMD160 4c5a800d60e10dba7604e67dae925176e33c8d5b SHA1 771856c787b1c42dc44ecee62ae39d6d1247d5c5 SHA256 7fff13ed7d4883f4b8ad14950ea8bc7d631212b6a53210de18b785b767bff900
DIST sussen-0.30.tar.gz 926084 RMD160 33f48ba98f3eeed2d56f7e7db8b605372bd7655f SHA1 fb81ca9a07a70652cfef2ddfc844e7b3339147d9 SHA256 a0917672b50ee03e70bb1d4024b82ec501ad3771986739de4d3eee4b6c42d827
DIST sussen-0.31.tar.gz 913666 RMD160 49d59ca0f9fde3e4c41c5b87a0933fb715046289 SHA1 7f21d5efe679dae12b765dc288fb636d840f724e SHA256 43a3ae3b804020ffc4486c292cbd4faf0d56d1edd3ccda655048630129474ecf
DIST sussen-0.32.tar.gz 917745 RMD160 fc7d5553766bea7eadfb7e02760e66553b409e9f SHA1 430639619e00e6d869e3aaabdfd86e87be909d18 SHA256 1c58613c45fee3fa39123ab6ddc90d4c91b8833b68b2b3a20bf0403929c9f2fc
DIST sussen-0.33.tar.gz 928318 RMD160 0a56d8cb79322f001186949117f2d585b56dbad7 SHA1 e214a61c8bb2f558e616d448dda0911c581f7b55 SHA256 982c1b1ef0008698e6f8c635886e0102b97dac51f1dce2f49fdf1d7db36503f5
+DIST sussen-0.34.tar.gz 949671 RMD160 572527a2e57e68201cb5636cea75728753da42ad SHA1 f5361d18a9e6e4f831466b647db62b5ede5f851a SHA256 1294416c51337db2275ec5691d36b9e10da349a95474bed52b5141dbaa133c0c
EBUILD sussen-0.15.ebuild 864 RMD160 bc33b6109c620c9b21c3933906929de5f9494ebe SHA1 5a6b0bf319ebad1af1563549f8603f30734c786f SHA256 99a4a29cfcd280d35d021f07689f5b68fcc809c2748fde5099eb0690b4698faa
MD5 b3916c3846a4a0c4b967295f5d2dc610 sussen-0.15.ebuild 864
RMD160 bc33b6109c620c9b21c3933906929de5f9494ebe sussen-0.15.ebuild 864
MD5 fe82f18694ad3feab2d2a4441f8e017b sussen-0.33.ebuild 3196
RMD160 7a97a81da8ec4e12c07f901b80701c8592c0aae1 sussen-0.33.ebuild 3196
SHA256 a70fad6e21e866c334bee78abbf0ac4f5ce64ea2a7dc33aa87bbed2401980966 sussen-0.33.ebuild 3196
-MISC ChangeLog 7333 RMD160 e29c46571f5e16ffba45d1da38a0e63a4637be6a SHA1 2d325c9ddcf5afa98692b1f4a7b7d0e65f07ce8c SHA256 10cd0dca391f0fa0600d32cf4ae78f35293cd4a74eddfd0d06ef85b7081b39eb
-MD5 b9efa2bdf90a3524a3e4c3d52137f856 ChangeLog 7333
-RMD160 e29c46571f5e16ffba45d1da38a0e63a4637be6a ChangeLog 7333
-SHA256 10cd0dca391f0fa0600d32cf4ae78f35293cd4a74eddfd0d06ef85b7081b39eb ChangeLog 7333
+EBUILD sussen-0.34.ebuild 3131 RMD160 ecc1d3e176f812dc9ff05c112c14147472eb0558 SHA1 1f1bb193aa1f2465bb003bae88305e0f0e8f91b4 SHA256 fa29bebfe70ba8d5a934cfe1f02ebc2364291082916e2ee8bccaac49361a9e60
+MD5 e4181ff8c4a9d90983b32112d5950b7e sussen-0.34.ebuild 3131
+RMD160 ecc1d3e176f812dc9ff05c112c14147472eb0558 sussen-0.34.ebuild 3131
+SHA256 fa29bebfe70ba8d5a934cfe1f02ebc2364291082916e2ee8bccaac49361a9e60 sussen-0.34.ebuild 3131
+MISC ChangeLog 7550 RMD160 701ae5376eab70206b722400950d14c5993d4654 SHA1 23b9cc08344f712b98a9eb6f572f898d305bd3e6 SHA256 5418c14ea6d1f8af76bd1a86e30aa4068865fb7442cf10ac1d796b5436a8ddd2
+MD5 be681428a379efc213231abb18716ad1 ChangeLog 7550
+RMD160 701ae5376eab70206b722400950d14c5993d4654 ChangeLog 7550
+SHA256 5418c14ea6d1f8af76bd1a86e30aa4068865fb7442cf10ac1d796b5436a8ddd2 ChangeLog 7550
MISC metadata.xml 462 RMD160 fbf0b26ba989cd959caa65fd83ec787970d7ead1 SHA1 f33a7576cbf34ca6766fe6494b64cd8e6e700ed1 SHA256 eeeb5c9940670f95d1793acb9316745867417c4bfdd700eccd9eb30af410afa0
MD5 d675309dab60f16484739061020c060c metadata.xml 462
RMD160 fbf0b26ba989cd959caa65fd83ec787970d7ead1 metadata.xml 462
MD5 60f3e3b925c5c611cba1faf2abb38e48 files/digest-sussen-0.33 235
RMD160 ca58d22bca051170ed2bee93c0e7f685b0432258 files/digest-sussen-0.33 235
SHA256 0c77ae5f76b2e010fcaa45a0b6319ed4c700663fe5a1bc2bc485dfa114f571da files/digest-sussen-0.33 235
+MD5 5199f5106583b06c53389ed6597b4138 files/digest-sussen-0.34 235
+RMD160 9bfd22a8b836252243df9d9d25f31be0f83d115e files/digest-sussen-0.34 235
+SHA256 b5aafa3accd9c1d420bbd053571b6103e44e4126d2f1e5b05a6a2e93ae036f60 files/digest-sussen-0.34 235
--- /dev/null
+MD5 829f30b60dbdb86f80aa21c509e83bd3 sussen-0.34.tar.gz 949671
+RMD160 572527a2e57e68201cb5636cea75728753da42ad sussen-0.34.tar.gz 949671
+SHA256 1294416c51337db2275ec5691d36b9e10da349a95474bed52b5141dbaa133c0c sussen-0.34.tar.gz 949671
--- /dev/null
+diff -Naur sussen-0.34.orig/oval/Sussen.Oval/DataCollector.cs sussen-0.34/oval/Sussen.Oval/DataCollector.cs
+--- sussen-0.34.orig/oval/Sussen.Oval/DataCollector.cs 2007-01-24 01:55:23.000000000 +0300
++++ sussen-0.34/oval/Sussen.Oval/DataCollector.cs 2007-01-31 09:36:28.000000000 +0300
+@@ -111,8 +111,15 @@
+
+ } catch (TestException e) {
+ Log.Debug(e);
+- docs.SystemCharacteristics.WrongPlatform.Add(testElement.ID, testElement.ID);
+- docs.SystemCharacteristics.WriteCollectedObject(oe.ID, oe.Version, Flags.NotApplicable);
++ if (!docs.SystemCharacteristics.WrongPlatform.ContainsKey (testElement.ID)) { docs.SystemCharacteristics.WrongPlatform.Add(testElement.ID, testElement.ID);
++ docs.SystemCharacteristics.WriteCollectedObject(oe.ID, oe.Version, Flags.NotApplicable);
++ }
++ } catch (ArgumentOutOfRangeException ex) {
++ Log.Debug (ex);
++ if (!docs.SystemCharacteristics.WrongPlatform.ContainsKey (testElement.ID)) {
++ docs.SystemCharacteristics.WrongPlatform.Add(testElement.ID, testElement.ID);
++ docs.SystemCharacteristics.WriteCollectedObject(oe.ID, oe.Version, Flags.NotApplicable);
++ }
+ }
+
+ Log.Debug("si.Count in complement: {0}", si.Count);
+diff -Naur sussen-0.34.orig/oval/Sussen.Oval/Variable.cs sussen-0.34/oval/Sussen.Oval/Variable.cs
+--- sussen-0.34.orig/oval/Sussen.Oval/Variable.cs 2007-01-24 01:55:23.000000000 +0300
++++ sussen-0.34/oval/Sussen.Oval/Variable.cs 2007-01-31 09:38:33.000000000 +0300
+@@ -385,15 +385,20 @@
+ \r
+ if (oe.Entities.Count == 0) {\r
+ ObjectElement oe2 = Global.Objects[oe.Set.ObjectReferences[0]];\r
+- StateElement se2 = Global.States[oe.Set.Filters[0]];\r
+-\r
+- Test test = CreateTest(testName);\r
+- CollectedItem[] results = test.Run(null, oe2);\r
+-\r
+- CollectedItem ci = FilterSet(results, se2);\r
+- foreach (EntityObject ceo in ci.Items)\r
+- if (ceo.Name == itemField)\r
+- return ceo.Value;\r
++ StateElement se2 = Global.States[oe.Set.Filters[0]];
++
++ try {
++ Test test = CreateTest(testName);
++ CollectedItem[] results = test.Run(null, oe2);
++ CollectedItem ci = FilterSet(results, se2);
++ foreach (EntityObject ceo in ci.Items)
++ if (ceo.Name == itemField)
++ return ceo.Value;
++
++ } catch (Exception e) {
++ Log.Debug (e);
++ }
++
+ \r
+ return null;\r
+ }\r
--- /dev/null
+# 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.34.ebuild,v 1.1 2007/01/31 07:34:53 pva Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="1.8"
+inherit eutils gnome2 mono autotools
+
+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"
+# web interface now optional, but does not work.
+#IUSE="doc gnome web"
+IUSE="doc gnome"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+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() {
+ ewarn "dbus support has been removed from sussen until mono binding"
+ ewarn "issue will be resolved: http://www.j5live.com/?p=221"
+ ebeep 5
+
+ use gnome || { elog "You do not have gnome in your USE flags.";
+ elog "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}"
+
+ epatch "${FILESDIR}"/${P}-sussen-out-of-range.patch
+ 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"
+
+ # Workaround bug in mono.
+ mkdir "${D}"/usr/share/sussen/xml/schema
+ mv "${D}"/usr/share/sussen/xml/*.xsd "${D}"/usr/share/sussen/xml/schema
+
+ dodoc ${DOCS}
+
+ if use gnome ; then
+ elog "sussen-applet is a GNOME applet. You can not run it directly from"
+ elog "the command line. Use GNOME panel to invoke it."
+ elog "You can also run it with the --tray-icon command line option."
+ echo
+ 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
+}