From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 13 13:00:06 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1349106566C for ; Fri, 13 Mar 2009 13:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9987B8FC19 for ; Fri, 13 Mar 2009 13:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2DD06LU085316 for ; Fri, 13 Mar 2009 13:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2DD061E085315; Fri, 13 Mar 2009 13:00:06 GMT (envelope-from gnats) Resent-Date: Fri, 13 Mar 2009 13:00:06 GMT Resent-Message-Id: <200903131300.n2DD061E085315@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Murilo Opsfelder Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EACB1065672 for ; Fri, 13 Mar 2009 12:58:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 84F088FC21 for ; Fri, 13 Mar 2009 12:58:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2DCwPRE040058 for ; Fri, 13 Mar 2009 12:58:25 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2DCwPil040057; Fri, 13 Mar 2009 12:58:25 GMT (envelope-from nobody) Message-Id: <200903131258.n2DCwPil040057@www.freebsd.org> Date: Fri, 13 Mar 2009 12:58:25 GMT From: Murilo Opsfelder To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/132603: [MAINTAINER] devel/p5-Unix-Uptime: update to 0.3201 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 13:00:07 -0000 >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 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 +@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: