[media-sound/teamspeak-server-bin] version bump
This commit is contained in:
parent
4e28757dda
commit
9f66ba6707
@ -1,2 +1,2 @@
|
||||
DIST teamspeak3-server_linux_amd64-3.1.2.tar.bz2 7816668 BLAKE2B 4421a439e07ce6dac2556a95818bae7be91622ceea5c597f1fd02ee13815f760086dea13a3ac11a55c928ccfc4b134bb97c0f3092def85ff765e311d6ef69459 SHA512 42993b4cc881ca2bc7d7deb5eaf4e7a9cc3be462abba0f174d6074f0ca18bf59cbe8607dac5a9750331d28ac1984527a8210f53cf6cf077be86b26d141c7bc78
|
||||
DIST teamspeak3-server_linux_x86-3.1.2.tar.bz2 7676301 BLAKE2B a4b7557e215612f11bd4ee892dff199d0017e6af7a24bc3dce83a4ac6ddbe807b3960b66c9948298c4463ad2d08aedf27468487f91b15d197d0e2c01b7771956 SHA512 04dce6831332e44ff0edfdc664f422616522bb342338a2b6bb2cd73aba5cc5965dfa4c77fa7c041c06727a3f50fd842142198fd99568c1db6c9810f07accdb48
|
||||
DIST teamspeak3-server_linux_amd64-3.1.3.tar.bz2 7818829 BLAKE2B 61f06e94c677c2569f3d5e13ba797f9aa04c750a4cb547edf98dfe5e461aa62a007220c695ec07ed5be26a20ed1c70192ff1bb46a881c1b60ba52cc5149a084c SHA512 732d3c9ad30796d1dc4028e953ff3e96835a3dc5f05389b44b1c35184dc07765bdd16a39f52d8f5a19a6f31a2a1035d8e3b39020178b4eab8837119fefbc0bab
|
||||
DIST teamspeak3-server_linux_x86-3.1.3.tar.bz2 7676538 BLAKE2B 2f57bee0bfb1e7f643e92695c813ed2bbb0b080a76fa2a0eb2a1bdb288edcbbd93c1233a6a8be129473c397c7471554743f57f6ee37242e272db2ba4dfa2bc8d SHA512 050423ed4ef9eedcfb96499cddaf15405aaf4e15ace6d89eed55085f9173394b431ac12e9d226af015e5eddaa484e65f8b475bd04167d3311cb7e33d8c059a7d
|
||||
|
@ -7,7 +7,7 @@ inherit eapi7-ver eutils systemd user
|
||||
|
||||
MY_PV="$(ver_cut 1-4)-Beta-$(ver_cut 5)"
|
||||
|
||||
DESCRIPTION="TeamSpeak is software for quality voice communication via the Internet"
|
||||
DESCRIPTION="A server software for hosting quality voice communication via the internet"
|
||||
HOMEPAGE="https://www.teamspeak.com/"
|
||||
if [[ ${PV} != "*_beta*" ]] ; then
|
||||
SRC_URI="
|
||||
@ -21,19 +21,19 @@ fi
|
||||
|
||||
LICENSE="LGPL-2.1 teamspeak3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc tsdns"
|
||||
# IUSE="doc mysql tsdns"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="doc mysql tsdns"
|
||||
|
||||
# RDEPEND="mysql? ( dev-db/mariadb-connector-c:0=
|
||||
# <dev-libs/openssl-1.1:0=
|
||||
# sys-libs/zlib )"
|
||||
RDEPEND="mysql? ( <dev-libs/openssl-1.1:0=
|
||||
sys-libs/zlib:= )"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
S="${WORKDIR}/teamspeak3-server_linux"
|
||||
|
||||
QA_PREBUILT="opt/teamspeak3-server/libts3db_sqlite3.so
|
||||
QA_PREBUILT="opt/teamspeak3-server/libmariadb.so.2
|
||||
opt/teamspeak3-server/libts3db_mariadb.so
|
||||
opt/teamspeak3-server/libts3db_sqlite3.so
|
||||
opt/teamspeak3-server/ts3server"
|
||||
|
||||
pkg_setup() {
|
||||
@ -52,51 +52,44 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Accept license
|
||||
touch "${T%/}"/.ts3server_license_accepted || die
|
||||
insinto "/opt/teamspeak3-server"
|
||||
doins "${T}"/.ts3server_license_accepted
|
||||
|
||||
# Install binary and wrapper
|
||||
exeinto "/opt/teamspeak3-server"
|
||||
doexe "ts3server"
|
||||
doexe "${FILESDIR}/ts3server-bin"
|
||||
dodir "/opt/bin"
|
||||
dosym "../teamspeak3-server/ts3server-bin" "/opt/bin/ts3server"
|
||||
|
||||
# Install libs
|
||||
exeinto "/opt/teamspeak3-server"
|
||||
doexe "libts3db_sqlite3.so"
|
||||
|
||||
# Install sql
|
||||
insinto "/opt/teamspeak3-server/sql"
|
||||
doins "sql"/*.sql
|
||||
doins -r "sql/create_sqlite"
|
||||
|
||||
# Install config
|
||||
insinto "/etc/teamspeak3-server"
|
||||
doins "${FILESDIR}/ts3server.ini"
|
||||
|
||||
# Install init script and systemd unit
|
||||
newinitd "${FILESDIR}/teamspeak.initd" teamspeak3-server
|
||||
systemd_newunit "${FILESDIR}/teamspeak.service" teamspeak3-server.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/teamspeak.tmpfiles" teamspeak3-server.conf
|
||||
|
||||
# Install optional mysql
|
||||
# if use mysql; then
|
||||
# insinto "/etc/teamspeak3-server"
|
||||
# doins "${FILESDIR}/ts3server_mariadb.ini.sample"
|
||||
# doins "${FILESDIR}/ts3db_mariadb.ini.sample"
|
||||
#
|
||||
# exeinto "/opt/teamspeak3-server"
|
||||
# doexe "libts3db_mariadb.so"
|
||||
#
|
||||
# insinto "/opt/teamspeak3-server/sql"
|
||||
# doins -r "sql/create_mariadb"
|
||||
# doins -r "sql/updates_and_fixes"
|
||||
# fi
|
||||
if use mysql; then
|
||||
insinto "/etc/teamspeak3-server"
|
||||
doins "${FILESDIR}/ts3server_mariadb.ini.sample"
|
||||
doins "${FILESDIR}/ts3db_mariadb.ini.sample"
|
||||
|
||||
exeinto "/opt/teamspeak3-server"
|
||||
doexe "libts3db_mariadb.so"
|
||||
doexe "redist/libmariadb.so.2"
|
||||
|
||||
insinto "/opt/teamspeak3-server/sql"
|
||||
doins -r "sql/create_mariadb"
|
||||
doins -r "sql/updates_and_fixes"
|
||||
fi
|
||||
|
||||
# Install optional docs
|
||||
if use doc; then
|
||||
local HTML_DOCS=( "doc/serverquery/." )
|
||||
|
||||
@ -107,7 +100,6 @@ src_install() {
|
||||
dodoc "doc"/*.txt
|
||||
fi
|
||||
|
||||
# Install tsdns
|
||||
if use tsdns; then
|
||||
exeinto "/opt/teamspeak3-server"
|
||||
doexe "tsdns/tsdnsserver"
|
||||
@ -121,22 +113,18 @@ src_install() {
|
||||
dodoc "tsdns/README" "tsdns/USAGE"
|
||||
fi
|
||||
|
||||
# Install docs
|
||||
einstalldocs
|
||||
|
||||
# Keep directories
|
||||
keepdir "/etc/teamspeak3-server"
|
||||
keepdir "/var/log/teamspeak3-server"
|
||||
|
||||
# Protect config
|
||||
# if use mysql; then
|
||||
# echo "CONFIG_PROTECT=\"/etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini\"" > "${T}"/99teamspeak3-server || die
|
||||
# else
|
||||
if use mysql; then
|
||||
echo "CONFIG_PROTECT=\"/etc/teamspeak3-server/ts3server.ini /etc/teamspeak3-server/ts3server_mariadb.ini\"" > "${T}"/99teamspeak3-server || die
|
||||
else
|
||||
echo "CONFIG_PROTECT=\"/etc/teamspeak3-server/ts3server.ini\"" > "${T}"/99teamspeak3-server || die
|
||||
# fi
|
||||
fi
|
||||
doenvd "${T}"/99teamspeak3-server
|
||||
|
||||
# Set permissions
|
||||
fowners -R teamspeak:teamspeak "/etc/teamspeak3-server" "/opt/teamspeak3-server" "/var/log/teamspeak3-server"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user