summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-11-15 14:28:36 +0000
committerAchim Gottinger <achim@gentoo.org>2001-11-15 14:28:36 +0000
commit3d890e9efca8bb6f3e93f0e46768e17a5686f05f (patch)
tree791054f14efcfede6ab44871709cbbb7fb5a14b3 /net-analyzer
parentobsolete patch (same as less) (diff)
downloadgentoo-2-3d890e9efca8bb6f3e93f0e46768e17a5686f05f.tar.gz
gentoo-2-3d890e9efca8bb6f3e93f0e46768e17a5686f05f.tar.bz2
gentoo-2-3d890e9efca8bb6f3e93f0e46768e17a5686f05f.zip
The patch is no longer required (like less and lukemftp)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nessus/files/nessus-1.0.9-gentoo.diff60
-rw-r--r--net-analyzer/nessus/nessus-1.0.9.ebuild6
2 files changed, 1 insertions, 65 deletions
diff --git a/net-analyzer/nessus/files/nessus-1.0.9-gentoo.diff b/net-analyzer/nessus/files/nessus-1.0.9-gentoo.diff
deleted file mode 100644
index 9b355ea7cdc8..000000000000
--- a/net-analyzer/nessus/files/nessus-1.0.9-gentoo.diff
+++ /dev/null
@@ -1,60 +0,0 @@
---- nessus-core/nessus/nessus.c~ Sun Apr 29 21:15:06 2001
-+++ nessus-core/nessus/nessus.c Thu Nov 15 14:14:15 2001
-@@ -750,7 +750,7 @@
- display_help("nessus");
- exit (1);
- }
-- if(optarg[0]=='=')inc_optind(); /* no optind++ on Win32 -- jordan */
-+ if(optarg[0]=='=')optind++; /* no optind++ on Win32 -- jordan */
- if(!strcmp(optarg, "text"))output_func = arglist_to_text;
- else if(!strcmp(optarg, "html"))output_func = arglist_to_html;
- else if(!strcmp(optarg, "html_graph"))output_func = arglist_to_html_graph;
-@@ -996,39 +996,39 @@
-
- /* next arguments: SERVER PORT */
- #ifdef USE_AF_INET
-- cli_args_server(cli, argv[inc_optind()]);
-- cli_args_port(cli, atoi(argv[inc_optind()]));
-+ cli_args_server(cli, argv[optind++]);
-+ cli_args_port(cli, atoi(argv[optind++]));
- #else
- cli_args_server(cli, "localhost");
- cli_args_port(cli, 0);
- #endif
-
- /* next argument: LOGIN */
-- cli_args_login(cli, argv[inc_optind()]);
-+ cli_args_login(cli, argv[optind++]);
-
- /* next argument: PASSWORD */
- #ifndef ENABLE_CRYPTO_LAYER
-- cli_args_password(cli, argv[inc_optind()]);
-+ cli_args_password(cli, argv[optind++]);
- #endif
-
- #ifndef ENABLE_SAVE_TESTS
- if(!opt_m)
- {
-- cli_args_target(cli, argv[inc_optind()]);
-- cli_args_results(cli, argv[inc_optind()]);
-+ cli_args_target(cli, argv[optind++]);
-+ cli_args_results(cli, argv[optind++]);
- }
- #else
- if(!opt_m)
- {
- if(restore_session)
- {
-- cli_args_results(cli, argv[inc_optind()]);
-+ cli_args_results(cli, argv[optind++]);
- }
- else
- if(!list_sessions)
- {
-- cli_args_target(cli, argv[inc_optind()]);
-- cli_args_results(cli, argv[inc_optind()]);
-+ cli_args_target(cli, argv[optind++]);
-+ cli_args_results(cli, argv[optind++]);
- }
- }
-
diff --git a/net-analyzer/nessus/nessus-1.0.9.ebuild b/net-analyzer/nessus/nessus-1.0.9.ebuild
index 4d34b36b82ad..4f3f2483defd 100644
--- a/net-analyzer/nessus/nessus-1.0.9.ebuild
+++ b/net-analyzer/nessus/nessus-1.0.9.ebuild
@@ -1,6 +1,6 @@
#Copyright 2000 Achim Gottinger
#Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus/nessus-1.0.9.ebuild,v 1.1 2001/11/15 13:18:00 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus/nessus-1.0.9.ebuild,v 1.2 2001/11/15 14:28:36 achim Exp $
# It's better to split it in four different packages
@@ -25,10 +25,6 @@ RDEPEND="virtual/glibc virtual/x11
>=sys-libs/zlib-1.1.3
>=x11-libs/gtk+-1.2.10-r4"
-src_unpack() {
- unpack ${A}
- patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
-}
src_compile() {