Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2009 12:49:31 GMT
From:      Henrik Friedrichsen <hrkfdn@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139477: [MAINTAINER] audio/mpdas update to 0.2.5
Message-ID:  <200910101249.n9ACnV34015590@www.freebsd.org>
Resent-Message-ID: <200910101250.n9ACo1oX045028@freefall.freebsd.org>

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

>Number:         139477
>Category:       ports
>Synopsis:       [MAINTAINER] audio/mpdas update to 0.2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 10 12:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Friedrichsen
>Release:        8.0-STABLE
>Organization:
>Environment:
FreeBSD sun.univer.se 8.0-RC1 FreeBSD 8.0-RC1 #0: Fri Oct  9 14:09:38 CEST 2009     root@sun.univer.se:/usr/obj/usr/src/sys/HYDROGEN  i386
>Description:
This patch updates mpdas-0.2.5 which comes with a fixed Makefile to allow different PREFIX settings. It also has a few bugfixes and now installs an rc.d script.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Naur ./Makefile ../mpdas/Makefile
--- ./Makefile	2009-10-10 14:26:48.000000000 +0200
+++ ../mpdas/Makefile	2009-10-10 14:41:59.000000000 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	mpdas
-PORTVERSION=	0.2.4
-PORTREVISION=	2
+PORTVERSION=	0.2.5
 CATEGORIES=	audio
 MASTER_SITES=	http://50hz.ws/mpdas/
 
@@ -20,9 +19,18 @@
 USE_GNOME=	pkgconfig
 USE_BZIP2=	yes
 
+USE_RC_SUBR=	mpdas
+
+SUB_FILES=	pkg-message
+
 PLIST_FILES=	bin/mpdas
 
 MAN1=		mpdas.1
 MANCOMPRESSED=	no
 
+post-install:
+	@${ECHO_MSG}
+	@${CAT} ${PKGMESSAGE}
+	@${ECHO_MSG}
+
 .include <bsd.port.mk>
diff -Naur ./distinfo ../mpdas/distinfo
--- ./distinfo	2009-10-10 14:26:48.000000000 +0200
+++ ../mpdas/distinfo	2009-10-10 14:46:29.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (mpdas-0.2.4.tar.bz2) = 8a694691dcb5d217c46754e40152186a
-SHA256 (mpdas-0.2.4.tar.bz2) = a3535cf94ba3856b28d271e265ba0131a84eb9c2d660643c3f4e88d3b473e0bc
-SIZE (mpdas-0.2.4.tar.bz2) = 16842
+MD5 (mpdas-0.2.5.tar.bz2) = ea852645079be1aeedfe3e88f421917e
+SHA256 (mpdas-0.2.5.tar.bz2) = e8ce00df8aa0cbbf5709d1e22ceb1f609dbd7309aed7ffd0083cc0ff5b463e21
+SIZE (mpdas-0.2.5.tar.bz2) = 17849
diff -Naur ./files/mpdas.in ../mpdas/files/mpdas.in
--- ./files/mpdas.in	1970-01-01 01:00:00.000000000 +0100
+++ ../mpdas/files/mpdas.in	2009-10-10 14:31:53.000000000 +0200
@@ -0,0 +1,25 @@
+#!/bin/sh
+#
+
+# PROVIDE: mpdas 
+# REQUIRE: musicpd
+# KEYWORD: shutdown
+
+# Add the following line to /etc/rc.conf to enable mpdas:
+#
+#mpdas_enable="YES"
+
+. /etc/rc.subr
+
+name=mpdas
+rcvar=`set_rcvar`
+
+command=/usr/local/bin/mpdas
+
+load_rc_config $name
+
+: ${mpdas_enable="NO"}
+
+command_args="&"
+
+run_rc_command "$1"
diff -Naur ./files/pkg-message.in ../mpdas/files/pkg-message.in
--- ./files/pkg-message.in	1970-01-01 01:00:00.000000000 +0100
+++ ../mpdas/files/pkg-message.in	2009-10-10 14:41:20.000000000 +0200
@@ -0,0 +1,28 @@
+****************************************************************
+
+mpdas has been successfully installed.
+
+To configure mpdas, simply create a file called .mpdasrc in 
+your home directory or in %%PREFIX%%/etc/mpdasrc. 
+
+Syntax is easy. Example:
+
+username = lastfmuser
+password = 5f4dcc3b5aa765d61d8327deb882cf99
+
+Use the runas variable to change the UID the process runs in.
+
+For more information on configuration see:
+http://50hz.ws/mpdas/README.txt
+
+To use the rc-script add the following line to /etc/rc.conf:
+
+	mpdas_enable="YES"
+
+Then start mpdas with
+
+	%%PREFIX%%/etc/rc.d/mpdas start
+
+or reboot.
+
+****************************************************************


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



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