Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > fc8088534602b752e59b44cb9d9f7ec0 > files > 5

nessus-core-2.2.11-6.fc15.src.rpm

--- nessus-core.orig/configure	2005-02-08 02:40:42.000000000 +0100
+++ nessus-core/configure	2005-07-03 16:41:03.000000000 +0200
@@ -5671,14 +5671,16 @@
 
 
 NESSUSD_CONFDIR='${sysconfdir}'
-NESSUSD_STATEDIR='${localstatedir}/nessus'
+NESSUSD_STATEDIR='${localstatedir}/lib/nessus'
 NESSUSD_SHAREDSTATEDIR='${sharedstatedir}/nessus'
+NESSUSD_PIDDIR='${localstatedir}/run'
+NESSUSD_PKIDIR='${sysconfdir}/pki/nessus'
 NESSUSD_DATADIR='${sysconfdir}/nessus'
 NESSUSD_LIBDIR='${libdir}/nessus'
-NESSUSD_LOGDIR='${localstatedir}/nessus/logs'
+NESSUSD_LOGDIR='${localstatedir}/log/nessus'
 
 NESSUSD_PLUGINS='${NESSUSD_LIBDIR}/plugins'
-NESSUSD_REPORTS='${NESSUSD_LIBDIR}/reports'
+NESSUSD_REPORTS='${NESSUSD_LOGDIR}/reports'
 
  
 # The following directories are now passed into the compile
@@ -5687,11 +5689,11 @@
 # everything works okay.
 #
 #AC_DEFINE_UNQUOTED(NESSUSD_CONFDIR,   "${sysconfdir}")
-#AC_DEFINE(NESSUSD_STATEDIR,  "${localstatedir}/nessus'")
+#AC_DEFINE(NESSUSD_STATEDIR,  "${localstatedir}/lib/nessus'")
 #AC_DEFINE(NESSUSD_DATADIR,   "'${sysconfdir}/nessus")
 #AC_DEFINE(NESSUSD_LIBDIR,    "${libdir}/nessus")
 #AC_DEFINE(NESSUSD_PLUGINS,   "${libdir}/nessus/plugins")
-#AC_DEFINE(NESSUSD_REPORTS,   "${libdir}/nessus/reports")
+#AC_DEFINE(NESSUSD_REPORTS,   "${localstatedir}/log/nessus/reports")
 man_nessus_1=doc/nessus.1
 man_nessusd_8=doc/nessusd.8
 
@@ -5967,6 +5969,8 @@
 s%@NESSUSD_CONFDIR@%$NESSUSD_CONFDIR%g
 s%@NESSUSD_STATEDIR@%$NESSUSD_STATEDIR%g
 s%@NESSUSD_SHAREDSTATEDIR@%$NESSUSD_SHAREDSTATEDIR%g
+s%@NESSUSD_PIDDIR@%$NESSUSD_PIDDIR%g
+s%@NESSUSD_PKIDIR@%$NESSUSD_PKIDIR%g
 s%@NESSUSD_DATADIR@%$NESSUSD_DATADIR%g
 s%@NESSUSD_LIBDIR@%$NESSUSD_LIBDIR%g
 s%@NESSUSD_PLUGINS@%$NESSUSD_PLUGINS%g