diff options
author | Peter Volkov <pva@gentoo.org> | 2006-08-25 06:13:38 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2006-08-25 06:13:38 +0000 |
commit | 7ea403a3d5cfa7f1f86ee58cb3c8c0c577cf5a57 (patch) | |
tree | a465782fd5fe1b4a51a201fa982e3eefeab295b2 /net-analyzer | |
parent | Initial port. Ebuild contributed by AJ Armstrong <aja@clanarmstrong.com>. (diff) | |
download | historical-7ea403a3d5cfa7f1f86ee58cb3c8c0c577cf5a57.tar.gz historical-7ea403a3d5cfa7f1f86ee58cb3c8c0c577cf5a57.tar.bz2 historical-7ea403a3d5cfa7f1f86ee58cb3c8c0c577cf5a57.zip |
Version bump. Thank upstream dev Loren Bandiera for report. Also fixed crash during scanning on x86 for all affected versions.
Package-Manager: portage-2.1-r1
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/sussen/ChangeLog | 13 | ||||
-rw-r--r-- | net-analyzer/sussen/Manifest | 41 | ||||
-rw-r--r-- | net-analyzer/sussen/files/digest-sussen-0.25-r1 | 3 | ||||
-rw-r--r-- | net-analyzer/sussen/files/digest-sussen-0.26-r1 | 3 | ||||
-rw-r--r-- | net-analyzer/sussen/files/digest-sussen-0.27-r1 | 3 | ||||
-rw-r--r-- | net-analyzer/sussen/files/digest-sussen-0.28 | 3 | ||||
-rw-r--r-- | net-analyzer/sussen/files/sussen-0.25-0.28-interface-failsafe.diff | 134 | ||||
-rw-r--r-- | net-analyzer/sussen/sussen-0.25-r1.ebuild | 70 | ||||
-rw-r--r-- | net-analyzer/sussen/sussen-0.26-r1.ebuild | 76 | ||||
-rw-r--r-- | net-analyzer/sussen/sussen-0.27-r1.ebuild | 73 | ||||
-rw-r--r-- | net-analyzer/sussen/sussen-0.28.ebuild | 73 |
11 files changed, 487 insertions, 5 deletions
diff --git a/net-analyzer/sussen/ChangeLog b/net-analyzer/sussen/ChangeLog index f5cabc51a96b..b057fc31eeea 100644 --- a/net-analyzer/sussen/ChangeLog +++ b/net-analyzer/sussen/ChangeLog @@ -1,6 +1,17 @@ # 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.27 2006/08/21 14:43:10 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sussen/ChangeLog,v 1.28 2006/08/25 06:13:38 pva Exp $ + +*sussen-0.28 (25 Aug 2006) +*sussen-0.27-r1 (25 Aug 2006) +*sussen-0.26-r1 (25 Aug 2006) +*sussen-0.25-r1 (25 Aug 2006) + + 25 Aug 2006; Peter Volkov <pva@gentoo.org> + +files/sussen-0.25-0.28-interface-failsafe.diff, +sussen-0.25-r1.ebuild, + +sussen-0.26-r1.ebuild, +sussen-0.27-r1.ebuild, +sussen-0.28.ebuild: + Version bump. Thank upstream dev Loren Bandiera for report. Also fixed crash + during scanning on x86 for all affected versions. *sussen-0.27 (21 Aug 2006) diff --git a/net-analyzer/sussen/Manifest b/net-analyzer/sussen/Manifest index 8d081b0343ff..26902af09f63 100644 --- a/net-analyzer/sussen/Manifest +++ b/net-analyzer/sussen/Manifest @@ -18,6 +18,10 @@ AUX sussen-0.24-xml-to-datadir.patch 2857 RMD160 f30ed713c83580346770534bab008a0 MD5 b6c50dc4a4609445fc3bd872a07e0b2f files/sussen-0.24-xml-to-datadir.patch 2857 RMD160 f30ed713c83580346770534bab008a057cc56510 files/sussen-0.24-xml-to-datadir.patch 2857 SHA256 fe3c29e15b38dc65c3fadb440ea61adde896819f90b74ab5077e955daa78d870 files/sussen-0.24-xml-to-datadir.patch 2857 +AUX sussen-0.25-0.28-interface-failsafe.diff 3527 RMD160 33fd5d6e4063068d57c379a1768515aa1ea48d7e SHA1 ba6ebfce7aa6028b280eb7ce0b8e484e45b3eb22 SHA256 9632aa6fe5e2f943cb30ed08b0773cabaf73026546c215b24300fe6d95849af9 +MD5 5edd34b064d3b463b168b129bb4bff15 files/sussen-0.25-0.28-interface-failsafe.diff 3527 +RMD160 33fd5d6e4063068d57c379a1768515aa1ea48d7e files/sussen-0.25-0.28-interface-failsafe.diff 3527 +SHA256 9632aa6fe5e2f943cb30ed08b0773cabaf73026546c215b24300fe6d95849af9 files/sussen-0.25-0.28-interface-failsafe.diff 3527 AUX sussen-0.26-agent-empty-definitions.patch 1018 RMD160 0a33692fd653a58a7bca6143cec51074c9e919ba SHA1 3935d40b758e70618b2f46521c1c61f73aef72d3 SHA256 b011fee57950ed8420674544df5c3de9153be7e19ee85cb9c918e74046716790 MD5 622224e627700d27a924a8bb029a0952 files/sussen-0.26-agent-empty-definitions.patch 1018 RMD160 0a33692fd653a58a7bca6143cec51074c9e919ba files/sussen-0.26-agent-empty-definitions.patch 1018 @@ -33,6 +37,7 @@ DIST sussen-0.24.tar.gz 741606 RMD160 48ba6816127f44fab13ec834e9beb62590d4d5c8 S DIST sussen-0.25.tar.gz 813116 RMD160 5b9d9cf880edf200f877e7b1753a2cb8ca2166f0 SHA1 f7130caa6a5ec406f7aeb6724a9c07daf7fab14c SHA256 01a442979975d41ec648fd92ee2f6aa73678d73f29bb0eb35c2129e7dbf27b8f DIST sussen-0.26.tar.gz 876168 RMD160 f7fbdf3166b9136b4d6b5497afa63771e486b79a SHA1 e5da4600646cfa49ae62cf7d77e8f4ed0bcb0d44 SHA256 f0796145f30820f07f0b2fddad6c1eabea22813b1111cef5728321dc46a19314 DIST sussen-0.27.tar.gz 897909 RMD160 c830166e9d2a2c24d1e4555936df9061a2e8bd6b SHA1 6a33b9becebb95a15d89caefb12fab6022bb004e SHA256 893b0c6dca58a13ffdbee96259ae7407c8877e39665d1594a4d5be9f86b36daa +DIST sussen-0.28.tar.gz 917184 RMD160 340bb98d9ff471860d9de097f654780113506778 SHA1 18ac7d320a5281598b3535f37f87723dc8f82074 SHA256 0c843ceeab35b3f31f60d9878e072a20ba9321a1624b2c1c038dca552f2ddc50 DIST sussen-0.5.3.tar.gz 688824 EBUILD sussen-0.10.ebuild 745 RMD160 2b3c202ca74221a5e824642aeb6b31fe34434f22 SHA1 1ea38c9373670136afe2038df050c713f36661a6 SHA256 3ed97b8424e6e81f8e9e69ec690c1a01cb2851f4ab17a54214ec0dbadcb9787a MD5 284a33f91290e58dc976067ff9438ae5 sussen-0.10.ebuild 745 @@ -66,26 +71,42 @@ EBUILD sussen-0.24.ebuild 2216 RMD160 5197c1ab23df7635ed775916ecba53be8471b345 S MD5 92e9f61718340259168d92691df27213 sussen-0.24.ebuild 2216 RMD160 5197c1ab23df7635ed775916ecba53be8471b345 sussen-0.24.ebuild 2216 SHA256 92f8e346c6ba4d9c8cf89baf6a000eb37d27e8ff5682bc9579b590c4df0a5272 sussen-0.24.ebuild 2216 +EBUILD sussen-0.25-r1.ebuild 2161 RMD160 2955e301a1767ae86e13b532254af32415d30901 SHA1 1054803d6398cdc2cf04db193e483f32ea664b8a SHA256 0769d880690bde01776f62e4d14b7d79a0b2a4616697366251a1360318b99832 +MD5 445a122da8f669c2fb89ed54519e11b2 sussen-0.25-r1.ebuild 2161 +RMD160 2955e301a1767ae86e13b532254af32415d30901 sussen-0.25-r1.ebuild 2161 +SHA256 0769d880690bde01776f62e4d14b7d79a0b2a4616697366251a1360318b99832 sussen-0.25-r1.ebuild 2161 EBUILD sussen-0.25.ebuild 2056 RMD160 e33afb10d06091bf657f86a619b915b8f494fbbd SHA1 ef6bf11404ef31569158679b53e629bad41dad77 SHA256 bf7b74ced049ffc832d86a870bc3fb83d6762979712e7a3ca75f9aba7fd0b155 MD5 6311f2daddd069cbbf4bfc6dc962137f sussen-0.25.ebuild 2056 RMD160 e33afb10d06091bf657f86a619b915b8f494fbbd sussen-0.25.ebuild 2056 SHA256 bf7b74ced049ffc832d86a870bc3fb83d6762979712e7a3ca75f9aba7fd0b155 sussen-0.25.ebuild 2056 +EBUILD sussen-0.26-r1.ebuild 2407 RMD160 47098540b2cd5238ed117ee9795a5b990f0284cf SHA1 a59a5adb9f71b9e9bff64e3082ab59d969dc7585 SHA256 fed3d95b8e3981816eb1420552a33b2491b3021a83ec075851bf0f1ff8c2dd0e +MD5 4205253b8dfc51216d9c61fac9f217b4 sussen-0.26-r1.ebuild 2407 +RMD160 47098540b2cd5238ed117ee9795a5b990f0284cf sussen-0.26-r1.ebuild 2407 +SHA256 fed3d95b8e3981816eb1420552a33b2491b3021a83ec075851bf0f1ff8c2dd0e sussen-0.26-r1.ebuild 2407 EBUILD sussen-0.26.ebuild 2343 RMD160 814dbdbf5452454673d03e02e50a024fe7d0ee9f SHA1 3c3805c3457ce509af0a4786cbe5bd6f9cf30d12 SHA256 0abe0b1e43af395ab0db982d6dacd7659e5ef54af4f9ac989362b6e466ea6a7c MD5 ed56a2049fd852d6e7976d7273f28fd3 sussen-0.26.ebuild 2343 RMD160 814dbdbf5452454673d03e02e50a024fe7d0ee9f sussen-0.26.ebuild 2343 SHA256 0abe0b1e43af395ab0db982d6dacd7659e5ef54af4f9ac989362b6e466ea6a7c sussen-0.26.ebuild 2343 +EBUILD sussen-0.27-r1.ebuild 2332 RMD160 84e9a1840385e7a2e454fdb7ce3e0c436036565a SHA1 02697476a8b24dd2fd5214f5fbc563bd0a56a57e SHA256 f3baaaa22d044d11206c604d976bd586a66ea9d101c5718432f9525e06982783 +MD5 6be8e8500ec4e5a252b88e4d3dd0e7fb sussen-0.27-r1.ebuild 2332 +RMD160 84e9a1840385e7a2e454fdb7ce3e0c436036565a sussen-0.27-r1.ebuild 2332 +SHA256 f3baaaa22d044d11206c604d976bd586a66ea9d101c5718432f9525e06982783 sussen-0.27-r1.ebuild 2332 EBUILD sussen-0.27.ebuild 2227 RMD160 70c8af07809eebed95f4c5684017a368a36e990b SHA1 94f2dfe71869bbc98119b12ee8a2e2f64c0310d7 SHA256 8782a28d2575e351b33027eaceb01c3146eaa4a4b7f36dac54e2e25a986fd662 MD5 bfafce000f87d159bd34f4e95ecc7c2b sussen-0.27.ebuild 2227 RMD160 70c8af07809eebed95f4c5684017a368a36e990b sussen-0.27.ebuild 2227 SHA256 8782a28d2575e351b33027eaceb01c3146eaa4a4b7f36dac54e2e25a986fd662 sussen-0.27.ebuild 2227 +EBUILD sussen-0.28.ebuild 2329 RMD160 7c3cb40219280375d53cc2999d0e51649a2897ba SHA1 927f19d655c50e56ab7bee9304aeb67f99d8c498 SHA256 2366cf798be2418ec9679f8cbce84fe8afea3f2b974ae05d134ed71ded12d7e3 +MD5 5b128eb47580160e71c8e919bac52e44 sussen-0.28.ebuild 2329 +RMD160 7c3cb40219280375d53cc2999d0e51649a2897ba sussen-0.28.ebuild 2329 +SHA256 2366cf798be2418ec9679f8cbce84fe8afea3f2b974ae05d134ed71ded12d7e3 sussen-0.28.ebuild 2329 EBUILD sussen-0.5.3.ebuild 1118 RMD160 eac4928240109d075f4d9f5db5487db56b6cc874 SHA1 27b0d4b0555b65dccd300844534e1100af6a1d7e SHA256 c03ae2a9a8ba2e3fd76b710e410a776bb6589ccdb036a0d4bfe8961b9716ff42 MD5 606a391d68a2efbd6f306c20cd73fdbe sussen-0.5.3.ebuild 1118 RMD160 eac4928240109d075f4d9f5db5487db56b6cc874 sussen-0.5.3.ebuild 1118 SHA256 c03ae2a9a8ba2e3fd76b710e410a776bb6589ccdb036a0d4bfe8961b9716ff42 sussen-0.5.3.ebuild 1118 -MISC ChangeLog 4089 RMD160 93d82517a3f8161b28b09e86ecbbd9f184b00613 SHA1 bf28b7371c040e9813f3cd29eb7837c08bbc1c2d SHA256 f091cf59b039f148b6409665fb5a991077dfbc9904719c0e2c50b443daee5cc3 -MD5 f364ea77e2c25b92d924c2dead84f700 ChangeLog 4089 -RMD160 93d82517a3f8161b28b09e86ecbbd9f184b00613 ChangeLog 4089 -SHA256 f091cf59b039f148b6409665fb5a991077dfbc9904719c0e2c50b443daee5cc3 ChangeLog 4089 +MISC ChangeLog 4530 RMD160 144073ede3ba924547acf1352427857d362db77b SHA1 c5450d0bebd1d26aea66f7d3ef158d63345f53e4 SHA256 5c375076b897f16ad12a0680782d094d6ed2d0a1d96938c0a9c6f66f711b3aee +MD5 37804666de14381ed1c2a8f9fb2b1a68 ChangeLog 4530 +RMD160 144073ede3ba924547acf1352427857d362db77b ChangeLog 4530 +SHA256 5c375076b897f16ad12a0680782d094d6ed2d0a1d96938c0a9c6f66f711b3aee ChangeLog 4530 MISC metadata.xml 160 RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 SHA1 29b8b234e0f3a475b50bd4df1ef8b4e5749823ce SHA256 39e232fc7ec88ca0b077cb3950cb39d15cd990842b88d5bfe14f02f34d72f37b MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160 RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 metadata.xml 160 @@ -117,12 +138,24 @@ SHA256 da60c55aab365061dcc392e5f5b477540da3cde47707f46fed40d220f13ddae3 files/di MD5 7c7ccc2d9eefb9d4b7f9687fb739c7de files/digest-sussen-0.25 235 RMD160 9494c04193a81355461756a98182360fd651f4fd files/digest-sussen-0.25 235 SHA256 5efd7ee5a7170bb95c7f3535ad49dc1796ce39bcdbef019e55bfa634f82c435c files/digest-sussen-0.25 235 +MD5 7c7ccc2d9eefb9d4b7f9687fb739c7de files/digest-sussen-0.25-r1 235 +RMD160 9494c04193a81355461756a98182360fd651f4fd files/digest-sussen-0.25-r1 235 +SHA256 5efd7ee5a7170bb95c7f3535ad49dc1796ce39bcdbef019e55bfa634f82c435c files/digest-sussen-0.25-r1 235 MD5 1bc411bd7d009206e0544e94483aa7aa files/digest-sussen-0.26 235 RMD160 bd9ac839f288480c3fbd47f8b7e6887cd7f5364d files/digest-sussen-0.26 235 SHA256 8eb3bca069ec5094eae66174227004ab5efc9c80339a658b6b840ead22192b49 files/digest-sussen-0.26 235 +MD5 1bc411bd7d009206e0544e94483aa7aa files/digest-sussen-0.26-r1 235 +RMD160 bd9ac839f288480c3fbd47f8b7e6887cd7f5364d files/digest-sussen-0.26-r1 235 +SHA256 8eb3bca069ec5094eae66174227004ab5efc9c80339a658b6b840ead22192b49 files/digest-sussen-0.26-r1 235 MD5 5737f0c52c73e628178eb5ecf5b7d1c4 files/digest-sussen-0.27 235 RMD160 2d930bc61d765a680991082140b500c97cfa4782 files/digest-sussen-0.27 235 SHA256 b0d4e3c60f8f41898fd4762209f63796b322d67349477499886e1d17dd69514f files/digest-sussen-0.27 235 +MD5 5737f0c52c73e628178eb5ecf5b7d1c4 files/digest-sussen-0.27-r1 235 +RMD160 2d930bc61d765a680991082140b500c97cfa4782 files/digest-sussen-0.27-r1 235 +SHA256 b0d4e3c60f8f41898fd4762209f63796b322d67349477499886e1d17dd69514f files/digest-sussen-0.27-r1 235 +MD5 3d83c3348c74ad033dd06f87e2c937aa files/digest-sussen-0.28 235 +RMD160 95f5f3a148e66efb3ad61efa2ce7b3660a80f0a0 files/digest-sussen-0.28 235 +SHA256 85bfd26b0b134bfafa2ed52ae766e98fb239c267670d07eccbc45acdcbb267db files/digest-sussen-0.28 235 MD5 5dd20ca6159958efc7303bd449ea592e files/digest-sussen-0.5.3 64 RMD160 f3d12f4e8e6417ad0c4aadd45f43f3e80d23c02a files/digest-sussen-0.5.3 64 SHA256 84f4804c14308f19a02e1898a99f465ca83003662657cccfb6c4d543f943a3ab files/digest-sussen-0.5.3 64 diff --git a/net-analyzer/sussen/files/digest-sussen-0.25-r1 b/net-analyzer/sussen/files/digest-sussen-0.25-r1 new file mode 100644 index 000000000000..c70b5ed1c42d --- /dev/null +++ b/net-analyzer/sussen/files/digest-sussen-0.25-r1 @@ -0,0 +1,3 @@ +MD5 b8222a7296834084351bd3712d1bd014 sussen-0.25.tar.gz 813116 +RMD160 5b9d9cf880edf200f877e7b1753a2cb8ca2166f0 sussen-0.25.tar.gz 813116 +SHA256 01a442979975d41ec648fd92ee2f6aa73678d73f29bb0eb35c2129e7dbf27b8f sussen-0.25.tar.gz 813116 diff --git a/net-analyzer/sussen/files/digest-sussen-0.26-r1 b/net-analyzer/sussen/files/digest-sussen-0.26-r1 new file mode 100644 index 000000000000..b0c138bdde39 --- /dev/null +++ b/net-analyzer/sussen/files/digest-sussen-0.26-r1 @@ -0,0 +1,3 @@ +MD5 437afe876766c2fd124b6bfb00b2f746 sussen-0.26.tar.gz 876168 +RMD160 f7fbdf3166b9136b4d6b5497afa63771e486b79a sussen-0.26.tar.gz 876168 +SHA256 f0796145f30820f07f0b2fddad6c1eabea22813b1111cef5728321dc46a19314 sussen-0.26.tar.gz 876168 diff --git a/net-analyzer/sussen/files/digest-sussen-0.27-r1 b/net-analyzer/sussen/files/digest-sussen-0.27-r1 new file mode 100644 index 000000000000..064f341bf505 --- /dev/null +++ b/net-analyzer/sussen/files/digest-sussen-0.27-r1 @@ -0,0 +1,3 @@ +MD5 045971c9a22988702930903ce99b0272 sussen-0.27.tar.gz 897909 +RMD160 c830166e9d2a2c24d1e4555936df9061a2e8bd6b sussen-0.27.tar.gz 897909 +SHA256 893b0c6dca58a13ffdbee96259ae7407c8877e39665d1594a4d5be9f86b36daa sussen-0.27.tar.gz 897909 diff --git a/net-analyzer/sussen/files/digest-sussen-0.28 b/net-analyzer/sussen/files/digest-sussen-0.28 new file mode 100644 index 000000000000..7491e69447a7 --- /dev/null +++ b/net-analyzer/sussen/files/digest-sussen-0.28 @@ -0,0 +1,3 @@ +MD5 9563670c1676b7df250c55a88fd7a3d8 sussen-0.28.tar.gz 917184 +RMD160 340bb98d9ff471860d9de097f654780113506778 sussen-0.28.tar.gz 917184 +SHA256 0c843ceeab35b3f31f60d9878e072a20ba9321a1624b2c1c038dca552f2ddc50 sussen-0.28.tar.gz 917184 diff --git a/net-analyzer/sussen/files/sussen-0.25-0.28-interface-failsafe.diff b/net-analyzer/sussen/files/sussen-0.25-0.28-interface-failsafe.diff new file mode 100644 index 000000000000..c81ae981b6bd --- /dev/null +++ b/net-analyzer/sussen/files/sussen-0.25-0.28-interface-failsafe.diff @@ -0,0 +1,134 @@ +diff -Naur sussen-0.28.orig/oval/support/unix/interface.c sussen-0.28/oval/support/unix/interface.c +--- sussen-0.28.orig/oval/support/unix/interface.c 2006-06-26 07:27:29.000000000 +0400 ++++ sussen-0.28/oval/support/unix/interface.c 2006-08-25 09:28:21.000000000 +0400 +@@ -33,24 +33,51 @@ + char bc_addr[18]; + char netmask[18]; + short flags; ++ ++ if (ifname == NULL || strlen(ifname) <= 1) { ++ *phw_addr = strdup (hw_addr); ++ *pinet_addr = strdup (inet_addr); ++ *pbc_addr = strdup (bc_addr); ++ *pnetmask = strdup (netmask); ++ *pflags = flags; + +- if (strlen(ifname) <= 1) + return (-1); ++ } + + sfd = socket(AF_INET, SOCK_DGRAM, 0); +- if (sfd < 0) ++ if (sfd < 0) { ++ *phw_addr = strdup (hw_addr); ++ *pinet_addr = strdup (inet_addr); ++ *pbc_addr = strdup (bc_addr); ++ *pnetmask = strdup (netmask); ++ *pflags = flags; ++ + return (-1); ++ } + + strncpy (ifr.ifr_name, ifname, IFNAMSIZ); +- if (ioctl(sfd, SIOCGIFFLAGS, &ifr) < 0) ++ if (ioctl(sfd, SIOCGIFFLAGS, &ifr) < 0) { ++ *phw_addr = strdup (hw_addr); ++ *pinet_addr = strdup (inet_addr); ++ *pbc_addr = strdup (bc_addr); ++ *pnetmask = strdup (netmask); ++ *pflags = flags; ++ + return (-1); +- else ++ } else { + flags = ifr.ifr_flags; ++ } + + strncpy(ifr.ifr_name, ifname, IFNAMSIZ); +- if (ioctl(sfd, SIOCGIFHWADDR, &ifr) < 0) ++ if (ioctl(sfd, SIOCGIFHWADDR, &ifr) < 0) { ++ *phw_addr = strdup (hw_addr); ++ *pinet_addr = strdup (inet_addr); ++ *pbc_addr = strdup (bc_addr); ++ *pnetmask = strdup (netmask); ++ *pflags = flags; ++ + return (-1); +- else ++ } else { + snprintf (hw_addr, 18, "%02x:%02x:%02x:%02x:%02x:%02x", + (int) ((unsigned char *) ifr.ifr_hwaddr.sa_data)[0], + (int) ((unsigned char *) ifr.ifr_hwaddr.sa_data)[1], +@@ -58,6 +85,7 @@ + (int) ((unsigned char *) ifr.ifr_hwaddr.sa_data)[3], + (int) ((unsigned char *) ifr.ifr_hwaddr.sa_data)[4], + (int) ((unsigned char *) ifr.ifr_hwaddr.sa_data)[5]); ++ } + + strcpy(ifr.ifr_name, ifname); + ifr.ifr_addr.sa_family = AF_INET; +@@ -66,19 +94,40 @@ + ntoa(((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr.s_addr)); + + strncpy(ifr.ifr_name, ifname, IFNAMSIZ); +- if (ioctl(sfd, SIOCGIFBRDADDR, &ifr) < 0) ++ if (ioctl(sfd, SIOCGIFBRDADDR, &ifr) < 0) { ++ *phw_addr = strdup (hw_addr); ++ *pinet_addr = strdup (inet_addr); ++ *pbc_addr = strdup (bc_addr); ++ *pnetmask = strdup (netmask); ++ *pflags = flags; ++ + return (-1); +- else ++ } else { + sprintf (bc_addr, "%s", + ntoa(((struct sockaddr_in *)&ifr.ifr_broadaddr)->sin_addr.s_addr)); ++ } + + strncpy(ifr.ifr_name, ifname, IFNAMSIZ); +- if (ioctl(sfd, SIOCGIFNETMASK, &ifr) < 0) ++ if (ioctl(sfd, SIOCGIFNETMASK, &ifr) < 0) { ++ *phw_addr = strdup (hw_addr); ++ *pinet_addr = strdup (inet_addr); ++ *pbc_addr = strdup (bc_addr); ++ *pnetmask = strdup (netmask); ++ *pflags = flags; ++ + return (-1); +- else ++ } else { + sprintf (netmask, "%s", + ntoa(((struct sockaddr_in *)&ifr.ifr_netmask)->sin_addr.s_addr)); ++ } ++ + } else { ++ *phw_addr = strdup (hw_addr); ++ *pinet_addr = strdup (inet_addr); ++ *pbc_addr = strdup (bc_addr); ++ *pnetmask = strdup (netmask); ++ *pflags = flags; ++ + return (-1); + } + +@@ -122,17 +171,17 @@ + { + FILE *f; + char buf[512]; ++ char interfaces [1024]; + + f = fopen ("/proc/net/dev", "r"); + if (!f) { ++ *found_interfaces = strdup (interfaces); + return (-1); + } + + fgets (buf, sizeof (buf), f); /* eat line */ + fgets (buf, sizeof (buf), f); + +- char interfaces [1024]; +- + int i = 0; + while (fgets(buf, sizeof buf, f)) { + char name[IFNAMSIZ]; diff --git a/net-analyzer/sussen/sussen-0.25-r1.ebuild b/net-analyzer/sussen/sussen-0.25-r1.ebuild new file mode 100644 index 000000000000..4bd547a3d8b0 --- /dev/null +++ b/net-analyzer/sussen/sussen-0.25-r1.ebuild @@ -0,0 +1,70 @@ +# 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.25-r1.ebuild,v 1.1 2006/08/25 06:13:38 pva Exp $ + +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" +IUSE="doc dbus" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +RDEPEND="=dev-lang/mono-1.1* + >=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 + dbus? ( sys-apps/dbus )" + +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() { + if use dbus ; then + built_with_use -a sys-apps/dbus mono || die \ + "${PN} requires dbus build with mono support. Please, reemerge dbus with USE=\"mono\"" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/sussen-0.25-0.28-interface-failsafe.diff +} + +src_compile () { + econf ${myconf} \ + $(use_enable dbus) || die "./configure failed" + LANG=C emake -j1 || die +} + +src_install () { + make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}" \ + DESTDIR=${D} install || die + + dodoc ${DOCS} + + 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 as the tray icon: sussen-applet --tray-icon" + echo + ewarn "sussen-editor is still work in progress. Just basic functionality is" + ewarn "working (New, Save, Execute)." + 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 users that ran sussen:" + ewarn + ewarn "gconftool-2 --unset /apps/sussen-applet/oval_xml_directory" + ewarn "gconftool-2 --unset /apps/sussen-applet/oval_download_directory" + echo +} diff --git a/net-analyzer/sussen/sussen-0.26-r1.ebuild b/net-analyzer/sussen/sussen-0.26-r1.ebuild new file mode 100644 index 000000000000..04d88beec0f0 --- /dev/null +++ b/net-analyzer/sussen/sussen-0.26-r1.ebuild @@ -0,0 +1,76 @@ +# 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.26-r1.ebuild,v 1.1 2006/08/25 06:13:38 pva Exp $ + +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" +IUSE="doc dbus gnome" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +RDEPEND="=dev-lang/mono-1.1* + 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 ) + dbus? ( sys-apps/dbus )" + +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() { + if use dbus ; then + built_with_use -a sys-apps/dbus mono || die \ + "${PN} requires dbus build with mono support. Please, reemerge dbus with USE=\"mono\"" + fi + use gnome || { elog "You do not have gnome in your USE flags."; + elog "applet and editor will not be built." ; } +} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-agent-empty-definitions.patch + epatch ${FILESDIR}/sussen-0.25-0.28-interface-failsafe.diff + + autoreconf || die +} + +src_compile () { + econf ${myconf} \ + $(use_enable dbus) \ + $(use_enable gnome) || die "./configure failed" + LANG=C emake -j1 || die +} + +src_install () { + make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}" \ + DESTDIR=${D} install || die + + dodoc ${DOCS} + + 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 as the tray icon: sussen-applet --tray-icon" + echo + ewarn "sussen-editor is still work in progress. Just basic functionality is" + ewarn "working (New, Save, Execute)." + 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 users that ran sussen:" + ewarn + ewarn "gconftool-2 --unset /apps/sussen-applet/oval_xml_directory" + ewarn "gconftool-2 --unset /apps/sussen-applet/oval_download_directory" + echo +} diff --git a/net-analyzer/sussen/sussen-0.27-r1.ebuild b/net-analyzer/sussen/sussen-0.27-r1.ebuild new file mode 100644 index 000000000000..397891fd9a7f --- /dev/null +++ b/net-analyzer/sussen/sussen-0.27-r1.ebuild @@ -0,0 +1,73 @@ +# 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.27-r1.ebuild,v 1.1 2006/08/25 06:13:38 pva Exp $ + +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" +IUSE="doc dbus gnome" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +RDEPEND="=dev-lang/mono-1.1* + 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 ) + dbus? ( sys-apps/dbus )" + +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() { + if use dbus ; then + built_with_use -a sys-apps/dbus mono || die \ + "${PN} requires dbus build with mono support. Please, reemerge dbus with USE=\"mono\"" + fi + use gnome || { elog "You do not have gnome in your USE flags."; + elog "applet and editor will not be built." ; } +} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/sussen-0.25-0.28-interface-failsafe.diff +} + +src_compile () { + econf ${myconf} \ + $(use_enable dbus) \ + $(use_enable gnome) || die "./configure failed" + LANG=C emake -j1 || die +} + +src_install () { + make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}" \ + DESTDIR=${D} install || die + + dodoc ${DOCS} + + 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 as the tray icon: sussen-applet --tray-icon" + echo + ewarn "sussen-editor is still work in progress. Just basic functionality is" + ewarn "working (New, Save, Execute)." + 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 users that ran sussen:" + ewarn + ewarn "gconftool-2 --unset /apps/sussen-applet/oval_xml_directory" + ewarn "gconftool-2 --unset /apps/sussen-applet/oval_download_directory" + echo +} diff --git a/net-analyzer/sussen/sussen-0.28.ebuild b/net-analyzer/sussen/sussen-0.28.ebuild new file mode 100644 index 000000000000..3d2d16de92eb --- /dev/null +++ b/net-analyzer/sussen/sussen-0.28.ebuild @@ -0,0 +1,73 @@ +# 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.28.ebuild,v 1.1 2006/08/25 06:13:38 pva Exp $ + +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" +IUSE="doc dbus gnome" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +RDEPEND="=dev-lang/mono-1.1* + 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 ) + dbus? ( sys-apps/dbus )" + +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() { + if use dbus ; then + built_with_use -a sys-apps/dbus mono || die \ + "${PN} requires dbus build with mono support. Please, reemerge dbus with USE=\"mono\"" + fi + use gnome || { elog "You do not have gnome in your USE flags."; + elog "applet and editor will not be built." ; } +} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/sussen-0.25-0.28-interface-failsafe.diff +} + +src_compile () { + econf ${myconf} \ + $(use_enable dbus) \ + $(use_enable gnome) || die "./configure failed" + LANG=C emake -j1 || die +} + +src_install () { + make GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package ${PN}" \ + DESTDIR=${D} install || die + + dodoc ${DOCS} + + 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 as the tray icon: sussen-applet --tray-icon" + echo + ewarn "sussen-editor is still work in progress. Just basic functionality is" + ewarn "working (New, Save, Execute)." + 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 users that ran sussen:" + ewarn + ewarn "gconftool-2 --unset /apps/sussen-applet/oval_xml_directory" + ewarn "gconftool-2 --unset /apps/sussen-applet/oval_download_directory" + echo +} |