summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2006-12-14 14:52:14 +0000
committerPeter Volkov <pva@gentoo.org>2006-12-14 14:52:14 +0000
commit6df257a53e68feebfb503440c32b7c1294d0ccf6 (patch)
tree016f930b01bac77eba0d779f1d316743e40a7c76 /net-analyzer
parentVersion bump. This version includes the NEO code. (diff)
downloadhistorical-6df257a53e68feebfb503440c32b7c1294d0ccf6.tar.gz
historical-6df257a53e68feebfb503440c32b7c1294d0ccf6.tar.bz2
historical-6df257a53e68feebfb503440c32b7c1294d0ccf6.zip
Version bump. Thank upstream dev Loren Bandiera for report.
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/sussen/ChangeLog9
-rw-r--r--net-analyzer/sussen/Manifest24
-rw-r--r--net-analyzer/sussen/files/digest-sussen-0.333
-rw-r--r--net-analyzer/sussen/files/sussen-0.33-configopts-mono-1.1.13-fix.patch23
-rw-r--r--net-analyzer/sussen/files/sussen-0.33-ignore-unsupported-test.patch12
-rw-r--r--net-analyzer/sussen/sussen-0.33.ebuild102
6 files changed, 168 insertions, 5 deletions
diff --git a/net-analyzer/sussen/ChangeLog b/net-analyzer/sussen/ChangeLog
index d1e81c356565..2492b079fc03 100644
--- a/net-analyzer/sussen/ChangeLog
+++ b/net-analyzer/sussen/ChangeLog
@@ -1,6 +1,13 @@
# 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.39 2006/12/03 15:20:38 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/ChangeLog,v 1.40 2006/12/14 14:52:13 pva Exp $
+
+*sussen-0.33 (14 Dec 2006)
+
+ 14 Dec 2006; Peter Volkov <pva@gentoo.org>
+ +files/sussen-0.33-configopts-mono-1.1.13-fix.patch,
+ +files/sussen-0.33-ignore-unsupported-test.patch, +sussen-0.33.ebuild:
+ Version bump. Thank upstream dev Loren Bandiera for report.
03 Dec 2006; Peter Volkov <pva@gentoo.org> sussen-0.29.ebuild,
sussen-0.30.ebuild:
diff --git a/net-analyzer/sussen/Manifest b/net-analyzer/sussen/Manifest
index dbcd12e5daea..3fc4e0ff7659 100644
--- a/net-analyzer/sussen/Manifest
+++ b/net-analyzer/sussen/Manifest
@@ -2,11 +2,20 @@ AUX sussen-0.31--as-needed.patch 506 RMD160 dd31dd770301a45e247ccb3155e1f5806587
MD5 93e612aab0f0d7209550cb7392d0a0b3 files/sussen-0.31--as-needed.patch 506
RMD160 dd31dd770301a45e247ccb3155e1f58065876501 files/sussen-0.31--as-needed.patch 506
SHA256 68fac19ae5fd92ec23e07e5131fc6f6c3f85509206585740f37b90226129f129 files/sussen-0.31--as-needed.patch 506
+AUX sussen-0.33-configopts-mono-1.1.13-fix.patch 1113 RMD160 40f50d852645214e132e67fc3ecc4b3d8db7da38 SHA1 209d1e82c5de43b7c1250a9cf2fbf7116f511eb9 SHA256 4accc0b756886d7738c656eeb7fabb1479af6ffa7997f62ef9aa81782ede10b4
+MD5 f06aa58170871276badd2ff425338480 files/sussen-0.33-configopts-mono-1.1.13-fix.patch 1113
+RMD160 40f50d852645214e132e67fc3ecc4b3d8db7da38 files/sussen-0.33-configopts-mono-1.1.13-fix.patch 1113
+SHA256 4accc0b756886d7738c656eeb7fabb1479af6ffa7997f62ef9aa81782ede10b4 files/sussen-0.33-configopts-mono-1.1.13-fix.patch 1113
+AUX sussen-0.33-ignore-unsupported-test.patch 730 RMD160 1ee38dde66534900bce5280aebed9dd06dcc4687 SHA1 5dec598a90ce803dc203c17ee44d0176f1a3e142 SHA256 3ed26bc104ff9f921a684d2129169beb76330703ec9133a48c10ab05fd010b5a
+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
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
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
@@ -27,10 +36,14 @@ EBUILD sussen-0.32.ebuild 2937 RMD160 c50ed62f4eba31eba5eb5b0c550c255e6b260228 S
MD5 6f5e307e773492c51657725383b09eb3 sussen-0.32.ebuild 2937
RMD160 c50ed62f4eba31eba5eb5b0c550c255e6b260228 sussen-0.32.ebuild 2937
SHA256 5fdaf59396a8f09cd7b680cb2bb3c4aaef2bfe4a7415b7ff235a3bf7d6e479be sussen-0.32.ebuild 2937
-MISC ChangeLog 7069 RMD160 7768e505e69a13da0e9682be6799bd53fdda36ba SHA1 8730693eee0f9b03427ff2e15813e175cb365b25 SHA256 0d673db2f144612699d98149fcee3ed709114e9da85cb26e0fbb45398b124097
-MD5 cd9e3eda3c358e5b7ca4508434be4ad7 ChangeLog 7069
-RMD160 7768e505e69a13da0e9682be6799bd53fdda36ba ChangeLog 7069
-SHA256 0d673db2f144612699d98149fcee3ed709114e9da85cb26e0fbb45398b124097 ChangeLog 7069
+EBUILD sussen-0.33.ebuild 3196 RMD160 7a97a81da8ec4e12c07f901b80701c8592c0aae1 SHA1 0c09cbc042cc58a8f69cb41ea76149cacd67f18a SHA256 a70fad6e21e866c334bee78abbf0ac4f5ce64ea2a7dc33aa87bbed2401980966
+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
MISC metadata.xml 462 RMD160 fbf0b26ba989cd959caa65fd83ec787970d7ead1 SHA1 f33a7576cbf34ca6766fe6494b64cd8e6e700ed1 SHA256 eeeb5c9940670f95d1793acb9316745867417c4bfdd700eccd9eb30af410afa0
MD5 d675309dab60f16484739061020c060c metadata.xml 462
RMD160 fbf0b26ba989cd959caa65fd83ec787970d7ead1 metadata.xml 462
@@ -50,3 +63,6 @@ SHA256 3cc22282b1987d9c267a82e43fb1aac52d5f4f0e05a836fa208376c66f97fe9d files/di
MD5 cd64e5ebe3256e58b2ae7138caa0fb15 files/digest-sussen-0.32 235
RMD160 190c453c246996d89655914ffbd9ae2f76ec87db files/digest-sussen-0.32 235
SHA256 c7ab5b46eea5fb6b41f0a5b717e1ca4e04cb25d43205403e1f8f36b7a263aa79 files/digest-sussen-0.32 235
+MD5 60f3e3b925c5c611cba1faf2abb38e48 files/digest-sussen-0.33 235
+RMD160 ca58d22bca051170ed2bee93c0e7f685b0432258 files/digest-sussen-0.33 235
+SHA256 0c77ae5f76b2e010fcaa45a0b6319ed4c700663fe5a1bc2bc485dfa114f571da files/digest-sussen-0.33 235
diff --git a/net-analyzer/sussen/files/digest-sussen-0.33 b/net-analyzer/sussen/files/digest-sussen-0.33
new file mode 100644
index 000000000000..310719fc688e
--- /dev/null
+++ b/net-analyzer/sussen/files/digest-sussen-0.33
@@ -0,0 +1,3 @@
+MD5 d13bc12c2e78f5507ca8c670a9443afb sussen-0.33.tar.gz 928318
+RMD160 0a56d8cb79322f001186949117f2d585b56dbad7 sussen-0.33.tar.gz 928318
+SHA256 982c1b1ef0008698e6f8c635886e0102b97dac51f1dce2f49fdf1d7db36503f5 sussen-0.33.tar.gz 928318
diff --git a/net-analyzer/sussen/files/sussen-0.33-configopts-mono-1.1.13-fix.patch b/net-analyzer/sussen/files/sussen-0.33-configopts-mono-1.1.13-fix.patch
new file mode 100644
index 000000000000..8d772fb3b295
--- /dev/null
+++ b/net-analyzer/sussen/files/sussen-0.33-configopts-mono-1.1.13-fix.patch
@@ -0,0 +1,23 @@
+diff -Naur sussen-0.33.orig/agent/Main.cs sussen-0.33/agent/Main.cs
+--- sussen-0.33.orig/agent/Main.cs 2006-11-10 18:05:58.000000000 +0300
++++ sussen-0.33/agent/Main.cs 2006-12-14 14:47:43.000000000 +0300
+@@ -302,9 +302,16 @@
+ Config config = new Config ("windows");
+ #endif
+
+-
+- config.XmlDirectory = ConfigurationManager.AppSettings.Get("sussenXmlDirectory");
+- config.DownloadDirectory = ConfigurationManager.AppSettings.Get("sussenDownloadDirectory");
++ try {
++ config.XmlDirectory = ConfigurationManager.AppSettings.Get("sussenXmlDirectory");
++ config.DownloadDirectory = ConfigurationManager.AppSettings.Get("sussenDownloadDirectory");
++ } catch {
++#if MONO_BUILD
++ // Mono 1.1.13.x doesn't like the above two lines. Use old method if it fails.
++ config.XmlDirectory = ConfigurationSettings.AppSettings.Get ("sussenXmlDirectory");
++ config.DownloadDirectory = ConfigurationSettings.AppSettings.Get ("sussenDownloadDirectory");
++#endif
++ }
+
+ Repository.Initialize (config.XmlDirectory);
+ config.DefinitionsFile = Repository.GetResource (definitionFile);
diff --git a/net-analyzer/sussen/files/sussen-0.33-ignore-unsupported-test.patch b/net-analyzer/sussen/files/sussen-0.33-ignore-unsupported-test.patch
new file mode 100644
index 000000000000..b4a800534270
--- /dev/null
+++ b/net-analyzer/sussen/files/sussen-0.33-ignore-unsupported-test.patch
@@ -0,0 +1,12 @@
+diff -Naur sussen-0.33.orig/oval/Sussen.Oval/DataCollector.cs sussen-0.33/oval/Sussen.Oval/DataCollector.cs
+--- sussen-0.33.orig/oval/Sussen.Oval/DataCollector.cs 2006-12-03 01:00:37.000000000 +0300
++++ sussen-0.33/oval/Sussen.Oval/DataCollector.cs 2006-12-11 19:04:44.000000000 +0300
+@@ -106,6 +106,8 @@
+ Log.Debug(e);
+ docs.SystemCharacteristics.WrongPlatform.Add(testElement.ID, testElement.ID);
+ docs.SystemCharacteristics.WriteCollectedObject(oe.ID, oe.Version, Flags.NotApplicable);
++ } catch (Exception ie) {
++ // do nothing for now
+ }
+ }
+
diff --git a/net-analyzer/sussen/sussen-0.33.ebuild b/net-analyzer/sussen/sussen-0.33.ebuild
new file mode 100644
index 000000000000..17afc0299507
--- /dev/null
+++ b/net-analyzer/sussen/sussen-0.33.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/sussen-0.33.ebuild,v 1.1 2006/12/14 14:52:13 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}-ignore-unsupported-test.patch
+ epatch "${FILESDIR}"/${P}-configopts-mono-1.1.13-fix.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
+}