]> git.pld-linux.org Git - packages/nessus-libs.git/commitdiff
- up to 2.2.11 (which is ancient anyway); fix openssl 1.1 build; source url is dead auto/th/nessus-libs-2.2.11-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 22 Sep 2018 15:07:32 +0000 (17:07 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 22 Sep 2018 15:07:32 +0000 (17:07 +0200)
nessus-libs.spec
openssl.patch [new file with mode: 0644]

index 2b39c973f16942d0915f9949f05d9f25c000e944..ebf954ed1210e434f6344bb7b77b87d3cd2ab5f3 100644 (file)
@@ -1,16 +1,18 @@
 Summary:       Nessus libraries
 Summary(pl.UTF-8):     Biblioteki Nessus
 Name:          nessus-libs
-Version:       2.2.7
-Release:       6
+Version:       2.2.11
+Release:       1
 License:       GPL
 Group:         Networking
 Vendor:                Nessus Project
-Source0:       ftp://ftp.nessus.org/pub/nessus/nessus-%{version}/src/nessus-libraries-%{version}.tar.gz
-# Source0-md5: 740d9f2d97c495a52663a15a0fe5e6cd
+# Source0:     ftp://ftp.nessus.org/pub/nessus/nessus-%{version}/src/nessus-libraries-%{version}.tar.gz
+Source0:       nessus-libraries-%{version}.tar.gz
+# Source0-md5: c1180bec3a7f1b78d4d881f9a73e99bc
 Patch0:                %{name}-nolibs.patch
 Patch1:                %{name}-link.patch
 Patch2:                %{name}-libtool.patch
+Patch3:                openssl.patch
 URL:           http://www.nessus.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -66,6 +68,7 @@ Biblioteki statyczne Nessusa.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
@@ -94,6 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/lib*.so.2
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 %dir %{_localstatedir}/nessus
 
diff --git a/openssl.patch b/openssl.patch
new file mode 100644 (file)
index 0000000..202fe24
--- /dev/null
@@ -0,0 +1,20 @@
+--- nessus-libraries/libnessus/network.c~      2008-03-12 09:09:06.000000000 +0100
++++ nessus-libraries/libnessus/network.c       2018-09-22 17:04:41.635288719 +0200
+@@ -532,15 +532,11 @@ open_SSL_connection(fp, timeout, cert, k
+   switch (fp->transport)
+     {
+-    case NESSUS_ENCAPS_SSLv2:
+-      fp->ssl_mt = SSLv2_client_method();
+-      break;
+-    case NESSUS_ENCAPS_SSLv3:
+-      fp->ssl_mt = SSLv3_client_method();
+-      break;
+     case NESSUS_ENCAPS_TLSv1:
+       fp->ssl_mt = TLSv1_client_method();
+       break;
++    case NESSUS_ENCAPS_SSLv2:
++    case NESSUS_ENCAPS_SSLv3:
+     case NESSUS_ENCAPS_SSLv23:        /* Compatibility mode */
+       fp->ssl_mt = SSLv23_client_method();
+       break;
This page took 0.149861 seconds and 4 git commands to generate.