Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2012 10:10:20 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303887 - in head/audio/musicpd: . files
Message-ID:  <201209081010.q88AAKbY064651@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Sat Sep  8 10:10:19 2012
New Revision: 303887
URL: http://svn.freebsd.org/changeset/ports/303887

Log:
  All hail the new stable branch of Music Player Daemon; 0.17
  
  Changes:
  
  Anton Khirnov (1):
        update: properly skip symlinks in path that is to be updated.
  
  Dan McGee (1):
        Use g_message and not g_debug when removing song
  
  Jonathan Neuschaefer (1):
        decoder/audiofile: fix compiler warnings with libaudiofile 0.3.3
  
  Max Kellermann (17):
        output/winmm: remove pointless NULL check
        pcm_buffer: pcm_buffer_get() never returns NULL
        decoder_api: check state before emitting initial seek command
        test/read_tags: call g_thread_init()
        test/run_decoder: initialize GThread
        decoder/ffmpeg: read the "year" tag
        text_input_stream: detect end-of-file
        event_pipe, test: explicitly ignore write() return value
        output/osx: use the fifo_buffer library instead of rolling own
        uri: remove g_basename() call from uri_get_suffix()
        directory: use strrchr() instead of g_basename()
        output/jack: workaround for libjack1 crash bug
        output/jack: check for connection failure before starting playback
        test/test_vorbis_encoder: program to debug the vorbis encoder
        encoder/vorbis: generate end-of-stream packet before tag
        encoder_plugin: add state assertions
        encoder/vorbis: generate end-of-stream packet when playback ends

Deleted:
  head/audio/musicpd/files/patch-src_output_ao__plugin.c
Modified:
  head/audio/musicpd/Makefile
  head/audio/musicpd/distinfo
  head/audio/musicpd/pkg-plist

Modified: head/audio/musicpd/Makefile
==============================================================================
--- head/audio/musicpd/Makefile	Sat Sep  8 10:08:46 2012	(r303886)
+++ head/audio/musicpd/Makefile	Sat Sep  8 10:10:19 2012	(r303887)
@@ -1,13 +1,7 @@
-# New ports collection Makefile for:	Music Player Daemon
-# Date created:				Thu Oct 02 2003
-# Whom:					Mark Reidel <ports@mark.reidel.info>
-#
 # $FreeBSD$
-#
 
 PORTNAME=	musicpd
-PORTVERSION=	0.16.8
-PORTREVISION=	2
+PORTVERSION=	0.17
 CATEGORIES=	audio ipv6
 MASTER_SITES=	SF/${PORTNAME}/mpd/${PORTVERSION}
 DISTNAME=	mpd-${PORTVERSION}
@@ -20,6 +14,7 @@ LIB_DEPENDS+=	mad.2:${PORTSDIR}/audio/li
 
 LICENSE=	GPLv2
 
+USE_STAGE=	yes
 USE_GMAKE=	yes
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
@@ -34,7 +29,7 @@ CFLAGS+=	-I${PREFIX}/include
 MAN1=		${PORTNAME}.1
 MAN5=		${MPDCONF}.5
 
-DOCSDIR?=	${PREFIX}/share/doc/mpd
+DOCSDIR?=	${PREFIX}/share/doc/musicpd
 PORTDOCS=	AUTHORS README COPYING NEWS UPGRADING
 
 SUB_FILES=	pkg-message
@@ -54,7 +49,10 @@ MPDCONF?=	musicpd.conf
 USERS=	${MPDUSER}
 GROUPS=	${MPDGROUP}
 
-PLIST_SUB=	MPDCONF=${MPDCONF}
+PLIST_SUB=	MPDCONF=${MPDCONF} \
+		MPDUSER=${MPDUSER} \
+		MPDDIR=${MPDDIR}   \
+		MPDGROUP=${MPDGROUP}
 SUB_LIST+=	MPDDIR=${MPDDIR} \
 		MPDCONF=${MPDCONF}
 
@@ -255,7 +253,7 @@ do-install:
 	@${INSTALL_MAN} ${WRKSRC}/doc/mpd.1 ${MAN1PREFIX}/man/man1/${PORTNAME}.1
 	@${INSTALL_MAN} ${WRKSRC}/doc/mpd.conf.5 \
 		${MAN5PREFIX}/man/man5/${MPDCONF}.5
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .   for doc in ${PORTDOCS}
 	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/
@@ -269,7 +267,7 @@ post-install:
 			${PREFIX}/etc/${MPDCONF} ; \
 	fi
 	@${MKDIR} ${MPDDIR}
-	@${CHOWN} -R ${MPDUSER}:${MPDGROUP} ${MPDDIR}
+	@${INSTALL} -d -o ${MPDUSER} -g ${MPDGROUP} ${MPDDIR}
 	@${ECHO_MSG}
 	@${CAT} ${PKGMESSAGE}
 	@${ECHO_MSG}

Modified: head/audio/musicpd/distinfo
==============================================================================
--- head/audio/musicpd/distinfo	Sat Sep  8 10:08:46 2012	(r303886)
+++ head/audio/musicpd/distinfo	Sat Sep  8 10:10:19 2012	(r303887)
@@ -1,2 +1,2 @@
-SHA256 (mpd-0.16.8.tar.bz2) = 35183ae4a706391f5d739e4378b74f516952adda09a260fecfd531a58b0fff17
-SIZE (mpd-0.16.8.tar.bz2) = 491170
+SHA256 (mpd-0.17.tar.bz2) = 3151ad270530ec3408d65d884bcc776cd08f92040ee4aecb96e90b6145ad5867
+SIZE (mpd-0.17.tar.bz2) = 556624

Modified: head/audio/musicpd/pkg-plist
==============================================================================
--- head/audio/musicpd/pkg-plist	Sat Sep  8 10:08:46 2012	(r303886)
+++ head/audio/musicpd/pkg-plist	Sat Sep  8 10:10:19 2012	(r303887)
@@ -2,3 +2,4 @@ bin/musicpd
 @unexec if cmp -s %D/etc/%%MPDCONF%%.sample %D/etc/%%MPDCONF%%; then rm -f %D/etc/%%MPDCONF%%; fi
 etc/%%MPDCONF%%.sample
 @exec if [ ! -f %D/etc/%%MPDCONF%% ] ; then cp -p %D/%F %B/%%MPDCONF%%; fi
+@exec install -d -o %%MPDUSER%% -g %%MPDGROUP%% %%MPDDIR%%



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