p5-data-validate-ip: initial import

This commit is contained in:
Danny Rawlins 2019-08-31 12:38:36 +10:00
parent 312493a614
commit b0918709ce
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,12 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Data/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Data/Validate/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Data/Validate/IP.pm
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/Data::Validate::IP.3pm.gz

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF34OV6jfryV3Atc8332varmbC8p/54L4YbE/Epqd1Q5HBOl6qnX9bC51dSqJrZId95H2UFmU9LzRMQCLyNGBXdQg=
SHA256 (Pkgfile) = 0a4d25db7204e4583ca13fce731e11a24e8a1974db47fcb71dd86c482a4fa370
SHA256 (.footprint) = 5a2b86bbb652e771be7ea061add9392a8303c7741fb00337b76da5c499e237d3
SHA256 (Data-Validate-IP-0.27.tar.gz) = e1aa92235dcb9c6fd9b6c8cda184d1af73537cc77f4f83a0f88207a8bfbfb7d6

View File

@ -0,0 +1,26 @@
# Description: IPv4 and IPv6 validation methods
# URL: https://metacpan.org/release/Data-Validate-IP
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: p5-netaddr-ip
name=p5-data-validate-ip
version=0.27
release=1
source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Data-Validate-IP-$version.tar.gz)
build() {
cd Data-Validate-IP-$version
perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR=$PKG install
# 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 {} \;
}