ports/130739: [NEW PORT]: devel/p5-Unix-Uptime: Determine the current uptime in seconds
Murilo Opsfelder
mopsfelder at gmail.com
Mon Jan 19 12:30:03 UTC 2009
>Number: 130739
>Category: ports
>Synopsis: [NEW PORT]: devel/p5-Unix-Uptime: Determine the current uptime in seconds
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 19 12:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Murilo Opsfelder
>Release: FreeBSD 8.0 i386
>Organization:
BluePex Security Solutions
>Environment:
FreeBSD opsfelderm.bplab.local 8.0-CURRENT FreeBSD 8.0-CURRENT #37 r187296: Thu Jan 15 10:08:42 BRST 2009 root at opsfelderm.bplab.local:/usr/obj/usr/src/sys/PANDA i386
>Description:
This is a rather simple module that abstracts the task of figuring out
the current system uptime, in seconds. It was born out of a desire to do
this on non-Linux systems, without SNMP. If you want to use SNMP,
there are pleanty of modules on CPAN already.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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-Unix-Uptime
# ./p5-Unix-Uptime/pkg-descr
# ./p5-Unix-Uptime/Makefile
# ./p5-Unix-Uptime/pkg-plist
# ./p5-Unix-Uptime/distinfo
#
echo c - ./p5-Unix-Uptime
mkdir -p ./p5-Unix-Uptime > /dev/null 2>&1
echo x - ./p5-Unix-Uptime/pkg-descr
sed 's/^X//' >./p5-Unix-Uptime/pkg-descr << 'c4d3257b9619042987d99623010dc6e8'
XThis is a rather simple module that abstracts the task of figuring out
Xthe current system uptime, in seconds. It was born out of a desire to do
Xthis on non-Linux systems, without SNMP. If you want to use SNMP,
Xthere are pleanty of modules on CPAN already.
X
XWWW: http://search.cpan.org/dist/Unix-Uptime/
c4d3257b9619042987d99623010dc6e8
echo x - ./p5-Unix-Uptime/Makefile
sed 's/^X//' >./p5-Unix-Uptime/Makefile << 'd73e5e6c59927a16a143ba97a49c96ce'
X# New ports collection makefile for: p5-Unix-Uptime
X# Date created: 2009-01-19
X# Whom: Murilo Opsfelder <mopsfelder at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Unix-Uptime
XPORTVERSION= 0.1
XCATEGORIES= devel perl5
XMASTER_SITES= CPAN
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= mopsfelder at gmail.com
XCOMMENT= Determine the current uptime in seconds
X
XPERL_MODBUILD= yes
X
XMAN3= Unix::Uptime.3
X
X.include <bsd.port.mk>
d73e5e6c59927a16a143ba97a49c96ce
echo x - ./p5-Unix-Uptime/pkg-plist
sed 's/^X//' >./p5-Unix-Uptime/pkg-plist << '403d1d7cf39f73e3111c966b50d4c553'
X%%SITE_PERL%%/Unix/Uptime.pm
X at dirrmtry %%SITE_PERL%%/Unix
403d1d7cf39f73e3111c966b50d4c553
echo x - ./p5-Unix-Uptime/distinfo
sed 's/^X//' >./p5-Unix-Uptime/distinfo << 'bef786afe9ea65a031c70b554ae3f277'
XMD5 (Unix-Uptime-0.1.tar.gz) = 130fa473052999a6cc21282d4d9f0408
XSHA256 (Unix-Uptime-0.1.tar.gz) = abefa08aff809351b1ceb9b9362aecb7b86931b0188a73591be9efcfd5136ef9
XSIZE (Unix-Uptime-0.1.tar.gz) = 3930
bef786afe9ea65a031c70b554ae3f277
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list