Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37038153
en ru br
ALT Linux repos
S:0.2-alt1
5.0: 0.2-alt1
4.1: 0.2-alt1
4.0: 0.2-alt1

Group :: Networking/Other
RPM: hlds-counterstrike-init

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: hlds-counterstrike-init
Version: 0.2
Release: alt1
Summary: HLDS CounterStrike initscript
License: GPL
Group: Networking/Other
URL: http://git.altlinux.org/people/thresh/packages/?p=hlds-counterstrike-init.git

Packager: Pavlov Konstantin <thresh at altlinux.ru>
Source1: hlds.init

BuildArch: noarch

Requires: screen
Requires: su
Requires: gawk
Requires: qstat

%description
A modification of the CS Server startup script, to run the server
as a non-root user.

ORIGINAL AUTHORS :
Julien Escario ( pandemik at asylog.net )
&
Cedric Rochat ( crochat at younics.org )

ALTLinux fixes by Pavlov Konstantin ( thresh at altlinux.ru )

See the initscript itself for further details.

%install
mkdir -p %buildroot%_initdir

install -m755 %SOURCE1 %buildroot%_initdir/hlds

%pre
%_sbindir/groupadd -r -f _netgames 2>/dev/null ||:
%_sbindir/useradd -g _netgames -c 'Network games pseudouser' -d /dev/null -s '' -r _netgames 2>/dev/null ||:

%post
%post_service hlds

%preun
%preun_service hlds

%files
%_initdir/hlds

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin