update to 7.0.10 [release 7.0.10-1mamba;Fri Feb 05 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 08:17:39 +01:00
parent a5546c89b9
commit bf0dddb353
2 changed files with 71 additions and 11 deletions

View File

@ -0,0 +1,30 @@
--- openvas-libraries-7.0.10/nasl/nasl_raw.h.orig 2016-02-05 23:44:42.728219386 +0100
+++ openvas-libraries-7.0.10/nasl/nasl_raw.h 2016-02-05 23:44:57.873212490 +0100
@@ -20,12 +20,12 @@
#ifndef OPENVAS_RAW_H
#define OPENVAS_RAW_H
#ifdef __linux__
-#ifndef __BSD_SOURCE
-#define __BSD_SOURCE
+#ifndef __DEFAULT_SOURCE
+#define __DEFAULT_SOURCE
#endif
-#ifndef _BSD_SOURCE
-#define _BSD_SOURCE
+#ifndef _DEFAULT_SOURCE
+#define _DEFAULT_SOURCE
#endif
#ifndef __FAVOR_BSD
--- openvas-libraries-7.0.10/nasl/nasl_builtin_synscan.c.orig 2016-02-05 23:43:24.983255395 +0100
+++ openvas-libraries-7.0.10/nasl/nasl_builtin_synscan.c 2016-02-05 23:43:41.300247748 +0100
@@ -24,7 +24,7 @@
*
*/
-#define _BSD_SOURCE 1
+#define _DEFAULT_SOURCE 1
#include <unistd.h> /* for close() */
#include <stdlib.h> /* for rand() */

View File

@ -1,5 +1,5 @@
Name: openvas-libraries
Version: 3.1.2
Version: 7.0.10
Release: 1mamba
Summary: Libraries for openvas, an Open Vulnerability Assessment System
Group: Network/Libraries
@ -7,10 +7,23 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openvas.org/
Source: http://wald.intevation.org/frs/download.php/767/openvas-libraries-%{version}.tar.gz
Source: http://wald.intevation.org/frs/download.php/2031/openvas-libraries-%{version}.tar.gz
Patch0: openvas-libraries-7.0.10-glibc-2.22.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libassuan-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgpgme-devel
BuildRequires: libksba-devel
BuildRequires: libopenldap-devel
BuildRequires: libpcap-devel
BuildRequires: libssh-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: nessus-libraries
@ -35,9 +48,12 @@ This is the development package.
%prep
%setup -q
%patch0 -p1
%build
%configure
%cmake -d build
#% configure
# \
# --prefix=%{_prefix} \
# --mandir=%{_mandir} \
@ -49,27 +65,41 @@ This is the development package.
%install
test x"%buildroot" != x/ && rm -rf "%buildroot"
%makeinstall
%makeinstall -C build
%clean
test x"%buildroot" != x/ && rm -rf "%buildroot"
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/openvas/openvas-lsc-rpm-creator.sh
%{_libdir}/*.so.*
%{_mandir}/man1/*
%{_libdir}/libopenvas_base.so.*
%{_libdir}/libopenvas_misc.so.*
%{_libdir}/libopenvas_nasl.so.*
%{_libdir}/libopenvas_omp.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/openvas-nasl
%{_bindir}/openvas-nasl-lint
%dir %{_includedir}/openvas
%{_includedir}/openvas/*
%{_libdir}/*.so
%{_libdir}/*.a
#%{_libdir}/*.la
%{_libdir}/libopenvas_base.so
%{_libdir}/libopenvas_misc.so
%{_libdir}/libopenvas_nasl.so
%{_libdir}/libopenvas_omp.so
%{_libdir}/pkgconfig/libopenvas.pc
%{_mandir}/man1/*
%changelog
* Fri Feb 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.10-1mamba
- update to 7.0.10
* Sun Nov 23 2014 Automatic Build System <autodist@mambasoft.it> 7.0.5-1mamba
- automatic version update by autodist
* Wed Nov 05 2014 Automatic Build System <autodist@mambasoft.it> 7.0.4-1mamba
- automatic version update by autodist
* Mon Aug 09 2010 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
- update to 3.1.2