ports/95190: [PATCH] audio/mt-daapd: update to 0.2.4
Alexander Botero-Lowry
alex at foxybanana.com
Sat Apr 1 07:40:15 UTC 2006
>Number: 95190
>Category: ports
>Synopsis: [PATCH] audio/mt-daapd: update to 0.2.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 01 07:40:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Alexander Botero-Lowry
>Release: FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD Laptop.mine.box 6.0-STABLE FreeBSD 6.0-STABLE #1: Tue Feb 7 19:06:16 PST
>Description:
- Update to 0.2.4
- Make PREFIX safe by using LOCALBASE for configure_args
- replace the rc script with an rc.subr rc script
- If the maintainer is interested, I wouldn't mind taking over maintainership
I know the developer so I can get insight upstream. Anyway regardless, nice
updates for all!
Added file(s):
- files/mt-daapd.sh.in
Removed file(s):
- files/mt-daapd.sh
Port maintainer (Meno.Abels at Adviser.com) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- mt-daapd-0.2.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/mt-daapd/Makefile /usr/home/alex/mt-daapd/Makefile
--- /usr/ports/audio/mt-daapd/Makefile Tue Nov 22 23:34:35 2005
+++ /usr/home/alex/mt-daapd/Makefile Fri Mar 31 23:18:06 2006
@@ -6,8 +6,7 @@
#
PORTNAME= mt-daapd
-PORTVERSION= 0.2.3
-PORTREVISION= 1
+PORTVERSION= 0.2.4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mt-daapd
@@ -20,12 +19,13 @@
GNU_CONFIGURE= yes
CONFIGURE_ENV= AUTOCONF=autoconf259 AUTOHEADER=autoheader259 CC="${CC} -pthread"
-CONFIGURE_ARGS= --with-id3tag=${PREFIX}
+CONFIGURE_ARGS= --with-id3tag=${LOCALBASE} --with-gdbm-includes=${LOCALBASE}/include
USE_AUTOTOOLS= autoheader:259 autoconf:259:env
DAAPD_USER?= daapd
DAAPD_GROUP?= daapd
+USE_RC_SUBR= mt-daapd.sh
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
@@ -46,9 +46,6 @@
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
- ${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/mt-daapd.sh > ${WRKDIR}/mt-daapd.sh
- ${INSTALL_SCRIPT} ${WRKDIR}/mt-daapd.sh ${PREFIX}/etc/rc.d/mt-daapd.sh
${SED} ${FILES_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/mt-daapd.conf > ${WRKDIR}/mt-daapd.conf
${INSTALL_DATA} ${WRKDIR}/mt-daapd.conf ${PREFIX}/etc/mt-daapd.conf.sample
diff -ruN --exclude=CVS /usr/ports/audio/mt-daapd/distinfo /usr/home/alex/mt-daapd/distinfo
--- /usr/ports/audio/mt-daapd/distinfo Sat Jan 28 21:40:08 2006
+++ /usr/home/alex/mt-daapd/distinfo Fri Mar 31 23:29:09 2006
@@ -1,3 +1,3 @@
-MD5 (mt-daapd-0.2.3.tar.gz) = 17aa3fa0601cbe172d18f53489141e5a
-SHA256 (mt-daapd-0.2.3.tar.gz) = 17e3966a9da7acb0560af1d2c1a5c0162da8e01de195aa096d594ab6248c4930
-SIZE (mt-daapd-0.2.3.tar.gz) = 406035
+MD5 (mt-daapd-0.2.4.tar.gz) = 2e1cdbe6b94ef153e915806f80a28dca
+SHA256 (mt-daapd-0.2.4.tar.gz) = 8239ebbba5b815e5668aa235be52f2ea66f1a81bb80f4f6ddda2cc3e69f7b7ef
+SIZE (mt-daapd-0.2.4.tar.gz) = 405168
diff -ruN --exclude=CVS /usr/ports/audio/mt-daapd/files/mt-daapd.sh /usr/home/alex/mt-daapd/files/mt-daapd.sh
--- /usr/ports/audio/mt-daapd/files/mt-daapd.sh Mon Jul 19 02:18:51 2004
+++ /usr/home/alex/mt-daapd/files/mt-daapd.sh Wed Dec 31 16:00:00 1969
@@ -1,24 +0,0 @@
-#!/bin/sh
-# $FreeBSD: ports/audio/mt-daapd/files/mt-daapd.sh,v 1.1 2004/07/19 09:18:51 edwin Exp $
-
-MT_DAAPD=/usr/local/sbin/mt-daapd
-MT_DAAPD_CONF=/usr/local/etc/mt-daapd.conf
-
-
-case "$1" in
- start)
- if [ -r "${MT_DAAPD_CONF}" ]; then
- ${MT_DAAPD} -c ${MT_DAAPD_CONF}
- echo -n ' mt-daapd'
- fi
- ;;
- stop)
- killall -TERM mt-daapd
- ;;
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac
diff -ruN --exclude=CVS /usr/ports/audio/mt-daapd/files/mt-daapd.sh.in /usr/home/alex/mt-daapd/files/mt-daapd.sh.in
--- /usr/ports/audio/mt-daapd/files/mt-daapd.sh.in Wed Dec 31 16:00:00 1969
+++ /usr/home/alex/mt-daapd/files/mt-daapd.sh.in Fri Mar 31 23:28:09 2006
@@ -0,0 +1,20 @@
+#!/bin/sh
+# $FreeBSD: ports/audio/mt-daapd/files/mt-daapd.sh,v 1.1 2004/07/19 09:18:51 edwin Exp $
+
+# PROVIDE: mt-daapd
+# REQUIRE: LOGIN
+
+. %%RC_SUBR%%
+
+name="mt-daapd"
+rcvar="mt_daapd_enable"
+
+command="%%PREFIX%%/sbin/mt-daapd"
+command_args="-f ${mt_daapd_config}"
+pidfile="/var/run/mt-daapd.pid"
+
+load_rc_config "$name"
+: ${mt_daapd_enable="NO"}
+: ${mt_daapd_config="%%PREFIX%%/etc/mt-daapd.conf"}
+
+run_rc_command "$1"
diff -ruN --exclude=CVS /usr/ports/audio/mt-daapd/pkg-plist /usr/home/alex/mt-daapd/pkg-plist
--- /usr/ports/audio/mt-daapd/pkg-plist Sat Oct 15 19:12:54 2005
+++ /usr/home/alex/mt-daapd/pkg-plist Fri Mar 31 23:22:19 2006
@@ -1,6 +1,6 @@
@comment $FreeBSD: ports/audio/mt-daapd/pkg-plist,v 1.3 2005/10/15 17:54:49 mnag Exp $
etc/mt-daapd.conf.sample
-etc/rc.d/mt-daapd.sh
+etc/rc.d/mt-daapd
sbin/mt-daapd
%%DATADIR%%/admin-root/aspl-license.html
%%DATADIR%%/admin-root/aspl-license.txt
--- mt-daapd-0.2.4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list