[openvas-libraries] Revert to code without gnutls modifications, ignore warnings about deprecated gnutls code
rebus
rebus at fedoraproject.org
Wed Oct 19 00:30:55 UTC 2011
commit fc3886216f6f2e66e9ee5590035a4237b412dca3
Author: Michal Ambroz <rebus at seznam.cz>
Date: Wed Oct 19 02:29:38 2011 +0200
Revert to code without gnutls modifications, ignore warnings about
deprecated gnutls code
openvas-libraries.spec | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/openvas-libraries.spec b/openvas-libraries.spec
index 6806023..2353cd5 100644
--- a/openvas-libraries.spec
+++ b/openvas-libraries.spec
@@ -4,7 +4,7 @@ URL: http://www.openvas.org
License: LGPLv2
Group: System Environment/Libraries
Version: 4.0.5
-Release: 4%{?dist}
+Release: 5%{?dist}
Source0: http://wald.intevation.org/frs/download.php/872/%{name}-%{version}.tar.gz
#Reported as bug 1942 Fix compile time errors - variable 'xxx' set but not used
@@ -16,6 +16,10 @@ Patch0: openvas-libraries-notused.patch
Patch1: openvas-libraries-gnutls.patch
Patch2: openvas-libraries-lowat.patch
+#Disable compile Werror flag to avoid stopping the compilation on warning about deprecated
+#gnutls functions for setting priorities
+Patch3: openvas-libraries-nowerror.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Obsoletes: openvas-libnasl
BuildRequires: glib2-devel
@@ -45,8 +49,9 @@ Development libraries and headers for use with openvas-libraries.
%prep
%setup -q
%patch0 -p 1 -b .notused.patch
-%patch1 -p 1 -b .gnutls.patch
-%patch2 -p 1 -b .lowat.patch
+#%patch1 -p 1 -b .gnutls.patch
+#%patch2 -p 1 -b .lowat.patch
+%patch3 -p 1 -b .nowerror.patch
%build
@@ -97,6 +102,11 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libopenvas.pc
%changelog
+* Thu Oct 18 2011 Michal Ambroz <rebus at, seznam.cz> - 4.0.5-5
+- revert back to code withou gnutls modifications to confirm gnutls
+issues are not caused by it
+- disabling the -Werror to avoid compilation issues with the deprecated gnutls code
+
* Thu Oct 06 2011 Michal Ambroz <rebus at, seznam.cz> - 4.0.5-4
- fix the priorities string
More information about the scm-commits
mailing list