FreeBSD Bugzilla – Attachment 90519 Details for
Bug 127701
New port: audio/firefly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
firefly.shar
firefly.shar (text/plain), 11.04 KB, created by
mark
on 2008-09-28 19:10:02 UTC
(
hide
)
Description:
firefly.shar
Filename:
MIME Type:
Creator:
mark
Created:
2008-09-28 19:10:02 UTC
Size:
11.04 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># audio/firefly ># audio/firefly/pkg-descr ># audio/firefly/Makefile ># audio/firefly/distinfo ># audio/firefly/files ># audio/firefly/files/pkg-install.in ># audio/firefly/files/pkg-deinstall.in ># audio/firefly/files/mt-daapd.in ># audio/firefly/files/patch-mt-daapd.conf.templ ># audio/firefly/pkg-plist ># >echo c - audio/firefly >mkdir -p audio/firefly > /dev/null 2>&1 >echo x - audio/firefly/pkg-descr >sed 's/^X//' >audio/firefly/pkg-descr << '7dd7ae43a5fa9cf3af36f7cc9d6b8af5' >XFirefly (mt-daapd) is an open-source media server for the Roku SoundBridge >X and Apple iTunes. It runs on POSIX platforms as well as Win32. It >supports >X server-side transcoding and other advanced features. >X >XWWW: http://www.fireflymediaserver.org/ >7dd7ae43a5fa9cf3af36f7cc9d6b8af5 >echo x - audio/firefly/Makefile >sed 's/^X//' >audio/firefly/Makefile << 'bb4f0ff51b93860ace7e1ce5214f09cd' >X# New ports collection makefile for: mt-daapd-devel >X# Date created: 26 Nov 2007 >X# Whom: Mark Foster <mark@foster.cc> >X# $FreeBSD$ >X# >X >XPORTNAME= firefly >XPORTVERSION= 1696 >XCATEGORIES= audio >XMASTER_SITES= >http://nightlies.fireflymediaserver.org/nightlies/svn-${PORTVERSION}/ \ >X http://www.magnesium.net/~mdf/distfiles/ >XDISTNAME= mt-daapd-svn-${PORTVERSION} >X >XMAINTAINER= mark@foster.cc >XCOMMENT= Open-source media server for the Roku SoundBridge and iTunes >X >XBUILD_DEPENDS= >${LOCALBASE}/include/vorbis/codec.h:${PORTSDIR}/audio/libvorbis >XRUN_DEPENDS= oggdec:${PORTSDIR}/audio/vorbis-tools \ >X flac:${PORTSDIR}/audio/flac >XLIB_DEPENDS= ogg:${PORTSDIR}/audio/libogg \ >X sqlite:${PORTSDIR}/databases/sqlite2 \ >X id3tag.0:${PORTSDIR}/audio/libid3tag >X >XCONFLICTS= mt-daapd-0.2.* >X >XGNU_CONFIGURE= yes >XCONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ >X CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ >X LDFLAGS="-L${LOCALBASE}/lib" \ >X LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" >XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >XCONFIGURE_ARGS= --prefix=${LOCALBASE} --with-id3tag=${PREFIX} >--enable-sqlite --enable-oggvorbis --enable-flac >X >X#USE_AUTOTOOLS= autoheader:261 autoconf:261:env >X >XDAAPD_USER?= daapd >XDAAPD_GROUP?= daapd >XDAAPD_DBDIR?= ${PREFIX}/var/db/${PORTNAME} >XUSE_RC_SUBR= mt-daapd >X >XPLIST_SUB+= DAAPD_DBDIR=${DAAPD_DBDIR} >XSUB_LIST+= USER=${DAAPD_USER} GROUP=${DAAPD_GROUP} >DAAPD_DBDIR=${DAAPD_DBDIR} >XSUB_FILES+= pkg-install pkg-deinstall >X >Xpre-everything:: >X @${ECHO_CMD} "Define vars bellow if you need:" >X @${ECHO_CMD} "DAAPD_USER=${DAAPD_USER} (default: daapd)" >X @${ECHO_CMD} "DAAPD_GROUP=${DAAPD_GROUP} (default: daapd)" >X @${ECHO_CMD} "DAAPD_DBDIR=${DAAPD_DBDIR} (default: >${PREFIX}/var/db/${PORTNAME})" >X >Xpre-install: >X @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL >X >Xpost-install: >X.if !defined(NOPORTDOCS) >X @${MKDIR} ${DOCSDIR} >X.for i in README AUTHORS COPYING CREDITS \ >X ChangeLog INSTALL NEWS TODO >X @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} >X.endfor >X.endif >X @[ -f ${PREFIX}/etc/mt-daapd.conf ] || \ >X ${INSTALL_DATA} ${WRKSRC}/contrib/mt-daapd.conf \ >X ${PREFIX}/etc/mt-daapd.conf >X @${MKDIR} ${DAAPD_DBDIR} >X @${MKDIR} ${DATADIR} >X @${CHMOD} 0755 ${DAAPD_DBDIR} >X @${CHMOD} 0755 ${DATADIR} >X @${CHOWN} ${DAAPD_USER}:${DAAPD_GROUP} ${DAAPD_DBDIR} >X @${CHOWN} ${DAAPD_USER}:${DAAPD_GROUP} ${DATADIR} >X ${LN} -sf ${PREFIX}/lib/mt-daapd/plugins/libout-daap.so.0.0 >${PREFIX}/lib/mt-daapd/plugins/libout-daap.so >X ${LN} -sf ${PREFIX}/lib/mt-daapd/plugins/librsp.so.0.0 >${PREFIX}/lib/mt-daapd/plugins/librsp.so >X ${LN} -sf ${PREFIX}/lib/mt-daapd/plugins/libssc-script.so.0.0 >${PREFIX}/lib/mt-daapd/plugins/libssc-script.so >X >X.include <bsd.port.mk> >bb4f0ff51b93860ace7e1ce5214f09cd >echo x - audio/firefly/distinfo >sed 's/^X//' >audio/firefly/distinfo << 'a5c8ee7f4021ac1e1c467e81adec0927' >XMD5 (mt-daapd-svn-1696.tar.gz) = 42ba1f432bb88e18a8cb4ce0fc52eb64 >XSHA256 (mt-daapd-svn-1696.tar.gz) = >9c3f1fc4d46391286ec8572c3080bb28d681ea6b1afe3ba51ffadf2eb7cfa344 >XSIZE (mt-daapd-svn-1696.tar.gz) = 1371458 >a5c8ee7f4021ac1e1c467e81adec0927 >echo c - audio/firefly/files >mkdir -p audio/firefly/files > /dev/null 2>&1 >echo x - audio/firefly/files/pkg-install.in >sed 's/^X//' >audio/firefly/files/pkg-install.in << >'b46f46bc5f4a3e0a5e2ea89178bb02c5' >X#!/bin/sh >X# >X# $FreeBSD: ports/audio/mt-daapd/files/pkg-install.in,v 1.1 2006/06/25 >13:17:25 itetcu Exp $ >X# formerly $ FreeBSD: ports/audio/mt-daapd/pkg-install,v 1.1 2004/08/05 >23:00:09 edwin Exp $ >X# >X >XPATH=/bin:/usr/bin:/usr/sbin >X >Xcase $2 in >X >XPRE-INSTALL) >X echo "---> Starting pre-install script:" >X >X if pw showgroup "daapd" 2>/dev/null; then >X echo "---> Using existing group \"daapd\"" >X else >X echo "---> Adding group \"daapd\"" >X pw addgroup daapd -h - || exit 1 >X fi >X >X >X # Create user if required >X if pw showuser "daapd" 2>/dev/null; then >X echo "---> Using existing user \"daapd\"" >X else >X echo "---> Adding user \"daapd\"" >X pw adduser daapd -g daapd -h - \ >X -d "/nonexistent" -s "/sbin/nologin" -c "daapd User" || exit 1 >X fi >X >X ;; >X >Xesac >b46f46bc5f4a3e0a5e2ea89178bb02c5 >echo x - audio/firefly/files/pkg-deinstall.in >sed 's/^X//' >audio/firefly/files/pkg-deinstall.in << >'4af77dc4bb5a415d237f873177f66d06' >X#!/bin/sh >X# >X# $FreeBSD: ports/audio/mt-daapd/files/pkg-deinstall.in,v 1.1 >2006/06/25 13:17:25 itetcu Exp $ >X# formerly $ FreeBSD: ports/audio/mt-daapd/pkg-deinstall,v 1.1 >2004/08/05 23:00:09 edwin Exp $ >X# >X >XPATH=/bin:/usr/bin:/usr/sbin >X >Xcase $2 in >X >XPOST-DEINSTALL) >X echo '---> Starting post-deinstall script:' >X >X if [ -f /usr/local/etc/mt-daapd.conf ]; then >X echo '---> You seem to have made some custom daapd configuration.' >X echo '---> The "daapd" user and "daapd" group were therefore not >deleted.' >X echo '---> You may delete them with "pw groupdel daapd; pw >userdel daapd".' >X >X else >X echo '---> Removing group "daapd"' >X /usr/sbin/pw groupdel -n daapd >X echo '---> Removing user "daapd"' >X echo 'y' | /usr/sbin/pw userdel -n daapd >X fi >X >X ;; >X >Xesac >4af77dc4bb5a415d237f873177f66d06 >echo x - audio/firefly/files/mt-daapd.in >sed 's/^X//' >audio/firefly/files/mt-daapd.in << >'a69fe9a565da7d775cfef5cb1f730702' >X#!/bin/sh >X# >X# $FreeBSD: ports/audio/mt-daapd/files/mt-daapd.sh.in,v 1.1 2006/06/25 >13:17:25 itetcu Exp $ >X# formerly $ FreeBSD: ports/audio/mt-daapd/files/mt-daapd.sh,v 1.1 >2004/07/19 09:18:51 edwin Exp $ >X >X# PROVIDE: mt-daapd >X# REQUIRE: LOGIN >X >X. /etc/rc.subr >X >Xname="firefly" >Xrcvar="firefly_enable" >X >Xcommand="/usr/local/sbin/mt-daapd" >Xcommand_args="-c /usr/local/etc/mt-daapd.conf" >Xpidfile="/var/run/mt-daapd.pid" >Xrequired_dirs="/usr/local/var/db/firefly" >Xrequired_files="/usr/local/etc/mt-daapd.conf" >X >Xload_rc_config "$name" >Xrun_rc_command "$1" >a69fe9a565da7d775cfef5cb1f730702 >echo x - audio/firefly/files/patch-mt-daapd.conf.templ >sed 's/^X//' >audio/firefly/files/patch-mt-daapd.conf.templ << >'fe3672748f1e03d96e5837389176f7db' >X--- contrib/mt-daapd.conf.templ 2008-09-23 23:16:46.000000000 -0700 >X+++ contrib/mt-daapd.conf.templ 2008-09-23 23:40:43.000000000 -0700 >X@@ -105,7 +105,7 @@ >X # This is also ignored on Windows. >X # >X >X-runas = nobody >X+runas = daapd >X >X # >X # password (optional) >X@@ -136,7 +136,7 @@ >X # --enable-musepack. >X # >X >X-extensions = .mp3,.m4a,.m4p >X+extensions = .mp3,.m4a,.m4p,.ogg,.flac >X >X # >X # ssc_codectypes (optional) >X@@ -194,8 +194,8 @@ >X # will vary the amount of logging you get. >X # >X >X-#logfile = /var/log/mt-daapd.log >X- >X+logfile = /var/log/mt-daapd.log >X+debuglevel = 5 >X # >X # rescan_interval >X # >X@@ -252,7 +252,7 @@ >X # the file is indexed. >X # >X >X-scan_type = 2 >X+scan_type = 0 >X >X # >X # compress >fe3672748f1e03d96e5837389176f7db >echo x - audio/firefly/pkg-plist >sed 's/^X//' >audio/firefly/pkg-plist << '38e0de64d7c42a3bebeb4d1b9b967e55' >X@unexec if cmp -s %D/etc/mt-daapd.conf.sample %D/etc/mt-daapd.conf; >then rm -f %D/etc/mt-daapd.conf; fi >Xbin/mt-daapd-ssc.sh >Xbin/wavstreamer >Xetc/mt-daapd.conf >Xetc/rc.d/mt-daapd >Xlib/mt-daapd/plugins/libout-daap.a >Xlib/mt-daapd/plugins/libout-daap.so >Xlib/mt-daapd/plugins/libout-daap.so.0.0 >Xlib/mt-daapd/plugins/librsp.a >Xlib/mt-daapd/plugins/librsp.so >Xlib/mt-daapd/plugins/librsp.so.0.0 >Xlib/mt-daapd/plugins/libssc-script.a >Xlib/mt-daapd/plugins/libssc-script.so >Xlib/mt-daapd/plugins/libssc-script.so.0.0 >Xlib/mt-daapd/plugins/out-daap.la >Xlib/mt-daapd/plugins/rsp.la >Xlib/mt-daapd/plugins/ssc-script.la >Xsbin/mt-daapd >X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS >X%%PORTDOCS%%%%DOCSDIR%%/COPYING >X%%PORTDOCS%%%%DOCSDIR%%/CREDITS >X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog >X%%PORTDOCS%%%%DOCSDIR%%/INSTALL >X%%PORTDOCS%%%%DOCSDIR%%/NEWS >X%%PORTDOCS%%%%DOCSDIR%%/README >X%%PORTDOCS%%%%DOCSDIR%%/TODO >Xshare/mt-daapd/admin-root/CREDITS >Xshare/mt-daapd/admin-root/DAAPApplet-0.1.jar >Xshare/mt-daapd/admin-root/about.html >Xshare/mt-daapd/admin-root/applet.html >Xshare/mt-daapd/admin-root/config-update.html >Xshare/mt-daapd/admin-root/config.css >Xshare/mt-daapd/admin-root/config.html >Xshare/mt-daapd/admin-root/config.js >Xshare/mt-daapd/admin-root/config.xml >Xshare/mt-daapd/admin-root/feedback.html >Xshare/mt-daapd/admin-root/ff_logo_sm.gif >Xshare/mt-daapd/admin-root/firefly.css >Xshare/mt-daapd/admin-root/firefly.js >Xshare/mt-daapd/admin-root/ftr.html >Xshare/mt-daapd/admin-root/gpl-license.html >Xshare/mt-daapd/admin-root/gpl-license.txt >Xshare/mt-daapd/admin-root/hdr.html >Xshare/mt-daapd/admin-root/index.css >Xshare/mt-daapd/admin-root/index.html >Xshare/mt-daapd/admin-root/lib-js/prototype.js >Xshare/mt-daapd/admin-root/lib-js/rico.js >Xshare/mt-daapd/admin-root/lib-js/script.aculo.us/builder.js >Xshare/mt-daapd/admin-root/lib-js/script.aculo.us/controls.js >Xshare/mt-daapd/admin-root/lib-js/script.aculo.us/dragdrop.js >Xshare/mt-daapd/admin-root/lib-js/script.aculo.us/effects.js >Xshare/mt-daapd/admin-root/lib-js/script.aculo.us/scriptaculous.js >Xshare/mt-daapd/admin-root/lib-js/script.aculo.us/slider.js >Xshare/mt-daapd/admin-root/lib-js/script.aculo.us/unittest.js >Xshare/mt-daapd/admin-root/linkOpaque.gif >Xshare/mt-daapd/admin-root/linkTransparent.gif >Xshare/mt-daapd/admin-root/no_access.html >Xshare/mt-daapd/admin-root/playlist.html >Xshare/mt-daapd/admin-root/playlist.js >Xshare/mt-daapd/admin-root/pngfix.js >Xshare/mt-daapd/admin-root/required.gif >Xshare/mt-daapd/admin-root/smart.html >Xshare/mt-daapd/admin-root/smart.js >Xshare/mt-daapd/admin-root/smartpopup.html >Xshare/mt-daapd/admin-root/spinner.gif >Xshare/mt-daapd/admin-root/spinner_stopped.gif >Xshare/mt-daapd/admin-root/status.js >Xshare/mt-daapd/admin-root/thanks.html >Xshare/mt-daapd/admin-root/util.js >Xshare/mt-daapd/admin-root/xiph-license.html >Xshare/mt-daapd/admin-root/xiph-license.txt >Xshare/mt-daapd/admin-root/zlib-license.html >Xshare/mt-daapd/admin-root/zlib-license.txt >X@dirrmtry share/mt-daapd/admin-root/lib-js/script.aculo.us >X@dirrmtry share/mt-daapd/admin-root/lib-js >X@dirrmtry share/mt-daapd/admin-root >X@dirrmtry share/mt-daapd-devel >X@dirrmtry share/mt-daapd >X@dirrmtry share/doc/mt-daapd-devel >X@dirrmtry lib/mt-daapd/plugins >X@dirrmtry lib/mt-daapd >38e0de64d7c42a3bebeb4d1b9b967e55 >exit
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 Raw
Actions:
View
Attachments on
bug 127701
: 90519 |
90520
|
90521
|
90522