summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2009-07-29 05:25:33 +0000
committerspz <spz@pkgsrc.org>2009-07-29 05:25:33 +0000
commit893ec2a407d193134ed0f0d8bd639efa33d674eb (patch)
treeffa6f9dfa1702505f471a3152ff66b30e56456a6 /devel
parent4595e6caaabeceabf99acf9af47a65beed42b256 (diff)
downloadpkgsrc-893ec2a407d193134ed0f0d8bd639efa33d674eb.tar.gz
where env PATH is being set for security reasons, have it include $PREFIX/bin
pointed out by "Peter C. Lai" <peter@simons-rock.edu> fixes PR 41571
Diffstat (limited to 'devel')
-rw-r--r--devel/rt3/Makefile3
-rw-r--r--devel/rt3/Makefile.install7
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}','