Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
Sys::Filesystem is intended to be a portable interface to list and query
filesystem names and their properties.

View File

@@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.12 2013/05/31 12:42:03 wiz Exp $
#
DISTNAME= Sys-Filesystem-1.30
PKGNAME= p5-${DISTNAME}
PKGREVISION= 5
CATEGORIES= sysutils devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Sys/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Sys-Filesystem/
COMMENT= Retrieve list of filesystems and their properties
LICENSE= apache-2.0
DEPENDS+= {perl>=5.10.1,p5-Module-Pluggable>=3.9}:../../devel/p5-Module-Pluggable
DEPENDS+= p5-Params-Util>=1.00:../../devel/p5-Params-Util
PKG_INSTALLATION_TYPES= overwrite pkgviews
PERL5_PACKLIST= auto/Sys/Filesystem/.packlist
PERL5_MODULE_TYPE= Module::Build
#pre-configure:
# ${FIND} ${WRKSRC} -name '*.orig' -print -type f | ${XARGS} ${RM} -f
CONFIGURE_ENV+= PATH_FSTAB=${WRKDIR}/fstab.phony
pre-configure:
${TOUCH} ${WRKDIR}/fstab.phony
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.5 2012/06/30 05:10:51 dholland Exp $
SHA1 (Sys-Filesystem-1.30.tar.gz) = f7ef406c2093d0255fb073b72648276a295f8de8
RMD160 (Sys-Filesystem-1.30.tar.gz) = d909253efd74ee25e8d870bd73105e1d1f486b56
Size (Sys-Filesystem-1.30.tar.gz) = 34319 bytes
SHA1 (patch-lib_Sys_Filesystem_Netbsd_pm) = d193631d7034ce84e4b226a102084e2991b8c580

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-lib_Sys_Filesystem_Netbsd_pm,v 1.1 2012/06/30 05:10:51 dholland Exp $
Honor PATH_FSTAB in the environment if present. Allows this package to
configure in a chroot that doesn't have an fstab file. Cloned from
the freebsd file.
--- lib/Sys/Filesystem/Netbsd.pm~ 2010-07-15 19:33:42.000000000 +0000
+++ lib/Sys/Filesystem/Netbsd.pm
@@ -57,7 +57,7 @@ sub new
my $self = bless( {}, $class );
# Defaults
- $args{fstab} ||= '/etc/fstab';
+ $args{fstab} ||= $ENV{PATH_FSTAB} || '/etc/fstab';
my @mounts = qx( /sbin/mount );
$self->readMounts( $mount_rx, [ 0, 1, 2 ], [qw(fs_spec fs_file fs_vfstype fs_mntops)], \%special_fs, @mounts );