NetBSD Problem Report #27320

From www@www.netbsd.org  Thu Oct 21 23:54:17 2004
Return-Path: <www@www.netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 6BE60251ED6; Thu, 21 Oct 2004 23:54:17 +0000 (UTC)
Message-Id: <20041021235417.6BE60251ED6@narn.netbsd.org>
Date: Thu, 21 Oct 2004 23:54:17 +0000 (UTC)
From: lems@gmx.net
Reply-To: lems@gmx.net
To: gnats-bugs@gnats.NetBSD.org
Subject: Update of audio/rip (trivial: change the shebang using REPLACE_PERL)
X-Send-Pr-Version: www-1.0

>Number:         27320
>Category:       pkg
>Synopsis:       Update of audio/rip (trivial: change the shebang using REPLACE_PERL)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 22 08:47:03 +0000 2004
>Closed-Date:    Fri Oct 22 15:07:32 +0000 2004
>Last-Modified:  Fri Oct 22 15:08:00 +0000 2004
>Originator:     Leonard Schmidt
>Release:        NetBSD 2.0_RC4
>Organization:
>Environment:
NetBSD kafka 2.0_RC4 NetBSD 2.0_RC4 (THEWIRED) #0: Mon Oct 11 12:13:31 GMT 2004  lems@thewired:/usr/obj/sys/arch/i386/compile/THEWIRED i386
>Description:
Use REPLACE_PERL rather than my home-brewed "Perl hack" for changing the shebang.
>How-To-Repeat:

>Fix:
diff -ur /usr/pkgsrc/audio/rip/Makefile rip/Makefile
--- /usr/pkgsrc/audio/rip/Makefile	2004-10-22 01:32:03.000000000 +0000
+++ rip/Makefile	2004-10-22 01:29:33.000000000 +0000
@@ -2,6 +2,7 @@
 #

 DISTNAME=	rip-1.07
+PKGREVISION=	1
 CATEGORIES=	audio perl5
 MASTER_SITES=	http://rip.sourceforge.net/download/

@@ -15,13 +16,11 @@
 NO_BUILDLINK=	yes
 USE_PERL5=	yes
 NO_BUILD=	# defined
+REPLACE_PERL=	${WRKSRC}/rip

 DOCFILES=	BUGS CHANGELOG COPYING FAQ INSTALLING README
 DOCDIR=		${PREFIX}/share/doc/rip

-post-patch:
-	${PERL5} -pi -ne "s|#!/usr/bin/perl|#!${PERL5}|" ${WRKSRC}/rip
-
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/rip ${PREFIX}/bin/rip
 	${INSTALL_DATA_DIR} ${DOCDIR}
>Release-Note:
>Audit-Trail:

From: Juan RP <juan@xtraeme.nopcode.org>
To: lems@gmx.net
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/27320: Update of audio/rip (trivial: change the shebang
 using REPLACE_PERL)
Date: Fri, 22 Oct 2004 11:12:40 +0200

 --Signature=_Fri__22_Oct_2004_11_12_40_+0200_YO3HNQlKjQHJ0FNZ
 Content-Type: text/plain; charset=US-ASCII
 Content-Disposition: inline
 Content-Transfer-Encoding: 7bit

 On Thu, 21 Oct 2004 23:54:17 +0000 (UTC)
 lems@gmx.net wrote:

 > 
 > >Number:         27320
 > >Category:       pkg
 > >Synopsis:       Update of audio/rip (trivial: change the shebang using
 > >REPLACE_PERL)
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    pkg-manager
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          change-request
 > >Submitter-Id:   net
 > >Arrival-Date:   Fri Oct 22 08:47:03 UTC 2004
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Leonard Schmidt
 > >Release:        NetBSD 2.0_RC4
 > >Organization:
 > >Environment:
 > NetBSD kafka 2.0_RC4 NetBSD 2.0_RC4 (THEWIRED) #0: Mon Oct 11 12:13:31 GMT
 > 2004  lems@thewired:/usr/obj/sys/arch/i386/compile/THEWIRED i386
 > >Description:
 > Use REPLACE_PERL rather than my home-brewed "Perl hack" for changing the
 > shebang.
 > >How-To-Repeat:
 > 
 > >Fix:
 > diff -ur /usr/pkgsrc/audio/rip/Makefile rip/Makefile
 > --- /usr/pkgsrc/audio/rip/Makefile	2004-10-22 01:32:03.000000000 +0000
 > +++ rip/Makefile	2004-10-22 01:29:33.000000000 +0000
 > @@ -2,6 +2,7 @@
 >  #
 >  
 >  DISTNAME=	rip-1.07
 > +PKGREVISION=	1
 >  CATEGORIES=	audio perl5
 >  MASTER_SITES=	http://rip.sourceforge.net/download/
 >  
 > @@ -15,13 +16,11 @@
 >  NO_BUILDLINK=	yes
 >  USE_PERL5=	yes
 >  NO_BUILD=	# defined
 > +REPLACE_PERL=	${WRKSRC}/rip
 >  
 >  DOCFILES=	BUGS CHANGELOG COPYING FAQ INSTALLING README
 >  DOCDIR=		${PREFIX}/share/doc/rip
 >  
 > -post-patch:
 > -	${PERL5} -pi -ne "s|#!/usr/bin/perl|#!${PERL5}|" ${WRKSRC}/rip
 > -
 >  do-install:
 >  	${INSTALL_SCRIPT} ${WRKSRC}/rip ${PREFIX}/bin/rip
 >  	${INSTALL_DATA_DIR} ${DOCDIR}
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:

 That's fine... but PKGREVISION is not needed, because the binary has not been
 modified.


 --Signature=_Fri__22_Oct_2004_11_12_40_+0200_YO3HNQlKjQHJ0FNZ
 Content-Type: application/pgp-signature

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (NetBSD)

 iD8DBQFBeM8IypkLYVDran0RAsOZAKCN0vfJCiLLz3PENbvB0500oQrxMQCggAJ4
 W6vRXYobHSQ6thZFaIuwbCM=
 =7FsD
 -----END PGP SIGNATURE-----

 --Signature=_Fri__22_Oct_2004_11_12_40_+0200_YO3HNQlKjQHJ0FNZ--

From: Leonard Schmidt <lems@gmx.net>
To: Juan RP <juan@xtraeme.nopcode.org>
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/27320: Update of audio/rip (trivial: change the shebang using REPLACE_PERL)
Date: Fri, 22 Oct 2004 11:27:08 +0000

 --jRHKVT23PllUwdXP
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 * Juan RP <juan@xtraeme.nopcode.org> [2004-10-22 11:19]:
 > That's fine... but PKGREVISION is not needed, because the binary has not been
 > modified.

 Ah, I see. Sorry!

 Regards
 Leonard

 --jRHKVT23PllUwdXP
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (NetBSD)

 iD8DBQFBeO6MeffumNo0U88RAkEiAJ0Tr+hM3CI8eNq9SjvcHH+NQmSxDgCfR3+R
 pxJPrUhv83Hm9h1LEddv518=
 =ESM+
 -----END PGP SIGNATURE-----

 --jRHKVT23PllUwdXP--
State-Changed-From-To: open->closed 
State-Changed-By: snj 
State-Changed-When: Fri Oct 22 15:05:29 UTC 2004 
State-Changed-Why:  
REPLACE_PERL added.  In the future, note that REPLACE_PERL (and all 
REPLACE_INTERPRETER statements) are relative to WRKSRC. 

From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/27320 CVS commit: pkgsrc/audio/rip
Date: Fri, 22 Oct 2004 15:05:18 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	snj
 Date:		Fri Oct 22 15:05:18 UTC 2004

 Modified Files:
 	pkgsrc/audio/rip: Makefile

 Log Message:
 Substitute custom post-patch with REPLACE_PERL.  From Leonarch Schmidt
 in PR pkg/27320.


 To generate a diff of this commit:
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/audio/rip/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:
 >Quarter:        
 >Keywords:       
 >Date-Required:  

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.