diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-06 01:00:46 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-06 01:00:46 +0800 |
commit | 337f2df200ea5a1ba6d54f323a431dbc484eeb36 (patch) | |
tree | 264ae8c805c5398a71c71faa17e77b11aa72a973 | |
parent | 1306dba5f8fed663c0e5a3547135058546fef526 (diff) | |
download | freebsd-ports-gnome-337f2df200ea5a1ba6d54f323a431dbc484eeb36.tar.gz freebsd-ports-gnome-337f2df200ea5a1ba6d54f323a431dbc484eeb36.tar.zst freebsd-ports-gnome-337f2df200ea5a1ba6d54f323a431dbc484eeb36.zip |
Restore ventrilo-server, which has been removed by mistake (distfile is still available)
Pass maintainership to submitter
Submitted by: Bob Willcox <bob@immure.com>
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/ventrilo-server/Makefile | 55 | ||||
-rw-r--r-- | audio/ventrilo-server/distinfo | 2 | ||||
-rw-r--r-- | audio/ventrilo-server/files/pkg-message.in | 10 | ||||
-rw-r--r-- | audio/ventrilo-server/files/ventrilo-server.in | 44 | ||||
-rw-r--r-- | audio/ventrilo-server/pkg-descr | 5 | ||||
-rw-r--r-- | audio/ventrilo-server/pkg-plist | 9 |
8 files changed, 126 insertions, 1 deletions
@@ -4335,7 +4335,6 @@ x11-toolkits/linux-qt33||2013-05-30|Has expired: Only used on FreeBSD 7, which i irc/bitchx-devel|irc/bitchx|2013-05-31|Release finally cut mail/p5-vpopmail||2013-06-03|Has expired: Broken for more than 6 month mail/vodmr||2013-06-03|Has expired: depends on expired mail/p5-vpopmail -audio/ventrilo-server||2013-06-03|Has expired: No more public distfiles devel/libzrtp||2013-06-03|Has expired: No more public distfiles mail/postfix26||2013-06-03|Has expired: No longer supported by upstream devel/i386-rtems-gcc||2013-06-03|Has expired: many issues; see https://www.rtems.org/bugzilla/show_bug.cgi?id=2099 diff --git a/audio/Makefile b/audio/Makefile index b86a6a09a2d9..cb48b6ffae8a 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -799,6 +799,7 @@ SUBDIR += umurmur SUBDIR += vagalume SUBDIR += vamp-plugin-sdk + SUBDIR += ventrilo-server SUBDIR += vitunes SUBDIR += vo-aacenc SUBDIR += vo-amrwbenc diff --git a/audio/ventrilo-server/Makefile b/audio/ventrilo-server/Makefile new file mode 100644 index 000000000000..befa35d16f45 --- /dev/null +++ b/audio/ventrilo-server/Makefile @@ -0,0 +1,55 @@ +# Created by: Anish Mistry +# $FreeBSD$ + +PORTNAME= ventrilo +PORTVERSION= 3.0.3 +CATEGORIES= audio net +MASTER_SITES= # http://www.ventrilo.com/download.php +PKGNAMESUFFIX= -server +DISTNAME= ventrilo_srv-${PORTVERSION}-FreeBSD-i386 + +MAINTAINER= bob@immure.com +COMMENT= Server side of the Ventrilo group voice chat system + +LIB_DEPENDS= stdc\\+\\+.3:${PORTSDIR}/misc/compat4x \ + m.2:${PORTSDIR}/misc/compat4x \ + c.4:${PORTSDIR}/misc/compat4x + +.include <bsd.port.pre.mk> + +IA32_BINARY_PORT= yes +NO_BUILD= yes +RESTRICTED= Redistribution of pre-compiled binaries is not permitted +INSTALL_DIR= ${PREFIX}/ventrilo-server +USE_RC_SUBR= ${PORTNAME}${PKGNAMESUFFIX} +VENT_USER= ${PORTNAME} +USERS= ${VENT_USER} +GROUPS= ${USERS} +WRKSRC= ${WRKDIR}/ventsrv +SUB_FILES= pkg-message + +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) +IGNORE= distfile can only be fetched if you accept the license. Go to http://www.ventrilo.com/dlprod.php?id=105 and put ${DISTFILES} into ${DISTDIR} +.endif + +do-install: + @${MKDIR} ${INSTALL_DIR} + @${CHOWN} ${VENT_USER} ${INSTALL_DIR} + ${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_srv ${INSTALL_DIR} + ${INSTALL_PROGRAM} ${WRKSRC}/ventrilo_status ${INSTALL_DIR} + ${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.htm ${INSTALL_DIR} + ${INSTALL_DATA} ${WRKSRC}/LICENSE ${INSTALL_DIR} + ${INSTALL_DATA} ${WRKSRC}/ventrilo_srv.ini ${PREFIX}/etc/ventrilo_srv.ini.sample + @if [ ! -f ${PREFIX}/etc/ventrilo_srv.ini ]; then \ + ${CP} -p ${PREFIX}/etc/ventrilo_srv.ini.sample ${PREFIX}/etc/ventrilo_srv.ini ; \ + ${CHMOD} 0640 ${PREFIX}/etc/ventrilo_srv.ini ; \ + ${CHGRP} ${VENT_USER} ${PREFIX}/etc/ventrilo_srv.ini ; \ + fi + ${LN} -s ${PREFIX}/etc/ventrilo_srv.ini ${INSTALL_DIR}/ventrilo_srv.ini + +post-install: + @${CAT} ${PKGMESSAGE} + +PKGDEINSTALL= ${PKGINSTALL} + +.include <bsd.port.post.mk> diff --git a/audio/ventrilo-server/distinfo b/audio/ventrilo-server/distinfo new file mode 100644 index 000000000000..ce88d7784f6a --- /dev/null +++ b/audio/ventrilo-server/distinfo @@ -0,0 +1,2 @@ +SHA256 (ventrilo_srv-3.0.3-FreeBSD-i386.tar.gz) = ca7cf61567a153890a4b9fbe77d2cb2846e84cf67e92f01cecf964946d59edee +SIZE (ventrilo_srv-3.0.3-FreeBSD-i386.tar.gz) = 150551 diff --git a/audio/ventrilo-server/files/pkg-message.in b/audio/ventrilo-server/files/pkg-message.in new file mode 100644 index 000000000000..dd1b11a4fe23 --- /dev/null +++ b/audio/ventrilo-server/files/pkg-message.in @@ -0,0 +1,10 @@ +Ventrilo Hints: + +You can retrieve server status information for any servers, provided +that you know the password using the RC script. +Examples: +For the localhost's status information: +%%PREFIX%%/etc/rc.d/ventrilo-server info + +Query a remote server on a different port: +%%PREFIX%%/etc/rc.d/ventrilo-server info remote.example.org 4000 diff --git a/audio/ventrilo-server/files/ventrilo-server.in b/audio/ventrilo-server/files/ventrilo-server.in new file mode 100644 index 000000000000..f638cd279564 --- /dev/null +++ b/audio/ventrilo-server/files/ventrilo-server.in @@ -0,0 +1,44 @@ +#!/bin/sh + +# $FreeBSD$ + +# PROVIDE: ventrilo +# REQUIRE: DAEMON +# KEYWORD: shutdown + +. /etc/rc.subr + +name=ventrilo +rcvar=ventrilo_enable + +homedir="%%PREFIX%%/ventrilo-server" +pidfile="${homedir}/ventrilo_srv.pid" +ventrilo_user=${name} +command="${homedir}/ventrilo_srv" +command_args="'-f${homedir}/ventrilo_srv' -d >/dev/null" +extra_commands="info" +info_cmd="ventrilo_info" + +load_rc_config $name + +: ${ventrilo_enable="NO"} +: ${ventrilo_port="3784"} +: ${ventrilo_srv="localhost"} + +ventrilo_info() +{ + if [ "$1" != "" ]; then + ventrilo_srv="$1" + fi + if [ "$2" != "" ]; then + ventrilo_port="$2" + fi + echo -n "Password []: " + oldttymodes=`stty -g` + stty -echo + read ventrilo_passwd + stty $oldttymodes + ${homedir}/ventrilo_status -c2 "-t${ventrilo_srv}:${ventrilo_port}:${ventrilo_passwd}" +} + +run_rc_command $* diff --git a/audio/ventrilo-server/pkg-descr b/audio/ventrilo-server/pkg-descr new file mode 100644 index 000000000000..524d1b5acb98 --- /dev/null +++ b/audio/ventrilo-server/pkg-descr @@ -0,0 +1,5 @@ +The server for Ventrilo is a voice chat program which supports multiple +channels with different rate codecs and several people on each channel. +Primarily aimed at team gamers but can be used as an IP phone as well. + +WWW: http://www.ventrilo.com/ diff --git a/audio/ventrilo-server/pkg-plist b/audio/ventrilo-server/pkg-plist new file mode 100644 index 000000000000..a562a213443a --- /dev/null +++ b/audio/ventrilo-server/pkg-plist @@ -0,0 +1,9 @@ +@unexec if cmp -s %D/etc/ventrilo_srv.ini.sample %D/etc/ventrilo_srv.ini; then rm -f %D/etc/ventrilo_srv.ini; fi +etc/ventrilo_srv.ini.sample +@exec if [ ! -f %D/etc/ventrilo_srv.ini ] ; then cp -p %D/%F %B/ventrilo_srv.ini; fi +ventrilo-server/LICENSE +ventrilo-server/ventrilo_srv +ventrilo-server/ventrilo_status +ventrilo-server/ventrilo_srv.htm +ventrilo-server/ventrilo_srv.ini +@dirrm ventrilo-server |