Sat Jun 30 05:10:52 2012 UTC ()
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 corresponding freebsd file.


(dholland)
diff -r1.8 -r1.9 pkgsrc/sysutils/p5-Sys-Filesystem/Makefile
diff -r1.4 -r1.5 pkgsrc/sysutils/p5-Sys-Filesystem/distinfo
diff -r0 -r1.1 pkgsrc/sysutils/p5-Sys-Filesystem/patches/patch-lib_Sys_Filesystem_Netbsd_pm

cvs diff -r1.8 -r1.9 pkgsrc/sysutils/p5-Sys-Filesystem/Makefile (expand / switch to context diff)
--- pkgsrc/sysutils/p5-Sys-Filesystem/Makefile 2012/06/16 09:45:01 1.8
+++ pkgsrc/sysutils/p5-Sys-Filesystem/Makefile 2012/06/30 05:10:51 1.9
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2012/06/16 09:45:01 dholland Exp $
+# $NetBSD: Makefile,v 1.9 2012/06/30 05:10:51 dholland Exp $
 #
 
 DISTNAME=	Sys-Filesystem-1.30
 PKGNAME=	p5-${DISTNAME}
-PKGREVISION=	2
+PKGREVISION=	3
 CATEGORIES=	sysutils devel perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=Sys/}
 

cvs diff -r1.4 -r1.5 pkgsrc/sysutils/p5-Sys-Filesystem/distinfo (expand / switch to context diff)
--- pkgsrc/sysutils/p5-Sys-Filesystem/distinfo 2010/07/17 08:31:58 1.4
+++ pkgsrc/sysutils/p5-Sys-Filesystem/distinfo 2012/06/30 05:10:51 1.5
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2010/07/17 08:31:58 sno Exp $
+$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

File Added: pkgsrc/sysutils/p5-Sys-Filesystem/patches/Attic/patch-lib_Sys_Filesystem_Netbsd_pm
$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 );