1
0
forked from ports/contrib

p5-digest-sha1: new maintainer. fix perms.

This commit is contained in:
John Vogel 2018-02-18 08:09:09 -05:00
parent 42e9a64e21
commit 8b0d296d31
3 changed files with 25 additions and 24 deletions

View File

@ -5,12 +5,12 @@ drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Digest/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Digest/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Digest/SHA1.pm -rw-r--r-- root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/Digest/SHA1.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/Digest/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/Digest/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/Digest/SHA1/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/Digest/SHA1/
-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/Digest/SHA1/SHA1.so -rwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/linux-thread-multi/auto/Digest/SHA1/SHA1.so
drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man3/ drwxr-xr-x root/root usr/share/man/man3/
-r--r--r-- root/root usr/share/man/man3/Digest::SHA1.3pm.gz -rw-r--r-- root/root usr/share/man/man3/Digest::SHA1.3pm.gz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF313lZ31gHmYH+UAmjvezyYV2cHYAM6J/3KcBfUkrlCqK9FAJNbjgFWqiE1QMKDSQvFKT5VHwW0/8C9DKYtVY0QI= RWSagIOpLGJF39m6gmjSC71MK6OcA7o+V9OIDu89WfY8qCXRMVMiRGsAJPbMKmBVwq2TuSInV4963wZWXmd2hli4vrogzElUyQQ=
SHA256 (Pkgfile) = 9f096ebe8d598f45a097efd3a1bc47cddc8d9aac516a49d81a35d4661888bf4e SHA256 (Pkgfile) = dbb76d2ed59543aebf76ac483082db61852668ac3601a40ab2d23e5e9763271d
SHA256 (.footprint) = a788dcbe3e5eaadd8c56fb570af8c0beaaafff0fb483ab3ad03ad3404d981f4d SHA256 (.footprint) = 15e3b6ca896e83354873e94e58dfecb960bfa868b49c10a6f77d7f14aefa3d87
SHA256 (Digest-SHA1-2.13.tar.gz) = 68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc SHA256 (Digest-SHA1-2.13.tar.gz) = 68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc

View File

@ -1,29 +1,30 @@
# Description: Perl Digest::SHA1 # Description: Perl Digest::SHA1
# URL: http://search.cpan.org/~gaas/Digest-SHA1/ # URL: https://search.cpan.org/~gaas/Digest-SHA1/
# Maintainer: Jose V Beneyto, sepen at crux dot nu # Maintainer: John Vogel, jvogel4 at stny dot rr dot com
# Packager: Han Boetes, han at mijncomputer dot nl # Depends on: perl
# Depends on: perl
name=p5-digest-sha1 name=p5-digest-sha1
version=2.13 version=2.13
release=2 release=3
source=(http://www.cpan.org/modules/by-module/Digest/Digest-SHA1-$version.tar.gz) source=(https://www.cpan.org/modules/by-module/Digest/Digest-SHA1-$version.tar.gz)
build() { build() {
cd Digest-SHA1-$version cd Digest-SHA1-$version
perl Makefile.PL perl Makefile.PL
make OPTIMIZE="$CFLAGS" make OPTIMIZE="$CFLAGS"
make install DESTDIR=$PKG make install DESTDIR=$PKG
# Remove perlcrap # Remove perlcrap
find $PKG -type f \( \ find $PKG -type f \( \
-name '.packlist' -or \ -name '.packlist' -or \
-name '*.bs' -or \ -name '*.bs' -or \
-name 'autosplit.ix' -or \ -name 'autosplit.ix' -or \
-name 'perllocal.pod' \) -delete -name 'perllocal.pod' \) -delete
# Remove empty directories # Remove empty directories
find $PKG -depth -empty -exec rm -rf {} \; find $PKG -depth -empty -exec rm -rf {} \;
# Fix perms
find $PKG -type f -a ! -perm -u+w -exec chmod u+w {} \;
} }