Browse Source

upstream changed tsdns naming. yay.

master
Robert Förster 9 years ago
parent
commit
48bbf09216
  1. 2
      media-sound/teamspeak-server-bin/files/teamspeak3-tsdns-server.rc
  2. 6
      media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.7.1.ebuild

2
media-sound/teamspeak-server-bin/files/teamspeak3-tsdns-server.rc

@ -13,7 +13,7 @@ start() {
start-stop-daemon --start --quiet --background \
--pidfile "/var/run/teamspeak3-server/tsdns.pid" --make-pidfile \
--user "teamspeak3" --chdir "/opt/teamspeak3-server/tsdns" \
--exec "/opt/teamspeak3-server/tsdns/tsdnsserver"
--exec "/opt/teamspeak3-server/tsdns/tsdnsserver_linux"
eend $?
}

6
media-sound/teamspeak-server-bin/teamspeak-server-bin-3.0.7.1.ebuild

@ -46,6 +46,12 @@ src_install() {
exeinto /usr/sbin
doexe "${FILESDIR}/ts3server"
# Symlink tsdns somewhere useful
if use amd64 ; then
dosym "${D}"/opt/teamspeak3-server/tsdns/tsdnsserver_linux /opt/teamspeak3-server/tsdns/tsdnsserver_linux_amd64
elif use x86 ; then
dosym "${D}"/opt/teamspeak3-server/tsdns/tsdnsserver_linux /opt/teamspeak3-server/tsdns/tsdnsserver_linux_x86
fi
# Install the runtime FS layout.
insinto /etc/teamspeak3-server
doins "${FILESDIR}/server.conf"

Loading…
Cancel
Save