pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ies4linux www/ies4linux: Fix disallowed script int...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e6d9b44c201
branches:  trunk
changeset: 604249:3e6d9b44c201
user:      marino <marino%pkgsrc.org@localhost>
date:      Sun May 27 16:11:20 2012 +0000

description:
www/ies4linux: Fix disallowed script interpreters

This package failed on script-interpreter check, "/usr/bin/env bash" is
not allowed.  Replace with "/usr/pkg/bin/bash"

diffstat:

 www/ies4linux/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 02cf721ce5d3 -r 3e6d9b44c201 www/ies4linux/Makefile
--- a/www/ies4linux/Makefile    Sun May 27 14:32:28 2012 +0000
+++ b/www/ies4linux/Makefile    Sun May 27 16:11:20 2012 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2012/03/15 11:53:44 obache Exp $
+# $NetBSD: Makefile,v 1.8 2012/05/27 16:11:20 marino Exp $
 #
 
 DISTNAME=      ies4linux-2.99.0.1
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    www
 MASTER_SITES=  http://www.tatanka.com.br/ies4linux/downloads/
 
@@ -22,10 +22,14 @@
 
 SHAREDIR=              share/ies4linux
 
-SUBST_CLASSES+=                sharedir
+SUBST_CLASSES+=        sharedir scripts
 SUBST_STAGE.sharedir=  post-patch
 SUBST_FILES.sharedir=  ${WRKSRC}/ies4linux
 SUBST_SED.sharedir=    -e "s|.dirname ..0..|${PREFIX}/${SHAREDIR}|g"
+SUBST_STAGE.scripts=   post-patch
+SUBST_FILES.scripts=   ${WRKSRC}/ies4linux \
+                       ${WRKSRC}/lib/install.sh ${WRKSRC}/lib/uninstall.sh
+SUBST_SED.scripts=     -e "s|/usr/bin/env bash|/usr/pkg/bin/bash|"
 
 INSTALLATION_DIRS      = bin ${SHAREDIR}
 



Home | Main Index | Thread Index | Old Index