ports/109726: [maintainer update] Fix XS bootstrap bug in security/p5-Authen-Libwrap

hideo hideo at lastamericanempire.com
Thu Mar 1 18:10:04 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list