pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/rt3 where env PATH is being set for security rea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c40b01309a88
branches:  trunk
changeset: 562472:c40b01309a88
user:      spz <spz%pkgsrc.org@localhost>
date:      Wed Jul 29 05:25:33 2009 +0000

description:
where env PATH is being set for security reasons, have it include $PREFIX/bin
pointed out by "Peter C. Lai" <peter%simons-rock.edu@localhost>
fixes PR 41571

diffstat:

 devel/rt3/Makefile         |  3 ++-
 devel/rt3/Makefile.install |  7 ++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 1e49af775eb6 -r c40b01309a88 devel/rt3/Makefile
--- a/devel/rt3/Makefile        Wed Jul 29 00:24:03 2009 +0000
+++ b/devel/rt3/Makefile        Wed Jul 29 05:25:33 2009 +0000
@@ -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 -r 1e49af775eb6 -r c40b01309a88 devel/rt3/Makefile.install
--- a/devel/rt3/Makefile.install        Wed Jul 29 00:24:03 2009 +0000
+++ b/devel/rt3/Makefile.install        Wed Jul 29 05:25:33 2009 +0000
@@ -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_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}','



Home | Main Index | Thread Index | Old Index