ports/132603: [MAINTAINER] devel/p5-Unix-Uptime: update to 0.3201
Murilo Opsfelder
mopsfelder at gmail.com
Fri Mar 13 13:00:07 UTC 2009
>Number: 132603
>Category: ports
>Synopsis: [MAINTAINER] devel/p5-Unix-Uptime: update to 0.3201
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 13 13:00:06 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 #56 r189748: Thu Mar 12 18:02:00 BRT
>Description:
- Update to 0.3201
Removed file(s):
- files/patch-lib__Unix__Uptime.pm
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Unix-Uptime/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 19 Jan 2009 16:01:34 -0000 1.2
+++ Makefile 13 Mar 2009 12:48:32 -0000
@@ -6,8 +6,7 @@
#
PORTNAME= Unix-Uptime
-PORTVERSION= 0.1
-PORTREVISION= 1
+PORTVERSION= 0.3201
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -17,6 +16,9 @@
PERL_MODBUILD= yes
-MAN3= Unix::Uptime.3
+MAN3= Unix::Uptime.3 \
+ Unix::Uptime::BSD.3 \
+ Unix::Uptime::FreeBSD.3 \
+ Unix::Uptime::Linux.3
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Unix-Uptime/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo 19 Jan 2009 12:50:11 -0000 1.1
+++ distinfo 13 Mar 2009 12:48:32 -0000
@@ -1,3 +1,3 @@
-MD5 (Unix-Uptime-0.1.tar.gz) = 130fa473052999a6cc21282d4d9f0408
-SHA256 (Unix-Uptime-0.1.tar.gz) = abefa08aff809351b1ceb9b9362aecb7b86931b0188a73591be9efcfd5136ef9
-SIZE (Unix-Uptime-0.1.tar.gz) = 3930
+MD5 (Unix-Uptime-0.3201.tar.gz) = e71e84d9f1fb7e944d15ded0e8dd6c4f
+SHA256 (Unix-Uptime-0.3201.tar.gz) = 4077720a64a1d0fcb5a8132caa3aec902fb6a2c58613dad6d750a6cb85c2ae65
+SIZE (Unix-Uptime-0.3201.tar.gz) = 7918
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Unix-Uptime/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist 19 Jan 2009 12:50:11 -0000 1.1
+++ pkg-plist 13 Mar 2009 12:48:32 -0000
@@ -1,2 +1,6 @@
%%SITE_PERL%%/Unix/Uptime.pm
+%%SITE_PERL%%/Unix/Uptime/BSD.pm
+%%SITE_PERL%%/Unix/Uptime/FreeBSD.pm
+%%SITE_PERL%%/Unix/Uptime/Linux.pm
+ at dirrm %%SITE_PERL%%/Unix/Uptime
@dirrmtry %%SITE_PERL%%/Unix
Index: files/patch-lib__Unix__Uptime.pm
===================================================================
RCS file: files/patch-lib__Unix__Uptime.pm
diff -N files/patch-lib__Unix__Uptime.pm
--- files/patch-lib__Unix__Uptime.pm 19 Jan 2009 16:01:34 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
---- lib/Unix/Uptime.pm.orig 2009-01-19 13:22:27.000000000 -0200
-+++ lib/Unix/Uptime.pm 2009-01-19 13:23:38.000000000 -0200
-@@ -62,7 +62,8 @@
- my $class = shift;
-
- my $boottime = `sysctl kern.boottime`;
-- my $boot_seconds = $boottime =~ /\s+sec\s+=\s+(\d+),/;
-+ $boottime =~ /\s+sec\s+=\s+(\d+),/;
-+ my $boot_seconds = $1;
- my $time = time();
- my $uptime = $time - $boot_seconds;
- return $uptime;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list