aboutsummaryrefslogtreecommitdiffstats
path: root/games/mangos
diff options
context:
space:
mode:
Diffstat (limited to 'games/mangos')
-rw-r--r--games/mangos/Makefile6
-rw-r--r--games/mangos/distinfo18
-rw-r--r--games/mangos/files/ScriptDev2.patch35
-rw-r--r--games/mangos/pkg-plist46
4 files changed, 74 insertions, 31 deletions
diff --git a/games/mangos/Makefile b/games/mangos/Makefile
index c4195b96be53..620dc8c65320 100644
--- a/games/mangos/Makefile
+++ b/games/mangos/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= mangos
-PORTVERSION= 4742
+PORTVERSION= 5101
CATEGORIES= games
MASTER_SITES= CENKES http://mangos-port.by.ru/ \
http://wow.omsktele.com/src/ \
http://belnetwork.org/mangos/
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
-SCRIPTDEV2REV= 164
+SCRIPTDEV2REV= 245
MAINTAINER= neon_cyrex@mail.ru
COMMENT= Free dedicated-server for World of Warcraft
@@ -44,7 +44,7 @@ PLIST_SUB+= SD2="@comment "
.endif
.ifdef WITH_DBC
PLIST_SUB+= DBC=""
-DISTFILES+= mangos-dbc2_2_3.tar.gz
+DISTFILES+= mangos-dbc2_3_0.tar.gz
.else
PLIST_SUB+= DBC="@comment "
.endif
diff --git a/games/mangos/distinfo b/games/mangos/distinfo
index 485e15418a40..2bb3fc5f8b1b 100644
--- a/games/mangos/distinfo
+++ b/games/mangos/distinfo
@@ -1,9 +1,9 @@
-MD5 (mangos-4742.tar.gz) = 704ccf9c72a243c3ebd91b6c1add2980
-SHA256 (mangos-4742.tar.gz) = 32b250d32c089a2342a3041344e7158ced875cb34bb2649a88c2e843f68ec65a
-SIZE (mangos-4742.tar.gz) = 4462143
-MD5 (ScriptDev2-164.tar.gz) = f73ad6485bcae05be33515ebf19541e4
-SHA256 (ScriptDev2-164.tar.gz) = a84cc4cb77e9a0b0c7152fe47024d16ccfd64420359a129dd10cb12083ab7722
-SIZE (ScriptDev2-164.tar.gz) = 347461
-MD5 (mangos-dbc2_2_3.tar.gz) = a935f4b8b1dd53bd34b8117979bdde40
-SHA256 (mangos-dbc2_2_3.tar.gz) = f30ae8765b38b1ead330df60a3354dbe5499079d22c2a151d08e67c9cc147061
-SIZE (mangos-dbc2_2_3.tar.gz) = 4314055
+MD5 (mangos-5101.tar.gz) = 7cbf68fe782503ce55830051796fea08
+SHA256 (mangos-5101.tar.gz) = d5d6244f206f23d8a4ad581a58542c355e9f27d0ed7d70114588796cc878ba50
+SIZE (mangos-5101.tar.gz) = 4548805
+MD5 (ScriptDev2-245.tar.gz) = 85a946f35915b62b33250329986d909a
+SHA256 (ScriptDev2-245.tar.gz) = 1ecbc9223e3e91205be0f759ba0fd8ed07cb2aab5541e2e44c8cd85eb3694547
+SIZE (ScriptDev2-245.tar.gz) = 419481
+MD5 (mangos-dbc2_3_0.tar.gz) = 7642fc31e14a7c0c47e46c4d96a5bbd5
+SHA256 (mangos-dbc2_3_0.tar.gz) = cba0260be7f48e92a3ba0bc1ad2a18d01e387da5e94f6701343627b46fcf3232
+SIZE (mangos-dbc2_3_0.tar.gz) = 4405768
diff --git a/games/mangos/files/ScriptDev2.patch b/games/mangos/files/ScriptDev2.patch
index e08278cc4621..036a37d3153d 100644
--- a/games/mangos/files/ScriptDev2.patch
+++ b/games/mangos/files/ScriptDev2.patch
@@ -1,6 +1,14 @@
---- configure.ac.orig
-+++ configure.ac
-@@ -222,7 +222,9 @@
+--- src/bindings/Makefile.am.orig Wed Jan 16 07:52:28 2008
++++ src/bindings/Makefile.am Wed Jan 16 07:52:38 2008
+@@ -14,4 +14,4 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+-SUBDIRS = universal
++SUBDIRS = ScriptDev2
+--- configure.ac.orig Wed Jan 16 07:50:39 2008
++++ configure.ac Wed Jan 16 07:50:59 2008
+@@ -228,7 +228,10 @@
src/mangosd/Makefile
src/mangosd/mangosd.conf
src/bindings/Makefile
@@ -8,27 +16,20 @@
+ src/bindings/ScriptDev2/Makefile
+ src/bindings/ScriptDev2/sql/Makefile
+ src/bindings/ScriptDev2/sql/Updates/Makefile
++
])
## Disabled Makefiles, until they are ready for a successful make and
---- src/bindings/Makefile.am.orig
-+++ src/bindings/Makefile.am
-@@ -14,4 +14,4 @@
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
--SUBDIRS = universal
-+SUBDIRS = ScriptDev2
---- src/mangosd/Makefile.am.orig
-+++ src/mangosd/Makefile.am
+--- src/mangosd/Makefile.am.orig Mon Jan 28 08:02:00 2008
++++ src/mangosd/Makefile.am Mon Jan 28 08:02:26 2008
@@ -33,8 +33,8 @@
WorldRunnable.h
## Link world daemon against the shared library
--mangos_worldd_LDADD = ../bindings/universal/libmangosscript.la ../game/libmangosgame.a ../shared/libmangosdatabase.a ../shared/libmangosconfig.a ../shared/libmangosauth.a ../shared/libmangosshared.a ../shared/libmangosvmaps.a ../shared/libmangosnetwork.a ../framework/libmangosframework.a ../../dep/src/zthread/libZThread.la ../../dep/src/g3dlite/libg3dlite.a
--mangos_worldd_LDFLAGS = -L../../dep/src/zthread -L../../dep/src/g3dlite -L../bindings/universal/ $(MYSQL_LIBS) $(POSTGRE_LIBS) -L$(libdir) $(ZLIB) $(COMPATLIB) $(SSLLIB) -export-dynamic
-+mangos_worldd_LDADD = ../bindings/ScriptDev2/libmangosscript.la ../game/libmangosgame.a ../shared/libmangosdatabase.a ../shared/libmangosconfig.a ../shared/libmangosauth.a ../shared/libmangosshared.a ../shared/libmangosvmaps.a ../shared/libmangosnetwork.a ../framework/libmangosframework.a ../../dep/src/zthread/libZThread.la ../../dep/src/g3dlite/libg3dlite.a
-+mangos_worldd_LDFLAGS = -L../../dep/src/zthread -L../../dep/src/g3dlite -L../bindings/ScriptDev2/ $(MYSQL_LIBS) $(POSTGRE_LIBS) -L$(libdir) $(ZLIB) $(COMPATLIB) $(SSLLIB) -export-dynamic
+-mangos_worldd_LDADD = ../bindings/universal/libmangosscript.la ../game/libmangosgame.a ../shared/Database/libmangosdatabase.a ../shared/Config/libmangosconfig.a ../shared/Auth/libmangosauth.a ../shared/libmangosshared.a ../shared/vmap/libmangosvmaps.a ../framework/libmangosframework.a ../../dep/src/sockets/libmangossockets.a ../../dep/src/zthread/libZThread.la ../../dep/src/g3dlite/libg3dlite.a
+-mangos_worldd_LDFLAGS = -L../../dep/src/sockets -L../../dep/src/zthread -L../../dep/src/g3dlite -L../bindings/universal/ $(MYSQL_LIBS) $(POSTGRE_LIBS) -L$(libdir) $(ZLIB) $(COMPATLIB) $(SSLLIB) -export-dynamic
++mangos_worldd_LDADD = ../bindings/ScriptDev2/libmangosscript.la ../game/libmangosgame.a ../shared/Database/libmangosdatabase.a ../shared/Config/libmangosconfig.a ../shared/Auth/libmangosauth.a ../shared/libmangosshared.a ../shared/vmap/libmangosvmaps.a ../framework/libmangosframework.a ../../dep/src/sockets/libmangossockets.a ../../dep/src/zthread/libZThread.la ../../dep/src/g3dlite/libg3dlite.a
++mangos_worldd_LDFLAGS = -L../../dep/src/sockets -L../../dep/src/zthread -L../../dep/src/g3dlite -L../bindings/ScriptDev2/ $(MYSQL_LIBS) $(POSTGRE_LIBS) -L$(libdir) $(ZLIB) $(COMPATLIB) $(SSLLIB) -export-dynamic
## Additional files to include when running 'make dist'
# Include world daemon configuration
diff --git a/games/mangos/pkg-plist b/games/mangos/pkg-plist
index b83fbe70ad33..a7477554b480 100644
--- a/games/mangos/pkg-plist
+++ b/games/mangos/pkg-plist
@@ -81,6 +81,7 @@ lib/libmangosscript.so.0
%%DBC%%%%DATADIR%%/dbc/HelmetGeosetVisData.dbc
%%DBC%%%%DATADIR%%/dbc/ItemBagFamily.dbc
%%DBC%%%%DATADIR%%/dbc/ItemClass.dbc
+%%DBC%%%%DATADIR%%/dbc/ItemCondExtCosts.dbc
%%DBC%%%%DATADIR%%/dbc/ItemDisplayInfo.dbc
%%DBC%%%%DATADIR%%/dbc/ItemExtendedCost.dbc
%%DBC%%%%DATADIR%%/dbc/ItemGroupSounds.dbc
@@ -169,6 +170,7 @@ lib/libmangosscript.so.0
%%DBC%%%%DATADIR%%/dbc/TerrainTypeSounds.dbc
%%DBC%%%%DATADIR%%/dbc/TotemCategory.dbc
%%DBC%%%%DATADIR%%/dbc/TransportAnimation.dbc
+%%DBC%%%%DATADIR%%/dbc/TransportPhysics.dbc
%%DBC%%%%DATADIR%%/dbc/UISoundLookups.dbc
%%DBC%%%%DATADIR%%/dbc/UnitBlood.dbc
%%DBC%%%%DATADIR%%/dbc/UnitBloodLevels.dbc
@@ -196,8 +198,10 @@ lib/libmangosscript.so.0
%%DBC%%%%DATADIR%%/dbc/gtOCTRegenMP.dbc
%%DBC%%%%DATADIR%%/dbc/gtRegenHPPerSpt.dbc
%%DBC%%%%DATADIR%%/dbc/gtRegenMPPerSpt.dbc
-%%SD2%%share/scriptdev2/sql/scriptdev_full.sql
-%%SD2%%share/scriptdev2/sql/scriptdev_additional_req.sql
+%%SD2%%share/scriptdev2/sql/create_database.sql
+%%SD2%%share/scriptdev2/sql/mangos_additional_req.sql
+%%SD2%%share/scriptdev2/sql/mangos_full_scripts.sql
+%%SD2%%share/scriptdev2/sql/scriptdev2_structure.sql
%%SD2%%share/scriptdev2/sql/updates/09_BraveWindfeather.sql
%%SD2%%share/scriptdev2/sql/updates/11_SilvaFilnaveth.sql
%%SD2%%share/scriptdev2/sql/updates/27_Vaelastraz.sql
@@ -234,6 +238,44 @@ lib/libmangosscript.so.0
%%SD2%%share/scriptdev2/sql/updates/r161.sql
%%SD2%%share/scriptdev2/sql/updates/r163.sql
%%SD2%%share/scriptdev2/sql/updates/r164.sql
+%%SD2%%share/scriptdev2/sql/updates/r165.sql
+%%SD2%%share/scriptdev2/sql/updates/r169.sql
+%%SD2%%share/scriptdev2/sql/updates/r170.sql
+%%SD2%%share/scriptdev2/sql/updates/r171.sql
+%%SD2%%share/scriptdev2/sql/updates/r172.sql
+%%SD2%%share/scriptdev2/sql/updates/r174.sql
+%%SD2%%share/scriptdev2/sql/updates/r176.sql
+%%SD2%%share/scriptdev2/sql/updates/r177.sql
+%%SD2%%share/scriptdev2/sql/updates/r178.sql
+%%SD2%%share/scriptdev2/sql/updates/r181.sql
+%%SD2%%share/scriptdev2/sql/updates/r182.sql
+%%SD2%%share/scriptdev2/sql/updates/r183.sql
+%%SD2%%share/scriptdev2/sql/updates/r184.sql
+%%SD2%%share/scriptdev2/sql/updates/r186.sql
+%%SD2%%share/scriptdev2/sql/updates/r187.sql
+%%SD2%%share/scriptdev2/sql/updates/r189.sql
+%%SD2%%share/scriptdev2/sql/updates/r191.sql
+%%SD2%%share/scriptdev2/sql/updates/r192.sql
+%%SD2%%share/scriptdev2/sql/updates/r197.sql
+%%SD2%%share/scriptdev2/sql/updates/r204.sql
+%%SD2%%share/scriptdev2/sql/updates/r206.sql
+%%SD2%%share/scriptdev2/sql/updates/r211.sql
+%%SD2%%share/scriptdev2/sql/updates/r213.sql
+%%SD2%%share/scriptdev2/sql/updates/r214.sql
+%%SD2%%share/scriptdev2/sql/updates/r215.sql
+%%SD2%%share/scriptdev2/sql/updates/r218.sql
+%%SD2%%share/scriptdev2/sql/updates/r219.sql
+%%SD2%%share/scriptdev2/sql/updates/r221_scriptdev2.sql
+%%SD2%%share/scriptdev2/sql/updates/r227_scriptdev2.sql
+%%SD2%%share/scriptdev2/sql/updates/r230_mangos.sql
+%%SD2%%share/scriptdev2/sql/updates/r234_mangos.sql
+%%SD2%%share/scriptdev2/sql/updates/r237_mangos.sql
+%%SD2%%share/scriptdev2/sql/updates/r238_mangos.sql
+%%SD2%%share/scriptdev2/sql/updates/r239_mangos.sql
+%%SD2%%share/scriptdev2/sql/updates/r240_scriptdev2.sql
+%%SD2%%share/scriptdev2/sql/updates/r241_mangos.sql
+%%SD2%%share/scriptdev2/sql/updates/r242_mangos.sql
+%%SD2%%share/scriptdev2/sql/updates/r243_mangos.sql
@dirrm %%DATADIR%%/sql
%%DBC%%@dirrm %%DATADIR%%/dbc
@dirrm %%DATADIR%%