From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 10 12:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71D9B1065696 for ; Sat, 10 Oct 2009 12:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 332F48FC19 for ; Sat, 10 Oct 2009 12:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9ACo19f045029 for ; Sat, 10 Oct 2009 12:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9ACo1oX045028; Sat, 10 Oct 2009 12:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 10 Oct 2009 12:50:01 GMT Resent-Message-Id: <200910101250.n9ACo1oX045028@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Henrik Friedrichsen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C26E1065672 for ; Sat, 10 Oct 2009 12:49:32 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 50E818FC0C for ; Sat, 10 Oct 2009 12:49:32 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9ACnVKM015591 for ; Sat, 10 Oct 2009 12:49:31 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9ACnV34015590; Sat, 10 Oct 2009 12:49:31 GMT (envelope-from nobody) Message-Id: <200910101249.n9ACnV34015590@www.freebsd.org> Date: Sat, 10 Oct 2009 12:49:31 GMT From: Henrik Friedrichsen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/139477: [MAINTAINER] audio/mpdas update to 0.2.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 12:50:01 -0000 >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 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: