From d532651be54c0603ffdfd94d5e2b074b4459444a Mon Sep 17 00:00:00 2001 From: spz Date: Wed, 29 Jul 2009 05:25:33 +0000 Subject: where env PATH is being set for security reasons, have it include $PREFIX/bin pointed out by "Peter C. Lai" fixes PR 41571 --- devel/rt3/Makefile | 3 ++- devel/rt3/Makefile.install | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/devel/rt3/Makefile b/devel/rt3/Makefile index 31312e9fc79..7e34ed3c7f8 100644 --- a/devel/rt3/Makefile +++ b/devel/rt3/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.37 2009/06/21 15:31:39 spz Exp $ +# $NetBSD: Makefile,v 1.38 2009/07/29 05:25:33 spz Exp $ DISTNAME= rt-3.8.4 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ diff --git a/devel/rt3/Makefile.install b/devel/rt3/Makefile.install index 94432f57e84..8d0f3d7b1ca 100644 --- a/devel/rt3/Makefile.install +++ b/devel/rt3/Makefile.install @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.install,v 1.12 2009/06/21 15:31:39 spz Exp $ +# $NetBSD: Makefile.install,v 1.13 2009/07/29 05:25:33 spz Exp $ .include "dirs.mk" @@ -33,6 +33,11 @@ SUBST_FILES.etcpath= sbin/rt-setup-database.in SUBST_SED.etcpath= -e 's,\$$RT::EtcPath,"${RT_SHARE_DIR}/etc",' SUBST_STAGE.etcpath= post-patch +SUBST_CLASSES+= path +SUBST_FILES.path= bin/webmux.pl.in lib/RT/Interface/CLI.pm +SUBST_SED.path= -e 's,/bin:/usr/bin,/bin:/usr/bin:${PREFIX}/bin,' +SUBST_STAGE.path= post-patch + SUBST_CLASSES+= hardwired SUBST_FILES.hardwired= share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl SUBST_SED.hardwired= -e 's,/usr/bin/perl,'${PERL5}',' -- cgit v1.2.3