Date: Tue, 4 Aug 2009 23:24:03 +0900 (JST) From: Ayumi M <ayu@commun.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/137428: [NEW PORT] audio/murmur: Murmur is the server component of Mumble Message-ID: <20090804142403.BCC5B398A6@dahlia.commun.jp> Resent-Message-ID: <200908041450.n74Eo2xS006081@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137428 >Category: ports >Synopsis: [NEW PORT] audio/murmur: Murmur is the server component of Mumble >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 04 14:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ayumi M >Release: FreeBSD 7.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD dahlia.commun.jp 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC >Description: Murmur is the server component of Mumble, a low-latency, high quality VoIP application. WWW: http://mumble.sourceforge.net/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- murmur-1.1.8.shar begins here --- # 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: # # murmur # murmur/pkg-descr # murmur/Makefile # murmur/pkg-plist # murmur/distinfo # murmur/pkg-install # murmur/files # murmur/files/murmur.in # murmur/files/patch-src__murmur__murmur_pch.h # echo c - murmur mkdir -p murmur > /dev/null 2>&1 echo x - murmur/pkg-descr sed 's/^X//' >murmur/pkg-descr << '58c4ba635a5956b72615b7825626315f' XMurmur is the server component of Mumble, a low-latency, high quality XVoIP application. X XWWW: http://mumble.sourceforge.net/ 58c4ba635a5956b72615b7825626315f echo x - murmur/Makefile sed 's/^X//' >murmur/Makefile << '786eabb8e36ae6dab06e320a1ad0dd48' X# New ports collection makefile for: murmur X# Date created: 2009-08-03 X# Whom: Ayumi M <ayu@commun.jp> X# X# $FreeBSD$ X# X XPORTNAME= murmur XPORTVERSION= 1.1.8 XCATEGORIES= audio net XMASTER_SITES= SF XMASTER_SITE_SUBDIR= mumble XDISTNAME= mumble-${PORTVERSION} X XMAINTAINER= ayu@commun.jp XCOMMENT= Murmur is the server component of Mumble X XBUILD_DEPENDS= slice2cpp:${PORTSDIR}/devel/ice \ X ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost XRUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlite.so:${PORTSDIR}/databases/qt4-sqlite3-plugin X XUSE_QT_VER= 4 XQT_COMPONENTS= qmake_build corelib network xml sql XHAS_CONFIGURE= yes X XCONFIG= no-client no-dbus X XMAN1= murmurd.1 XUSE_RC_SUBR= murmur X X.include <bsd.port.pre.mk> X Xdo-configure: X @cd ${WRKSRC} && ${SETENV} QMAKESPEC=${QMAKESPEC} \ X ${QMAKE} -unix PREFIX=${PREFIX} main.pro "CONFIG+=${CONFIG}" X Xpre-su-install: X @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X Xpre-install: X @${SED} -i '' -e 's|database=.*|database=/var/db/murmur/murmur.sqlite|' ${WRKSRC}/scripts/murmur.ini X @${SED} -i '' -e 's|#pidfile=.*|pidfile=/var/run/murmur/murmur.pid|' ${WRKSRC}/scripts/murmur.ini X @${SED} -i '' -e 's|#logfile=.*|logfile=/var/log/murmur/murmur.log|' ${WRKSRC}/scripts/murmur.ini X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/release/murmurd ${PREFIX}/bin X @${INSTALL_DATA} ${WRKSRC}/scripts/murmur.ini ${PREFIX}/etc X ${INSTALL_MAN} ${WRKSRC}/man/murmurd.1 ${MANPREFIX}/man/man1 X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for f in CHANGES INSTALL LICENSE README README.Linux X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.post.mk> 786eabb8e36ae6dab06e320a1ad0dd48 echo x - murmur/pkg-plist sed 's/^X//' >murmur/pkg-plist << '2581c47044d454ab413878c4bbfb856b' X%%PORTDOCS%%%%DOCSDIR%%/CHANGES X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/LICENSE X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/README.Linux Xbin/murmurd Xetc/murmur.ini X%%PORTDOCS%%@dirrm %%DOCSDIR%% 2581c47044d454ab413878c4bbfb856b echo x - murmur/distinfo sed 's/^X//' >murmur/distinfo << 'd306c09b2230e1694fb4c9f22a16a669' XMD5 (mumble-1.1.8.tar.gz) = a7da012922d39b87c45d9f481d4b5efb XSHA256 (mumble-1.1.8.tar.gz) = 4cef76457e3178f9d854327f4a02c3521b19ddf64c03947b3ba182f871a81856 XSIZE (mumble-1.1.8.tar.gz) = 1241365 d306c09b2230e1694fb4c9f22a16a669 echo x - murmur/pkg-install sed 's/^X//' >murmur/pkg-install << '92661d20b029408802c1f865c04d6af2' X#!/bin/sh X# $FreeBSD$ X XPATH=/bin:/usr/sbin XUSER=murmur XGROUP=murmur XHOME=/nonexistent XLOGDIR=/var/log/murmur XRUNDIR=/var/run/murmur XDBDIR=/var/db/murmur X Xcase $2 in X PRE-INSTALL) X if pw group show ${GROUP} 2> /dev/null; then X else X if pw groupadd ${GROUP}; then X echo "Added group \"${GROUP}\"." X else X echo "Adding group \"${GROUP}\" failed..." X exit 1 X fi X fi X X if pw user show ${USER} 2> /dev/null; then X else X if pw useradd ${USER} -g ${GROUP} -h - \ X -d ${HOME} -c "Murmur" X then X echo "Added user \"${USER}\"." X else X echo "Adding user \"${USER}\" failed..." X exit 1 X fi X fi X X mkdir -m 750 ${LOGDIR} ${DBDIR} ${RUNDIR} 2> /dev/null X chown -R ${USER}:${GROUP} ${LOGDIR} ${DBDIR} ${RUNDIR} X X ;; X X POST-DEINSTALL) X if pw group show ${GROUP} 2> /dev/null; then X if pw group del ${GROUP}; then X echo "Removed group \"${GROUP}\"." X else X echo "Removing group \"${GROUP}\" failed..." X exit 1 X fi X fi X X if pw user show ${USER} 2> /dev/null; then X if pw userdel ${USER}; then X echo "Removed user \"${USER}\"." X else X echo "Removing user \"${USER}\" failed..." X exit 1 X fi X fi X X rm -Rf ${PIDDIR} X ;; Xesac 92661d20b029408802c1f865c04d6af2 echo c - murmur/files mkdir -p murmur/files > /dev/null 2>&1 echo x - murmur/files/murmur.in sed 's/^X//' >murmur/files/murmur.in << '3c42805a08bbe44e1e943b7b8e686b31' X#!/bin/sh X# X# $FreeBSD$ X# X# PROVIDE: murmur X# REQUIRE: DAEMON X# KEYWORD: shutdown X# X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf X# to enable this service: X# X# murmur_enable (bool): Set to NO by default. X# Set it to YES to enable teamspeak. X# X X. %%RC_SUBR%% X X# Set some defaults Xmurmur_user=${murmur_user:-"murmur"} X Xname=murmur Xrcvar=${name}_enable X Xcommand="%%PREFIX%%/bin/murmurd" Xcommand_args="-ini %%PREFIX%%/etc/murmur.ini" Xpidfile="/var/run/murmur/murmur.pid" X Xload_rc_config $name X X: ${murmur_enable="NO"} X Xrun_rc_command "$1" 3c42805a08bbe44e1e943b7b8e686b31 echo x - murmur/files/patch-src__murmur__murmur_pch.h sed 's/^X//' >murmur/files/patch-src__murmur__murmur_pch.h << 'dd7cc89be3948c61d1a8cedc8480a032' X--- src/murmur/murmur_pch.h.orig 2009-08-04 21:37:28.000000000 +0900 X+++ src/murmur/murmur_pch.h 2009-08-04 21:38:17.000000000 +0900 X@@ -74,7 +74,6 @@ X #define ALLOCA(x) _alloca(x) X #define snprintf ::_snprintf X #else X-#include <alloca.h> X #define ALLOCA(x) alloca(x) X #endif X #if defined (Q_CC_GNU) || (defined (Q_CC_INTEL) && !defined (Q_OS_WIN)) dd7cc89be3948c61d1a8cedc8480a032 exit --- murmur-1.1.8.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090804142403.BCC5B398A6>