Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2012 13:51:26 GMT
From:      Makoto Kishimoto <ksmakoto@dd.iij4u.or.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165877: netpbm ppmquantall shell script is a Bash script, not Bourne
Message-ID:  <201203091351.q29DpQaQ019560@red.freebsd.org>
Resent-Message-ID: <201203091400.q29E0JAO022081@freefall.freebsd.org>

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

>Number:         165877
>Category:       ports
>Synopsis:       netpbm ppmquantall shell script is a Bash script, not Bourne
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 09 14:00:19 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Makoto Kishimoto
>Release:        8.2-STABLE
>Organization:
n/a
>Environment:
FreeBSD norikura.localdomain 8.2-STABLE FreeBSD 8.2-STABLE #0 r223459: Thu Jun 30 19:24:47 JST 2011     ksmakoto@norikura.localdomain:/export/obj/usr/src/sys/NORIKURA20110630  amd64
>Description:
ppmquantall shell script of netpbm, is a Bash script, not Bourne.
>How-To-Repeat:
--
>Fix:
patch attached

Patch attached with submission follows:

diff -urN ../ORG/Makefile ./Makefile
--- ../ORG/Makefile	2012-03-09 22:11:23.000000000 +0900
+++ ./Makefile	2012-03-09 22:35:24.000000000 +0900
@@ -21,6 +21,8 @@
 		jasper.4:${PORTSDIR}/graphics/jasper \
 		xml2.5:${PORTSDIR}/textproc/libxml2
 
+RUN_DEPENDS+=	bash:${PORTSDIR}/shells/bash
+
 MAKE_JOBS_UNSAFE=	yes
 
 USE_PERL5=	yes
diff -urN ../ORG/files/patch-editor-ppmquantall ./files/patch-editor-ppmquantall
--- ../ORG/files/patch-editor-ppmquantall	1970-01-01 09:00:00.000000000 +0900
+++ ./files/patch-editor-ppmquantall	2012-03-09 22:35:20.000000000 +0900
@@ -0,0 +1,8 @@
+--- editor/ppmquantall.orig	2012-03-09 22:16:02.000000000 +0900
++++ editor/ppmquantall	2012-03-09 22:16:29.000000000 +0900
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/usr/local/bin/bash
+ #
+ # ppmquantall - run ppmquant on a bunch of files all at once, so they share
+ #               a common colormap


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203091351.q29DpQaQ019560>