Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 20:38:17 +0200 (CEST)
From:      tobez@tobez.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26847: New port: sysutils/p5-Stat-lsMode (Stat::lsMode - format file modes like the ls -l command does)
Message-ID:  <20010425183817.38C1A546B@heechee.tobez.org>

next in thread | raw e-mail | index | archive | help

>Number:         26847
>Category:       ports
>Synopsis:       New port: sysutils/p5-Stat-lsMode (Stat::lsMode - format file modes like the ls -l command does)
>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:   Wed Apr 25 11:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
>Description:

Stat::lsMode generates mode and permission strings that look like the
ones generated by the Unix ls -l command.  For example, a regular file
that is readable by everyone and writable only by its owner has the mode
string -rw-r--r--.  Stat::lsMode will either examine the file and
produce the right mode string for you, or you can pass it the mode that
you get back from Perl's stat call.

>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-Stat-lsMode
#	p5-Stat-lsMode/pkg-plist
#	p5-Stat-lsMode/pkg-descr
#	p5-Stat-lsMode/pkg-comment
#	p5-Stat-lsMode/distinfo
#	p5-Stat-lsMode/Makefile
#
echo c - p5-Stat-lsMode
mkdir -p p5-Stat-lsMode > /dev/null 2>&1
echo x - p5-Stat-lsMode/pkg-plist
sed 's/^X//' >p5-Stat-lsMode/pkg-plist << 'END-of-p5-Stat-lsMode/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Stat/lsMode/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/Stat/lsMode.pm
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Stat/lsMode
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Stat 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Stat 2>/dev/null || true
END-of-p5-Stat-lsMode/pkg-plist
echo x - p5-Stat-lsMode/pkg-descr
sed 's/^X//' >p5-Stat-lsMode/pkg-descr << 'END-of-p5-Stat-lsMode/pkg-descr'
XStat::lsMode generates mode and permission strings that look like the
Xones generated by the Unix ls -l command.  For example, a regular file
Xthat is readable by everyone and writable only by its owner has the mode
Xstring -rw-r--r--.  Stat::lsMode will either examine the file and
Xproduce the right mode string for you, or you can pass it the mode that
Xyou get back from Perl's stat call.
X
X-Anton
X<tobez@tobez.org>
END-of-p5-Stat-lsMode/pkg-descr
echo x - p5-Stat-lsMode/pkg-comment
sed 's/^X//' >p5-Stat-lsMode/pkg-comment << 'END-of-p5-Stat-lsMode/pkg-comment'
XStat::lsMode - format file modes like the ls -l command does
END-of-p5-Stat-lsMode/pkg-comment
echo x - p5-Stat-lsMode/distinfo
sed 's/^X//' >p5-Stat-lsMode/distinfo << 'END-of-p5-Stat-lsMode/distinfo'
XMD5 (Stat-lsMode-0.50.tar.gz) = bf7e558fd0d668dffb2dcd62d21ef635
END-of-p5-Stat-lsMode/distinfo
echo x - p5-Stat-lsMode/Makefile
sed 's/^X//' >p5-Stat-lsMode/Makefile << 'END-of-p5-Stat-lsMode/Makefile'
X# New ports collection makefile for:	sysutils/p5-Stat-lsMode
X# Date created:				25 April 2001
X# Whom:					Anton Berezin <tobez@tobez.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Stat-lsMode
XPORTVERSION=	0.50
XCATEGORIES=	sysutils perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Stat
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	tobez@tobez.org
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Stat::lsMode.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-Stat-lsMode/Makefile
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?20010425183817.38C1A546B>