aboutsummaryrefslogtreecommitdiffstats
path: root/games/crossfire-server/files
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1996-11-02 21:53:37 +0800
committerandreas <andreas@FreeBSD.org>1996-11-02 21:53:37 +0800
commit480485c264db89518c0fb8cb4b652282d9f7d698 (patch)
treed6707fb0094b355f0301a2ce1bdf6b54861725b4 /games/crossfire-server/files
parent3213912e24e0f90a7c1cb1e37bfc54fc34e42a74 (diff)
downloadfreebsd-ports-gnome-480485c264db89518c0fb8cb4b652282d9f7d698.tar.gz
freebsd-ports-gnome-480485c264db89518c0fb8cb4b652282d9f7d698.tar.zst
freebsd-ports-gnome-480485c264db89518c0fb8cb4b652282d9f7d698.zip
added crossfire 0.92.8
crossfire is a multiplayer graphical arcade and adventure game made for X-Windows. It contains elements of various famous games like nethack and moria. There are different quests to solve, many maps make the game really interesting. Nice sound capabilities via rplay. Different players can form a team over network. Treasure and experience points will be shared equally among the players of a team. Could please someone try to fix the password authentication ?! In server/main.c the function check_passwd doesn't work properly. I made a workaround returning always ok (1) here and marked it as UGLY_PASSWORD_HACK...
Diffstat (limited to 'games/crossfire-server/files')
-rw-r--r--games/crossfire-server/files/patch-aa67
-rw-r--r--games/crossfire-server/files/patch-ab33
-rw-r--r--games/crossfire-server/files/patch-ag14
-rw-r--r--games/crossfire-server/files/patch-ai11
4 files changed, 125 insertions, 0 deletions
diff --git a/games/crossfire-server/files/patch-aa b/games/crossfire-server/files/patch-aa
new file mode 100644
index 000000000000..2b1a7baec1e8
--- /dev/null
+++ b/games/crossfire-server/files/patch-aa
@@ -0,0 +1,67 @@
+--- config/crosssite.def.orig Mon Sep 30 07:54:14 1996
++++ config/crosssite.def Sun Oct 27 15:43:06 1996
+@@ -38,7 +38,7 @@
+
+ /*
+ #define XPM_PIX
+-#define Xpm_LibDir /usr/local/lib/
++#define Xpm_LibDir /usr/X11R6/lib/
+ */
+ /* If your include files are someplace odd */
+ /*#define Xpm_Include /usr/local/include*/
+@@ -70,13 +70,13 @@
+ * This is a top root directory of all game staff as in UNIX-style
+ * overall.
+ */
+-#define CTop /home/sleipner/a/crossfire/crossfire
++#define CTop /usr/local/crossfire
+ /* #define CTop /net/contrib/crossfire */
+ /*#define CTop /usr/local/games/crossfire*/
+
+ /* Binaries location If this is undefined, it default to the
+ standard location for X binaries on your machine. */
+-#define CBinDir Concat(CTop,/bin)
++#define CBinDir /usr/local/bin
+
+ /* Libraries location If this is undefined it defaults to the
+ standard location for X lib files/crossfire on your machine */
+@@ -95,7 +95,8 @@
+ /* Crossfire manual location If this is undefined it defaults to the
+ standard location for manual pages on your machine.*/
+ /* #define CManPath Concat(CTop,/man) */
+-#define CManSuffix 6
++/* #define CManSuffix 6 */
++#define CManPath /usr/local/man
+
+
+ /* Force CC to use the specified options instead of the default
+@@ -104,7 +105,7 @@
+ * any of the default compiler options for your machine.
+ */
+ /*define ForceCCOPTIONS -O -g -Wall */
+-#undef ForceCCOPTIONS
++#define ForceCCOPTIONS -pipe -O
+
+ /* Extra_Flags are added onto the compilers default options. Can be
+ * quite useful if you just want to add another flag or two, and not
+@@ -165,11 +166,9 @@
+ * Default: Sound support off.
+ */
+
+-/*
+ #define SoundEffects
+ #define RPlayLibDir /usr/local/lib
+ #define RPlayIncDir /usr/local/include
+-*/
+
+ /* define this if using OpenWindows as your enviroment. This only
+ * needs to be set if the openwindows server you use is
+@@ -207,7 +206,7 @@
+ * awk on most other systems will be OK.
+ */
+
+-AWK = gawk
++AWK = awk
+
+ /* Use debugged malloc? I don't know if this exists on all machines/OS's,
+ * but it does exist on SunOs 4.1.1.
diff --git a/games/crossfire-server/files/patch-ab b/games/crossfire-server/files/patch-ab
new file mode 100644
index 000000000000..46e85db9e2a5
--- /dev/null
+++ b/games/crossfire-server/files/patch-ab
@@ -0,0 +1,33 @@
+--- include/config.h.orig Tue Oct 29 11:58:02 1996
++++ include/config.h Fri Nov 1 13:13:05 1996
+@@ -174,6 +174,8 @@
+
+ #define FULL_RING_DESCRIPTION
+
++#define SHOP_LISTINGS
++
+ /* if EXPLORE_MODE is defined, it allows players to enter explore mode,
+ * where they can not die. Unlike other games (nethack for instance) explore
+ * modes, the only thing Crossfire explore mode does is prevent death.
+@@ -305,7 +307,7 @@
+ */
+
+ #ifndef DM_MAIL
+-/* #define DM_MAIL "master@rahul.net" */
++#define DM_MAIL "master@rahul.net"
+ #endif
+
+ /*
+@@ -499,10 +501,10 @@
+ /* CF 0.91.6 - SAVE_PLAYER now standard part of game */
+ /*#define SAVE_PLAYER*/
+
+-/* #define SAVE_HOMEDIR */
++#define SAVE_HOMEDIR
+ /* #define LOCK_PLAYER */
+ #define USE_CHECKSUM
+-/* #define ENABLE_CHECKSUM */ /* Will be default in distant future versions */
++#define ENABLE_CHECKSUM /* Will be default in distant future versions */
+
+ #ifndef PLAYERDIR
+ #define PLAYERDIR "players"
diff --git a/games/crossfire-server/files/patch-ag b/games/crossfire-server/files/patch-ag
new file mode 100644
index 000000000000..f197248c00a0
--- /dev/null
+++ b/games/crossfire-server/files/patch-ag
@@ -0,0 +1,14 @@
+--- server/main.c.orig Fri Nov 1 14:02:00 1996
++++ server/main.c Fri Nov 1 14:06:15 1996
+@@ -153,7 +153,11 @@
+ }
+
+ int check_password(char *typed,char *crypted) {
++#ifdef UGLY_PASSWORD_HACK
++ return(1);
++#else
+ return !strcmp(crypt_string(typed,crypted),crypted);
++#endif
+ }
+
+ char *normalize_path (char *src, char *dst) {
diff --git a/games/crossfire-server/files/patch-ai b/games/crossfire-server/files/patch-ai
new file mode 100644
index 000000000000..1f168195dd6a
--- /dev/null
+++ b/games/crossfire-server/files/patch-ai
@@ -0,0 +1,11 @@
+--- doc/playbook/makeps.orig Fri Nov 1 15:34:44 1996
++++ doc/playbook/makeps Fri Nov 1 15:35:33 1996
+@@ -7,7 +7,7 @@
+
+ BEGIN {
+ # Set colour to 1 if you want colour postscript.
+- colour = 0;
++ colour = 1;
+
+ if (colour) {
+ xpm2ps = "xpmtoppm | pnmdepth 255 | pnmtops"