+++ /dev/null
-#!/sbin/openrc-run
-
-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 $?
-}
-
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sound@gentoo.org</email>
- <name>Gentoo Sound project</name>
- </maintainer>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils user
-
-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="-* amd64 x86"
-RESTRICT="fetch"
-
-S=${WORKDIR}
-
-RDEPEND="sys-libs/glibc"
-DEPEND=""
-
-QA_PRESTRIPPED="opt/ventrilo-server/ventrilo_srv
- opt/ventrilo-server/ventrilo_status"
-
-pkg_setup() {
- enewgroup ventrilo 3784
- enewuser ventrilo 3784 -1 /dev/null ventrilo
-}
-
-pkg_nofetch() {
- elog "Please visit http://www.ventrilo.com/download.php"
- elog "and download the Linux i386 - 32bit ${PV} server."
- elog "Just save it into your DISTDIR directory!"
-}
-
-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
-}