Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Mar 2007 11:06:41 -0700 (MST)
From:      hideo <hideo@lastamericanempire.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109726: [maintainer update] Fix XS bootstrap bug in security/p5-Authen-Libwrap
Message-ID:  <20070301180641.6110745295@darwin.lastamericanempire.com>
Resent-Message-ID: <200703011810.l21IA4AZ054318@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109726
>Category:       ports
>Synopsis:       [maintainer update] Fix XS bootstrap bug in security/p5-Authen-Libwrap
>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:   Thu Mar 01 18:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     hideo
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD darwin.lastamericanempire.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Jan 27 11:00:17 MST 2007 hideo@darwin.lastamericanempire.com:/usr/obj/usr/src/sys/darwin i386


	
>Description:
security/p5-Authen-Libwrap has a bug that causes a bootstrap mismatch when loading the XS extension.
>How-To-Repeat:
	
>Fix:

	

--- auth-libwrap-0.20_1 begins here ---
diff -ruN /usr/ports/security/p5-Authen-Libwrap/Makefile p5-Authen-Libwrap/Makefile
--- /usr/ports/security/p5-Authen-Libwrap/Makefile	Sat Apr 22 05:29:24 2006
+++ p5-Authen-Libwrap/Makefile	Thu Mar  1 10:57:15 2007
@@ -7,6 +7,7 @@
 
 PORTNAME=	Authen-Libwrap
 PORTVERSION=	0.20
+PORTREVISION=	1
 CATEGORIES=	security perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Authen
@@ -21,8 +22,9 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${PERL_LEVEL} < 500600
 post-patch:
+	@${PERL} -pi -e 's/\s(0\.20);/ q($$1);/' ${WRKSRC}/lib/Authen/Libwrap.pm
+.if ${PERL_LEVEL} < 500600
 	@${PERL} -pi -e 'undef $$_ if /^\s*(?:no|use) warnings/o' ${WRKSRC}/Build.PL ${WRKSRC}/lib/Authen/Libwrap.pm
 .endif
 
--- auth-libwrap-0.20_1 ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070301180641.6110745295>