summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-02-06 10:39:27 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-02-06 10:39:27 +0000
commitfe2b32765352902d8dfb42213eac2ec41a0cfaa5 (patch)
tree08cf2b83eddad5e18a1f5604e3f53c84ddf678c5 /games-server
parentfix build with ffmpeg2, bug #515160. patch grabbed from k9copy ebuild (diff)
downloadhistorical-fe2b32765352902d8dfb42213eac2ec41a0cfaa5.tar.gz
historical-fe2b32765352902d8dfb42213eac2ec41a0cfaa5.tar.bz2
historical-fe2b32765352902d8dfb42213eac2ec41a0cfaa5.zip
EAPI=5; bump support version
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Diffstat (limited to 'games-server')
-rw-r--r--games-server/pvpgn/ChangeLog10
-rw-r--r--games-server/pvpgn/Manifest18
-rw-r--r--games-server/pvpgn/pvpgn-1.8.5-r1.ebuild91
3 files changed, 103 insertions, 16 deletions
diff --git a/games-server/pvpgn/ChangeLog b/games-server/pvpgn/ChangeLog
index 0e8d9ba23b72..957143f0ce5b 100644
--- a/games-server/pvpgn/ChangeLog
+++ b/games-server/pvpgn/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-server/pvpgn
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/ChangeLog,v 1.25 2014/12/28 15:47:46 titanofold Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/ChangeLog,v 1.26 2015/02/06 10:39:22 mr_bones_ Exp $
+
+*pvpgn-1.8.5-r1 (06 Feb 2015)
+
+ 06 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org> +pvpgn-1.8.5-r1.ebuild:
+ EAPI=5; bump support version
28 Dec 2014; Aaron W. Swenson <titanofold@gentoo.org> pvpgn-1.8.5.ebuild:
Rename virtual/postgresql to dev-db/postgresql
@@ -68,4 +73,3 @@
Version bump. Original ebuild and patch by Anatoly Shipitsin
<norguhtar@gmail.com> and updated by Wai Ling <simotsa@gmail.com> and
myself. Closing bug #107761.
-
diff --git a/games-server/pvpgn/Manifest b/games-server/pvpgn/Manifest
index 1bcf50ca8658..d78a5f2dfb92 100644
--- a/games-server/pvpgn/Manifest
+++ b/games-server/pvpgn/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX pvpgn-1.8.5-fhs.patch 11549 SHA256 ec54d02676a29ed0d1ffbd1c590425a6a371e34ebb99abbaeeaf4465b73c66ef SHA512 9842120682df08c34eada97712246b3c492be66e3e3bd10dfe744896f7c1c461da530ea90c819dff2de436017836bf4b107d46b0960d928e00004ab6381dbbd1 WHIRLPOOL 20ff3207378629037d6f0a4d48186f2527b459f79df458c2cabfbc14bf16e8e4919996d89bc1d2f5e822349b70d87de10e11ae475459e763b0971a090329e4e7
AUX pvpgn.rc 994 SHA256 6c400810589308162c4d4a011423504ebd130123139b454ca06b58c7676f5b63 SHA512 77169bd417988ba07f39defdfc7d173c8c28ad625bfcb82fe572d3473afff6af5270718abb4747a176d5d80c4c7fda980469a1ef474650126c293d8026156e2b WHIRLPOOL 9d5af181efa79570bc2825831416c131ba9edabad313eb3a5ceef18bd0a82af61f1682d35e3a75cf1fbb499dca4f17bd8234604386605ef34c5e699cbb2812ba
-DIST pvpgn-1.8.5.tar.bz2 982931 SHA256 229607bb52a0c8bdc01e310ff7e0ca23c91d63d2a2ed2f7decaa3ddac40e57d5
-DIST pvpgn-support-1.2.tar.gz 125345 SHA256 5ab2cf15d9957dabbf60ea46c12bf6d4704aaead4ac358e85f5ef8494330d51f
+DIST pvpgn-1.8.5.tar.bz2 982931 SHA256 229607bb52a0c8bdc01e310ff7e0ca23c91d63d2a2ed2f7decaa3ddac40e57d5 SHA512 7cbe141efe03efa4ce0fc1cc3b4e15afe2e85e3c83a27afdf36fec9e2dadf1c7b9aca1773e6a3e6566b62f5a7999cc040c9517786ca70eeb70f86eea84e9218e WHIRLPOOL 37880b5d160be67666f4bfbf7d7fae281c2c4be5f5b01552f43a11ce4980c4a563976763e426a5b6ee5d49599e0c0b095ad87f3a348628170d7322a826f2667d
+DIST pvpgn-support-1.2.tar.gz 125345 SHA256 5ab2cf15d9957dabbf60ea46c12bf6d4704aaead4ac358e85f5ef8494330d51f SHA512 bc26a5762ab798db1f76b82044bb7b7d0f22cdd3d911cb7c648e82f286412aa3227a70c0e05ec900e67bbee148265edea58aa7924a47714e26fc402168d56b0e WHIRLPOOL a704d50c33fd10a98f2dc69774240cfc410df045d159cf2ea3e14c26e7c935f35302700f08f882b1229eec76bb06ceb7fad45fa23e19af166a1e99f74498731a
+DIST pvpgn-support-1.3.tar.gz 123805 SHA256 bb51db26198691063e0b1065a21ddec823dc27b9560cd3975ef232ee272d2d07 SHA512 9002fcdb7da92e84af97319b9f1e38f5cf97466aef88549b1fe81b9070643f321011adf674424e2c4acc22f847c7fc61ca2cbf2da0223842e9b9e6c8f1427d76 WHIRLPOOL 2ac194d0b9655b9bb1b7ba10a40d0dac75368dcca2b87cf82ce72d69eec2c2dca0c59d37a1723d6a611b873f50016a92d6eaa331e513f1650ea13afabec33fbe
+EBUILD pvpgn-1.8.5-r1.ebuild 2627 SHA256 533199271f79df188ad11ae884263817a1cb315e414627a0832cefe4a830456c SHA512 a4ab4c82b28615083edd363ef0bd6417e09c3c708508917ed295a7e75f7283b403369797b99158262a9e89012758bcd775db7c1474d8620cb135285063051a58 WHIRLPOOL 8c0ad2a0963d981e123aa591a76eba1a40f0f708188072ea40b2220cef4b311b7e331ed4633e0f33b89e08b97d06693dfeed615f78b756dbd34d20e551f2c804
EBUILD pvpgn-1.8.5.ebuild 2640 SHA256 5ab964e79edc6701445cfa4aa71af1054bbf3ebd0bccb6db289b203d6aebf6a2 SHA512 80973df2976749c4fcd54f7e5a5931ac8992fbd18f191be2a5de837a3236b43415de16e0101a159109c37a57fec7db52dd80ca795f92658dbdaba64af231aa37 WHIRLPOOL 041b64f3422d7235075e2ff06a7306759513741d15899564118abc1a6be67b8822d90f7ec9d6e041a6b4df4a1805ae4895e87f6a21607cca404b835004be229d
-MISC ChangeLog 2791 SHA256 c0924a68260cb63bdd0bc1149b103fcd928b6e2f3fb3d358e3ef9eb8f2284635 SHA512 bfc9902456cf354dc17f000993139aaa1ac220efddfbed55b338cc5359c5c3635b0e0429cf8e0567b0292bfce363dd30243bba618104bbb160d8a10ef3def0b2 WHIRLPOOL 59dbccc6d513364f478753481f63730bc819b12f4fe31d86e44509b2caad7a99048f73b256e5281766ba453bdfb460e6c4d0ef4d5de7fc29c66f97ced668e202
+MISC ChangeLog 2931 SHA256 f4e668e2ca6ce1f0a344aa6a7b76c693029333d6e77b61485284bda88ef5bb0b SHA512 07100c318a8c7461aba356b76beb65dd6c501d1441c982d8ab5a4741491923ae51f5642a2e754bc19ab494a7a90b70a7a126d4e1d48cdd7a377c98a7d5bb3fad WHIRLPOOL 2a60bed01561e7b3f3dfa144647a7e69ede0afbe9c0d91b7a0dea041a11fdd1d57fc2b2af249913d0b941ea8ea858e55ef4fa556720093c5e4fbb3885405c42a
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iF4EAREIAAYFAlSgJiMACgkQVxOqA9G7/aDnMwEAoLW2cPyGAaoh7sJYaRzruq6g
-NX2tvN4O8RqL7OKyWD8A/RabZCBelNXUJfp2pJ3aeHTKwT4b+2NsRUFw00ZguRCf
-=TsG8
------END PGP SIGNATURE-----
diff --git a/games-server/pvpgn/pvpgn-1.8.5-r1.ebuild b/games-server/pvpgn/pvpgn-1.8.5-r1.ebuild
new file mode 100644
index 000000000000..9d5b32cbecbd
--- /dev/null
+++ b/games-server/pvpgn/pvpgn-1.8.5-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-server/pvpgn/pvpgn-1.8.5-r1.ebuild,v 1.1 2015/02/06 10:39:22 mr_bones_ Exp $
+
+EAPI=5
+inherit eutils games
+
+SUPPORTP="${PN}-support-1.3"
+DESCRIPTION="A gaming server for Battle.Net compatible clients"
+HOMEPAGE="http://sourceforge.net/projects/pvpgn.berlios/"
+SRC_URI="mirror://sourceforge/pvpgn.berlios/${PN}-${PV/_/}.tar.bz2
+ mirror://sourceforge/pvpgn.berlios/${SUPPORTP}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="mysql postgres"
+
+DEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql[server] )"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-fhs.patch"
+}
+
+src_configure() {
+ cd src
+ # everything in GAMES_BINDIR (bug #63071)
+ egamesconf \
+ --sbindir="${GAMES_BINDIR}" \
+ $(use_with mysql) \
+ $(use_with postgres pgsql)
+}
+
+src_compile() {
+ emake -C src
+}
+
+src_install() {
+ local f
+
+ dodoc README README.DEV CREDITS BUGS TODO UPDATE version-history.txt
+ docinto docs
+ dodoc docs/*
+
+ emake -C src DESTDIR="${D}" install
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins "${WORKDIR}/${SUPPORTP}/"*
+
+ # GAMES_USER_DED here instead of GAMES_USER (bug #65423)
+ for f in bnetd d2cs d2dbs ; do
+ newinitd "${FILESDIR}/${PN}.rc" ${f}
+ sed -i \
+ -e "s:NAME:${f}:g" \
+ -e "s:GAMES_BINDIR:${GAMES_BINDIR}:g" \
+ -e "s:GAMES_USER:${GAMES_USER_DED}:g" \
+ -e "s:GAMES_GROUP:${GAMES_GROUP}:g" \
+ "${D}/etc/games/${PN}/${f}.conf" \
+ "${D}/etc/init.d/${f}" || die
+ done
+
+ keepdir $(find "${D}${GAMES_STATEDIR}"/${PN} -type d -printf "${GAMES_STATEDIR}/${PN}/%P ") "${GAMES_STATEDIR}"/${PN}/log
+ prepgamesdirs
+
+ chown -R ${GAMES_USER_DED}:${GAMES_GROUP} "${D}${GAMES_STATEDIR}/${PN}"
+ fperms 0775 "${GAMES_STATEDIR}/${PN}/log"
+ fperms 0770 "${GAMES_STATEDIR}/${PN}"
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ elog "If this is a first installation you need to configure the package by"
+ elog "editing the configuration files provided in ${GAMES_SYSCONFDIR}/${PN}"
+ elog "Also you should read the documentation in /usr/share/docs/${PF}"
+ elog
+ elog "If you are upgrading you MUST read UPDATE in /usr/share/docs/${PF}"
+ elog "and update your configuration accordingly."
+ if use mysql ; then
+ elog
+ elog "You have enabled MySQL storage support. You will need to edit"
+ elog "bnetd.conf to use it. Read README.storage from the docs directory."
+ fi
+ if use postgres ; then
+ elog
+ elog "You have enabled PostgreSQL storage support. You will need to edit"
+ elog "bnetd.conf to use it. Read README.storage from the docs directory."
+ fi
+}