ports/134002: [Update]devel/p5-Devel-CheckOS:update to 1.61

Wen heping wenheping at gmail.com
Sat Apr 25 14:40:05 UTC 2009


>Number:         134002
>Category:       ports
>Synopsis:       [Update]devel/p5-Devel-CheckOS:update to 1.61
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 25 14:40:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Wen heping
>Release:        FreeBSD 8.0-CURRENT
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Mar 22 22:12:06 CST 2009     root at fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
update to 1.61 from 1.50
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN p5-Devel-CheckOS/Makefile p5-Devel-CheckOS.new/Makefile
--- p5-Devel-CheckOS/Makefile	2009-03-16 01:16:07.000000000 +0800
+++ p5-Devel-CheckOS.new/Makefile	2009-04-25 22:26:21.000000000 +0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Devel-CheckOS
-PORTVERSION=	1.50
+PORTVERSION=	1.61
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,7 +14,8 @@
 MAINTAINER=	cm at therek.net
 COMMENT=	Perl5 module to check currently running OS
 
-BUILD_DEPENDS=	${SITE_PERL}/File/Find/Rule.pm:${PORTSDIR}/devel/p5-File-Find-Rule
+BUILD_DEPENDS=	${SITE_PERL}/File/Find/Rule.pm:${PORTSDIR}/devel/p5-File-Find-Rule \
+		p5-Data-Compare>=1.21:${PORTSDIR}/devel/p5-Data-Compare
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	YES
@@ -47,6 +48,7 @@
 		Devel::AssertOS::MacOSclassic.3 \
 		Devel::AssertOS::MachTen.3 \
 		Devel::AssertOS::MicrosoftWindows.3 \
+		Devel::AssertOS::MidnightBSD.3 \
 		Devel::AssertOS::MirOSBSD.3 \
 		Devel::AssertOS::NeXT.3 \
 		Devel::AssertOS::NetBSD.3 \
diff -urN p5-Devel-CheckOS/distinfo p5-Devel-CheckOS.new/distinfo
--- p5-Devel-CheckOS/distinfo	2009-03-16 01:16:07.000000000 +0800
+++ p5-Devel-CheckOS.new/distinfo	2009-04-25 21:28:35.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (Devel-CheckOS-1.50.tar.gz) = 78f4fb75af0fef9ae7b974285e03f8a3
-SHA256 (Devel-CheckOS-1.50.tar.gz) = 0c4a461f21e895ec4373325a10ea5df1df734ad7ba4c261f5a3edb47e10dac77
-SIZE (Devel-CheckOS-1.50.tar.gz) = 25326
+MD5 (Devel-CheckOS-1.61.tar.gz) = 6ad9266254b370bfe4cccb38675592ef
+SHA256 (Devel-CheckOS-1.61.tar.gz) = bbd4053dce05ddf17dd555ecbf00b2ae9397be98c5fda676d397766b19ea507f
+SIZE (Devel-CheckOS-1.61.tar.gz) = 29274
diff -urN p5-Devel-CheckOS/files/patch-Makefile.PL p5-Devel-CheckOS.new/files/patch-Makefile.PL
--- p5-Devel-CheckOS/files/patch-Makefile.PL	2009-03-16 01:16:07.000000000 +0800
+++ p5-Devel-CheckOS.new/files/patch-Makefile.PL	1970-01-01 08:00:00.000000000 +0800
@@ -1,29 +0,0 @@
---- Makefile.PL.orig	2009-03-06 18:13:08.180626799 +0000
-+++ Makefile.PL	2009-03-06 18:31:21.460741171 +0000
-@@ -17,10 +17,9 @@
- my @OSes = ();
- my @notOSes = ();
- 
--print "I will now ask you some questions to make sure I've detected your\n";
--print "system correctly.  Most platforms will be detected several times.\n";
--print "This is deliberate.  To see an explanation of some of the more\n";
--print "obscure options, hit the question mark key.\n\n";
-+print "To make this process automatic answer 'Yes' will be assumed to\n";
-+print "all the following questions.  If this is not correct break the\n";
-+print "process and contact port maintainer.\n\n";
- 
- findOSes(File::Spec->catdir(qw(lib Devel AssertOS)));
- 
-@@ -44,10 +43,8 @@
-         }
-         next if($@);
-         my $hasexpn = $classname->can('expn') ? '/?' : '';
--   ASK: my $answer = prompt(
--            "Are you using $prompt_modname? [Y/n$hasexpn]",
--            "Y"
--        );
-+   ASK: my $answer = 'yes';
-+   	print "Are you using $prompt_modname? [Y/n$hasexpn] Y\n";
-         if($answer =~ /^y/i) {
-             push @OSes, $prompt_modname;
-         } elsif($answer =~ /^\?/) {
diff -urN p5-Devel-CheckOS/pkg-plist p5-Devel-CheckOS.new/pkg-plist
--- p5-Devel-CheckOS/pkg-plist	2009-03-16 01:16:07.000000000 +0800
+++ p5-Devel-CheckOS.new/pkg-plist	2009-04-25 22:26:46.000000000 +0800
@@ -26,6 +26,7 @@
 %%SITE_PERL%%/Devel/AssertOS/MacOSclassic.pm
 %%SITE_PERL%%/Devel/AssertOS/MachTen.pm
 %%SITE_PERL%%/Devel/AssertOS/MicrosoftWindows.pm
+%%SITE_PERL%%/Devel/AssertOS/MidnightBSD.pm
 %%SITE_PERL%%/Devel/AssertOS/MirOSBSD.pm
 %%SITE_PERL%%/Devel/AssertOS/NeXT.pm
 %%SITE_PERL%%/Devel/AssertOS/NetBSD.pm


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list