/[gentoo-x86]/media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.19.40.ebuild
Gentoo

Contents of /media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.19.40.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Aug 21 23:41:30 2007 UTC (10 years, 10 months ago) by mjolnir
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Remove vulnerable versions
(Portage version: 2.1.2.11)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/teamspeak2-server-bin/teamspeak2-server-bin-2.0.19.40.ebuild,v 1.9 2007/04/28 17:32:35 swegener Exp $
4
5 inherit eutils
6
7 IUSE=""
8
9 DESCRIPTION="The Teamspeak Voice Communication Server"
10 HOMEPAGE="http://www.goteamspeak.com/"
11 SRC_URI="ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_server_rc2_${PV//./}.tar.bz2"
12
13 LICENSE="as-is"
14 SLOT="0"
15 KEYWORDS="x86"
16
17 S=${WORKDIR}/tss2_rc2
18
19 pkg_setup() {
20 enewuser teamspeak2
21 }
22
23 src_install() {
24 exeinto /opt/teamspeak2-server
25 doexe server_linux sqlite.so
26
27 touch ${D}/opt/teamspeak2-server/bad_names.txt
28 fowners teamspeak2 /opt/teamspeak2-server/bad_names.txt
29
30 insinto /opt/teamspeak2-server/sql
31 doins sqlite_sql/*.sql
32 insinto /opt/teamspeak2-server/http
33 doins httpdocs/*.html
34 insinto /opt/teamspeak2-server/http/gfx
35 doins httpdocs/gfx/*.{png,gif}
36
37 dodoc changelog.txt readme.txt slicense.txt
38
39 newinitd ${FILESDIR}/teamspeak2-server.rc6 teamspeak2-server
40
41 keepdir /var/{lib,log,run}/teamspeak2-server
42 fowners teamspeak2 /var/{lib,log,run}/teamspeak2-server
43 fperms 700 /var/{lib,log,run}/teamspeak2-server
44 }
45
46 pkg_postinst() {
47 einfo
48 einfo "The Teamspeak Server generates the admin and superadmin"
49 einfo "passwords on the fly. To get them, please look in:"
50 einfo "/var/log/teamspeak2-server/server.log"
51 einfo
52 }

  ViewVC Help
Powered by ViewVC 1.1.20