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