ports/120660: [UPDATE] comms/p5-Device-SerialPort
Felippe de Meirelles Motta
lippemail at gmail.com
Thu Feb 14 19:50:02 UTC 2008
>Number: 120660
>Category: ports
>Synopsis: [UPDATE] comms/p5-Device-SerialPort
>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: Thu Feb 14 19:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Felippe de Meirelles Motta
>Release: FreeBSD 7.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD 7.0-PRERELEASE #0: Thu Jan 10 01:55:37 BRST 2008
lippe at shire.freebsd.org:/usr/obj/usr/src/sys/GENERIC
>Description:
- Updated to 1.04;
- Set PORTEPOCH (1.003001 -> 1.04);
- Use CPAN macro;
- Add missing B-deps;
- Add new OPTION to make tests (WITH_TESTS);
- Patch renamed to reflect as recommended.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/comms/p5-Device-SerialPort/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 16 Oct 2007 18:54:47 -0000 1.8
+++ Makefile 14 Feb 2008 16:57:48 -0000
@@ -6,18 +6,25 @@
#
PORTNAME= Device-SerialPort
-PORTVERSION= 1.003001
+PORTVERSION= 1.04
+PORTEPOCH= 1
CATEGORIES= comms perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Device
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= skv at FreeBSD.org
COMMENT= A perl5 module for simple serial port control
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN1= modemtest.1
MAN3= Device::SerialPort.3
+.if defined(WITH_TESTS)
+CONFIGURE_ARGS+= TESTPORT=auto
+.endif
+
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/comms/p5-Device-SerialPort/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo 16 Oct 2007 18:54:47 -0000 1.6
+++ distinfo 14 Feb 2008 16:57:48 -0000
@@ -1,3 +1,3 @@
-MD5 (Device-SerialPort-1.003001.tar.gz) = ba6c23923c8a5c69fcc97cf35aeb8504
-SHA256 (Device-SerialPort-1.003001.tar.gz) = 803d6f128b0778c0873e84cbfa243c1d37ea0e9c7ab59077d7ead24b9e47167e
-SIZE (Device-SerialPort-1.003001.tar.gz) = 127200
+MD5 (Device-SerialPort-1.04.tar.gz) = 82c698151f934eb28c65d1838cee7d9e
+SHA256 (Device-SerialPort-1.04.tar.gz) = d392567cb39b4ea606c0e0acafd8ed72320311b995336ece5fcefcf9b150e9d7
+SIZE (Device-SerialPort-1.04.tar.gz) = 98706
Index: files/patch-Makefile.PL
===================================================================
RCS file: files/patch-Makefile.PL
diff -N files/patch-Makefile.PL
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-Makefile.PL 14 Feb 2008 16:57:48 -0000
@@ -0,0 +1,14 @@
+--- Makefile.PL.orig Fri Jul 20 19:27:38 2007
++++ Makefile.PL Wed Sep 12 15:53:10 2007
+@@ -25,8 +25,9 @@
+ # testing.
+ if (scalar(@SERIALS)>0 && $SERIALS[0] eq "auto") {
+ print "Trying to find a serial port for testing...\n";
+- @SERIALS=( "/dev/ttyS1", "/dev/cua01", "/dev/cua/b", "/dev/tty1",
+- "/dev/tty.modem" );
++ @SERIALS=( "/dev/ttyU0", "/dev/ucom0", "/dev/ttyd0", "/dev/cuad0",
++ "/dev/ttyu0", "/dev/cuau0", "/dev/cuaa0", "/dev/ttya",
++ "/dev/ttyb" );
+ print "(use 'perl Makefile.PL TESTPORT=<DEVICE>' to override this search)\n";
+ }
+
Index: files/patch-aa
===================================================================
RCS file: files/patch-aa
diff -N files/patch-aa
--- files/patch-aa 16 Oct 2007 18:54:48 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
---- Makefile.PL.orig Fri Jul 20 19:27:38 2007
-+++ Makefile.PL Wed Sep 12 15:53:10 2007
-@@ -25,8 +25,9 @@
- # testing.
- if (scalar(@SERIALS)>0 && $SERIALS[0] eq "auto") {
- print "Trying to find a serial port for testing...\n";
-- @SERIALS=( "/dev/ttyS1", "/dev/cua01", "/dev/cua/b", "/dev/tty1",
-- "/dev/tty.modem" );
-+ @SERIALS=( "/dev/ttyU0", "/dev/ucom0", "/dev/ttyd0", "/dev/cuad0",
-+ "/dev/ttyu0", "/dev/cuau0", "/dev/cuaa0", "/dev/ttya",
-+ "/dev/ttyb" );
- print "(use 'perl Makefile.PL TESTPORT=<DEVICE>' to override this search)\n";
- }
-
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list