Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2002 18:00:39 +0100 (CET)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44881: [patch] security/pam_smb: Use REINPLACE_CMD instead of PERL
Message-ID:  <200211041700.gA4H0d1W067453@bsd.localdomain>

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

>Number:         44881
>Category:       ports
>Synopsis:       [patch] security/pam_smb: Use REINPLACE_CMD instead of PERL
>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:   Mon Nov 04 09:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD bsd.localdomain 4.6-STABLE FreeBSD 4.6-STABLE #3: Mon Oct 7 16:20:29 CEST 2002 root@bsd.localdomain:/opt/src/sys/compile/BSD i386


>Description:
PERL -> REINPLACE_CMD
>How-To-Repeat:
>Fix:
--- Makefile.orig	Mon Nov  4 17:51:31 2002
+++ Makefile	Mon Nov  4 17:58:38 2002
@@ -12,6 +12,7 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
+USE_REINPLACE=	yes
 USE_AUTOCONF_VER=213
 USE_GMAKE=	yes
 STARTUP_SCRIPT=	pam_smbd.sh.sample
@@ -21,7 +22,7 @@
 .include <bsd.port.pre.mk>
 
 post-patch:
-	${PERL} -pi -e s,%%PREFIX%%,${PREFIX}, ${WRKSRC}/pamsmbd/pam_read_conf.c
+	${REINPLACE_CMD} -e s,%%PREFIX%%,${PREFIX}, ${WRKSRC}/pamsmbd/pam_read_conf.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pamsmbd/pamsmbd ${PREFIX}/sbin/
@@ -35,7 +36,7 @@
 	${INSTALL_DATA} ${WRKSRC}/pam_smb.conf.example ${PREFIX}/etc/
 	${INSTALL_DATA} ${WRKSRC}/pam_smb.conf.example2 ${PREFIX}/etc/
 	${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP_SCRIPT} ${PREFIX}/etc/rc.d/
-	${PERL} -pi -e s,%%PREFIX%%,${PREFIX}, ${PREFIX}/etc/rc.d/${STARTUP_SCRIPT}
+	${REINPLACE_CMD} -e s,%%PREFIX%%,${PREFIX}, ${PREFIX}/etc/rc.d/${STARTUP_SCRIPT}
 
 post-install:
 	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}

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

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?200211041700.gA4H0d1W067453>