commit: 110590c673856cda7a8cddd4048805934612b917 Author: layman <layman <AT> localhost> AuthorDate: Sun Aug 16 01:27:10 2015 +0000 Commit: Mike Auty <ikelos <AT> gentoo <DOT> org> CommitDate: Sun Aug 16 01:27:10 2015 +0000 URL: https://gitweb.gentoo.org/dev/ikelos.git/commit/?id=110590c6
Remove Mangos since upstream seems dead. games-rpg/mangos/ChangeLog | 11 --- games-rpg/mangos/Manifest | 5 -- games-rpg/mangos/files/9999/mangos-realmd | 23 ----- games-rpg/mangos/files/9999/mangos-worldd | 23 ----- games-rpg/mangos/mangos-9999.ebuild | 143 ------------------------------ games-rpg/mangos/metadata.xml | 14 --- 6 files changed, 219 deletions(-) diff --git a/games-rpg/mangos/ChangeLog b/games-rpg/mangos/ChangeLog deleted file mode 100644 index 1eebd2f..0000000 --- a/games-rpg/mangos/ChangeLog +++ /dev/null @@ -1,11 +0,0 @@ -# ChangeLog for games-rpg/mangos -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/ChangeLog,v 1.1 2008/10/04 07:38:26 trapni Exp $ - -*mangos-9999 (04 Oct 2008) - - 04 Oct 2008; Christian Parpart <[email protected]> - +files/9999/mangos-realmd, +files/9999/mangos-worldd, +metadata.xml, - +mangos-9999.ebuild: - initial import - diff --git a/games-rpg/mangos/Manifest b/games-rpg/mangos/Manifest deleted file mode 100644 index 191e0c2..0000000 --- a/games-rpg/mangos/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX 9999/mangos-realmd 712 RMD160 8f9d0d272943a6da1376d20c2bb1d36391743e69 SHA1 cb76996097c7f07b6112a74775c3f7af2bc72a7a SHA256 4b1bbbe59d70484ebd755239ae8ca470255d93e9c42c1a0ea1edae894c16f25a -AUX 9999/mangos-worldd 668 RMD160 74d288b03e08d0adeebcb6c8fc04d1c85689b754 SHA1 3ff2537fcf83652508acba86f9b7ed9ee67011f4 SHA256 7b8426670786f6837cbfafef2d3559b407b5f7025eab70307c70cdf6136efd62 -EBUILD mangos-9999.ebuild 3785 RMD160 6d6c39eb7a40ce733866aeb02450a28e56a3ce28 SHA1 92153f960298fe7e2b9350dd8c34d1157ea1fffb SHA256 db0a1541b520f1d62c480ba43c45ecae607523eec873c0f98cd65c5ac2762ee7 -MISC ChangeLog 398 RMD160 bb3be8b3875b8489a425e3b0ce9ea6be3afcec16 SHA1 5e53d1aed25e617905af741de8f52c10019a2e7a SHA256 1f08de6f2976f079dddbcb6be574172e8570268f6b74be5e6e86ec263eb12d63 -MISC metadata.xml 440 RMD160 2e77620a7a39f4a262407214d7b2dc3257c66793 SHA1 3ffff8c13dab3a413af8afe1f07b52b378d15c14 SHA256 3c844f9168d52e2281e8a197769d937640e3b87b58d3ead9d9723b0b78a33172 diff --git a/games-rpg/mangos/files/9999/mangos-realmd b/games-rpg/mangos/files/9999/mangos-realmd deleted file mode 100755 index cb1dc11..0000000 --- a/games-rpg/mangos/files/9999/mangos-realmd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/files/9999/mangos-realmd,v 1.1 2008/10/04 07:38:26 trapni Exp $ - -depend() { - need net - use mysql -} - -start() { - ebegin "Starting MaNGOS Login Server (realmd)" - start-stop-daemon --start --background -c mangos --exec /usr/share/mangos/bin/mangos-realmd \ - --make-pidfile --pidfile /var/run/mangos/realm.pid -- -c /etc/mangos/realmd.conf - eend $? -} - -stop() { - ebegin "Stopping MaNGOS Login Server (realmd)" - start-stop-daemon --stop -c mangos --exec /usr/share/mangos/bin/mangos-realmd \ - --pidfile /var/run/mangos/realm.pid - eend $? -} diff --git a/games-rpg/mangos/files/9999/mangos-worldd b/games-rpg/mangos/files/9999/mangos-worldd deleted file mode 100755 index d7e6143..0000000 --- a/games-rpg/mangos/files/9999/mangos-worldd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/files/9999/mangos-worldd,v 1.1 2008/10/04 07:38:26 trapni Exp $ - -depend() { - need net - use net -} - -start() { - ebegin "Starting MaNGOS server" - start-stop-daemon --start --background -c mangos --pidfile /var/run/mangos/world.pid \ - --make-pidfile --exec /usr/bin/mangos-worldd -- -c /etc/mangos/mangosd.conf - eend $? -} - -stop() { - ebegin "Stopping MaNGOS server" - start-stop-daemon --stop -c mangos --exec /usr/share/mangos/bin/mangos-worldd \ - --pidfile /var/run/mangos/world.pid - eend $? -} diff --git a/games-rpg/mangos/mangos-9999.ebuild b/games-rpg/mangos/mangos-9999.ebuild deleted file mode 100644 index 349d1eb..0000000 --- a/games-rpg/mangos/mangos-9999.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/mangos-9999.ebuild,v 1.1 2008/10/04 07:38:26 trapni Exp $ - -# TODO: -# - make use of system's zlib/zthread ebuilds instead of mangos' packaged -# - create ebuilds for specific releases (and related patchsets, if desired) - -inherit eutils autotools git - -EGIT_REPO_URI="git://github.com/mangos/mangos.git" -# SD2_SVN_REPO_URI="https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2" -# AHBOT_SVN="http://svn2.assembla.com/svn/auctionhousebot/mangos/trunk" - -DESCRIPTION="Massive Network Game Object Server" -HOMEPAGE="http://www.mangosproject.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cli ra sd2 debug mysql postgres ahbot" - -RDEPEND="postgres? ( virtual/postgresql-server ) - mysql? ( >=virtual/mysql-4.1 ) - !mysql? ( !postgres? ( >=virtual/mysql-4.1 ) )" - -DEPEND="${RDEPEND} - >=sys-devel/gcc-3.2 - sys-devel/make - >=sys-devel/automake-1.5 - sys-devel/autoconf - dev-libs/glib - dev-libs/openssl - dev-vcs/subversion - dev-vcs/git" - -pkg_setup() { - if useq mysql && useq postgres; then - eerror "Please decide with database you want to use for this ebuild by" - eerror "explicitely enabling/disabling the mysql and postgres USE-flags!" - die "Both useflags - mysql and postgres - has been specified. Choose one of them only!" - fi - enewgroup mangos - enewuser mangos -} - -## unpacks SD2 (ScriptDev2) into mangos workdir -function sd2_src_unpack() { - ESVN_REPO_URI="${SD2_SVN_REPO_URI}" - S="${S}/src/bindings/ScriptDev2" subversion_src_unpack || die - - local PATCHES_DIR="${S}/src/bindings/ScriptDev2/patches" - local FILE=$(ls ${PATCHES_DIR} | sort -f -r | awk "NR == 1") - - EPATCH_OPTS="-d ${S}" EPATCH_FORCE="yes" epatch "${PATCHES_DIR}/${FILE}" || die -} - -## unpacks AHbot -function ahbot_src_unpack() { - S="/var/tmp/portage/AHBot" - ESVN_REPO_URI="${AHBOT_SVN}" - ESVN_PROJECT="auctionhousebot" - subversion_src_unpack || die - - S="${WORKDIR}/${P}" - - EPATCH_OPTS="-d ${S}" epatch \ - /var/tmp/portage/AHBot/auctionhousebot.patch -} - -src_unpack() { - git_src_unpack - - useq sd2 && sd2_src_unpack - - useq ahbot && ahbot_src_unpack - - cd "${S}" || die - eautoreconf --install || die "eautoreconf failed" -} - -src_compile() { - local myconf - - if ! useq mysql && ! useq postgres; then - # defaulth to mysql in case nothing has been specified. - myconf="${myconf} --with-mysql" - fi - - mkdir build - cd build - - ../configure \ - --prefix=/usr \ - --with-gnu-ld \ - ${myconf} \ - --sysconfdir="/etc/mangos" \ - $(use_with mysql) \ - $(use_with postgres postgresql) \ - $(use_enable cli) \ - $(use_enable ra) \ - $(use_enable debug debug-info) \ - || die "econf failed" - - emake || die "emake failed" -} - -src_install() { - cd "${S}/build" - - emake DESTDIR="${D}" install || die "emake install failed" - - rm -f "${D}/usr/bin/gensvnrevision" # not really part of mangos dist - - doinitd "${FILESDIR}/${PV}/mangos-realmd" || die - doinitd "${FILESDIR}/${PV}/mangos-worldd" || die - - dodir /usr/share/mangos/dbc - dodir /usr/share/mangos/maps - dodir /usr/share/mangos/vmaps - - dodir /var/log/mangos - - fowners root.mangos /etc/mangos - fowners mangos.mangos /var/log/mangos -} - -pkg_postinst() { - ewarn "You need to manually configure MaNGOS." - ewarn "See /etc/mangos/ for config files." - ewarn "Remember to move you maps, DBC and vmaps files to your data folder - /usr/share/mangos/" - ewarn - ewarn "Don't forget to run SQL scripts for:" - ewarn "\t- MaNGOS databases : /usr/share/mangos/sql" - - useq sd2 && ewarn "\t- ScriptDev2 database: /usr/share/scriptdev2/sql" - - ewarn - einfo "If you want Mangos to start automatically on boot execute :" - einfo "\t- rc-update add mangos-realmd default" - einfo "\t- rc-update add mangos-worldd default" - einfo -} diff --git a/games-rpg/mangos/metadata.xml b/games-rpg/mangos/metadata.xml deleted file mode 100644 index c946701..0000000 --- a/games-rpg/mangos/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>[email protected]</email> - </maintainer> - <use> - <flag name='ra'>compiles with support remote console system</flag> - <flag name='cli'>compiles with support command line system</flag> - <flag name='sd2'>includes ScriptDev2 to distribution</flag> - </use> -</pkgmetadata>
