Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-server/steamcmd/files/, games-server/steamcmd/
Date: Fri, 09 Oct 2020 13:36:29
Message-Id: 1602249420.8b6bd9c7cac723d1c294b781ad74f03714fa5349.conikost@gentoo
1 commit: 8b6bd9c7cac723d1c294b781ad74f03714fa5349
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 9 13:17:00 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 9 13:17:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6bd9c7
7
8 games-server/steamcmd: drop old version
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 games-server/steamcmd/files/steamcmd.confd-r1 | 15 --------
14 games-server/steamcmd/files/steamcmd.initd-r1 | 32 -----------------
15 games-server/steamcmd/steamcmd-1.0-r2.ebuild | 52 ---------------------------
16 3 files changed, 99 deletions(-)
17
18 diff --git a/games-server/steamcmd/files/steamcmd.confd-r1 b/games-server/steamcmd/files/steamcmd.confd-r1
19 deleted file mode 100644
20 index b5d8b419849..00000000000
21 --- a/games-server/steamcmd/files/steamcmd.confd-r1
22 +++ /dev/null
23 @@ -1,15 +0,0 @@
24 -# Copyright 1999-2018 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -# Specifies, which server binary is used.
28 -# This could be 'hlds_run' or 'srcds_run', depending on your game.
29 -# STEAMCMD_BINARY="hlds_run"
30 -
31 -# Path to the files of your started server.
32 -# It's recommended to use:
33 -# '/opt/steamcmd/hlds' for older HL1 based mods.
34 -# '/opt/steamcmd/srcds' for newer HL2 based mods.
35 -# STEAMCMD_PATH="/opt/steamcmd/hlds"
36 -
37 -# Options for your server binary.
38 -# STEAMCMD_OPTS="-game valve +ip 127.0.0.1 +maxplayers 32 +map crossfire -pingboost 3"
39
40 diff --git a/games-server/steamcmd/files/steamcmd.initd-r1 b/games-server/steamcmd/files/steamcmd.initd-r1
41 deleted file mode 100644
42 index 327b47734ec..00000000000
43 --- a/games-server/steamcmd/files/steamcmd.initd-r1
44 +++ /dev/null
45 @@ -1,32 +0,0 @@
46 -#!/sbin/openrc-run
47 -# Copyright 1999-2018 Gentoo Foundation
48 -# Distributed under the terms of the GNU General Public License v2
49 -
50 -if [ "${SVCNAME}" = "steamcmd" ]; then
51 - instance="main"
52 -else
53 - instance="${SVCNAME#steamcmd.}"
54 -fi
55 -
56 -name="SteamCMD (Mod: ${instance})"
57 -pidfile="/run/steamcmd.${instance}.pid"
58 -screen_name="steamcmd.${instance}"
59 -start_stop_daemon_args="--chdir ${STEAMCMD_PATH}"
60 -
61 -command="screen"
62 -command_args="-DmUS ${screen_name} ${STEAMCMD_PATH}/${STEAMCMD_BINARY} ${STEAMCMD_OPTS}"
63 -command_background="true"
64 -command_group="steamcmd"
65 -command_user="steamcmd"
66 -
67 -depend() {
68 - use net
69 -}
70 -
71 -start_pre() {
72 - if [ -z "${STEAMCMD_BINARY}" ] || [ -z "${STEAMCMD_PATH}" ]; then
73 - eerror "One or more STEAMCMD_* variables in /etc/conf.d/steamcmd.${SVCNAME} are not set!"
74 - return 1
75 - fi
76 - return 0
77 -}
78
79 diff --git a/games-server/steamcmd/steamcmd-1.0-r2.ebuild b/games-server/steamcmd/steamcmd-1.0-r2.ebuild
80 deleted file mode 100644
81 index 102dc5e774e..00000000000
82 --- a/games-server/steamcmd/steamcmd-1.0-r2.ebuild
83 +++ /dev/null
84 @@ -1,52 +0,0 @@
85 -# Copyright 1999-2019 Gentoo Authors
86 -# Distributed under the terms of the GNU General Public License v2
87 -
88 -EAPI=7
89 -
90 -inherit readme.gentoo-r1
91 -
92 -DESCRIPTION="This is the command-line version of the Steam client for dedicated servers"
93 -HOMEPAGE="https://developer.valvesoftware.com/wiki/SteamCMD"
94 -SRC_URI="https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz -> ${P}.tar.gz"
95 -
96 -LICENSE="LGPL-2.1+ Steam"
97 -SLOT="0"
98 -KEYWORDS="-* amd64 x86"
99 -
100 -RDEPEND="
101 - acct-group/steamcmd
102 - acct-user/steamcmd
103 - app-misc/screen
104 -"
105 -
106 -RESTRICT="bindist mirror"
107 -
108 -S="${WORKDIR}"
109 -
110 -QA_PREBUILT="
111 - opt/steamcmd/linux32/libstdc++.so.6
112 - opt/steamcmd/linux32/steamcmd
113 -"
114 -
115 -src_install() {
116 - diropts -o steamcmd -g steamcmd
117 - dodir /opt/steamcmd
118 - keepdir /opt/steamcmd/{.steam,.steam/sdk32,linux32}
119 -
120 - exeopts -o steamcmd -g steamcmd
121 - exeinto /opt/steamcmd
122 - doexe steamcmd.sh
123 -
124 - exeopts -o steamcmd -g steamcmd
125 - exeinto /opt/steamcmd/linux32
126 - doexe linux32/steamcmd linux32/libstdc++.so.6
127 -
128 - newinitd "${FILESDIR}"/steamcmd.initd-r1 steamcmd
129 - newconfd "${FILESDIR}"/steamcmd.confd-r1 steamcmd
130 -
131 - readme.gentoo_create_doc
132 -}
133 -
134 -pkg_postinst() {
135 - readme.gentoo_print_elog
136 -}