games-server/steamcmd: drop old version.
authorConrad Kostecki <conrad@kostecki.com>
Sun, 28 Oct 2018 15:34:34 +0000 (16:34 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 30 Oct 2018 10:34:24 +0000 (11:34 +0100)
Also updated eBuild header.

Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10270
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
games-server/steamcmd/files/steamcmd.confd [deleted file]
games-server/steamcmd/files/steamcmd.initd [deleted file]
games-server/steamcmd/steamcmd-1.0-r1.ebuild
games-server/steamcmd/steamcmd-1.0.ebuild [deleted file]

diff --git a/games-server/steamcmd/files/steamcmd.confd b/games-server/steamcmd/files/steamcmd.confd
deleted file mode 100644 (file)
index dcaf803..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Specifies, which server binary is used.
-# This could be 'hlds_run' or 'srcds_run', depending on your game.
-STEAMCMD_BINARY="hlds_run"
-
-# Path to the files of your started server.
-# It's recommended to use:
-# '/opt/steamcmd/hlds' for older HL1 based mods.
-# '/opt/steamcmd/srcds' for newer HL2 based mods.
-STEAMCMD_PATH="/opt/steamcmd/hlds"
-
-# Options for your server binary.
-STEAMCMD_OPTS="-game valve +ip 127.0.0.1 +maxplayers 32 +map crossfire -pingboost 3"
diff --git a/games-server/steamcmd/files/steamcmd.initd b/games-server/steamcmd/files/steamcmd.initd
deleted file mode 100644 (file)
index fecd30e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-if [ "${SVCNAME}" = "steamcmd" ]; then
-       instance="main"
-else
-       instance="${SVCNAME#steamcmd.}"
-fi
-
-name="SteamCMD (Mod: ${instance})"
-pidfile="/run/steamcmd.${instance}.pid"
-screen_name="steamcmd.${instance}"
-start_stop_daemon_args="--chdir ${STEAMCMD_PATH}"
-
-command="screen"
-command_args="-DmUS ${screen_name} ${STEAMCMD_PATH}/${STEAMCMD_BINARY} ${STEAMCMD_OPTS}"
-command_background="true"
-command_group="steamcmd"
-command_user="steamcmd"
-
-depend() {
-       use net
-}
-
-start_pre() {
-       if [ -z "$STEAMCMD_BINARY" ] || [ -z "$STEAMCMD_PATH" ] || [ -z "$STEAMCMD_OPTS" ]; then
-               eerror "One or more STEAMCMD_* variables in /etc/conf.d/steamcmd.${SVCNAME} are not set!"
-               return 1
-       fi
-       return 0
-}
index 15a46975d104339e87f444ba1eae368ad5b25290..8cb70bf6e5e009b26b4c81fa37a639ad76c29c98 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -19,8 +19,10 @@ RESTRICT="bindist mirror"
 
 S="${WORKDIR}"
 
-QA_PREBUILT="opt/steamcmd/linux32/libstdc++.so.6
-       opt/steamcmd/linux32/steamcmd"
+QA_PREBUILT="
+       opt/steamcmd/linux32/libstdc++.so.6
+       opt/steamcmd/linux32/steamcmd
+"
 
 pkg_setup() {
        enewgroup steamcmd
diff --git a/games-server/steamcmd/steamcmd-1.0.ebuild b/games-server/steamcmd/steamcmd-1.0.ebuild
deleted file mode 100644 (file)
index 0d2067a..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit readme.gentoo-r1 user
-
-DESCRIPTION="This is the command-line version of the Steam client for dedicated servers"
-HOMEPAGE="https://developer.valvesoftware.com/wiki/SteamCMD"
-SRC_URI="https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+ Steam"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-
-RDEPEND="app-misc/screen"
-
-RESTRICT="bindist mirror"
-
-S="${WORKDIR}"
-
-QA_PREBUILT="opt/steamcmd/linux32/libstdc++.so.6
-       opt/steamcmd/linux32/steamcmd"
-
-pkg_setup() {
-       enewgroup steamcmd
-       enewuser steamcmd -1 -1 /opt/steamcmd steamcmd
-}
-
-src_install() {
-       diropts -o steamcmd -g steamcmd
-       dodir /opt/steamcmd
-       keepdir /opt/steamcmd/{.steam,.steam/sdk32,linux32}
-
-       exeopts -o steamcmd -g steamcmd
-       exeinto /opt/steamcmd
-       doexe steamcmd.sh
-
-       exeopts -o steamcmd -g steamcmd
-       exeinto /opt/steamcmd/linux32
-       doexe linux32/steamcmd linux32/libstdc++.so.6
-
-       newinitd "${FILESDIR}"/steamcmd.initd steamcmd
-       newconfd "${FILESDIR}"/steamcmd.confd steamcmd
-
-       readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-       readme.gentoo_print_elog
-}