Hello community, here is the log from the commit of package libopenvas for openSUSE:Factory checked in at Thu Aug 25 15:00:45 CEST 2011.
-------- --- libopenvas/libopenvas.changes 2011-06-01 20:11:04.000000000 +0200 +++ /mounts/work_src_done/STABLE/libopenvas/libopenvas.changes 2011-08-24 23:10:51.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Aug 24 21:10:23 UTC 2011 - crrodrig...@opensuse.org + +- Fix build in Factory + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libopenvas.spec ++++++ --- /var/tmp/diff_new_pack.eN5anE/_old 2011-08-25 15:00:29.000000000 +0200 +++ /var/tmp/diff_new_pack.eN5anE/_new 2011-08-25 15:00:29.000000000 +0200 @@ -21,7 +21,7 @@ Name: libopenvas Version: 4.0.5 -Release: 1 +Release: 4 License: GPLv2 Group: Productivity/Networking/Security Url: http://www.openvas.org @@ -29,7 +29,7 @@ Patch0: openvas-libraries-4.0-rc4-no_Werror.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?fedora_version} || 0%{?scientificlinux_version} +%if 0%{?fedora_version} || 0%{?scientificlinux_version} || 0%{?centos_version} BuildRequires: gpgme-devel BuildRequires: openldap-devel BuildRequires: libuuid-devel @@ -51,6 +51,7 @@ BuildRequires: libgpgme-devel BuildRequires: libuuid-devel BuildRequires: openldap2-devel +BuildRequires: libgcrypt-devel %if 0%{?suse_version} > 1130 BuildRequires: libassuan-devel %endif @@ -118,7 +119,7 @@ License: GPLv2 Group: Development/Libraries/C and C++ -%if 0%{?fedora_version} || 0%{?scientificlinux_version} +%if 0%{?fedora_version} || 0%{?scientificlinux_version} || 0%{?centos_version} Requires: gpgme-devel Requires: libuuid-devel %endif @@ -155,6 +156,8 @@ %patch0 %build +export CFLAGS="%optflags" +export CXXFLAGS="%optflags" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_VERBOSE_MAKEFILE=ON -DSYSCONFDIR=%{_sysconfdir} -DLOCALSTATEDIR=%{_localstatedir} -DLIBDIR=%{_libdir} -DBUILD_WITH_LDAP=ON -DCMAKE_BUILD_TYPE=release %__make %{?_smp_mflags} VERBOSE=1 ++++++ openvas-libraries-4.0-rc4-no_Werror.patch ++++++ --- /var/tmp/diff_new_pack.eN5anE/_old 2011-08-25 15:00:29.000000000 +0200 +++ /var/tmp/diff_new_pack.eN5anE/_new 2011-08-25 15:00:29.000000000 +0200 @@ -1,8 +1,6 @@ -Index: CMakeLists.txt -=================================================================== ---- CMakeLists.txt.orig 2011-01-26 11:58:48.000000000 +0100 -+++ CMakeLists.txt 2011-01-26 17:25:55.601169807 +0100 -@@ -230,7 +230,7 @@ configure_file (tools/libopenvas-config. +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -240,7 +240,7 @@ configure_file (libopenvas.pc.in libopen set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}") @@ -11,11 +9,9 @@ add_subdirectory (base) add_subdirectory (misc) -Index: nasl/CMakeLists.txt -=================================================================== ---- nasl/CMakeLists.txt.orig 2011-01-26 11:58:48.000000000 +0100 -+++ nasl/CMakeLists.txt 2011-01-26 17:26:20.524044898 +0100 -@@ -52,7 +52,7 @@ set (CMAKE_C_FLAGS_DEBUG "${CMAKE +--- nasl/CMakeLists.txt.orig ++++ nasl/CMakeLists.txt +@@ -39,7 +39,7 @@ set (CMAKE_C_FLAGS_DEBUG "${CMAKE # The "-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1" is necessary for GPGME! # The "-fno-strict-aliasing" silences warnings caused by macros defined in byteorder.h. # Once the warnings have been addressed this flag should be removed. @@ -24,3 +20,25 @@ # The "-Wno-error=unprototyped-calls" silences warnings produced by an # openSUSE-patched gcc caused by code in regex.c. +--- hg/CMakeLists.txt.orig ++++ hg/CMakeLists.txt +@@ -29,7 +29,7 @@ include_directories(../misc) + set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") + + set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}") +-set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -Werror -fPIC") ++set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -fPIC") + + set (FILES hg_add_hosts.c hg_debug.c hg_dns_axfr.c hg_filter.c hg_subnet.c + hg_utils.c hosts_gatherer.c) +--- misc/CMakeLists.txt.orig ++++ misc/CMakeLists.txt +@@ -70,7 +70,7 @@ endif (NOT BUILD_WITH_LDAP) + set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now") + + set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}") +-set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -Werror -fPIC") ++set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${HARDENING_FLAGS} -Wall -fPIC") + + if (MINGW) + set (FILES openvas_auth.c openvas_server.c proctitle.c) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org