Skip to content

Instantly share code, notes, and snippets.

@rage311
Created December 1, 2023 07:07
Show Gist options
  • Save rage311/b048e522848c19acfbaf672196869a6c to your computer and use it in GitHub Desktop.
Save rage311/b048e522848c19acfbaf672196869a6c to your computer and use it in GitHub Desktop.
Patch Perl 5 Net::SSLeay 1.92 for Openbsd
#!/bin/sh
curl -O https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-1.92.tar.gz \
&& tar xzvf Net-SSLeay-1.92.tar.gz \
&& cd Net-SSLeay-1.92 \
&& curl -O https://raw.githubusercontent.com/openbsd/ports/master/security/p5-Net-SSLeay/patches/patch-SSLeay_xs \
&& patch < patch-SSLeay_xs \
&& perl Makefile.PL \
&& make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment