]> git.pld-linux.org Git - packages/crossfire.git/commitdiff
This commit was manufactured by cvs2git to create branch 'unlabeled-1.2.2'.
authorcvs2git <feedback@pld-linux.org>
Tue, 17 Apr 2001 09:12:24 +0000 (09:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Sprout from master 2001-04-17 09:12:24 UTC Jacek Konieczny <jajcus@pld-linux.org> '- updated for crossfire-0.98.0'
Delete:
    crossfire-directories.patch
    crossfire.init
    crossfire.logrotate
    crossfire.spec
    crossfire.sysconfig

crossfire-directories.patch [deleted file]
crossfire.init [deleted file]
crossfire.logrotate [deleted file]
crossfire.spec [deleted file]
crossfire.sysconfig [deleted file]

diff --git a/crossfire-directories.patch b/crossfire-directories.patch
deleted file mode 100644 (file)
index 62e8429..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -durN crossfire-0.98.0.orig/include/config.h crossfire-0.98.0/include/config.h
---- crossfire-0.98.0.orig/include/config.h     Sun Apr  8 07:49:34 2001
-+++ crossfire-0.98.0/include/config.h  Tue Apr 17 09:45:40 2001
-@@ -680,7 +680,7 @@
- #ifdef WIN32 /* change define path */
- #define LOGFILE "tmp\\cross.log"
- #else 
--#define LOGFILE "/tmp/cross.log"
-+#define LOGFILE "/var/log/crossfire"
- #endif
- #endif
-@@ -830,7 +830,7 @@
- #ifdef WIN32 /* change define path tmp */
- #define TMPDIR "tmp"
- #else
--#define TMPDIR "/tmp"
-+#define TMPDIR "/var/lib/crossfire/tmp"
- #endif
-diff -durN crossfire-0.98.0.orig/server/main.c crossfire-0.98.0/server/main.c
---- crossfire-0.98.0.orig/server/main.c        Sun Apr  8 07:49:34 2001
-+++ crossfire-0.98.0/server/main.c     Tue Apr 17 09:44:01 2001
-@@ -29,6 +29,7 @@
- #include <version.h>
- #include <global.h>
- #include <object.h>
-+#include <config.h>
- #ifdef HAVE_DES_H
- #include <des.h>
diff --git a/crossfire.init b/crossfire.init
deleted file mode 100644 (file)
index 4332859..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-#
-# chkconfig:   345 98 03
-# description: Starts and stops the Crossfire server 
-#
-
-export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-# Source networking configuration.
-. /etc/sysconfig/network
-
-# Demon specified configuration.
-. /etc/sysconfig/crossfire
-
-# Check that networking is up.
-if is_no "${NETWORKING}"; then
-        msg_Network_Down crossfire
-        exit 1
-fi
-
-TMPDIR="/tmp"; export TMPDIR
-
-case "$1" in
-    start)
-        if [ ! -f /var/lock/subsys/crossfire ]; then
-               cd /
-               FLAGS="-log /var/log/crossfire"
-               if [ -n "$PORT" ] ; then
-                       FLAGS="$FLAGS -csport $PORT"
-               fi
-               if is_yes "$DEBUG" ; then
-                       FLAGS="$FLAGS -d"
-               else
-                       FLAGS="$FLAGS +d"
-               fi
-               if is_yes "$STAT_LOSS_ON_DEATH" ; then
-                       FLAGS="$FLAGS -stat_loss_on_death"
-               else
-                       FLAGS="$FLAGS +stat_loss_on_death"
-               fi
-               if is_yes "$BALANCED_STAT_LOSS" ; then
-                       FLAGS="$FLAGS -balanced_stat_loss"
-               else
-                       FLAGS="$FLAGS +balanced_stat_loss"
-               fi
-               if is_yes "$USE_PERMANENT_EXPERIENCE" ; then
-                       FLAGS="$FLAGS -use_permanent_experience"
-               else
-                       FLAGS="$FLAGS +use_permanent_experience"
-               fi
-       
-               msg_starting crossfire
-               daemon su games -c "\"exec crossfire -detach $FLAGS >>/var/log/crossfire 2>&1\"" 
-               RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/crossfire
-        else
-                msg_Already_Running crossfire
-                exit 1
-        fi
-       ;;
-    stop)
-        if [ -f /var/lock/subsys/crossfire ]; then
-                msg_stopping crossfire
-               killproc crossfire
-               rm -f /var/lock/subsys/crossfire >/dev/null 2>&1
-        else
-                msg_Not_Running crossfire
-                exit 1
-        fi
-       ;;
-   status)
-       status crossfire
-       su games -c "crossfire +d -s"
-       exit $?
-       ;;
-  restart)
-       $0 stop
-       $0 start
-       ;;
-  reload)
-       if [ -f /var/lock/subsys/crossfire ]; then
-               msg_reloading crossfire
-               killproc crossfire
-       else
-               msg_Not_Running crossfire
-               exit 1
-        fi
-       ;;
-  *)
-       msg_Usage "$0 {start|stop|restart|reload|status}"
-       exit 1
-esac
diff --git a/crossfire.logrotate b/crossfire.logrotate
deleted file mode 100644 (file)
index bcf4cf9..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-/var/log/squid/crossfire.log {
-       olddir /var/log/archiv
-       weekly
-       rotate 7
-       compress
-       create 660 root games
-       postrotate
-               /etc/rc.d/init.d/crossfire restart >/dev/null 2>&1
-       endscript
-}
diff --git a/crossfire.spec b/crossfire.spec
deleted file mode 100644 (file)
index 67edaef..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-Summary:       Multiplayer roguelike game server.
-Name:          crossfire
-Version:       0.98.0
-Release:       1
-License:       GPL
-Group:         Applications/Games
-Source0:       ftp://ftp.scruz.net/users/mwedel/public/%{name}-%{version}.tar.bz2
-Source1:       %{name}.init
-Source2:       %{name}.sysconfig
-Source3:       %{name}.logrotate
-Patch0:                %{name}-DESTDIR.patch
-Patch1:                %{name}-directories.patch
-URL:           http://crossfire.real-time.com
-BuildRequires: XFree86-devel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%define                _prefix /usr/X11R6
-%define                _localstatedir /var/lib
-
-%description 
-This is a multiplayer graphical arcade and adventure game made for the
-X-Windows environment. There are also Windows and Java clients
-available.
-
-It has certain flavours from other games, especially Gauntlet (TM) and
-Nethack/Moria.
-
-Any number of players can move around in their own window, finding and
-sing items and battle monsters. They can choose to cooperate or
-compete in the same "world".
-
-%package editor
-Summary:       Crossfire map editor.
-Group:         Applications/Games
-Group(de):     Applikationen/Spiele
-Group(pl):     Aplikacje/Gry
-
-%description editor
-Crossfire map editor.
-
-%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-
-%build
-%configure
-%{__make}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/var/log,/etc/{sysconfig,%{name},logrotate.d},/etc/rc.d/init.d}
-install -d $RPM_BUILD_ROOT%{_localstatedir}/%{name}/tmp
-%{__make} install DESTDIR="$RPM_BUILD_ROOT"
-mv $RPM_BUILD_ROOT%{_datadir}/%{name}/settings $RPM_BUILD_ROOT/etc/%{name}
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
-touch $RPM_BUILD_ROOT/var/log/crossfire
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post
-/sbin/chkconfig --add crossfire
-if [ -r /var/lock/subsys/crossfire ]; then
-       /etc/rc.d/init.d/crossfire restart >&2
-else
-       echo "Run \"/etc/rc.d/init.d/crossfire start\" to start Crossfire server."
-fi
-
-%preun
-if [ "$1" = "0" ]; then
-       if [ -r /var/lock/subsys/crossfire ]; then
-               /etc/rc.d/init.d/crossfire stop >&2
-       fi
-       /sbin/chkconfig --del crossfire
-fi
-
-
-
-
-%files
-%defattr(644,root,root,755)
-%doc CHANGES CREDITS DEVELOPERS DONE README TODO 
-%doc doc/{PlayerStats,RunTimeCommands,SurvivalGuide,alchemy.doc,experience,multigod}
-%doc doc/{skills.doc,spell-paths,spellcasters_guide_to_runes,spells}
-%attr(750,root,games) %{_bindir}/crossfire
-%attr(750,root,games) %{_bindir}/random_map
-%dir %attr(750,root,games) %{_datadir}/crossfire
-%{_datadir}/crossfire/*
-%{_mandir}/man?/crossfire*
-%dir %attr(750,root,games) %{_localstatedir}/crossfire
-%dir %attr(770,root,games) %{_localstatedir}/crossfire/players
-%dir %attr(770,root,games) %{_localstatedir}/crossfire/unique-items
-%dir %attr(770,root,games) %{_localstatedir}/crossfire/tmp
-%attr(660,root,games) %config(noreplace) %verify(not size mtime md5) %{_localstatedir}/crossfire/bookarch
-%attr(660,root,games) %config(noreplace) %verify(not size mtime md5) %{_localstatedir}/crossfire/highscore
-%attr(660,root,games) %config(noreplace) %verify(not size mtime md5) %{_localstatedir}/crossfire/temp.maps
-%dir /etc/crossfire
-%config(noreplace) %verify(not size mtime md5) /etc/crossfire/*
-%attr(754,root,root) /etc/rc.d/init.d/crossfire
-%attr(660,root,root) /etc/logrotate.d/crossfire
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/crossfire
-%attr(660,root,games) %config(noreplace) %verify(not size mtime md5) /var/log/crossfire
-
-%files editor
-%defattr(644,root,root,755)
-%doc doc/{Crossedit.doc,RandomMaps.doc,Styles.doc,mapguide,mapmakers_guide_to_runes,teleporter.doc}
-%attr(755,root,root) %{_bindir}/crossedit
-%{_mandir}/man?/crossedit*
diff --git a/crossfire.sysconfig b/crossfire.sysconfig
deleted file mode 100644 (file)
index 637369f..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-# Customized setings for crossfire
-
-# port number to use
-PORT=13327
-
-# more verbose message logging?
-DEBUG=no
-
-# toggle between stat loss or stat depletion
-STAT_LOSS_ON_DEATH=no
-
-# Based death stat depletion on level etc?
-BALANCED_STAT_LOSS=false
-
-# allow players to accumulate permanent experience? 
-USE_PERMANENT_EXPERIENCE=no
-
-# Define nice level for crossfire & config 
-SERVICE_RUN_NICE_LEVEL="+5"
This page took 0.137689 seconds and 4 git commands to generate.