Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 15:07:50 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@hadaly.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        erwin@lansing.dk
Subject:   ports/41679: Update port: security/p5-Crypt-PasswdMD5 (bad reinplace)
Message-ID:  <20020815060750.80DC15662@hadaly.dyndns.org>

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

>Number:         41679
>Category:       ports
>Synopsis:       Update port: security/p5-Crypt-PasswdMD5 (bad reinplace)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 14 23:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD hadaly.dyndns.org 4.6.1-RELEASE-p10 FreeBSD 4.6.1-RELEASE-p10 #15: Tue Aug 6 17:33:36 JST 2002 root@hadaly.dyndns.org:/sack/tmp/obj/pub/src/sys/NS i386


	
>Description:
's|\r||g' doesn't work with sed. sed's s/// is not fully compatible
with perl's one.
	
>How-To-Repeat:
# make
===>  Extracting for p5-Crypt-PasswdMD5-1.2
>Fix:
Use PERL instead of REINPLACE_CMD, or apply the below patch, or better trick?

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/p5-Crypt-PasswdMD5/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	2002/06/19 08:18:09	1.2
+++ Makefile	2002/08/15 05:55:05
@@ -21,6 +21,6 @@
 MAN3=		Crypt::PasswdMD5.3
 
 pre-patch:
-	@${REINPLACE_CMD} -e 's|\r||g' ${WRKSRC}/PasswdMD5.pm
+	@${REINPLACE_CMD} -e 's|.$$||' ${WRKSRC}/PasswdMD5.pm
 
 .include <bsd.port.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for Crypt-PasswdMD5-1.2.tar.gz.
 ===>   p5-Crypt-PasswdMD5-1.2 depends on file:
 /usr/local/bin/sed_inplace - found
 ===>  Patching for p5-Crypt-PasswdMD5-1.2
 ===>  Configuring for p5-Crypt-PasswdMD5-1.2
 Checking if your kit is complete...
 Looks good
 Writing Makefile for Crypt::PasswdMD5
 ===>  Building for p5-Crypt-PasswdMD5-1.2
 mkdir blib
 mkdir blib/lib
 mkdir blib/lib/Crypt
 cp PasswdMD5.pm blib/lib/Crypt/PasswdMD5.pm
 mkdir blib/arch
 mkdir blib/arch/auto
 mkdir blib/arch/auto/Crypt
 mkdir blib/arch/auto/Crypt/PasswdMD5
 mkdir blib/lib/auto/Crypt
 mkdir blib/lib/auto/Crypt/PasswdMD5
 mkdir blib/man3
 Manifying blib/man3/Crypt::PasswdMD5.3
 /usr/bin/pod2man: Invalid man page - no documentation in PasswdMD5.pm
 Couldn't install blib/man3/Crypt::PasswdMD5.3
 	

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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