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 | 6413343295d4a44b1b4c403fdb6fd9a160c3de0c (patch) | |
tree | 42082d3deaf3f3c00d732c510530da828edbd7dc | |
parent | Fix for gcc 4.3.3 / fortify_sources. Adding ~amd64 keyword. Patch by Magnus G... (diff) | |
download | historical-6413343295d4a44b1b4c403fdb6fd9a160c3de0c.tar.gz historical-6413343295d4a44b1b4c403fdb6fd9a160c3de0c.tar.bz2 historical-6413343295d4a44b1b4c403fdb6fd9a160c3de0c.zip |
Taking over ventrilo-server-bin and bumping to 3.0.3
Package-Manager: portage-2.2_rc23/cvs/Linux i686
7 files changed, 96 insertions, 8 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/Manifest b/media-sound/ventrilo-server-bin/Manifest index d4aff6705f0c..da84043572be 100644 --- a/media-sound/ventrilo-server-bin/Manifest +++ b/media-sound/ventrilo-server-bin/Manifest @@ -1,6 +1,10 @@ +AUX 3.0.3-conf.d.ventrilo 84 RMD160 20e24b28a9a615d40d9c05fb9780f31dbac6a355 SHA1 616443a4c2f09668b13bfc0ea04351a4c0b4a4f0 SHA256 1528e26ff109192480a3e75f1f7b45291de77d543874bf881493ced7c808e867 +AUX 3.0.3-init.d.ventrilo 653 RMD160 385f0864e5e8aaa64685ff5ab84c1eedf718ffea SHA1 ed5ad0c8331071adce8cb1cb74e81d6cb64ea2b4 SHA256 a7b2357e4a12e1d42d54184a0653599579a2ee97f7a421bdad2fc547efc8feec AUX conf.d.ventrilo 82 RMD160 d0d9b4df9f0f8936b21675cd07b6276c8fec1fe9 SHA1 71805b3d815f200b26513476dc0fb7b9249bbc2a SHA256 4339d08a6ccde4b63581ec2fa827aeaf13be3dc5bf9b3485116b113ef88e72a4 AUX init.d.ventrilo 600 RMD160 3902b8ed0d261abd58ab0c599bb07e1de07a9b87 SHA1 f8fd4a5064d401e75e21d6e3135b8127d69a9716 SHA256 5347660e5b8dcf475e39dbd10978b3792cfd455697ec4664b7f8f33f0228a013 DIST ventrilo_srv-2.3.1-Linux-i386.tar.gz 166862 RMD160 f5ac3cc275f73372bd46b1a3c568bd251c9ef1a4 SHA1 9d3b0d2cfae2d98b1897e902a31b5f4553c2f91e SHA256 5fd929056be6e44e61617080b157680cd3cd3432721a237076c01651ec2bb32f -EBUILD ventrilo-server-bin-2.3.1.ebuild 966 RMD160 3d0bccabe02b2aa377d0801cacac865d6c4f673a SHA1 aaec4dee6728fe0a98be7bc96fe41d051a409e62 SHA256 9dc240d97c9f43fcd693797a24b893690cf0d37110ce63f43e45ef83fbe470e3 -MISC ChangeLog 2025 RMD160 f28f1d85df512bb3c70e18c4de824fb3abcfd734 SHA1 547082efeb4914c8f4e2b140ec8b24d5ad6a2de7 SHA256 aa0e0b389800486d9199691feb0d85c183849ec1e1084cdb040305d45342afa3 -MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b +DIST ventrilo_srv-3.0.3-Linux-i386.tar.gz 211494 RMD160 782f364ab8e50e7659304d89070551f9fcb5ac6c SHA1 688fcc264f14e19fa5938bacd382fe253a0efa10 SHA256 702a0cf88234e229b68e7a1f2624e23879541cb4e2c2b2f5f88591a85b364e56 +EBUILD ventrilo-server-bin-2.3.1.ebuild 992 RMD160 2e88b5b7568889c2d953f2205793997292a00a72 SHA1 d732ad6d835de876729576d1fdeac1db1f208271 SHA256 1076728b72961e788f7203ded02b5ed40bafd8155daa06e848c8d8239572dd0f +EBUILD ventrilo-server-bin-3.0.3.ebuild 1178 RMD160 fa09cbe2773235bce633f44ce17a3731a7ff5609 SHA1 4919de5bddfff4dcec9079d9bacb5d3834981a93 SHA256 b606fbc2f6dde6d2ea5b4d09545911537e6cc019f5528671be72f055ba9c4304 +MISC ChangeLog 2338 RMD160 3aca8aefc8066b07337f2e4986417fc966e8bf2d SHA1 f206b1e9b9fe517e9d2e66282fdba0354bf830d1 SHA256 d6e41a01d814c946ad403d21e4128fe70fc1270804fc75e4461f205629f43661 +MISC metadata.xml 265 RMD160 8a0d60238358d511f1d4cf087055203080f5177e SHA1 d10a720cc8c083058f8b249a876468fe79937cec SHA256 8290f7e6be450434ae763d5d23ef297f03915c33d6ecbd5b2dd812cd0f254047 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 +} |