p5-io-socket-ssl: adopted port

This commit is contained in:
Tim Biermann 2023-08-13 09:35:19 +02:00
parent 169734d365
commit 9db97a88c1
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 15 additions and 15 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3ynp5HpRqOjbt6gELExkW9csBhadJM9/fD5zY0OieJDFic6HsmrwGtutoVAMICSqVR0aLvxCpBEDKxVIsmiW/gI=
SHA256 (Pkgfile) = a1d95e89f6b39b548045123afd2a072a1b8bcaf3190df16d3eff10014c35599f
RWSagIOpLGJF35lUyuaTt+FE6vIwkCkY8Iwt81XoQZlVl5+MP6jDiU1SdrhcXye+Srtn0ypmTD31hlHsnSZbpWHWTFtn10i80AY=
SHA256 (Pkgfile) = 65af964d421279a268fb6fba83ce61c5d059a1bca818da11e44d4ba877b83e5b
SHA256 (.footprint) = 7310605c5a6132f1a4d3c98e78ec3dacf9edeb202b32b0d21af5dd782f550d71
SHA256 (IO-Socket-SSL-2.083.tar.gz) = 904ef28765440a97d8a9a0df597f8c3d7f3cb0a053d1b082c10bed03bc802069

View File

@ -1,6 +1,6 @@
# Description: Nearly transparent SSL encapsulation for IO::Socket::INET
# URL: https://metacpan.org/pod/IO::Socket::SSL
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: p5-net-ssleay p5-uri
name=p5-io-socket-ssl
@ -9,18 +9,18 @@ release=1
source=(https://www.cpan.org/modules/by-module/IO/IO-Socket-SSL-$version.tar.gz)
build() {
cd IO-Socket-SSL-$version
yes | perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
cd IO-Socket-SSL-$version
yes | perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
# Remove perlcrap
find $PKG \( \
-name '.packlist' -or \
-name '*.bs' -or \
-name 'autosplit.ix' -or \
-name 'perllocal.pod' \) -delete
# Remove perlcrap
find $PKG \( \
-name '.packlist' -or \
-name '*.bs' -or \
-name 'autosplit.ix' -or \
-name 'perllocal.pod' \) -delete
# Remove empty directories
find $PKG -depth -empty -delete
# Remove empty directories
find $PKG -depth -empty -delete
}