summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Make fast forward from 1.92-2HEADarchive/debian/1.94-1mastergregor herrmann2024-01-20
|\ | | | | | | [dgit --quilt=gbp]
| * Make fast forward from 1.92-1archive/debian/1.92-2gregor herrmann2022-05-15
| |\ | | | | | | | | | [dgit --quilt=gbp]
| | * Make fast forward from 1.90-1archive/debian/1.92-1gregor herrmann2022-01-13
| | |\ | | | | | | | | | | | | [dgit --quilt=gbp]
| | | * Make fast forward from 1.88-3archive/debian/1.90-1gregor herrmann2021-11-13
| | | |\ | | | | | | | | | | | | | | | [dgit --quilt=gbp]
| | | | * Make fast forward from 1.88-2archive/debian/1.88-3gregor herrmann2020-03-21
| | | | |\ | | | | | | | | | | | | | | | | | | [dgit --quilt=gbp]
| | | | | * Avoid unnecessary dependency on libzarchive/debian/1.88-2intrigeri2019-11-17
| | | | | | | | | | | | | | | | | | Gbp-Pq: Name 20no-stray-libz-link.patch
| | | | * | [PATCH] GH-160 Call Net::SSLeay::shutdown() from SSLeay::sslcat() and ↵Heikki Vatiainen2020-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | t/local/07_sslecho.t. Fix for GH-160 seems to require SSL_shutdown() calls which were missing from t/local/07_sslecho.t and Net::SSLeay::sslcat() These seem to relate to this change in OpenSSL 'Detect EOF while reading in libssl': https://github.com/openssl/openssl/commit/db943f43a60d1b5b1277e4b5317e8f288e7a0a3a The newly added OpenSSL error message 'unexpected eof while reading' was seen before the SSL_shutdown() calls were added. Bug: https://github.com/radiator-software/p5-net-ssleay/issues/160 Bug-Debian: https://bugs.debian.org/954401 Gbp-Pq: Name openssl-1.1.1e.patch
| | | | * | Avoid unnecessary dependency on libzintrigeri2020-03-21
| | | | | | | | | | | | | | | | | | Gbp-Pq: Name 20no-stray-libz-link.patch
| | | * | | Avoid unnecessary dependency on libzintrigeri2021-11-13
| | | | | | | | | | | | | | | | | | Gbp-Pq: Name 20no-stray-libz-link.patch
| | * | | | Avoid unnecessary dependency on libzintrigeri2022-01-13
| | | | | | | | | | | | | | | | | | Gbp-Pq: Name 20no-stray-libz-link.patch
| * | | | | Loosen the OpenSSL version checks on autopkgtestsSimon Chopin2022-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Origin: ubuntu Bug-Debian: https://bugs.debian.org/1010795 Bug-Ubuntu: https://launchpad.net/bugs/1972795 Forwarded: not-needed, only makes sense in a Debian-ish context Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2022-05-10 The test suite checks that the OPENSSL_version_*() calls match the compile-time constants, which is reasonable in a unit test that is run in the same time frame as the compilation, as is usually the case. However, this check doesn't make as much sense in the autopkgtest context, where the src:openssl package might have been updated for a bugfix release, for instance. Such updates would trigger an autopkgtest run, and barring regressions in OpenSSL the tests for this package should reasonably not fail, especially given the explicit versioning policy from 3.0.0 forward: https://www.openssl.org/policies/general/versioning-policy.html Gbp-Pq: Name version_check_on_autopkgtest.patch
| * | | | | Avoid unnecessary dependency on libzintrigeri2022-05-15
| | | | | | | | | | | | | | | | | | Gbp-Pq: Name 20no-stray-libz-link.patch
* | | | | | Loosen the OpenSSL version checks on autopkgtestsSimon Chopin2024-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Origin: ubuntu Bug-Debian: https://bugs.debian.org/1010795 Bug-Ubuntu: https://launchpad.net/bugs/1972795 Forwarded: not-needed, only makes sense in a Debian-ish context Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2022-05-10 The test suite checks that the OPENSSL_version_*() calls match the compile-time constants, which is reasonable in a unit test that is run in the same time frame as the compilation, as is usually the case. However, this check doesn't make as much sense in the autopkgtest context, where the src:openssl package might have been updated for a bugfix release, for instance. Such updates would trigger an autopkgtest run, and barring regressions in OpenSSL the tests for this package should reasonably not fail, especially given the explicit versioning policy from 3.0.0 forward: https://www.openssl.org/policies/general/versioning-policy.html Gbp-Pq: Name version_check_on_autopkgtest.patch
* | | | | | Avoid unnecessary dependency on libzintrigeri2024-01-20
| | | | | | | | | | | | | | | | | | Gbp-Pq: Name 20no-stray-libz-link.patch
* | | | | | releasing package libnet-ssleay-perl version 1.94-1 into distribution unstabledebian/1.94-1gregor herrmann2024-01-20
| | | | | | | | | | | | | | | | | | | | | | | | Gbp-Dch: Ignore
* | | | | | Declare compliance with Debian Policy 4.6.2.gregor herrmann2024-01-20
| | | | | |
* | | | | | Update years of packaging copyright.gregor herrmann2024-01-20
| | | | | |
* | | | | | Refresh 20no-stray-libz-link.patch (offset).gregor herrmann2024-01-20
| | | | | |
* | | | | | Update debian/changeloggregor herrmann2024-01-20
| | | | | | | | | | | | | | | | | | | | | | | | Gbp-Dch: Ignore
* | | | | | Update upstream source from tag 'upstream/1.94'gregor herrmann2024-01-20
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | Update to upstream version '1.94' with Debian dir 2735366ad965afeb30f6d86b18a37020b56fe6f7
| * | | | | New upstream version 1.94gregor herrmann2024-01-20
| |\ \ \ \ \
| | * | | | | Stable release 1.94Chris Novakovic2024-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump all version numbers from 1.93_05 to 1.94, and summarise major changes since 1.92. Closes #460.
| | * | | | | Developer release 1.93_05Chris Novakovic2024-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump all version numbers from 1.93_04 to 1.93_05, and associate all reported changes since 1.93_04 with version 1.93_05. Closes #467.
| | * | | | | Don't automatically detect libssl/libcrypto with ExtUtils::PkgConfig (#466)Chris Novakovic2024-01-06
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fixes #465.
| | | * | | | | Don't automatically detect libssl/libcrypto with ExtUtils::PkgConfigChris Novakovic2024-01-06
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts da6292e138644aa1cdd234114c6198675611693c. The automatic detection of libssl/libcrypto with pkg-config conflicts with the OPENSSL_PREFIX method of specifying where Makefile.PL should look for libssl/libcrypto. The one known failure case at the moment is when OPENSSL_PREFIX points to a copy of OpenSSL that has compression enabled, but pkg-config points to a copy of OpenSSL that doesn't have compression enabled - this causes "-lz" to be omitted from the list of options passed to the linker, causing a compilation failure. There may be other failure cases. The automatic detection of libssl/libcrypto is a very useful feature, so we'll find and fix all the edge cases and bring it back in time for Net-SSLeay 1.96. Fixes #465.
| | * | | | | Developer release 1.93_04 (#463)Chris Novakovic2024-01-05
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Closes #462.
| | | * | | | | Developer release 1.93_04Chris Novakovic2024-01-05
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump all version numbers from 1.93_03 to 1.93_04, and associate all reported changes since 1.93_03 with version 1.93_04. Closes #462.
| | * | | | | Mark Tuure as an inactive contributor (#461)Chris Novakovic2024-01-04
| | |\ \ \ \ \
| | | * | | | | Mark Tuure as an inactive contributorChris Novakovic2024-01-04
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tuure's last contribution was the configuration for Travis and AppVeyor, in 2018. Update the maintainership notices and copyright dates in each module/script to reflect this.
| | * | | | | GH-458 Expose a number of recent and otherwise omitted LibreSSL functions.Heikki Vatiainen2024-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the exposed API functions were made available in the recent LibreSSL versions but some had been overlooked for unknown reasons.
| | * | | | | GH-458 Define OPENSSL_API_COMPAT to suppress deprecation warnings.Heikki Vatiainen2024-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Makefile.PL to define OPENSSL_API_COMPAT=908 to suppress compilation warnings for OpenSSL API functions deprecated in versions older than 0.9.8. The purpose of this is to turn off all deprecation warnings.
| | * | | | | GH-456 Developer release 1.93_03Heikki Vatiainen2024-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump all version numbers from 1.93_02 to 1.93_03, and associate all reported changes since 1.93_02 with version 1.93_03.
| | * | | | | Merge pull request #455 from radiator-software/GH-454-makefile-and-xs-fixesHeikki Vatiainen2024-01-02
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GH-454 Makefile.PL, XS and installation fixes Collect a number of updates from different sources.
| | | * | | | | GH-454 Updates to README and README.OSX installation instructions.Heikki Vatiainen2024-01-01
| | | | | | | |
| | | * | | | | Propose update to README for general case of needing to point to openssl ↵viviparous2024-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | header files in a non-standard location.
| | | * | | | | GH-454 Tone down warning against mixing compilers and compiler flags.Heikki Vatiainen2024-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With Linux and macOS, for example, compiling OpenSSL and Net::SSLeay with gcc and clang appears to work these days. It's even possible to compile Net::SSLeay with a C++ compiler and link it against OpenSSL compiled with a C compiler. On some other platforms it may still be required to use matching compiler and flags, but it seems not to be universally required anymore.
| | | * | | | | GH-454 Add paths for current Shining Light OpenSSL in Makefile.PL.Heikki Vatiainen2023-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current versions of Shining Light OpenSSL MSI installer use installation paths that are not in the list of prefixes tested by Makefile.PL. At the time of writing, the MSI installers are Win64OpenSSL-1_1_1w.msi, Win64OpenSSL-3_0_12.msi, Win64OpenSSL-3_1_4.msi and Win64OpenSSL-3_2_0.msi. The 32bit versions are named as Win32OpenSSL-1_1_1w.msi, etc. The exe installers seem to use the same locations as the msi installers. Caveats: static linking seems to require linking against libcrypto_static and libssl_static. The existing static compilation flag in Makefile.PL currently searches for libraries with a different path, instead of setting up linking to against specially named libraries. In other words, static linking seems to have changed and may change in the future. If you need static linking, you likely need to modify Makefile.PL to suit your needs. When both 32bit and 64bit Shining Light OpenSSL versions are installed, Makefile.PL prefix guessing can choose wrong prefix. In this case it's currently easiser to set OPENSSL_PREFIX environment variable.
| | | * | | | | fix Win32 .lib/.a search loop fails to stop path search once file foundbulk882023-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -dates to day 1 commit cb98af3caf3b63d7125352aa13d18748ab20ee3a Fixed some compiler warnings. Courtesy kmx. Fixed a problem with Win32 detection. Courtesy kmx. git-svn-id: r334 Committer: Mike McCauley <mikem@airspayce.com> 2012-04-02 04:38:39 ----------------- this caused ----------------- C:\sources\p5-net-ssleay>perl Makefile.PL Do you want to run external tests? These tests *will* *fail* if you do not have network connectivity. [n] y *** Found OpenSSL-1.1.1g installed in C:\Program Files\OpenSSL-Win32 *** Be sure to use the same compiler and options to compile your OpenSSL, perl, and Net::SSLeay. Mixing and matching compilers is not supported. Warning (mostly harmless): No library found for -llibeay32 Warning (mostly harmless): No library found for -lssleay32 Generating a gmake-style Makefile Writing Makefile for Net::SSLeay ------------------- With Shining Light precompiled OpenSSL and eventual there is a link failure since the lib file paths dont exist that are given to EUMM and EUMM eventually puts in MKF then fed to link.exe cmd line, since the $dir loop kept spinning and push new paths into %opts even though in an earlier iteration the .lib file was found on disk -fix a CC warning too about redefinition, perl core provides this flag automatic nowadays if the VC version is new enough to need this
| | | * | | | | GH-454 More fixes to address 'no code before declaration' warnings.Heikki Vatiainen2023-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix additional cases with code before variable declarations. These were added before the longer commit by bulk88 which fixed a lot of previously existing cases. Note that Perl 5.35.5 and later relax this requirement because 5.35.5 and later versions use some of C99 (C standard ISO/IEC 9899:1999) features. Gcc and Clang flag -Werror=declaration-after-statement is especially mentioned as something that should only be used with Perl versions earlier than 5.35.5. https://perldoc.perl.org/5.35.5/perldelta#Configuration-and-Compilation SSLeay.xs currently avoids code before declarations.
| | | * | | | | C89/Visual C compatibility, no code before declbulk882023-12-29
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked with conflict resolution by hvn from PR 188 commit 4ecea059353d0681fac0242c95c22cd8a973501f
| | * | | | | Support finding OpenSSL libraries using ExtUtils::PkgConfig (#127)Paul Howarth2023-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support finding OpenSSL libraries using ExtUtils::PkgConfig If ExtUtils::PkgConfig is available and there is a pkg-config file for openssl, use the libraries specified rather than assuming which libraries need to be linked against. This requires ExtUtils::PkgConfig version 1.16 or later. This may be useful for example in the case where OpenSSL is built without compression support and there may be no libz.so to link against. In the absence of a recent enough version of ExtUtils::PkgConfig, the Makefile.PL falls back to the existing configuration method, so adding this enhancement should be harmless. * By hvn: Update Changes for ExtUtils::PkgConfig PR 127. --------- Co-authored-by: Heikki Vatiainen <hvn@radiatorsoftware.com>
| | * | | | | Merge pull request #453 from radiator-software/GH-452-fix-threaded-testHeikki Vatiainen2023-12-28
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose OpenSSL initialisation and deinitialisation functions OPENSSL_init_crypto and OPENSSL_init_ssl and their related functions. These functions were first added in OpenSSL 1.1.0 and are available when the automatic default library initialisation needs to be overridden. Starting with Openssl 3.0.0 it seems that Net::SSLeay test 62_threads-ctx_new-deadlock.t needs to override atexit() handler to avoid crashes that happen after the test has successfully finished and the process is exiting. This is now done with OPENSSL_init_crypto(OPENSSL_INIT_NO_ATEXIT). GitHub issue GH-452 lists additional ways to work around the atexit problem.
| | | * | | | | GH-452 Fix test: OPENSSL_INIT_NO_ATEXIT was added after OPENSSL_init_crypto.Heikki Vatiainen2023-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OPENSSL_INIT_NO_ATEXIT was added in OpenSSL 1.1.1b, therefore we need to check for its presence rather than OPENSSL_init_crypto that was added during OpenSSL 1.1.0 development.
| | | * | | | | GH-452 Recently exposed SSL_SESSION_get0_cipher requires OpenSSL 1.1.0.Heikki Vatiainen2023-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the #if compilation guard to use correct OpenSSL version. SSL_SESSION_get0_cipher is added by OpenSSL 1.1.0.
| | | * | | | | GH-452 Update threads test to avoid crash on exit.Heikki Vatiainen2023-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenSSL 3.0 added atexit() handler that appears to cause crashes with test 62_threads-ctx_new-deadlock.t. The test is now updated to initialise OpenSSL libcrypto so that atexit() handler is not called. As a result, OpenSSL libraries are no longer cleaned up on exit. This is fine for the test since the process that runs it is already exiting and the test requires no special cleaning up.
| | | * | | | | GH-452 Expose OPENSSL_init_ssl, OPENSSL_init_crypto and related functions.Heikki Vatiainen2023-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose multiple functions related to OpenSSL initialisation and deinitialisation. Add new test file 23_openssl_init.t for the newly exposed functions.
| | | * | | | | GH-452 Add constants for OPENSSL_init_crypto and related functions.Heikki Vatiainen2023-12-26
| | |/ / / / /
| | * | | | | Merge pull request #451 from radiator-software/GH-425-cpp-patchHeikki Vatiainen2023-12-10
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | GH-425 and GH-438 Update SSLeay.xs to support C++ compilers. This merge collects a number of updates done during 2023.
| | | * | | | | GH-438 Remove 'extern "C"' wrapper around Perl XS includes.Heikki Vatiainen2023-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'extern "C" {}' block has wrapped Perl XS standard includes since the beginning. The earliest version found from the net is Net_SSLeay.pm version 0.4 in which the following was already present: #ifdef __cplusplus extern "C" { #endif #include "EXTERN.h" #include "perl.h" #include "XSUB.h" #ifdef __cplusplus } #endif This has been carried over since then, until the recent SSLeay.xs updates to allow compilation with a C++ compiler caused a compilation failure. Recent GCC and Clang C++ compilers do not care about the 'extern "C"' wrapper but Visual Studio Community 2022 flagged the following error (see GH-438): C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\wspiapi.h(53): error C2894: templates cannot be declared to have 'C ' linkage When 'extern "C" {}' is removed completely, the compilation succeeds. This makes sense since apparently the purpose of 'extern "C" {}' is to wrap one's own functions instead of headers included from elsewhere. Those headers should have their own 'extern "C" {}' definitions, if any are needed.
| | | * | | | | GH-425 Avoid C++ compiler warning about conversion from string literal to ↵Heikki Vatiainen2023-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'char *. In C string literals do not have the 'const' qualifier but in C++ they do. Avoid C++ compiler warnings by changing our TRACE() funciton definition to use 'const char *' instead of plain 'char *'. This is a useful change for C too because they string passed to the function can be expected to be read-only.