pkgsrc/security/p5-Crypt-SSLeay/Makefile

30 lines
862 B
Makefile
Raw Normal View History

2022-06-28 13:30:51 +02:00
# $NetBSD: Makefile,v 1.42 2022/06/28 11:35:45 wiz Exp $
Update to 0.72. From the changelog: - RT #94974: I forgot that `return` just returns from the code block for `catch`, not the subroutine so `filter_libs` was still trying to link against various libraries even when Devel::CheckLib was not installed. - Various minor fixes to C code - Various fixes to the distribution such as manifest files, additional tests, bundled module etc - Address RT bugs #94828 and #79212 - REMINDER: make test WILL FAIL if your OpenSSL is vulnerable to Heartbleed. - Add additional functions exposing information that can be obtained via SSLeay_version. - Add ability to query OpenSSL version, add test whether OpenSSL library being used is vulnerable to the Heartbleed bug. - Assorted fixes to Makefile.PL, most importantly to fix build problems with Strawberry Perl. - In Makefile.PL, use assert_lib to find the libraries against which we can actually link rather than passing a big bowl of libs to WriteMakefile. Bail out early if we can't link against any of the candidate libraries. - Make sure t/02-live.t actually uses Net::SSL. - Address RT bugs #88786, #88269, #78848, and #79477 - Makefile.PL now respects live-tests and no-live-tests, and allows library and header locations to be specified via the command line arguments libpath and incpath, respectively. - These options can also be specified using the environment variables CRYPT_SSLEAY_LIVE_TEST_WANTED OPENSSL_LIB OPENSSL_INC - Also fixed a number of embarrasing logic errors and typos in Makefile.PL which were introduced in previous 0.65_xx versions. - Reorganize Makefile.PL to allow incpath and libpath command line arguments. This attempts to address RT #88786, #88269, #79477, and #78848. This was supposed to be the next step immediately after drastically specifying Makefile.PL. But never got done. - Also add encoded version number to openssl-version output. - Address pull requests from GitHub and bug reports on RT. These address RT issues #83764, #86425, #86819, #62133, #82715, #90803
2014-06-09 21:46:16 +02:00
DISTNAME= Crypt-SSLeay-0.72
PKGNAME= p5-${DISTNAME}
2022-06-28 13:30:51 +02:00
PKGREVISION= 11
CATEGORIES= security perl5 www
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/Crypt-SSLeay
COMMENT= Crypt::SSLeay - OpenSSL glue that provides LWP https support
2010-01-16 20:27:17 +01:00
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Path-Class>=0.26:../../devel/p5-Path-Class
DEPENDS+= p5-Try-Tiny>=0.19:../../devel/p5-Try-Tiny
PERL5_PACKLIST= auto/Crypt/SSLeay/.packlist
MAKE_ENV+= PERL_MM_USE_DEFAULT=1
Update to 0.55: 0.55 2007-06-01 17:34:22 UTC - Added a blocking() method to Net::SSL (and bumped version to 2.81). 0.54 2007-04-12 22:05:26 UTC - Rebadged 0.53_05, since no bugs appear to have surfaced. 0.53_05 - Fixed up incorrect LIBS key in WriteMakefile args. Thanks to David Cantrell for giving me access to an OpenBSD box that revealed this problem. - Added the list of modules that depend on Crypt::SSLeay to the README, as per cpants.perl.org. (think: improvements to the test suite). 0.53_04 2007-03-06 09:39:01 UTC - add diag() info to determine possible reasons for failure as per http://www.nntp.perl.org/group/perl.cpan.testers/2007/03/msg428964.html - Tweaks for Strawberry Perl detection. 0.53_03 2007-03-04 18:30:06 UTC - Adjusted the typemap shims to silence the compiler warnings that occur when sizeof(IV) is larger than sizeof(char *). - use XSLoader for faster loading if available, otherwise fall back to DynaLoader. - Makefile.PL heavily reworked, lots of cruft removed. - Ask to see whether the live tests should be run. - renamed net_sst.t to 01-connect.t - added 02-live.t that performs live HTTPS requests. 0.53_02 2007-01-29 10:02:34 UTC - don't proxy hosts in NO_PROXY environment variable (CPAN bug #11078). - don't send user agent string to proxy unless send_useragent_to_proxy is enabled. (CPAN bug #4759). - Net::SSL bumped to 2.80 0.53_01 2007-01-24 22:21:09 UTC - patch for CPAN #12444 applied (Jeff Lavallee). Net::SSL bumped tp 2.79. - example scripts moved into eg/ directory and the documentation updated. - added a TODO to remind me of what needs to be done. 0.53 2006-12-26 17:21:22 UTC - 0.52_02 deemed stable 0.52_02 2006-12-20 19:29:01 UTC - improved VMS support (CPAN bug #19829). - add a test to see if cert file is readable in Net::SSL::configure_certs (CPAN bug #8498) and Net::SSL version to 2.78. - known working platforms list removed from documentation. Too old, and CPAN Testers has the up-to-date information. - minor documentation improvements. 0.52_01 2006-12-17 - add call to SSL_library_init() in new() - maintenance taken over by brian d foy and David Landgren.
2007-06-08 09:57:10 +02:00
MAKE_PARAMS+= --lib=${SSLBASE}
MAKE_PARAMS+= --libpath=${SSLBASE}/lib
post-extract:
chmod a-x ${WRKSRC}/lib/Net/SSL.pm
.include "../../lang/perl5/module.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"