forked from ports/contrib
p5-digest-sha1: new maintainer. fix perms.
This commit is contained in:
parent
42e9a64e21
commit
8b0d296d31
@ -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/linux-thread-multi/
|
||||
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/Digest/
|
||||
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/man/
|
||||
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
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF313lZ31gHmYH+UAmjvezyYV2cHYAM6J/3KcBfUkrlCqK9FAJNbjgFWqiE1QMKDSQvFKT5VHwW0/8C9DKYtVY0QI=
|
||||
SHA256 (Pkgfile) = 9f096ebe8d598f45a097efd3a1bc47cddc8d9aac516a49d81a35d4661888bf4e
|
||||
SHA256 (.footprint) = a788dcbe3e5eaadd8c56fb570af8c0beaaafff0fb483ab3ad03ad3404d981f4d
|
||||
RWSagIOpLGJF39m6gmjSC71MK6OcA7o+V9OIDu89WfY8qCXRMVMiRGsAJPbMKmBVwq2TuSInV4963wZWXmd2hli4vrogzElUyQQ=
|
||||
SHA256 (Pkgfile) = dbb76d2ed59543aebf76ac483082db61852668ac3601a40ab2d23e5e9763271d
|
||||
SHA256 (.footprint) = 15e3b6ca896e83354873e94e58dfecb960bfa868b49c10a6f77d7f14aefa3d87
|
||||
SHA256 (Digest-SHA1-2.13.tar.gz) = 68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc
|
||||
|
@ -1,29 +1,30 @@
|
||||
# Description: Perl Digest::SHA1
|
||||
# URL: http://search.cpan.org/~gaas/Digest-SHA1/
|
||||
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
||||
# Packager: Han Boetes, han at mijncomputer dot nl
|
||||
# Depends on: perl
|
||||
# URL: https://search.cpan.org/~gaas/Digest-SHA1/
|
||||
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
||||
# Depends on: perl
|
||||
|
||||
name=p5-digest-sha1
|
||||
version=2.13
|
||||
release=2
|
||||
source=(http://www.cpan.org/modules/by-module/Digest/Digest-SHA1-$version.tar.gz)
|
||||
release=3
|
||||
source=(https://www.cpan.org/modules/by-module/Digest/Digest-SHA1-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd Digest-SHA1-$version
|
||||
cd Digest-SHA1-$version
|
||||
|
||||
perl Makefile.PL
|
||||
make OPTIMIZE="$CFLAGS"
|
||||
perl Makefile.PL
|
||||
make OPTIMIZE="$CFLAGS"
|
||||
|
||||
make install DESTDIR=$PKG
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# Remove perlcrap
|
||||
find $PKG -type f \( \
|
||||
-name '.packlist' -or \
|
||||
-name '*.bs' -or \
|
||||
-name 'autosplit.ix' -or \
|
||||
-name 'perllocal.pod' \) -delete
|
||||
# Remove perlcrap
|
||||
find $PKG -type f \( \
|
||||
-name '.packlist' -or \
|
||||
-name '*.bs' -or \
|
||||
-name 'autosplit.ix' -or \
|
||||
-name 'perllocal.pod' \) -delete
|
||||
|
||||
# Remove empty directories
|
||||
find $PKG -depth -empty -exec rm -rf {} \;
|
||||
# Remove empty directories
|
||||
find $PKG -depth -empty -exec rm -rf {} \;
|
||||
# Fix perms
|
||||
find $PKG -type f -a ! -perm -u+w -exec chmod u+w {} \;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user