Tue, 29 Mar 2011 20:04:34 +0200
Rework package yet again, correcting and introducing new buildconf logic:
Conditionally disable bootstrap stage comparison correctly, correct
english grammar, better find system as(1) and ld(1), indotruce detailed
optimization option messages, more completely guess cpu types, allow
profiled bootstrapping without a preinstalled GCC because many other
compilers have long since implemented 64-bit arithmetic, instruct make
to build sequentially (not in sparallel) when building a profiled
bootstrap as GCC online documents recommend, and generally improve
comment blocks.
The single most important correction in this changeset relates to the
GCC changed optimization policy since at least GCC 4.5, in which -march
is always passed and not always correctly guessed. In the case of this
package, allowing GCC to guess the architecture leads to wild build
errors at various subcomponents (zlib, libgcc, libiberty...) and
bootstrap stages. It seems quite platform specific, and the safest
approach to correcting this seems to be explicitly always specifying the
-march argument when bootstrapping GCC. Because the best choice 'native'
is not available when bootstrapping using a foreign (non GCC) compiler,
a guess is made according to rpmmacros l_platform in that case.
It is questionable as to whether these recent optimization changes
on the part of GCC or this package are compatible with each other,
or if either are complete or correct at all. At least applying these
corrections allows this package to build again in most cases test.
1 ##
2 ## nessusd.conf -- Nessus Daemon Configuration
3 ##
5 # paths
6 rules = @l_prefix@/etc/nessus/nessusd.rules
7 users = @l_prefix@/etc/nessus/nessusd.users
8 logfile = @l_prefix@/var/nessus/nessusd.log
9 dumpfile = @l_prefix@/var/nessus/nessusd.dump
10 cert_file = @l_prefix@/var/nessus/CA/servercert.pem
11 key_file = @l_prefix@/var/nessus/CA/serverkey.pem
12 ca_file = @l_prefix@/var/nessus/CA/cacert.pem
13 plugins_folder = @l_prefix@/lib/nessus/plugins
15 # options
16 max_hosts = 30
17 max_checks = 10
18 max_threads = 15
19 be_nice = yes
20 log_whole_attack = yes
21 log_plugins_name_at_load = no
22 cgi_path = /cgi-bin:/scripts
23 port_range = default
24 optimize_test = yes
25 checks_read_timeout = 5
26 non_simult_ports = 139, 445
27 plugins_timeout = 320
28 safe_checks = yes
29 auto_enable_dependencies = yes
30 use_mac_addr = no
31 plugin_upload = no
32 plugin_upload_suffixes = .nasl, .inc
33 admin_user = root
34 language = english
35 slice_network_addresses = no
36 #pem_password = password
37 #force_pubkey_auth = yes