diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-29 10:27:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-29 10:27:05 +0000 |
commit | a074ecb9de744b23cd7fed8e68c16aa111ed1583 (patch) | |
tree | 71b4e3e7318044b828bf6e0e9dfcc985119481ef | |
parent | Clean up; new version; (diff) | |
download | historical-a074ecb9de744b23cd7fed8e68c16aa111ed1583.tar.gz historical-a074ecb9de744b23cd7fed8e68c16aa111ed1583.tar.bz2 historical-a074ecb9de744b23cd7fed8e68c16aa111ed1583.zip |
old
-rw-r--r-- | games-board/gnocatan/files/digest-gnocatan-0.8.0.0 | 1 | ||||
-rw-r--r-- | games-board/gnocatan/files/digest-gnocatan-0.8.1.16 | 1 | ||||
-rw-r--r-- | games-board/gnocatan/files/gnocatan-wijnen-patch.diff | 187 | ||||
-rw-r--r-- | games-board/gnocatan/gnocatan-0.8.0.0.ebuild | 28 | ||||
-rw-r--r-- | games-board/gnocatan/gnocatan-0.8.1.16-r1.ebuild | 17 | ||||
-rw-r--r-- | games-board/gnocatan/gnocatan-0.8.1.16.ebuild | 21 | ||||
-rw-r--r-- | games-board/gnocatan/metadata.xml | 4 | ||||
-rw-r--r-- | games-board/gtkatlantic/files/digest-gtkatlantic-0.2.10 | 1 | ||||
-rw-r--r-- | games-board/gtkatlantic/files/digest-gtkatlantic-0.2.13 | 1 | ||||
-rw-r--r-- | games-board/gtkatlantic/files/digest-gtkatlantic-0.3.0 | 1 | ||||
-rw-r--r-- | games-board/gtkatlantic/gtkatlantic-0.2.10.ebuild | 23 | ||||
-rw-r--r-- | games-board/gtkatlantic/gtkatlantic-0.2.13.ebuild | 23 | ||||
-rw-r--r-- | games-board/gtkatlantic/gtkatlantic-0.3.0.ebuild | 23 | ||||
-rw-r--r-- | games-board/xboard/files/digest-xboard-4.2.6-r1 | 1 | ||||
-rw-r--r-- | games-board/xboard/xboard-4.2.6-r1.ebuild | 28 |
15 files changed, 12 insertions, 348 deletions
diff --git a/games-board/gnocatan/files/digest-gnocatan-0.8.0.0 b/games-board/gnocatan/files/digest-gnocatan-0.8.0.0 deleted file mode 100644 index 47cb0e8ba991..000000000000 --- a/games-board/gnocatan/files/digest-gnocatan-0.8.0.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 32b4be833ad5afc9da88229aed3a7aa8 gnocatan-0.8.0.0.tar.gz 1667559 diff --git a/games-board/gnocatan/files/digest-gnocatan-0.8.1.16 b/games-board/gnocatan/files/digest-gnocatan-0.8.1.16 deleted file mode 100644 index fe963935f0ef..000000000000 --- a/games-board/gnocatan/files/digest-gnocatan-0.8.1.16 +++ /dev/null @@ -1 +0,0 @@ -MD5 9dd31aad77a44ed2e3e8ba6c39e5aa7e gnocatan-0.8.1.16.tar.gz 2116705 diff --git a/games-board/gnocatan/files/gnocatan-wijnen-patch.diff b/games-board/gnocatan/files/gnocatan-wijnen-patch.diff deleted file mode 100644 index 5f8934bde1a7..000000000000 --- a/games-board/gnocatan/files/gnocatan-wijnen-patch.diff +++ /dev/null @@ -1,187 +0,0 @@ -diff --unified --recursive --new-file gnocatan-0.7.1/ai/client.c gnocatan-0.7.1-patched/ai/client.c ---- gnocatan-0.7.1/ai/client.c 2002-06-09 14:59:33.000000000 +0200 -+++ gnocatan-0.7.1-patched/ai/client.c 2003-06-19 23:47:02.000000000 +0200 -@@ -155,12 +155,12 @@ - client_exit(); - return TRUE; - case SM_RECV: -- if (sm_recv(sm, "ERR %S", str)) { -+ if (sm_recv(sm, "ERR %S", str, sizeof (str))) { - log_message( MSG_ERROR, "Error (%s): %s\n", sm_current_name(sm), str); - exit(0); - return TRUE; - } -- if (sm_recv(sm, "%S", str)) { -+ if (sm_recv(sm, "%S", str, sizeof (str))) { - log_message( MSG_ERROR, "Error (%s): %s\n", sm_current_name(sm), str); - return TRUE; - } -@@ -228,7 +228,7 @@ - gint player_num; - char str[512]; - -- if (sm_recv(sm, "player %d chat %S", &player_num, str)) { -+ if (sm_recv(sm, "player %d chat %S", &player_num, str, sizeof (str))) { - /* - log_message( MSG_INFO, _("%s said: "), player_name(player_num, TRUE)); - log_message( MSG_CHAT, "%s\n", str); -@@ -239,7 +239,7 @@ - player_change_name(player_num, NULL); - return TRUE; - } -- if (sm_recv(sm, "player %d is %S", &player_num, str)) { -+ if (sm_recv(sm, "player %d is %S", &player_num, str, sizeof (str))) { - player_change_name(player_num, str); - return TRUE; - } -@@ -490,7 +490,7 @@ - return TRUE; - } - if (sm_recv(sm, "player %d of %d, welcome to gnocatan server %S", -- &player_num, &total_num, version)) { -+ &player_num, &total_num, version, sizeof (version))) { - player_set_my_num(player_num); - player_set_total_num(total_num); - if (saved_name != NULL) -@@ -576,7 +576,7 @@ - } - if (check_other_players(sm)) - return TRUE; -- if (sm_recv(sm, "%S", str)) { -+ if (sm_recv(sm, "%S", str, sizeof (str))) { - params_load_line(game_params, str); - return TRUE; - } -diff --unified --recursive --new-file gnocatan-0.7.1/client/client.c gnocatan-0.7.1-patched/client/client.c ---- gnocatan-0.7.1/client/client.c 2002-06-08 23:57:33.000000000 +0200 -+++ gnocatan-0.7.1-patched/client/client.c 2003-06-20 01:21:07.000000000 +0200 -@@ -185,15 +185,15 @@ - sm_goto(sm, mode_offline); - return TRUE; - case SM_RECV: -- if (sm_recv(sm, "ERR %S", str)) { -+ if (sm_recv(sm, "ERR %S", str , sizeof (str))) { - log_message( MSG_ERROR, "Error (%s): %s\n", sm_current_name(sm), str); - return TRUE; - } -- if (sm_recv(sm, "NOTE %S", str)) { -+ if (sm_recv(sm, "NOTE %S", str, sizeof (str))) { - log_message( MSG_ERROR, "Notice: %s\n", str); - return TRUE; - } -- if (sm_recv(sm, "%S", str)) { -+ if (sm_recv(sm, "%S", str, sizeof (str))) { - log_message( MSG_ERROR, "Unknown message in %s: %s\n", sm_current_name(sm), str); - return TRUE; - } -@@ -246,7 +246,7 @@ - gint player_num; - char str[512]; - -- if (sm_recv(sm, "player %d chat %S", &player_num, str)) { -+ if (sm_recv(sm, "player %d chat %S", &player_num, str, sizeof (str))) { - chat_parser( player_num, str ); - /* - log_message( MSG_INFO, _("%s said: "), player_name(player_num, TRUE)); -@@ -258,7 +258,7 @@ - player_change_name(player_num, NULL); - return TRUE; - } -- if (sm_recv(sm, "player %d is %S", &player_num, str)) { -+ if (sm_recv(sm, "player %d is %S", &player_num, str, sizeof (str))) { - player_change_name(player_num, str); - return TRUE; - } -@@ -606,7 +606,7 @@ - } - } - if (sm_recv(sm, "player %d of %d, welcome to gnocatan server %S", -- &player_num, &total_num, version)) { -+ &player_num, &total_num, version, sizeof (version))) { - player_set_my_num(player_num); - player_set_total_num(total_num); - if (saved_name != NULL) -@@ -694,7 +694,7 @@ - } - if (check_other_players(sm)) - return TRUE; -- if (sm_recv(sm, "%S", str)) { -+ if (sm_recv(sm, "%S", str, sizeof (str))) { - params_load_line(game_params, str); - return TRUE; - } -@@ -782,7 +782,7 @@ - strcpy(rinfo.prevstate, "PLENTY"); - return TRUE; - } -- if (sm_recv(sm, "state %S", str)) { -+ if (sm_recv(sm, "state %S", str, sizeof (str))) { - strcpy(rinfo.prevstate, str); - return TRUE; - } -diff --unified --recursive --new-file gnocatan-0.7.1/common/state.c gnocatan-0.7.1-patched/common/state.c ---- gnocatan-0.7.1/common/state.c 2002-06-08 23:32:05.000000000 +0200 -+++ gnocatan-0.7.1-patched/common/state.c 2003-06-20 00:12:10.000000000 +0200 -@@ -150,7 +150,15 @@ - break; - case NET_READ: - sm->line = line; -- route_event(sm, SM_RECV); -+ /* Only handle data if there is a context. Fixes bug that -+ * clients starting to send data immediately crash the -+ * server */ -+ if (sm->stack_ptr != -1) -+ route_event(sm, SM_RECV); -+ else { -+ dec_use_count (sm); -+ return; -+ } - break; - } - route_event(sm, SM_INIT); -@@ -235,7 +243,9 @@ - switch (*fmt++) { - case 'S': /* string from current position to end of line */ - str = va_arg(ap, gchar*); -- strcpy(str, line + offset); -+ len = va_arg(ap, gint); -+ strncpy(str, line + offset, len - 1); -+ str[len - 1] = '\0'; - offset += strlen(str); - break; - case 'd': /* integer */ -diff --unified --recursive --new-file gnocatan-0.7.1/server/player.c gnocatan-0.7.1-patched/server/player.c ---- gnocatan-0.7.1/server/player.c 2002-05-19 20:23:17.000000000 +0200 -+++ gnocatan-0.7.1-patched/server/player.c 2003-06-19 23:55:54.000000000 +0200 -@@ -85,11 +85,11 @@ - } - return TRUE; - case SM_RECV: -- if (sm_recv(sm, "chat %S", text)) { -+ if (sm_recv(sm, "chat %S", text, sizeof (text))) { - player_broadcast(player, PB_ALL, "chat %s\n", text); - return TRUE; - } -- if (sm_recv(sm, "name %S", text)) { -+ if (sm_recv(sm, "name %S", text, sizeof (text))) { - player_set_name(player, text); - return TRUE; - } -@@ -446,7 +446,7 @@ - break; - - case SM_RECV: -- if( sm_recv(sm, "version %S", version ) ) -+ if( sm_recv(sm, "version %S", version, sizeof (version) ) ) - { - player->client_version = g_strdup(version); - if( check_versions( version ) ) -@@ -482,7 +482,7 @@ - player_setup(player, -1); - return TRUE; - } -- else if( sm_recv(sm, "status reconnect %S", playername ) ) -+ else if( sm_recv(sm, "status reconnect %S", playername, sizeof (playername) ) ) - { - /* if possible, try to revive the player */ - player_revive(player, playername); diff --git a/games-board/gnocatan/gnocatan-0.8.0.0.ebuild b/games-board/gnocatan/gnocatan-0.8.0.0.ebuild deleted file mode 100644 index 0cc6a59d77fb..000000000000 --- a/games-board/gnocatan/gnocatan-0.8.0.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnocatan/gnocatan-0.8.0.0.ebuild,v 1.3 2003/10/18 07:36:04 mr_bones_ Exp $ - -inherit games gnome2 - -DESCRIPTION="A clone of the popular board game The Settlers of Catan" -HOMEPAGE="http://gnocatan.sourceforge.net/" -SRC_URI="mirror://sourceforge/gnocatan/${P}.tar.gz" - -KEYWORDS="x86" -LICENSE="GPL-2" -SLOT="0" -IUSE="nls" - -DEPEND=">=gnome-base/libgnomeui-2.2* - =dev-libs/glib-1.2* - >=app-text/scrollkeeper-0.3*" - -G2CONF="${G2CONF} `use_enable nls`" -DOCS="AUTHORS ChangeLog README" - -src_install() { - gnome2_src_install - dogamesbin ${D}/usr/bin/* || die "dogamesbin failed" - rm -rf ${D}/usr/bin/ - prepgamesdirs -} diff --git a/games-board/gnocatan/gnocatan-0.8.1.16-r1.ebuild b/games-board/gnocatan/gnocatan-0.8.1.16-r1.ebuild index 1d0d9925d9ec..47f8fe1ba808 100644 --- a/games-board/gnocatan/gnocatan-0.8.1.16-r1.ebuild +++ b/games-board/gnocatan/gnocatan-0.8.1.16-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnocatan/gnocatan-0.8.1.16-r1.ebuild,v 1.1 2004/02/24 16:38:41 rizzo Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gnocatan/gnocatan-0.8.1.16-r1.ebuild,v 1.2 2004/02/29 10:20:20 vapier Exp $ inherit gnome2 @@ -8,18 +8,15 @@ DESCRIPTION="A clone of the popular board game The Settlers of Catan" HOMEPAGE="http://gnocatan.sourceforge.net/" SRC_URI="mirror://sourceforge/gnocatan/${P}.tar.gz" -KEYWORDS="~x86" LICENSE="GPL-2" SLOT="0" +KEYWORDS="x86" IUSE="nls" DEPEND=">=gnome-base/libgnomeui-2.2* =dev-libs/glib-1.2* >=app-text/scrollkeeper-0.3*" -G2CONF="${G2CONF} `use_enable nls`" -DOCS="AUTHORS ChangeLog README" - src_unpack() { unpack ${A} cd ${S} @@ -31,3 +28,13 @@ src_unpack() { cd ${S}/server epatch ${FILESDIR}/servertrade.diff } + +src_compile() { + export G2CONF="${G2CONF} `use_enable nls`" + gnome2_src_compile +} + +src_install() { + DOCS="AUTHORS ChangeLog README" + gnome2_src_install +} diff --git a/games-board/gnocatan/gnocatan-0.8.1.16.ebuild b/games-board/gnocatan/gnocatan-0.8.1.16.ebuild deleted file mode 100644 index f8b0a6fdec9e..000000000000 --- a/games-board/gnocatan/gnocatan-0.8.1.16.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnocatan/gnocatan-0.8.1.16.ebuild,v 1.1 2004/01/30 03:37:06 mr_bones_ Exp $ - -inherit gnome2 - -DESCRIPTION="A clone of the popular board game The Settlers of Catan" -HOMEPAGE="http://gnocatan.sourceforge.net/" -SRC_URI="mirror://sourceforge/gnocatan/${P}.tar.gz" - -KEYWORDS="x86" -LICENSE="GPL-2" -SLOT="0" -IUSE="nls" - -DEPEND=">=gnome-base/libgnomeui-2.2* - =dev-libs/glib-1.2* - >=app-text/scrollkeeper-0.3*" - -G2CONF="${G2CONF} `use_enable nls`" -DOCS="AUTHORS ChangeLog README" diff --git a/games-board/gnocatan/metadata.xml b/games-board/gnocatan/metadata.xml index 1cef6e243af3..d3c2cc926f0b 100644 --- a/games-board/gnocatan/metadata.xml +++ b/games-board/gnocatan/metadata.xml @@ -2,8 +2,4 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>games</herd> -<maintainer> -<email>games@gentoo.org</email> -<name>Games Team</name> -</maintainer> </pkgmetadata> diff --git a/games-board/gtkatlantic/files/digest-gtkatlantic-0.2.10 b/games-board/gtkatlantic/files/digest-gtkatlantic-0.2.10 deleted file mode 100644 index 34036fb4b9bb..000000000000 --- a/games-board/gtkatlantic/files/digest-gtkatlantic-0.2.10 +++ /dev/null @@ -1 +0,0 @@ -MD5 6648712972ab609c8c446ec39d10878c gtkatlantic-0.2.10.tar.bz2 454834 diff --git a/games-board/gtkatlantic/files/digest-gtkatlantic-0.2.13 b/games-board/gtkatlantic/files/digest-gtkatlantic-0.2.13 deleted file mode 100644 index d18d699dd30c..000000000000 --- a/games-board/gtkatlantic/files/digest-gtkatlantic-0.2.13 +++ /dev/null @@ -1 +0,0 @@ -MD5 521121765bd8a1495da6a0c79b3a2857 gtkatlantic-0.2.13.tar.bz2 489192 diff --git a/games-board/gtkatlantic/files/digest-gtkatlantic-0.3.0 b/games-board/gtkatlantic/files/digest-gtkatlantic-0.3.0 deleted file mode 100644 index 13e4f8f42dc0..000000000000 --- a/games-board/gtkatlantic/files/digest-gtkatlantic-0.3.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 03130bf4cd1c307f7a48d7c6f23af6f9 gtkatlantic-0.3.0.tar.bz2 490072 diff --git a/games-board/gtkatlantic/gtkatlantic-0.2.10.ebuild b/games-board/gtkatlantic/gtkatlantic-0.2.10.ebuild deleted file mode 100644 index dfcb019ade70..000000000000 --- a/games-board/gtkatlantic/gtkatlantic-0.2.10.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gtkatlantic/gtkatlantic-0.2.10.ebuild,v 1.1 2003/09/10 17:46:27 vapier Exp $ - -inherit games - -DESCRIPTION="Monopoly-like game that works with the monopd server" -HOMEPAGE="http://gtkatlantic.sourceforge.net/" -SRC_URI="mirror://sourceforge/gtkatlantic/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -DEPEND="=x11-libs/gtk+-1.2* - >=dev-libs/libxml2-2.4.0 - >=media-libs/libpng-1.0.12" - -src_install() { - make install DESTDIR=${D} || die - dodoc README AUTHORS ChangeLog INSTALL NEWS - prepgamesdirs -} diff --git a/games-board/gtkatlantic/gtkatlantic-0.2.13.ebuild b/games-board/gtkatlantic/gtkatlantic-0.2.13.ebuild deleted file mode 100644 index 7670a1fac8ca..000000000000 --- a/games-board/gtkatlantic/gtkatlantic-0.2.13.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gtkatlantic/gtkatlantic-0.2.13.ebuild,v 1.1 2003/09/10 17:46:27 vapier Exp $ - -inherit games - -DESCRIPTION="Monopoly-like game that works with the monopd server" -HOMEPAGE="http://gtkatlantic.sourceforge.net/" -SRC_URI="mirror://sourceforge/gtkatlantic/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="x86" -SLOT="0" - -DEPEND="=x11-libs/gtk+-1.2* - >=dev-libs/libxml2-2.4.0 - >=media-libs/libpng-1.0.12" - -src_install() { - make install DESTDIR=${D} || die "make install failed" - dodoc README AUTHORS ChangeLog INSTALL NEWS - prepgamesdirs -} diff --git a/games-board/gtkatlantic/gtkatlantic-0.3.0.ebuild b/games-board/gtkatlantic/gtkatlantic-0.3.0.ebuild deleted file mode 100644 index bc5ff5569499..000000000000 --- a/games-board/gtkatlantic/gtkatlantic-0.3.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gtkatlantic/gtkatlantic-0.3.0.ebuild,v 1.1 2003/10/31 06:25:46 mr_bones_ Exp $ - -inherit games - -DESCRIPTION="Monopoly-like game that works with the monopd server" -HOMEPAGE="http://gtkatlantic.sourceforge.net/" -SRC_URI="mirror://sourceforge/gtkatlantic/${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="x86" -SLOT="0" - -DEPEND="=x11-libs/gtk+-1.2* - >=dev-libs/libxml2-2.4.0 - >=media-libs/libpng-1.0.12" - -src_install() { - make DESTDIR=${D} install || die "make install failed" - dodoc README AUTHORS ChangeLog NEWS || die "dodoc failed" - prepgamesdirs -} diff --git a/games-board/xboard/files/digest-xboard-4.2.6-r1 b/games-board/xboard/files/digest-xboard-4.2.6-r1 deleted file mode 100644 index a2bc5ae8cbdf..000000000000 --- a/games-board/xboard/files/digest-xboard-4.2.6-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 1d6e38c61277eed6ad7af352586b37d5 xboard-4.2.6.tar.gz 1057625 diff --git a/games-board/xboard/xboard-4.2.6-r1.ebuild b/games-board/xboard/xboard-4.2.6-r1.ebuild deleted file mode 100644 index 498177d720bf..000000000000 --- a/games-board/xboard/xboard-4.2.6-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/xboard-4.2.6-r1.ebuild,v 1.2 2003/09/10 18:15:20 vapier Exp $ - -inherit games eutils - -DESCRIPTION="GUI for gnuchess and for internet chess servers" -HOMEPAGE="http://www.tim-mann.org/xboard.html" -SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/xboard/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc" - -DEPEND="games-board/gnuchess" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-patch.diff -} - -src_install() { - egamesinstall || die - dodoc FAQ READ_ME ToDo ChangeLog* - dohtml FAQ.html - prepgamesdirs -} |