Restore ventrilo-server, which has been removed by mistake (distfile is still available)
Pass maintainership to submitter Submitted by: Bob Willcox <bob@immure.com>
This commit is contained in:
parent
38de3beb05
commit
6b9de4a9f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320005
1
MOVED
1
MOVED
@ -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
|
||||
|
@ -799,6 +799,7 @@
|
||||
SUBDIR += umurmur
|
||||
SUBDIR += vagalume
|
||||
SUBDIR += vamp-plugin-sdk
|
||||
SUBDIR += ventrilo-server
|
||||
SUBDIR += vitunes
|
||||
SUBDIR += vo-aacenc
|
||||
SUBDIR += vo-amrwbenc
|
||||
|
55
audio/ventrilo-server/Makefile
Normal file
55
audio/ventrilo-server/Makefile
Normal file
@ -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>
|
2
audio/ventrilo-server/distinfo
Normal file
2
audio/ventrilo-server/distinfo
Normal file
@ -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
|
10
audio/ventrilo-server/files/pkg-message.in
Normal file
10
audio/ventrilo-server/files/pkg-message.in
Normal file
@ -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
|
44
audio/ventrilo-server/files/ventrilo-server.in
Normal file
44
audio/ventrilo-server/files/ventrilo-server.in
Normal file
@ -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 $*
|
5
audio/ventrilo-server/pkg-descr
Normal file
5
audio/ventrilo-server/pkg-descr
Normal file
@ -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/
|
9
audio/ventrilo-server/pkg-plist
Normal file
9
audio/ventrilo-server/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user