diff options
author | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2009-03-02 00:22:40 +0000 |
---|---|---|
committer | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2009-03-02 00:22:40 +0000 |
commit | 6c4e42d1b40b0b64ee7d5b5abedfde540a7ab564 (patch) | |
tree | d6d3713c14925a025d7d5aad83afe7ebaebd5950 /media-sound | |
parent | Fix for gcc 4.3.3 / fortify_sources. Adding ~amd64 keyword. Patch by Magnus G... (diff) | |
download | gentoo-2-6c4e42d1b40b0b64ee7d5b5abedfde540a7ab564.tar.gz gentoo-2-6c4e42d1b40b0b64ee7d5b5abedfde540a7ab564.tar.bz2 gentoo-2-6c4e42d1b40b0b64ee7d5b5abedfde540a7ab564.zip |
Taking over ventrilo-server-bin and bumping to 3.0.3
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'media-sound')
6 files changed, 89 insertions, 5 deletions
diff --git a/media-sound/ventrilo-server-bin/ChangeLog b/media-sound/ventrilo-server-bin/ChangeLog index 5b0f820df39c..d4f80b51d48e 100644 --- a/media-sound/ventrilo-server-bin/ChangeLog +++ b/media-sound/ventrilo-server-bin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/ventrilo-server-bin -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ChangeLog,v 1.12 2007/04/28 15:00:36 tove Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ChangeLog,v 1.13 2009/03/02 00:22:40 gurligebis Exp $ + +*ventrilo-server-bin-3.0.3 (02 Mar 2009) + + 02 Mar 2009; Bjarke Istrup Pedersen <gurligebis@gentoo.org> + +files/3.0.3-init.d.ventrilo, +files/3.0.3-conf.d.ventrilo, metadata.xml, + ventrilo-server-bin-2.3.1.ebuild, +ventrilo-server-bin-3.0.3.ebuild: + Taking over ventrilo-server-bin and bumping to 3.0.3 28 Apr 2007; Torsten Veller <tove@gentoo.org> ventrilo-server-bin-2.3.1.ebuild: diff --git a/media-sound/ventrilo-server-bin/files/3.0.3-conf.d.ventrilo b/media-sound/ventrilo-server-bin/files/3.0.3-conf.d.ventrilo new file mode 100644 index 000000000000..673f2bf5a258 --- /dev/null +++ b/media-sound/ventrilo-server-bin/files/3.0.3-conf.d.ventrilo @@ -0,0 +1,2 @@ +# Set the default nice priority level. See NICE(1) for more information. +NICE="-5" diff --git a/media-sound/ventrilo-server-bin/files/3.0.3-init.d.ventrilo b/media-sound/ventrilo-server-bin/files/3.0.3-init.d.ventrilo new file mode 100644 index 000000000000..4130223817b5 --- /dev/null +++ b/media-sound/ventrilo-server-bin/files/3.0.3-init.d.ventrilo @@ -0,0 +1,23 @@ +#!/sbin/runscript + +depend() { + # the daemon needs the internet to function + # Not sure if net is needed to start but it is required for it to work properly. + need net +} + +start() { + # display to the user what you're doing + ebegin "Starting Ventrilo VoIP Server" + start-stop-daemon --start --chuid ventrilo --nicelevel "${NICE}" \ + --exec /opt/ventrilo-server/ventrilo_srv -- -f/opt/ventrilo-server/ventrilo_srv -d + eend $? +} + +stop() { + # display a message to the user + ebegin "Stopping Ventrilo VoIP Server" + start-stop-daemon --stop --pidfile /opt/ventrilo-server/ventrilo_srv.pid + eend $? +} + diff --git a/media-sound/ventrilo-server-bin/metadata.xml b/media-sound/ventrilo-server-bin/metadata.xml index e1774e3d9ad7..8afc3cbfa0c6 100644 --- a/media-sound/ventrilo-server-bin/metadata.xml +++ b/media-sound/ventrilo-server-bin/metadata.xml @@ -1,5 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sound</herd> + <herd>sound</herd> + <maintainer> + <email>gurligebis@gentoo.org</email> + <name>Bjarke Istrup Pedersen</name> + </maintainer> </pkgmetadata> diff --git a/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.3.1.ebuild b/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.3.1.ebuild index 2adba92cafc9..f98859da5278 100644 --- a/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.3.1.ebuild +++ b/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.3.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.3.1.ebuild,v 1.2 2007/04/28 15:00:36 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.3.1.ebuild,v 1.3 2009/03/02 00:22:40 gurligebis Exp $ IUSE="" DESCRIPTION="The Ventrilo Voice Communication Server" @@ -15,6 +15,7 @@ RESTRICT="fetch" S=${WORKDIR} DEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs )" +RDEPEND="${DEPEND}" pkg_nofetch() { einfo "Please visit http://www.ventrilo.com/download.php" diff --git a/media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild b/media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild new file mode 100644 index 000000000000..799b87273a4a --- /dev/null +++ b/media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ventrilo-server-bin-3.0.3.ebuild,v 1.1 2009/03/02 00:22:40 gurligebis Exp $ + +inherit eutils + +IUSE="" +DESCRIPTION="The Ventrilo Voice Communication Server" +HOMEPAGE="http://www.ventrilo.com/" +SRC_URI="ventrilo_srv-${PV}-Linux-i386.tar.gz" + +LICENSE="ventrilo" +SLOT="0" +KEYWORDS="-* ~x86 ~amd64" +RESTRICT="fetch" + +S=${WORKDIR} + +DEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs )" +RDEPEND="${DEPEND}" +pkg_setup() { + enewgroup ventrilo 3784 + enewuser ventrilo 3784 -1 /dev/null ventrilo +} + +pkg_nofetch() { + einfo "Please visit http://www.ventrilo.com/download.php" + einfo "and download the Linux i386 - 32bit ${PV} server." + einfo "Just save it in ${DISTDIR} !" +} + +src_install() { + cd "${S}/ventsrv" + + exeinto /opt/ventrilo-server + doexe ventrilo_{srv,status} + + newinitd "${FILESDIR}"/${PV}-init.d.ventrilo ventrilo + newconfd "${FILESDIR}"/${PV}-conf.d.ventrilo ventrilo + + insinto /opt/ventrilo-server + doins ventrilo_srv.ini + + dohtml ventrilo_srv.htm + + fowners ventrilo:ventrilo /opt/ventrilo-server +} |