commit:     0b923a08840b38816533d5c3ec47db773f338dd0
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sun Oct 28 15:34:34 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Oct 30 10:34:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b923a08

games-server/steamcmd: drop old version.

Also updated eBuild header.

Signed-off-by: Conrad Kostecki <conrad <AT> 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 <AT> gentoo.org>

 games-server/steamcmd/files/steamcmd.confd   | 15 --------
 games-server/steamcmd/files/steamcmd.initd   | 32 -----------------
 games-server/steamcmd/steamcmd-1.0-r1.ebuild |  8 +++--
 games-server/steamcmd/steamcmd-1.0.ebuild    | 51 ----------------------------
 4 files changed, 5 insertions(+), 101 deletions(-)

diff --git a/games-server/steamcmd/files/steamcmd.confd 
b/games-server/steamcmd/files/steamcmd.confd
deleted file mode 100644
index dcaf8036b88..00000000000
--- a/games-server/steamcmd/files/steamcmd.confd
+++ /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
index fecd30e3079..00000000000
--- a/games-server/steamcmd/files/steamcmd.initd
+++ /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
-}

diff --git a/games-server/steamcmd/steamcmd-1.0-r1.ebuild 
b/games-server/steamcmd/steamcmd-1.0-r1.ebuild
index 15a46975d10..8cb70bf6e5e 100644
--- a/games-server/steamcmd/steamcmd-1.0-r1.ebuild
+++ b/games-server/steamcmd/steamcmd-1.0-r1.ebuild
@@ -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
index 0d2067a3069..00000000000
--- a/games-server/steamcmd/steamcmd-1.0.ebuild
+++ /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
-}

Reply via email to