Hello community,

here is the log from the commit of package openvas-scanner for openSUSE:Factory
checked in at Mon Aug 29 10:47:50 CEST 2011.



--------
--- openvas-scanner/openvas-scanner.changes     2011-06-08 20:53:27.000000000 
+0200
+++ /mounts/work_src_done/STABLE/openvas-scanner/openvas-scanner.changes        
2011-08-25 22:20:03.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Aug 25 20:19:34 UTC 2011 - [email protected]
+
+- Fix build. 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  ovas-scanner-add-needed.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openvas-scanner.spec ++++++
--- /var/tmp/diff_new_pack.Ineox4/_old  2011-08-29 10:47:25.000000000 +0200
+++ /var/tmp/diff_new_pack.Ineox4/_new  2011-08-29 10:47:25.000000000 +0200
@@ -20,7 +20,7 @@
 
 Name:           openvas-scanner
 Version:        3.2.4
-Release:        1
+Release:        3
 License:        GPLv2
 Group:          Productivity/Networking/Security
 Url:            http://www.openvas.org
@@ -47,11 +47,13 @@
 BuildRequires:  cmake
 BuildRequires:  glib2-devel
 BuildRequires:  libopenvas-devel >= 4.0.0
+BuildRequires:  libgcrypt-devel
 BuildRequires:  pkgconfig
 Requires:       logrotate
 Requires:       openssl
 Requires:       rsync
 Summary:        The Scanner Module for OpenVAS
+Patch:          ovas-scanner-add-needed.patch
 
 %description
 This is the scanner module for the Open Vulnerability Assessment System 
(OpenVAS).
@@ -59,6 +61,7 @@
 
 %prep
 %setup -q
+%patch
 
 %build
 %if 0%{?mandriva_version}
@@ -85,7 +88,7 @@
 %__install -Dm 0644 %{_sourcedir}/debian.openvas-scanner.default 
%{buildroot}%{_var}/adm/fillup-templates/sysconfig.openvas-scanner
 %endif
 
-%if 0%{?fedora_version} || 0%{?scientificlinux_version}
+%if 0%{?fedora_version} || 0%{?scientificlinux_version} || 0%{?centos_version}
 %__install -Dm 0755 %{_sourcedir}/openvassd.init.fedora 
%{buildroot}%{_initrddir}/openvas-scanner
 %__install -Dm 0644 %{_sourcedir}/debian.openvas-scanner.default 
%{buildroot}%{_sysconfdir}/sysconfig/openvas-scanner
 %endif
@@ -119,7 +122,7 @@
 %_post_service openvas-scanner
 %endif
 
-%if 0%{?fedora_version} || 0%{?scientificlinux_version}
+%if 0%{?fedora_version} || 0%{?scientificlinux_version} || 0%{?centos_version}
 # only rpm -i (not rpm {-U|-F})
 if [ $1 = 1 ]; then
        /sbin/chkconfig --add openvas-scanner
@@ -135,7 +138,7 @@
 %_preun_service openvas-scanner
 %endif
 
-%if 0%{?fedora_version} || 0%{?scientificlinux_version}
+%if 0%{?fedora_version} || 0%{?scientificlinux_version} || 0%{?centos_version}
 # only rpm -e (not rpm {-U|-F})
 if [ $1 = 0 ]; then
     /sbin/service openvas-scanner stop > /dev/null 2>&1 || :
@@ -149,7 +152,7 @@
 %insserv_cleanup
 %endif
 
-%if 0%{?fedora_version} || 0%{?scientificlinux_version}
+%if 0%{?fedora_version} || 0%{?scientificlinux_version} || 0%{?centos_version}
 # only rpm {-U|-F} (not rpm -e)
 if [ $1 = 1 ]; then
     /sbin/service openvas-scanner condrestart

++++++ ovas-scanner-add-needed.patch ++++++
--- src/CMakeLists.txt.orig
+++ src/CMakeLists.txt
@@ -133,7 +133,7 @@ endif (NVT_TIMEOUT)
 set_target_properties (openvassd PROPERTIES LINK_FLAGS
                        "${LIB_TEMP} ${GLIB_LDFLAGS} ${OPENVAS_LDFLAGS}")
 
-target_link_libraries (openvassd gnutls dl gcrypt)
+target_link_libraries (openvassd gnutls dl gcrypt openvas_base openvas_misc 
openvas_hg glib-2.0)
 
 set_target_properties (openvassd PROPERTIES COMPILE_FLAGS
                        "${HEADER_TEMP} ${OPENVAS_CFLAGS} ${GLIB_CFLAGS}")

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to