ports/165877: netpbm ppmquantall shell script is a Bash script, not Bourne

Makoto Kishimoto ksmakoto at dd.iij4u.or.jp
Fri Mar 9 14:00:30 UTC 2012


>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 at 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:



More information about the freebsd-ports-bugs mailing list