diff options
author | Stuart Shelton <stuart@shelton.me> | 2013-09-26 00:14:07 +0100 |
---|---|---|
committer | Stuart Shelton <stuart@shelton.me> | 2013-09-26 00:14:07 +0100 |
commit | ed8bff5a4bd68fef56f7904514d2e5c79eaa3fe1 (patch) | |
tree | d2d7c62b200569c3d0b624c3619637dc0d77febb /media-sound | |
parent | www-misc/observium-4451 (diff) | |
download | srcshelton-ed8bff5a4bd68fef56f7904514d2e5c79eaa3fe1.tar.gz srcshelton-ed8bff5a4bd68fef56f7904514d2e5c79eaa3fe1.tar.bz2 srcshelton-ed8bff5a4bd68fef56f7904514d2e5c79eaa3fe1.zip |
media-sound/teamspeak-server-bin-3.0.9
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/teamspeak-server-bin/Manifest | 3 | ||||
-rw-r--r-- | media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.9.ebuild | 94 |
2 files changed, 97 insertions, 0 deletions
diff --git a/media-sound/teamspeak-server-bin/Manifest b/media-sound/teamspeak-server-bin/Manifest index aed76f4c..10964738 100644 --- a/media-sound/teamspeak-server-bin/Manifest +++ b/media-sound/teamspeak-server-bin/Manifest @@ -9,11 +9,14 @@ DIST teamspeak3-server_linux-amd64-3.0.6.1.tar.gz 4131518 SHA256 5d222d1f6b28db8 DIST teamspeak3-server_linux-amd64-3.0.7.1.tar.gz 4470985 SHA256 500b9a75dbe5287db7f4d8b788e53b73069c9d1d49cebc8b6b5e0b3081e0473b SHA512 aca25cfd0d0d0d2e3c3832cbac256f5e8996c3593659f5fdf01de1192a35246d4cc222dbda236d75adae31911fd03a2b345f8beb2874b79b62b95ff2c0f528e0 WHIRLPOOL 99c8c62565038828765965cd0eff35245d305b80074042a0dc296b50eb23df9823676351db84e8ec0e79faeb6fc26622a6c6488240957f16afb87ea8457e42a9 DIST teamspeak3-server_linux-amd64-3.0.7.2.tar.gz 4490216 SHA256 1be5cb2dd03168c8c2b8900748439545e122d0cdbf66e2c9bf3d9bed1d9553f6 SHA512 647ee7c5e3e832db9e53f130603c23d73d21af2e5501bbf3727abad9d317f70e6fd9a0158e10ffcaa28dfd9bb30f23743d8d8f9aef1d450659eb114dc626da97 WHIRLPOOL d421f9610a3b35124b44bbf2b915e7a9af17ad31c77529a8939a33de6b1b6ebed670cd87785474dd3c1b2cb625e7914bb5c8de50ce3b0625d444c6f638c1dc31 DIST teamspeak3-server_linux-amd64-3.0.8.tar.gz 7156063 SHA256 f40bd7976a6fb084868f57bf10e5d954265a732914f45b396aedda530fd9c0c8 SHA512 0b2545e972db570a38b5fe601bbfbdf0cd153f5bc816c6df542bd47f831654f199fb173c95da2ff28855bf0559f9b2e3b054dc22ddf323c44551ba54c7cd46a2 WHIRLPOOL a5f0bd034856ee96dcccff43b0ca98725b35f0accfef9e3215afe6a99dfc50b64a4b6edc86175c54216a288ccefaba596d9182be4a8662eca8c55f64484313c0 +DIST teamspeak3-server_linux-amd64-3.0.9.tar.gz 4739964 SHA256 3559624ce21142a90c21c8a8e789d420b6043cc97698713a070cddccd8918b08 SHA512 c0b5ba34d28a740ef1a8b458f2203c3f145f117b9d1e38d571c15335fc56a52311bacc320bcd1d9fbec899d5c32548cf3579765ebefa2fddc0287aafb8b5cbcc WHIRLPOOL e8c2605917635211202bb3c3e5a9d714622fb0ea909558cb77fd8e32fd0e22296b4f3fd7119b7cf9b07fb06f06dcd75b3e9f17e9da0f9edc6f3ca365440d7603 DIST teamspeak3-server_linux-x86-3.0.6.1.tar.gz 4436951 SHA256 ea0399bfce623b09e15dca4fc970528ae7b4cee27027ff2ab03a1563da562f0c SHA512 5e022bcb8b3c0b8c728c2ea85421908c86f9e41ea87c172a246fd749b04182467cfdaba8d53413b76c6dbbf97d598564e533245f2530f6375c5cd35465c2f850 WHIRLPOOL a4fa70b534bd3370cda50de7f462126db2d0a34bbe4fa5fcae3c226d277f03bc30d8af09d3909c79f005decc68b5f8c15517fc9e7a485d8c9807ca83082402d1 DIST teamspeak3-server_linux-x86-3.0.7.1.tar.gz 4751494 SHA256 bc565b74b4c6d6e9a348c51c0f227514a6efce437907eb1dac301ea5bcc449c1 SHA512 02cd68186c4a4040f0373a4e873ac4a11d65b6d5c7fc833974341cdd4163f0efaba66fde61500acaefb664d8502a40341f9ddffd96cd7aa5163392f3d2b41bcb WHIRLPOOL f1ad3e4cfe3a8ebc2674b40295c0fff83b79abbd79198329316e7a9702844f803a24e28e11f1f140b6e9ae091881a6150fd564d69beb5b1bbc81abb59bce6a89 DIST teamspeak3-server_linux-x86-3.0.7.2.tar.gz 4766948 SHA256 9616b6619eb9a253d7b60e4898ee86485d007a0d051c3b044bc3f3204c8a49cf SHA512 69f1296c33bdfdcbb4616571180ef45f6beb6f19b54eed6dd7b82f86df4775395cc711acca7ed9bc0cbdbd357bc3dacee4377b13fd5b3ca6c183ae84e3d75223 WHIRLPOOL 572f74d399e86e4cc3c5cc683009b5be4c7e22519730753b805b2afac22e277d3b53c08d1ada448173a2a3466c36514b6fa57a202da4cb96f2c479589ecf9bd4 DIST teamspeak3-server_linux-x86-3.0.8.tar.gz 7313865 SHA256 986334b2ed7e3174948f8ed746bfb2c09c69c30c5dc793a9d8b88bac74dbc6e2 SHA512 adf3e86b8869b45e9476479afa7d21d053bdb2f5bb95edca3a62ad487e31991978c652bb6be949414a7638d282c08025114776e4dda875b1bfef52974036646e WHIRLPOOL 2aa8c9f19abd3d755978d1e5d8139d2e84b7c3c82a3d6d8d7100329ce79c8c16d87e8106e06282cc692a471b392a54ff7c83c112639f1aa13ecfa12d5e1a0323 +DIST teamspeak3-server_linux-x86-3.0.9.tar.gz 5090445 SHA256 e12d3449f0a63422136bf859e50f9d3d3a9a78bab2b1b6914fc67b62e3a27d6f SHA512 6eddf9d4f6c24475211281d2f7875db6c96f27ce3bcd161f85cae848300cd0fb25a04d3aea12e06e3f9a13c8d2f7819f0d25920c23e4cdb12ad28de8f548790c WHIRLPOOL 86291985191fe539e7066f9fd771dc00b35dfa1e61e3748de9092d02743e34b9f4b03ddc2eae7ddf0d74d20808a4960b5cdee385f8386e9acc5f0de9092e9a21 EBUILD teamspeak-server-bin-3.0.6.1.ebuild 2480 SHA256 790ce39655581cb70cb1126948ca27c73efc9f1b84e6906ff9e5ea1ef2c665dc SHA512 164fe472ca21ced8e848931b8730fe80e3bdf0b4a6bdf51ba70207fd2be71361aa35d3924a76d87db1a38315fb1b66e7afeaa4099318a9169c304e0cac470bf9 WHIRLPOOL 7158f529dc6403c9f0a253a5a5e24febe204765e02399cbb62d74192c2a19cd223b01b9f87dc6c0ffef49e23e8148d8ecabd7fce0c5bb8ff17528c26fa720ac9 EBUILD teamspeak-server-bin-3.0.7.1.ebuild 2467 SHA256 1be316b2a1ca2e99a25052c78f98d831929eb7522db1b1c177e2c33549781d08 SHA512 8c36280b3922b668b78266f18389c0e00e2d864e931eab57bfeb73935021bf25058b4a29106c3227b074ceb1c975f7ebd9b8627aba7663d6503e6b98831eada5 WHIRLPOOL 4b1b82c1fdc4b9e3344d8516382187cdb3214c74d96c3b9b212fc8c96d0a07f5771da7bf864fd3d0798d5af3b036d66583a25ee1210253f35356af0a51e21bd0 EBUILD teamspeak-server-bin-3.0.7.2.ebuild 2468 SHA256 84bb43abd61269e6de3621d87a679d9fb696818352e8a1f2456d6cd52bdaf294 SHA512 c379162132ed302618efa8102cc5134501d10c299ebe84857648d73fbabeac87846ed9c73b0fadd2f348a8d6e27fa8c34564927b79087c2eb1d1544bbcd3c86c WHIRLPOOL 4e22f4be464684e4f381019a5a3d68eea62bbc987ba2477d27e4adc335f9d9ffb9bdd436ff88735fe994dcf62793dee1f50f7163e3ebf1a533cd37be24240460 EBUILD teamspeak-server-bin-3.0.8.ebuild 2503 SHA256 9f8a2064de252ca7ce83154c16f85224f784010eca97730bba6ae860aba360a5 SHA512 be4a4efce9fd84a0ed91848dc12154060e6ecd160833a428687fa46deca0ae70a235176519fd3edf8135a90666a10afaf660f3601fc6d0ea6580865e3da559e3 WHIRLPOOL f7dc6a7b4d55246830754381bc07174a2ddeb27af6ea42206a1ef30e05c648149328fbb318387fb33fdf6c61cd98eb3e20bd3a932b5be5abd8c722ec527fc4fb +EBUILD teamspeak-server-bin-3.0.9.ebuild 2837 SHA256 247eb27253c37e29e6aebd90ce575c56ef1126493bbc9000b9f7ad4411152a9c SHA512 22ba34cb86a9c2381f5e6620d848ecab81de91bcdb42d9091998353f5ae4e407f95d47910a7bad2297263f2f26215bbbe29d249fd19616b9a4d45e4d23bf8539 WHIRLPOOL e6aeed96d08f674a5e726a99e7e469de72f1e3ac6ae9ea20a905fb405ba06942c58c4b663328b1ee35b8c955db4a71de2623bfc6596bf927b0680a932cd7d9c2 diff --git a/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.9.ebuild b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.9.ebuild new file mode 100644 index 00000000..a1117b77 --- /dev/null +++ b/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.9.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.9.ebuild,v 1.1 2013/09/21 11:53:32 tomwij Exp $ + +EAPI="5" + +inherit eutils systemd user + +DESCRIPTION="TeamSpeak Server - Voice Communication Software" +HOMEPAGE="http://www.teamspeak.com/" +LICENSE="teamspeak3 GPL-2" + +SLOT="0" +IUSE="doc pdf systemd tsdns" +KEYWORDS="~amd64 ~x86" + +#RESTRICT="installsources fetch mirror strip" +RESTRICT="installsources mirror strip" + +SRC_URI="amd64? ( http://files.teamspeak-services.com/releases/${PV}/teamspeak3-server_linux-amd64-${PV}.tar.gz ) + x86? ( http://files.teamspeak-services.com/releases/${PV}/teamspeak3-server_linux-x86-${PV}.tar.gz )" + +S="${WORKDIR}/teamspeak3-server_linux-${ARCH}" + +#pkg_nofetch() { +# if use amd64 ; then +# einfo "Please download teamspeak3-server_linux-amd64-${PV}.tar.gz" +# elif use x86 ; then +# einfo "Please download teamspeak3-server_linux-x86-${PV}.tar.gz" +# fi +# einfo "from ${HOMEPAGE}?page=downloads and place this" +# einfo "file in ${DISTDIR}" +#} + +pkg_setup() { + enewuser teamspeak3 +} + +src_install() { + local dir="/opt/teamspeak3" + + # Install TeamSpeak 3 server into $dir + into "${dir}" + + dodoc -r CHANGELOG doc/*.txt + use doc && dodoc -r serverquerydocs + use pdf && dodoc doc/*.pdf + + # Install binary, wrapper, shell files and libraries. + newsbin ts3server_linux_${ARCH} ts3server-bin + # Standard package installs ts3server to /usr/sbin directory + dobin "${FILESDIR}/ts3server" + # Standard package installs scripts and libraries to /opt/teamspeak3-server directory + dobin *.sh + + # 'dolib' may install to libx32 or lib64 - we just want 'lib' alone + #dolib.so *.so + insinto "${dir}"/lib + doins *.so + # 'libmysqlclient.so.15' is hard-coded into the ts3-server binary :( + dosym "${EROOT}"/usr/$(get_libdir)/libmysqlclient.so "${dir}"/lib/libmysqlclient.so.15 + + if use tsdns; then + newdoc tsdns/README README.tsdns + newdoc tsdns/USAGE USAGE.tsdns + newsbin tsdns/tsdnsserver_linux_${ARCH} tsdnsserver + # Standard package installs sample files as documentation + insinto "${dir}"/sbin + doins tsdns/tsdns_settings.ini.sample + fi + + # Standard package installs sql directory to /opt/teamspeak3-server directory + insinto "${dir}"/lib + doins -r sql + + insinto /etc/teamspeak3 + doins "${FILESDIR}/server.conf" + doins "${FILESDIR}/ts3db_mysql.ini" + newinitd "${FILESDIR}/${PN}-3.0.7.1.rc" teamspeak3 + + if use systemd; then + systemd_dounit "${FILESDIR}/systemd/teamspeak3.service" + systemd_dotmpfilesd "${FILESDIR}/systemd/teamspeak3.conf" + fi + + keepdir /{etc,var/{lib,log,run}}/teamspeak3 + + # Fix up permissions + fowners teamspeak3 /{etc,var/{lib,log,run}}/teamspeak3 + fperms 700 /{etc,var/{lib,log,run}}/teamspeak3 + + fowners teamspeak3 "${dir}" + fperms 755 "${dir}" +} |