Date: Mon, 26 Feb 2001 01:10:18 +0100 (CET) From: tobez@tobez.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/25365: New port: sysutils/p5-Filesys-DiskSpace (Perl equivalent of statfs(2)) Message-ID: <20010226001018.E258A54F3@heechee.tobez.org>
next in thread | raw e-mail | index | archive | help
>Number: 25365 >Category: ports >Synopsis: New port: sysutils/p5-Filesys-DiskSpace (Perl equivalent of statfs(2)) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 25 16:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Anton Berezin >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: >Description: This routine displays information on a file system such as its type, the amount of disk space occupied, the total disk space and the number of inodes. It tries C<syscall(SYS_statfs)> and C<syscall(SYS_statvfs)> in several ways. If all fails, it C<croak>s. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Filesys-DiskSpace # p5-Filesys-DiskSpace/pkg-plist # p5-Filesys-DiskSpace/pkg-descr # p5-Filesys-DiskSpace/pkg-comment # p5-Filesys-DiskSpace/Makefile # p5-Filesys-DiskSpace/distinfo # echo c - p5-Filesys-DiskSpace mkdir -p p5-Filesys-DiskSpace > /dev/null 2>&1 echo x - p5-Filesys-DiskSpace/pkg-plist sed 's/^X//' >p5-Filesys-DiskSpace/pkg-plist << 'END-of-p5-Filesys-DiskSpace/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Filesys/DiskSpace/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/Filesys/DiskSpace.pm X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Filesys/DiskSpace X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Filesys X@dirrm lib/perl5/site_perl/%%PERL_VER%%/Filesys END-of-p5-Filesys-DiskSpace/pkg-plist echo x - p5-Filesys-DiskSpace/pkg-descr sed 's/^X//' >p5-Filesys-DiskSpace/pkg-descr << 'END-of-p5-Filesys-DiskSpace/pkg-descr' XThis routine displays information on a file system such as its type, Xthe amount of disk space occupied, the total disk space and the number Xof inodes. X XIt tries C<syscall(SYS_statfs)> and C<syscall(SYS_statvfs)> in several Xways. If all fails, it C<croak>s. X X-Anton X<tobez@tobez.org> END-of-p5-Filesys-DiskSpace/pkg-descr echo x - p5-Filesys-DiskSpace/pkg-comment sed 's/^X//' >p5-Filesys-DiskSpace/pkg-comment << 'END-of-p5-Filesys-DiskSpace/pkg-comment' XPerl equivalent of statfs(2) END-of-p5-Filesys-DiskSpace/pkg-comment echo x - p5-Filesys-DiskSpace/Makefile sed 's/^X//' >p5-Filesys-DiskSpace/Makefile << 'END-of-p5-Filesys-DiskSpace/Makefile' X# New ports collection makefile for: sysutils/p5-Filesys-DiskSpace X# Date created: 26 February 2001 X# Whom: Anton Berezin <tobez@tobez.org> X# X# $FreeBSD$ X# X XPORTNAME= Filesys-DiskSpace XPORTVERSION= 0.05 XCATEGORIES= sysutils perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Filesys XPKGNAMEPREFIX= p5- X XMAINTAINER= tobez@tobez.org X XUSE_PERL5= yes XPERL_CONFIGURE= yes X XMAN3= Filesys::DiskSpace.3 XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X X.include <bsd.port.mk> END-of-p5-Filesys-DiskSpace/Makefile echo x - p5-Filesys-DiskSpace/distinfo sed 's/^X//' >p5-Filesys-DiskSpace/distinfo << 'END-of-p5-Filesys-DiskSpace/distinfo' XMD5 (Filesys-DiskSpace-0.05.tar.gz) = b95651483e0234db33561a53708e007d END-of-p5-Filesys-DiskSpace/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010226001018.E258A54F3>