Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 18:38:42 GMT
From:      Sokolov Alexey <sokolov@truebsd.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122993: setup.sh for mpdscribble
Message-ID:  <200804221838.m3MIcgw7005531@www.freebsd.org>
Resent-Message-ID: <200804221840.m3MIe1Z7063649@freefall.freebsd.org>

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

>Number:         122993
>Category:       ports
>Synopsis:       setup.sh for mpdscribble
>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:   Tue Apr 22 18:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sokolov Alexey
>Release:        7.0-STABLE
>Organization:
TrueBSD Project
>Environment:
FreeBSD truebsd 7.0-STABLE FreeBSD 7.0-STABLE #1: Wed Apr 16 02:28:57 UTC 2008     root@truebsd:/var/vdrive/mnt/work/distrib/freebsd7/src/sys/i386/compile/TRUEBSD  i386

>Description:

>How-To-Repeat:
cd /usr/ports/audio/mpdscribble/work/mpdscribble-0.2.12/
./setup.sh
>Fix:
### BEGIN PATCH 

--- setup.sh.orig       2008-04-22 19:46:57.000000000 +0000
+++ setup.sh    2008-04-22 19:47:00.000000000 +0000
@@ -26,7 +26,7 @@
 echo
 echo "press ctrl-c to cancel if this is not intended."
 echo "continue..."
-read -s
+read

 mkdir -p $CONF_DIR
 mkdir -p $CACHE_DIR
@@ -35,7 +35,7 @@
 echo -n "Please enter your audioscrobbler username: "
 read -e USERNAME
 echo -n "and password: "
-read -s -e PASSWORD
+read -e PASSWORD

 echo "username = $USERNAME" > $LOGIN
 chmod 600 $LOGIN

### END PATCH

Recommendation:
Include in 'pkg-plist' script 'setup.sh' as mpdscribblesetup.

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



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