Hello community,

here is the log from the commit of package openvas-administrator for 
openSUSE:Factory
checked in at Mon Aug 29 16:57:02 CEST 2011.



--------
--- openvas-administrator/openvas-administrator.changes 2011-02-23 
20:28:00.000000000 +0100
+++ 
/mounts/work_src_done/STABLE/openvas-administrator/openvas-administrator.changes
    2011-08-25 22:00:08.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Aug 25 19:59:30 UTC 2011 - crrodrig...@opensuse.org
+
+- Fix build with current factory dependencies and
+  new linker defaults.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  openvas-admin-add-needed.patch

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

Other differences:
------------------
++++++ openvas-administrator.spec ++++++
--- /var/tmp/diff_new_pack.tVLE9X/_old  2011-08-29 16:56:31.000000000 +0200
+++ /var/tmp/diff_new_pack.tVLE9X/_new  2011-08-29 16:56:31.000000000 +0200
@@ -20,8 +20,8 @@
 
 Name:           openvas-administrator
 Version:        1.1.1
-Release:        1
-License:        GNU GPL v2 or later
+Release:        2
+License:        GPLv2+
 Group:          Productivity/Networking/Security
 Url:            http://www.openvas.org
 Source0:        %{name}-%{version}.tar.gz
@@ -31,6 +31,7 @@
 Source4:        openvasad.init.fedora
 Source5:        openvasad.init.mandriva
 Patch0:         openvas-administrator-1.1.1-out_of_source_build.patch
+Patch1:         openvas-admin-add-needed.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %if 0%{?mandriva_version}
@@ -42,6 +43,7 @@
 BuildRequires:  glib2-devel
 BuildRequires:  libopenvas-devel >= 3.0.0
 BuildRequires:  pkgconfig
+BuildRequires:  libgcrypt-devel
 Requires:       logrotate
 Summary:        Administrator Module of OpenVAS
 
@@ -55,6 +57,7 @@
 %prep
 %setup -q
 %patch0
+%patch1
 
 %build
 %if 0%{?mandriva_version}
@@ -85,7 +88,7 @@
 %__install -D -m 644 %{_sourcedir}/debian.openvas-administrator.default 
%{buildroot}%{_var}/adm/fillup-templates/sysconfig.openvas-administrator
 %endif
 
-%if 0%{?fedora_version} || 0%{?scientificlinux_version}
+%if 0%{?fedora_version} || 0%{?scientificlinux_version} || 0%{?centos_version}
 %__install -D -m 744 %{_sourcedir}/openvasad.init.fedora 
%{buildroot}%{_initrddir}/openvas-administrator
 %__install -D -m 644 %{_sourcedir}/debian.openvas-administrator.default 
%{buildroot}%{_sysconfdir}/sysconfig/openvas-administrator
 %endif
@@ -110,7 +113,7 @@
 %_post_service openvas-administrator
 %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-administrator
@@ -126,7 +129,7 @@
 %_preun_service openvas-administrator
 %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-administrator stop > /dev/null 2>&1 || :
@@ -140,7 +143,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-administrator condrestart
@@ -166,4 +169,5 @@
 %else
 %config(noreplace) %{_sysconfdir}/sysconfig/openvas-administrator
 %endif
+
 %changelog

++++++ openvas-admin-add-needed.patch ++++++
--- src/CMakeLists.txt.orig
+++ src/CMakeLists.txt
@@ -45,7 +45,7 @@ set_target_properties (oap PROPERTIES CO
 ## Program
 
 add_executable (openvasad openvasad.c oxpd.c oapd.c)
-target_link_libraries (openvasad oap admin openvas_misc openvas_base gnutls)
+target_link_libraries (openvasad oap admin openvas_misc openvas_base gnutls 
glib-2.0)
 
 set_target_properties (openvasad PROPERTIES LINKER_LANGUAGE C)
 

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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to