FreeBSD Bugzilla – Attachment 89096 Details for
Bug 125968
[Patch] audio/mpdscribble Setup script is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mpdscribble.diff
mpdscribble.diff (text/plain), 2.83 KB, created by
Martin Tournoij
on 2008-07-26 04:50:01 UTC
(
hide
)
Description:
mpdscribble.diff
Filename:
MIME Type:
Creator:
Martin Tournoij
Created:
2008-07-26 04:50:01 UTC
Size:
2.83 KB
patch
obsolete
>diff -urN --exclude CVS /ports/audio/mpdscribble/Makefile audio/mpdscribble/Makefile >--- /ports/audio/mpdscribble/Makefile 2008-06-11 17:51:11.000000000 +0200 >+++ audio/mpdscribble/Makefile 2008-07-26 05:40:45.000000000 +0200 >@@ -7,17 +7,19 @@ > > PORTNAME= mpdscribble > PORTVERSION= 0.2.12 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= audio >-MASTER_SITES= http://www.frob.nl/projects/scribble/ >+MASTER_SITES= http://www.frob.nl/projects/scribble/ \ >+ http://www.carpetsmoker.net/distfiles/ \ >+ http://www.xs4all.nl/~tournoij/distfiles/ \ >+ http://www.rwxrwxrwx.net/distfiles/ > >-MAINTAINER= ports@FreeBSD.org >-COMMENT= Mpd last.fm client >+MAINTAINER= carpetsmoker@rwxrwxrwx.net >+COMMENT= Musicpd last.fm client > > LIB_DEPENDS= soup:${PORTSDIR}/devel/libsoup22 > > GNU_CONFIGURE= yes >- > MAN1= mpdscribble.1 > PLIST_FILES= bin/mpdscribble bin/mpdscribble-setup > >diff -urN --exclude CVS /ports/audio/mpdscribble/files/patch-setup.sh audio/mpdscribble/files/patch-setup.sh >--- /ports/audio/mpdscribble/files/patch-setup.sh 2008-06-01 14:34:11.000000000 +0200 >+++ audio/mpdscribble/files/patch-setup.sh 2008-07-22 02:31:16.000000000 +0200 >@@ -1,15 +1,25 @@ >---- setup.sh.orig 2008-06-01 19:53:53.000000000 +0800 >-+++ setup.sh 2008-06-01 19:54:16.000000000 +0800 >-@@ -26,7 +26,7 @@ >+--- setup.sh.orig 2005-04-17 16:53:46.000000000 +0200 >++++ setup.sh 2008-07-22 02:30:33.000000000 +0200 >+@@ -1,6 +1,6 @@ >+ #!/bin/sh >+ >+-if [ $UID = "0" ]; then >++if [ $(id -u) -eq 0 ]; then >+ echo "user root, system-wide installation assumed." >+ echo >+ CONF_DIR=/etc >+@@ -25,8 +25,8 @@ >+ echo "log file: $LOG" > echo > echo "press ctrl-c to cancel if this is not intended." >- echo "continue..." >+-echo "continue..." > -read -s >-+read >++echo "press enter to continue..." >++read junk > > mkdir -p $CONF_DIR > mkdir -p $CACHE_DIR >-@@ -35,7 +35,7 @@ >+@@ -35,17 +35,19 @@ > echo -n "Please enter your audioscrobbler username: " > read -e USERNAME > echo -n "and password: " >@@ -18,3 +28,16 @@ > > echo "username = $USERNAME" > $LOGIN > chmod 600 $LOGIN >+-MD5=`echo -n $PASSWORD | md5sum | awk '{print $1}'` >++MD5=$(echo -n $PASSWORD | md5 -q) >+ echo "password = $MD5" >> $LOGIN >+ >+ echo "cache = $CACHE" >> $LOGIN >+ echo "log = $LOG" >> $LOGIN >+ echo "verbose = 2" >> $LOGIN >+ >++touch $CACHE >++ >+ echo "" >+ echo "Thank you." >+ echo "You can try running mpdscribble now." >diff -urN --exclude CVS /ports/audio/mpdscribble/pkg-descr audio/mpdscribble/pkg-descr >--- /ports/audio/mpdscribble/pkg-descr 2006-07-13 10:35:51.000000000 +0200 >+++ audio/mpdscribble/pkg-descr 2008-07-22 02:17:10.000000000 +0200 >@@ -1,4 +1,4 @@ >-mpdscribble is a music player daemon client which >-submits information about tracks being played to audioscrobbler. >+mpdscribble is a music player daemon client which submits information about >+tracks being played to audioscrobbler. > > WWW: http://www.frob.nl/scribble.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 125968
: 89096