ports/122993: setup.sh for mpdscribble
Sokolov Alexey
sokolov at truebsd.org
Tue Apr 22 18:40:01 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list