diff options
43 files changed, 0 insertions, 2605 deletions
diff --git a/app-benchmarks/phoronix-test-suite/Manifest b/app-benchmarks/phoronix-test-suite/Manifest deleted file mode 100644 index 19220ac..0000000 --- a/app-benchmarks/phoronix-test-suite/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -AUX phoronix-test-suite-3.6.1-lspci.patch 1552 RMD160 227642f825f8ffb97fad2c3909abc68409e7c60a SHA1 ae866246a002242a75badce244bc82173c4e0adb SHA256 bc990c892c380ad98a7442faccce1d0a5d1ddb047a868be47b32d8c9d3289ff7 -AUX phoronix-test-suite-3.8.0-lspci.patch 1548 RMD160 78f03b2bc4a39bbed01222c8bfa14ac2b6781556 SHA1 e8890dd73a3dd1d3ae43116566b83a9e0971650b SHA256 e8f047a83adff404f690f747e302b5e500e0152be13cd5e7c16bbe3384169c44 -DIST phoronix-test-suite-3.4.0.tar.gz 418224 RMD160 858605ba618cb8c721b68a142db70d9a298ab6d7 SHA1 10be51fc45c077fd73193a8f4bd6c850a9198f84 SHA256 112f394f2bc4b9ea6d472957300d3141fbbf7fd982bc4024597aff941e6d7c03 -DIST phoronix-test-suite-3.6.0.tar.gz 431651 RMD160 a8e471a2cad502d89f589de7133ca75fb8bc812b SHA1 4189327380cca588fa469dbb635fab7f1b570038 SHA256 a4ea566e3da36bbcaaf10f1fa3ca21f4089ff961c2ff9b58816236801338aa90 -DIST phoronix-test-suite-3.6.1.tar.gz 432754 RMD160 3b6ccc9034f0b47c569fa7fec2740293cadfa0ea SHA1 c704f053cdd45e34a9ea912ef426f92e441d3dde SHA256 a394ae9529ed1ae37e6c8d0ee0092110c199ab6067c2c61dbb3233525377b738 -DIST phoronix-test-suite-3.8.0.tar.gz 471257 RMD160 36db910990c92f1991481f2d597447b323008133 SHA1 15fd8e5b24e3c990843f989f8580d93ec9a87404 SHA256 951ed041dcf06178b4eb92535b4a6d5c97d62415c85af0feb04a0db3cbb342fb -EBUILD phoronix-test-suite-3.4.0.ebuild 3480 RMD160 21d6467dc0c0b26aea63d3f44fe5e0e8545e14e0 SHA1 e38df570d756a9892f79f38421e5f6223affafeb SHA256 88c6046bf862e36b3cae3b66ffa71eb729fe06af164062bfa3d8fc8e0a547eff -EBUILD phoronix-test-suite-3.6.0.ebuild 2242 RMD160 c8cb88f67f56ef7e4620e0bf3965d8539002ec3d SHA1 9f0586466c7dcf480a325a98f11c51ed08c4a401 SHA256 b01f234283940d443c239f67ed8184692f13f53fa69225f83a5bda3983350d95 -EBUILD phoronix-test-suite-3.6.1.ebuild 2281 RMD160 07424d10c6eb58497b0c04af9356b416cc523c22 SHA1 16078cc1fffe716c3594620d1d8b539469fcdbc2 SHA256 5579bcfcee4084a6f3c3e6c9cd3feb6e53432fb3d625732030c0471f5194480d -EBUILD phoronix-test-suite-3.8.0.ebuild 2281 RMD160 07424d10c6eb58497b0c04af9356b416cc523c22 SHA1 16078cc1fffe716c3594620d1d8b539469fcdbc2 SHA256 5579bcfcee4084a6f3c3e6c9cd3feb6e53432fb3d625732030c0471f5194480d -MISC metadata.xml 783 RMD160 8b282ed79507ed65205c1374665c292d08e19243 SHA1 ac8c56cddd4c68e7d639a566aa758549bbc2fd2f SHA256 6067a77bc4ffa158a5d3444b84ce21f0c3f3490afc19fcafc4e553c38bb372e6 diff --git a/app-benchmarks/phoronix-test-suite/files/phoronix-test-suite-3.6.1-lspci.patch b/app-benchmarks/phoronix-test-suite/files/phoronix-test-suite-3.6.1-lspci.patch deleted file mode 100644 index 74deee8..0000000 --- a/app-benchmarks/phoronix-test-suite/files/phoronix-test-suite-3.6.1-lspci.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Npur phoronix-test-suite.old/pts-core/objects/phodevi/components/phodevi_motherboard.php phoronix-test-suite/pts-core/objects/phodevi/components/phodevi_motherboard.php ---- phoronix-test-suite.old/pts-core/objects/phodevi/components/phodevi_motherboard.php 2012-01-08 16:27:36.731691743 +0100 -+++ phoronix-test-suite/pts-core/objects/phodevi/components/phodevi_motherboard.php 2012-01-08 16:28:37.654689437 +0100 -@@ -94,7 +94,7 @@ class phodevi_motherboard extends phodev - - if(phodevi::is_linux()) - { -- $lspci = shell_exec('lspci -mmkvnn 2> /dev/null'); -+ $lspci = shell_exec('/usr/sbin/lspci -mmkvnn 2> /dev/null'); - $lspci = explode("\n\n", $lspci); - - foreach($lspci as $o => &$lspci_section) -diff -Npur phoronix-test-suite.old/pts-core/objects/pts_client.php phoronix-test-suite/pts-core/objects/pts_client.php ---- phoronix-test-suite.old/pts-core/objects/pts_client.php 2012-01-08 16:27:36.729691744 +0100 -+++ phoronix-test-suite/pts-core/objects/pts_client.php 2012-01-08 16:36:51.906670711 +0100 -@@ -1446,7 +1446,7 @@ class pts_client - - if(!isset($cache[$executable])) - { -- $paths = pts_strings::trim_explode((phodevi::is_windows() ? ';' : ':'), (($path = pts_client::read_env('PATH')) == false ? '/usr/bin:/usr/local/bin' : $path)); -+ $paths = pts_strings::trim_explode((phodevi::is_windows() ? ';' : ':'), (($path = pts_client::read_env('PATH')) == false ? '/usr/bin:/usr/local/bin:/usr/sbin/:/usr/local/sbin' : $path . ":/usr/sbin:/usr/local/sbin")); - $executable_path = false; - - foreach($paths as $path) diff --git a/app-benchmarks/phoronix-test-suite/files/phoronix-test-suite-3.8.0-lspci.patch b/app-benchmarks/phoronix-test-suite/files/phoronix-test-suite-3.8.0-lspci.patch deleted file mode 100644 index 57d0519..0000000 --- a/app-benchmarks/phoronix-test-suite/files/phoronix-test-suite-3.8.0-lspci.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Npur phoronix-test-suite.old/pts-core/objects/client/pts_client.php phoronix-test-suite/pts-core/objects/client/pts_client.php ---- phoronix-test-suite.old/pts-core/objects/client/pts_client.php 2012-03-19 20:33:50.295945153 +0100 -+++ phoronix-test-suite/pts-core/objects/client/pts_client.php 2012-03-19 20:28:15.754944296 +0100 -@@ -1465,7 +1465,7 @@ class pts_client - - if(!isset($cache[$executable])) - { -- $paths = pts_strings::trim_explode((phodevi::is_windows() ? ';' : ':'), (($path = pts_client::read_env('PATH')) == false ? '/usr/bin:/usr/local/bin' : $path)); -+ $paths = pts_strings::trim_explode((phodevi::is_windows() ? ';' : ':'), (($path = pts_client::read_env('PATH')) == false ? '/usr/bin:/usr/local/bin:/usr/sbin:/usr/local/sbin' : $path)); - $executable_path = false; - - foreach($paths as $path) -diff -Npur phoronix-test-suite.old/pts-core/objects/phodevi/components/phodevi_motherboard.php phoronix-test-suite/pts-core/objects/phodevi/components/phodevi_motherboard.php ---- phoronix-test-suite.old/pts-core/objects/phodevi/components/phodevi_motherboard.php 2012-03-19 20:39:27.944946015 +0100 -+++ phoronix-test-suite/pts-core/objects/phodevi/components/phodevi_motherboard.php 2012-03-19 20:19:07.655942903 +0100 -@@ -93,7 +93,7 @@ class phodevi_motherboard extends phodev - - if(phodevi::is_linux()) - { -- $lspci = shell_exec('lspci -mmkvnn 2> /dev/null'); -+ $lspci = shell_exec('/usr/sbin/lspci -mmkvnn 2> /dev/null'); - $lspci = explode("\n\n", $lspci); - - foreach($lspci as $o => &$lspci_section) diff --git a/app-benchmarks/phoronix-test-suite/metadata.xml b/app-benchmarks/phoronix-test-suite/metadata.xml deleted file mode 100644 index bd5cdda..0000000 --- a/app-benchmarks/phoronix-test-suite/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>benchmarks</herd> - <maintainer> - <email>anthoine.bourgeois@gmail.com</email> - <name>Anthoine Bourgeois</name> - <description>aluco's overlay maintainer</description> - </maintainer> - <maintainer> - <email>patrick@gentoo.org</email> - <name>Patrick Lauer</name> - </maintainer> - <longdescription> - The Phoronix Test Suite is a comprehensive testing and benchmarking - platform available that provides an extensible framework for which new - tests can be easily added. The software is designed to effectively carry - out both qualitative and quantitative benchmarks in a clean, - reproducible, and easy-to-use manner. - </longdescription> -</pkgmetadata> diff --git a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.4.0.ebuild b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.4.0.ebuild deleted file mode 100644 index f41bd49..0000000 --- a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.4.0.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit eutils bash-completion-r1 - -DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite" -HOMEPAGE="http://www.phoronix-test-suite.com" -SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" - -# php 5.3 doesn't have pcre and reflection useflags anymore -RDEPEND="dev-lang/php:5.3[cli,curl,gd,posix,pcntl,truetype,zip] - dev-php5/pecl-ps" - -S="${WORKDIR}/${PN}" - -src_prepare() { - sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \ - phoronix-test-suite -} - -src_configure() { - : -} - -src_compile() { - : -} - -src_install() { - dodir /usr/share/${PN} - insinto /usr/share/${PN} - - doman documentation/man-pages/phoronix-test-suite.1 - dodoc AUTHORS CHANGE-LOG - dohtml -r documentation/ - doicon pts-core/static/images/phoronix-test-suite.png - doicon pts-core/static/images/openbenchmarking.png - domenu pts-core/static/phoronix-test-suite.desktop - rm -f pts-core/static/phoronix-test-suite.desktop - - doins -r pts-core - exeinto /usr/bin - doexe phoronix-test-suite - - #fperms a+x /usr/share/${PN}/pts/test-resources/*/*.sh - #fperms a+x /usr/share/${PN}/pts/base-test-resources/*/*.sh - #fperms a+x /usr/share/${PN}/pts-core/modules/*.sh - #fperms a+x /usr/share/${PN}/pts-core/test-libraries/*.sh - fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh - fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh - - newbashcomp pts-core/static/bash_completion ${PN} - - # Need to fix the cli-php config for downloading to work. Very naughty! - local slots - local slot - if [[ "x${PHP_TARGETS}" == "x" ]] ; then - ewarn - ewarn "PHP_TARGETS seems empty, php.ini file can't be configure." - ewarn "Make sure that PHP_TARGETS in /etc/make.conf is set." - ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\"" - ewarn "for downloading to work properly." - ewarn - else - for slot in ${PHP_TARGETS}; do - slots+=" ${slot/-/.}" - done - fi - - for slot in ${slots}; do - local PHP_INI_FILE="/etc/php/cli-${slot}/php.ini" - if [[ -f ${PHP_INI_FILE} ]] ; then - dodir $(dirname ${PHP_INI_FILE}) - cp ${PHP_INI_FILE} "${D}${PHP_INI_FILE}" - sed -e 's|^allow_url_fopen .*|allow_url_fopen = On|g' -i "${D}${PHP_INI_FILE}" - else - if [[ "x$(eselect php show cli)" == "x${slot}" ]] ; then - ewarn - ewarn "${slot} hasn't a php.ini file." - ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\"" - ewarn "for downloading to work properly." - ewarn "Check that your PHP_INI_VERSION is set during ${slot} merge" - ewarn - else - elog - elog "${slot} hasn't a php.ini file." - elog "phoronix-test-suite may need the 'allow_url_fopen' option set to \"On\"" - elog "for downloading to work properly if you switch to ${slot}" - elog "Check that your PHP_INI_VERSION is set during ${slot} merge" - elog - fi - fi - done - - ewarn - ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all" - ewarn "your tests because" - ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/" - ewarn "moves to" - ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/" - ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in" - ewarn "pts-install.xml file." - ewarn -} diff --git a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.6.0.ebuild b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.6.0.ebuild deleted file mode 100644 index 1eb1b74..0000000 --- a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.6.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit eutils bash-completion-r1 - -DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite" -HOMEPAGE="http://www.phoronix-test-suite.com" -SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" - -# php 5.3 doesn't have pcre and reflection useflags anymore -RDEPEND="dev-lang/php:5.3[cli,curl,gd,posix,pcntl,truetype,zip] - dev-php/pecl-ps" - -S="${WORKDIR}/${PN}" - -src_prepare() { - sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \ - phoronix-test-suite -} - -src_configure() { - : -} - -src_compile() { - : -} - -src_install() { - dodir /usr/share/${PN} - insinto /usr/share/${PN} - - doman documentation/man-pages/phoronix-test-suite.1 - dodoc AUTHORS CHANGE-LOG - dohtml -r documentation/ - doicon pts-core/static/images/phoronix-test-suite.png - doicon pts-core/static/images/openbenchmarking.png - domenu pts-core/static/phoronix-test-suite.desktop - rm -f pts-core/static/phoronix-test-suite.desktop - - doins -r pts-core - exeinto /usr/bin - doexe phoronix-test-suite - - #fperms a+x /usr/share/${PN}/pts/test-resources/*/*.sh - #fperms a+x /usr/share/${PN}/pts/base-test-resources/*/*.sh - #fperms a+x /usr/share/${PN}/pts-core/modules/*.sh - #fperms a+x /usr/share/${PN}/pts-core/test-libraries/*.sh - fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh - fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh - - newbashcomp pts-core/static/bash_completion ${PN} - - ewarn - ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\"" - ewarn "in your /etc/php/cli-php5.*/php.ini for downloading to work properly." - ewarn - ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all" - ewarn "your tests because" - ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/" - ewarn "moves to" - ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/" - ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in" - ewarn "pts-install.xml file." - ewarn -} diff --git a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.6.1.ebuild b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.6.1.ebuild deleted file mode 100644 index 8caea0f..0000000 --- a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.6.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit eutils bash-completion-r1 - -DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite" -HOMEPAGE="http://www.phoronix-test-suite.com" -SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" - -# php 5.3 doesn't have pcre and reflection useflags anymore -RDEPEND="dev-lang/php:5.3[cli,curl,gd,posix,pcntl,truetype,zip] - dev-php/pecl-ps" - -S="${WORKDIR}/${PN}" - -src_prepare() { - sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \ - phoronix-test-suite - epatch "${FILESDIR}"/${P}-lspci.patch -} - -src_configure() { - : -} - -src_compile() { - : -} - -src_install() { - dodir /usr/share/${PN} - insinto /usr/share/${PN} - - doman documentation/man-pages/phoronix-test-suite.1 - dodoc AUTHORS CHANGE-LOG - dohtml -r documentation/ - doicon pts-core/static/images/phoronix-test-suite.png - doicon pts-core/static/images/openbenchmarking.png - domenu pts-core/static/phoronix-test-suite.desktop - rm -f pts-core/static/phoronix-test-suite.desktop - - doins -r pts-core - exeinto /usr/bin - doexe phoronix-test-suite - - #fperms a+x /usr/share/${PN}/pts/test-resources/*/*.sh - #fperms a+x /usr/share/${PN}/pts/base-test-resources/*/*.sh - #fperms a+x /usr/share/${PN}/pts-core/modules/*.sh - #fperms a+x /usr/share/${PN}/pts-core/test-libraries/*.sh - fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh - fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh - - newbashcomp pts-core/static/bash_completion ${PN} - - ewarn - ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\"" - ewarn "in your /etc/php/cli-php5.*/php.ini for downloading to work properly." - ewarn - ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all" - ewarn "your tests because" - ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/" - ewarn "moves to" - ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/" - ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in" - ewarn "pts-install.xml file." - ewarn -} diff --git a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.8.0.ebuild b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.8.0.ebuild deleted file mode 100644 index 8caea0f..0000000 --- a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.8.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -inherit eutils bash-completion-r1 - -DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite" -HOMEPAGE="http://www.phoronix-test-suite.com" -SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" - -# php 5.3 doesn't have pcre and reflection useflags anymore -RDEPEND="dev-lang/php:5.3[cli,curl,gd,posix,pcntl,truetype,zip] - dev-php/pecl-ps" - -S="${WORKDIR}/${PN}" - -src_prepare() { - sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \ - phoronix-test-suite - epatch "${FILESDIR}"/${P}-lspci.patch -} - -src_configure() { - : -} - -src_compile() { - : -} - -src_install() { - dodir /usr/share/${PN} - insinto /usr/share/${PN} - - doman documentation/man-pages/phoronix-test-suite.1 - dodoc AUTHORS CHANGE-LOG - dohtml -r documentation/ - doicon pts-core/static/images/phoronix-test-suite.png - doicon pts-core/static/images/openbenchmarking.png - domenu pts-core/static/phoronix-test-suite.desktop - rm -f pts-core/static/phoronix-test-suite.desktop - - doins -r pts-core - exeinto /usr/bin - doexe phoronix-test-suite - - #fperms a+x /usr/share/${PN}/pts/test-resources/*/*.sh - #fperms a+x /usr/share/${PN}/pts/base-test-resources/*/*.sh - #fperms a+x /usr/share/${PN}/pts-core/modules/*.sh - #fperms a+x /usr/share/${PN}/pts-core/test-libraries/*.sh - fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh - fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh - - newbashcomp pts-core/static/bash_completion ${PN} - - ewarn - ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\"" - ewarn "in your /etc/php/cli-php5.*/php.ini for downloading to work properly." - ewarn - ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all" - ewarn "your tests because" - ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/" - ewarn "moves to" - ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/" - ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in" - ewarn "pts-install.xml file." - ewarn -} diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest deleted file mode 100644 index 0a491da..0000000 --- a/app-misc/spacenavd/Manifest +++ /dev/null @@ -1,13 +0,0 @@ -AUX 99-space-navigator.rules-r1 604 SHA256 7b01eb002298b725c11a9fc0de421947ea2a1ceaf8b9e335c0012b468b6dada3 SHA512 11d6a1b267cf6116fd4cd4a7b4793702740510ff6fe7fe906b6b0d219d00d62b8a325b6761747491ad3c9a6d83acde291dc8b1fde35f60d098a28abd7eea590c WHIRLPOOL 7aab3abbaa081fb98f0ffed4265f2174a47b499ea5db8df0335836df3bfb70ebceccc225ed3de3ba2d641d0144dc8c8152ba54db985d2d511d62f554396fcbad -AUX spacenavd-0.5-custom-flags.patch 2008 SHA256 78c8aebbd33f0c135501e6dea132c4f6edd9068bfddf741bfc8fe11d5269f546 SHA512 547d9f3098846901418acb71be996cec39bf18616e4a7eee5fc09bc201bfb2a534ff70f38d515b0f6c685330d002ea277c03b448ba70de4a3df65e6286780174 WHIRLPOOL da8e4d838d91e8334b7adb16751e928193ac27dde496d2304a9fa4f9412f70791ff2df785ee0662dde805ff813f7e17f83291671629f54e704544725e6dd9466 -AUX spacenavd-0.5-destdir.patch 649 SHA256 df58f5006d3b1be15a40182ca91ea964d62572a6e0a47b05c037958674db5366 SHA512 4330ae7b49e661a60f01931716f9924c01cade4e169b3de48ec08039099ce10c6dfe5c8df9a3b01c1890ccb83b3c92d45ea06f5fd9465c3f1514902cc375e1f0 WHIRLPOOL d90f63eb471509eae6cc3bd4e28e08f56882ae8e8a04b5867b75afba271c938da424d7625ead6166bfdfd31039cc482ccef53748bb055260bf2de9088dec59e9 -AUX spacenavd-0.5-no-x11.patch 388 SHA256 1c4a16f41176da31e61cb4a0984d4d3b158d334e598325c2eda9e8f6ab6ef933 SHA512 d6cb2d6337b3e19ef56f5e0ccbfdc731b038009df852b3d1f7272001aa18e70a1701c3af2d1b4976cac7392a6176c0f4cee787d2c9b4b96ba029d1cc0db3d7ae WHIRLPOOL 7ea4516dc404900377d44dc056b2056b32c066759ebdf3363fc43379069d90b4eaecc32f3156173a9a030b1bc392c7665d33b11749fc05bec50a781b5c1f94ef -AUX spacenavd-0.6-custom-flags.patch 539 SHA256 1b85dcb6b1cb8b756590af476d7cab1cb74dd4d09b4c15079424112aa64dec10 SHA512 32cc9d9d36cbd47573feb445153efa538239780a4ae910d75d6cac77b86332bc8e2d8773c28fd74fec89f9cb2173eb3a5926909c58ea9bad757d2e7926dd45b5 WHIRLPOOL 297d63246accf173a351692c06e699ddfa59c39fb5a735bb8634f00faf955d8ad6606713fecd458af98d770f338127bc5a1879f9a31d9874bc711cf4efd5c33c -AUX spacenavd-0.6-debug.patch 341 SHA256 179f4ccd9d997a00cb3df4d2f68782ad8873c3c98ed886b811f0497a6fbc1ef8 SHA512 11ce1f74733bdd6a70f600e8c8ba8be5a795ccccdc3b1d389008cdb0dc6d8505ee0719531ac47f2fea2cada5048aede6039e5cc5d10d470052b2655398b13d64 WHIRLPOOL e532832790c1aa3b59ea7f7bacc52b004a9cef0658691cb4353555240b87152b64dfb960fae4788caee3d97b41576742dd55bda5bda32ae01f9c1acffd1bc5b0 -AUX spacenavd.service 143 SHA256 d6e8831b5fc37da1fa14ea4ae7568cec1c0964bb080c3217cbd78df1a279f349 SHA512 1f2fd8bf2bdffe3e52f5e2e53e0643e0d5ad5134bfd636ebc2c98f397da5c87bca3582fd76f9e987fb6ed3d17130196f4eee193998f97e388dc04877277c04d5 WHIRLPOOL 62804c40afc19a2fba63ee5f98441b90b765c09b710a58802749e015870e491f714c9cd0b4d51afd47b79a32c7798a0c43e03cdffb6edbbb39417194886375c1 -AUX spnavd 579 SHA256 2ad811c9c2de7ffa054e22a3d1a8c597b0a1cdc9fda719a7cc94a4fd8ca7ad42 SHA512 9088928719172ac114d86cfdde0bd3c435fec51538334b8f8beaa7945848fcb89373577b1daaa446f43c01f3f9e3d6e03cdea53d153530a8f8508552e14b8fa9 WHIRLPOOL 45e40c8a59013a6f24e466ebaac60126113e85dee89c719a4df496c9da0f45ecc2d4aa17ce828618fb043e8d5b1bb1007043cade553e98ce08741c8beafc53dd -DIST spacenavd-0.5.tar.gz 41746 SHA256 0eecc5b5ad47ee6376d1521f2bc7c8f8fc02904cf3fede3f77e59f4795b592e3 SHA512 908f598e4ba5febbc1191cc32cd444817acd40c22e79b1f139c50787e1e25d4cd8328dc3fd6d9dde09bb80232b52f0e75ae429fb3345eb51fbe5a47577b038e2 WHIRLPOOL e2cf70c7e9cc4b8e32b15ab79dae565c8c2a4bc32a6485a0a1857ea4d4667859ac0bb82e32cd54b722d51c34b9ea094fe8bcb1459a9f60077bde8a01207ab910 -DIST spacenavd-0.6.tar.gz 54730 SHA256 c2d203bf96c5a959590146a43fe5d6e5e8c5c38a8b2f55aa199d967d0d88d0ab SHA512 ff039e169805365ce8c1df1258eda6d263a0724c087b22a9e78269629455580817027d936e6bb7014b7654f48aa23232e8059585175003034e4bd3e0d6ed8200 WHIRLPOOL 2f7ff91302c9970d54c7983e7e3ee75d2254d2a8640d701e1449f9a31dfab0937c811491acfdf15356ebfe4914462468031090954c28ffab59a30068a60f19cf -EBUILD spacenavd-0.5-r6.ebuild 2457 SHA256 fb7fcee31236de09edd0c35f45113b6f47709e26715a2d7389487404bbe7d1ca SHA512 e160af9cc7150dffc83fa049cfd25003d054110d14e243311d18c1ed521b02f975eebb427a5afa82c6071b365a3da3e63a67ec2ca2d0a84f13662ae58ed7f1e2 WHIRLPOOL a8b02126007bd5227e3d6e273d9529279912ab611ed543bc95321a8b11122b9ab49088888d06d7c717e12571bcf1b147ebe6a81ed70b13a3981862257f276f87 -EBUILD spacenavd-0.6.ebuild 2401 SHA256 27c6012d4c4ca88236d8cadfa1ec3dbc850b09dd30514db4d8398f5580c21650 SHA512 4b7c1d955309d63d113b7dea2e245e20359e17de7025f90451be44c9d88b43f7105ae9d7298a27d3e1646e64c1d9080e1df8b5e00013ce7a99328f18ae688463 WHIRLPOOL d76a4db5eb3a8d033911dae0b41c72db02b1c9fef95754c940d839515e591c7bf1fdeebed98e3a0ea4cd5af25c68649538f5b44508d3513fecb1cd3d779d0555 -MISC metadata.xml 853 SHA256 ce9a9943bd9e35ed71fbb9d2d40b42c1e7331b2bde217e4fc7b25e7972541e31 SHA512 7bb805662eebb527d733641385f33ebd2f5a7680e3911b77bc3f324ab760930d34b2f97f245901d99f63bd180d987e4d28d6116c15f18bc0899500ee07361d39 WHIRLPOOL 0fa61f2aa608d8b5aaabc5ed27558084907330e86d85258b1e359ab0a7b58231e5ae861dc3af17f30a073f42b0b2060530a7056747d6e9e162373feae28ce9ef diff --git a/app-misc/spacenavd/files/99-space-navigator.rules-r1 b/app-misc/spacenavd/files/99-space-navigator.rules-r1 deleted file mode 100644 index 793d432..0000000 --- a/app-misc/spacenavd/files/99-space-navigator.rules-r1 +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/files/99-space-navigator.rules-r1,v 1.1 2014/03/30 09:53:03 pacho Exp $ - -# Start daemon on insertion of a SpaceNavigator device -SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="Space Navigator", RUN+="/etc/init.d/spacenavd --quiet start" -SUBSYSTEM=="usb", ACTION=="add", ATTRS{manufacturer}=="3Dconnexion", ATTRS{product}=="SpaceNavigator", TAG+="systemd", ENV{SYSTEMD_WANTS}+="spacenavd.service" diff --git a/app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch b/app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch deleted file mode 100644 index 3b834a4..0000000 --- a/app-misc/spacenavd/files/spacenavd-0.5-custom-flags.patch +++ /dev/null @@ -1,67 +0,0 @@ -diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in ---- spacenavd-0.5.orig/Makefile.in 2012-01-31 22:22:20.460368687 +0100 -+++ spacenavd-0.5/Makefile.in 2012-01-31 22:23:18.170367675 +0100 -@@ -6,8 +6,8 @@ ctl = spnavd_ctl - - CC = gcc - INSTALL = install --CFLAGS = -pedantic -Wall $(dbg) $(opt) -fno-strict-aliasing -I$(srcdir)/src --LDFLAGS = $(xlib) -+CFLAGS = $(opt) -fno-strict-aliasing -I$(srcdir)/src -+LDFLAGS = $(ldopt) $(xlib) - - $(bin): $(obj) - $(CC) -o $@ $(obj) $(LDFLAGS) -diff -Npur spacenavd-0.5.orig/configure spacenavd-0.5/configure ---- spacenavd-0.5.orig/configure 2012-01-31 22:22:20.460368687 +0100 -+++ spacenavd-0.5/configure 2012-01-31 22:22:49.257368187 +0100 -@@ -28,6 +28,7 @@ test_kver() { - - PREFIX=/usr/local - OPT=yes -+LDOPT=yes - DBG=yes - X11=yes - HOTPLUG=yes -@@ -70,6 +71,11 @@ for arg; do - --disable-opt) - OPT=no;; - -+ --enable-ldopt) -+ LDOPT=yes;; -+ --disable-ldopt) -+ LDOPT=no;; -+ - --enable-debug) - DBG=yes;; - --disable-debug) -@@ -95,6 +101,8 @@ for arg; do - echo ' --disable-hotplug: disable hotplug, fallback to polling for the device' - echo ' --enable-opt: enable speed optimizations (default)' - echo ' --disable-opt: disable speed optimizations' -+ echo ' --enable-ldopt: enable link optimizations (default)' -+ echo ' --disable-ldopt: disable link optimizations' - echo ' --enable-debug: include debugging symbols (default)' - echo ' --disable-debug: do not include debugging symbols' - echo 'all invalid options are silently ignored' -@@ -105,6 +113,7 @@ done - - echo " prefix: $PREFIX" - echo " optimize for speed: $OPT" -+echo " optimize link: $LDOPT" - echo " include debugging symbols: $DBG" - echo " x11 communication method: $X11" - echo " use hotplug: $HOTPLUG" -@@ -128,7 +137,11 @@ if [ "$DBG" = 'yes' ]; then - fi - - if [ "$OPT" = 'yes' ]; then -- echo 'opt = -O3' >>Makefile -+ echo "opt = ${CFLAGS:--O3}" >>Makefile -+fi -+ -+if [ "$LDOPT" = 'yes' ]; then -+ echo "ldopt = ${LDFLAGS}" >>Makefile - fi - - if [ "$X11" = 'yes' ]; then diff --git a/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch b/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch deleted file mode 100644 index 5b23722..0000000 --- a/app-misc/spacenavd/files/spacenavd-0.5-destdir.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Npur spacenavd-0.5.orig/Makefile.in spacenavd-0.5/Makefile.in ---- spacenavd-0.5.orig/Makefile.in 2011-11-16 21:43:53.210859753 +0100 -+++ spacenavd-0.5/Makefile.in 2011-11-16 21:45:36.386857932 +0100 -@@ -24,9 +24,9 @@ clean: - - .PHONY: install - install: $(bin) -- $(INSTALL) -d $(PREFIX)/bin -- $(INSTALL) -m 755 $(bin) $(PREFIX)/bin/$(bin) -- $(INSTALL) -m 755 $(srcdir)/$(ctl) $(PREFIX)/bin/$(ctl) -+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin -+ $(INSTALL) -m 755 $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin) -+ $(INSTALL) -m 755 $(srcdir)/$(ctl) $(DESTDIR)$(PREFIX)/bin/$(ctl) - cd $(srcdir) && ./setup_init --no-install - - # [ -d /etc/hal/fdi/policy ] && \ diff --git a/app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch b/app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch deleted file mode 100644 index bbdd7d6..0000000 --- a/app-misc/spacenavd/files/spacenavd-0.5-no-x11.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Npur spacenavd-0.5.old/src/event.c spacenavd-0.5/src/event.c ---- src/event.c 2012-03-21 22:15:37.093401293 +0100 -+++ src/event.c 2012-03-21 22:14:10.734401301 +0100 -@@ -20,7 +20,9 @@ along with this program. If not, see <h - #include <stdlib.h> - #include "event.h" - #include "client.h" -+#ifdef USE_X11 - #include "proto_x11.h" -+#endif - #include "proto_unix.h" - #include "spnavd.h" - diff --git a/app-misc/spacenavd/files/spacenavd-0.6-custom-flags.patch b/app-misc/spacenavd/files/spacenavd-0.6-custom-flags.patch deleted file mode 100644 index 1b61f1a..0000000 --- a/app-misc/spacenavd/files/spacenavd-0.6-custom-flags.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Npur spacenavd-0.6.orig/Makefile.in spacenavd-0.6/Makefile.in ---- spacenavd-0.6.orig/Makefile.in 2017-01-14 17:01:33.194550674 +0100 -+++ spacenavd-0.6/Makefile.in 2017-01-14 17:01:55.046552564 +0100 -@@ -7,7 +7,7 @@ ctl = spnavd_ctl - - CC = gcc - INSTALL = install --CFLAGS = -pedantic -Wall $(dbg) $(opt) -fno-strict-aliasing -I$(srcdir)/src -I/usr/local/include $(add_cflags) -+CFLAGS = $(dbg) -fno-strict-aliasing -I$(srcdir)/src -I/usr/local/include $(add_cflags) - LDFLAGS = -L/usr/local/lib $(xlib) $(add_ldflags) - - $(bin): $(obj) diff --git a/app-misc/spacenavd/files/spacenavd-0.6-debug.patch b/app-misc/spacenavd/files/spacenavd-0.6-debug.patch deleted file mode 100644 index 8a7fac1..0000000 --- a/app-misc/spacenavd/files/spacenavd-0.6-debug.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Npur spacenavd-0.6.orig/configure spacenavd-0.6/configure ---- spacenavd-0.6.orig/configure 2017-01-14 17:20:54.724651168 +0100 -+++ spacenavd-0.6/configure 2017-01-14 17:21:06.952652226 +0100 -@@ -36,7 +36,7 @@ check_header() { - - PREFIX=/usr/local - OPT=yes --DBG=yes -+DBG=no - X11=yes - HOTPLUG=yes - VER=`head -1 README | sed 's/^.*- //'` diff --git a/app-misc/spacenavd/files/spacenavd.service b/app-misc/spacenavd/files/spacenavd.service deleted file mode 100644 index b9b14d8..0000000 --- a/app-misc/spacenavd/files/spacenavd.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=3Dconnexion Input Devices Userspace Driver - -[Service] -ExecStart=/usr/bin/spacenavd -d - -[Install] -WantedBy=multi-user.target diff --git a/app-misc/spacenavd/files/spnavd b/app-misc/spacenavd/files/spnavd deleted file mode 100644 index 383a2ad..0000000 --- a/app-misc/spacenavd/files/spnavd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -depend() { - need localmount - after bootmisc -} - -start() { - ebegin "Starting Spacenav system daemon" - - start-stop-daemon --start --pidfile /var/run/spnavd.pid --exec /usr/bin/spacenavd - eend $? -} - -stop() { - local retval - - ebegin "Stopping Spacenav system daemon" - - start-stop-daemon --stop --pidfile /var/run/spnavd.pid - retval=$? - - eend ${retval} - return ${retval} -} diff --git a/app-misc/spacenavd/metadata.xml b/app-misc/spacenavd/metadata.xml deleted file mode 100644 index 07f8545..0000000 --- a/app-misc/spacenavd/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>proxy-maintainers</herd> - <maintainer> - <email>anthoine.bourgeois@gmail.com</email> - <name>Anthoine Bourgeois</name> - </maintainer> - <maintainer> - <email>sping@gentoo.org</email> - <name>Sebastian Pipping</name> - </maintainer> - <longdescription> - The spacenavd daemon can be used directly as a drop-in replacement - to the 3DxWare daemon. It can communicate with the official magellan - SDK, and thus any program compiled with it can work with spacenavd - transparently without any change or need of recompilation. - Also, spacenavd provides an alternative communication protocol, for - programs that use libspnav, that doesn't require an X server, as the - original protocol does. - </longdescription> -</pkgmetadata> diff --git a/app-misc/spacenavd/spacenavd-0.5-r6.ebuild b/app-misc/spacenavd/spacenavd-0.5-r6.ebuild deleted file mode 100644 index ad4382e..0000000 --- a/app-misc/spacenavd/spacenavd-0.5-r6.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r5.ebuild,v 1.1 2014/03/30 09:53:03 pacho Exp $ - -EAPI="4" - -inherit eutils linux-info systemd toolchain-funcs udev - -MY_PN='spacenav' -DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon." -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="X" - -RDEPEND="X? ( x11-apps/xdpyinfo )" -DEPEND="${RDEPEND}" - -pkg_setup() { - CONFIG_CHECK="~INPUT_EVDEV" - ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly" - check_extra_config -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-destdir.patch - epatch "${FILESDIR}"/${P}-custom-flags.patch - epatch "${FILESDIR}"/${P}-no-x11.patch -} - -src_configure() { - econf \ - --enable-opt --enable-ldopt \ - $(use_enable X x11) -} - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_install() { - # Config file - insinto /etc - newins "${S}/doc/example-spnavrc" spnavrc.sample - - # Init script - newinitd "${FILESDIR}/spnavd" spacenavd - systemd_dounit "${FILESDIR}/spacenavd.service" - - # Install udev rule but leave activiation to the user - # since Xorg may be configured to grab the device already - insinto "$(udev_get_udevdir)/rules.d" - newins "${FILESDIR}"/99-space-navigator.rules-r1 99-space-navigator.rules.ignored - - # Daemon - dobin "${S}/spacenavd" - use X && dobin "${S}/spnavd_ctl" -} - -pkg_postinst() { - elog "To start the Spacenav daemon system-wide by default" - elog "you should add it to the default runlevel :" - elog "\`rc-update add spacenavd default\` (for openRC)" - elog "\`systemctl enable spacenavd\` (for systemd)" - elog - if use X; then - elog "To start generating Spacenav X events by default" - elog "you should add this command in your user startup" - elog "scripts such as .gnomerc or .xinitrc :" - elog "\`spnavd_ctl x11 start\`" - elog - fi - elog - elog "If you want to auto-start the daemon when you plug in" - elog "a SpaceNavigator device, activate the related udev rule :" - elog "\`sudo ln -s $(udev_get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`" - ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run" - ewarn "the new version of the daemon or \`systemctl restart spacenavd\`" - ewarn "if using systemd." -} diff --git a/app-misc/spacenavd/spacenavd-0.6.ebuild b/app-misc/spacenavd/spacenavd-0.6.ebuild deleted file mode 100644 index a523791..0000000 --- a/app-misc/spacenavd/spacenavd-0.6.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/spacenavd/spacenavd-0.5-r4.ebuild,v 1.6 2013/02/12 16:51:06 ago Exp $ - -EAPI="4" - -inherit eutils linux-info systemd toolchain-funcs udev - -MY_PN='spacenav' -DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon" -HOMEPAGE="http://spacenav.sourceforge.net/" -SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="X debug" - -RDEPEND="X? ( x11-apps/xdpyinfo )" -DEPEND="${RDEPEND}" - -pkg_setup() { - CONFIG_CHECK="~INPUT_EVDEV" - ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly" - check_extra_config -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-custom-flags.patch -} - -src_configure() { - econf \ - $(use_enable X x11) $(use_enable debug) -} - -src_compile() { - emake CC="$(tc-getCC)" \ - add_cflags="${CFLAGS}" add_ldflags="${LDFLAGS}" -} - -src_install() { - # Config file - insinto /etc - newins "${S}/doc/example-spnavrc" spnavrc.sample - - # Init script - newinitd "${FILESDIR}/spnavd" spacenavd - systemd_dounit "${FILESDIR}/spacenavd.service" - - # Install udev rule but leave activiation to the user - # since Xorg may be configured to grab the device already - insinto "$(get_udevdir)" - newins "${FILESDIR}"/99-space-navigator.rules-r1 99-space-navigator.rules.ignored - - # Daemon - dobin "${S}/spacenavd" - use X && dobin "${S}/spnavd_ctl" -} - -pkg_postinst() { - elog "To start the Spacenav daemon system-wide by default" - elog "you should add it to the default runlevel :" - elog "\`rc-update add spacenavd default\` (for openRC)" - elog "\`systemctl enable spacenavd\` (for systemd)" - elog - if use X; then - elog "To start generating Spacenav X events by default" - elog "you should add this command in your user startup" - elog "scripts such as .gnomerc or .xinitrc :" - elog "\`spnavd_ctl x11 start\`" - elog - fi - elog - elog "If you want to auto-start the daemon when you plug in" - elog "a SpaceNavigator device, activate the related udev rule :" - elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`" - ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run" - ewarn "the new version of the daemon or \`systemctl restart spacenavd\`" - ewarn "if using systemd." -} diff --git a/dev-util/radare2/Manifest b/dev-util/radare2/Manifest deleted file mode 100644 index 2e7d381..0000000 --- a/dev-util/radare2/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -DIST radare2-0.9.6.tar.xz 2072552 SHA256 91e8820ab7003de422cde777af681b0023d6b20253a81759df94578c514ae883 SHA512 bb65ae9ebfc30fcc41d9906f5951f394721a576cfc5bc0c758c12855e63f6fc09b19498ea1c96d1d41e65926cd7d0920cfd80013ceb8bedd09a84cc1858de7d8 WHIRLPOOL 081d8413149db503d4b76ac78f28d9905f28834167dbda0b0e605861426b30f4f25096492f6c883af7978ab9ed5e7325f8194ebec445399452a4aa4e4b266949 -DIST radare2-0.9.7.tar.xz 2190916 SHA256 f4e88398487b6a24b10219908a4a4f71899989787a00d954f61f87be97d54d07 SHA512 b3879bba89aa2f0892f7c45fd9b6e3a655f3dc7a1c01895cd4f56ca6f8e804a5ba63becbbec8edd7ebaec05aab794ad7985abb800ad6b7e6cce3ec4fbcc3b470 WHIRLPOOL 8a0c72ab3d0c9e144760adbf8a67572bc46805b140e7c3fcdfe422005cade950c65ea1bd3b0efd653c96c2bdde07002d82e90da35304fa8ffcd81ace75c61361 -DIST radare2-0.9.9.tar.xz 4318304 SHA256 024adba5255f12e58c2c1a5e2263fada75aad6e71b082461dea4a2b94b29df32 SHA512 6ea9396f59a5f61d7d433bc2eceb093526112c58114e2c7d83127d52442e376fbb4277d44447c252c9ba99d1ad1d966a06a6a0d5049660ef330029e2facb4cc9 WHIRLPOOL a349edaf1fea30117a13cb07f59f0798ab4c11fa13bf068a22a574a87b42fef0e695db3d87d42dc32c2e6658688887398e1ad8de85a5558c4b2116c81eebad67 -EBUILD radare2-0.9.6.ebuild 993 SHA256 4a7c0a2a826ec42df7c2072a08082ae3fca41bad8aa8e06c859231be460d2f42 SHA512 d6963073537b1fcf20799af3aaf7a02a1969816d2dabe9f673faf6db42ec20fd1d3bc83b49d06fb41074b3c8962176b7b5409592b3582efb4c580328f17e011f WHIRLPOOL 9c1299834ee46aee44dd46efba11e4bfbc5029244d7d40bb9a5a6a56297a848239a52127ab4d09f01c795491efbd9b72bbb87f63a5ac0dfebe4af373ccfa5a93 -EBUILD radare2-0.9.7.ebuild 894 SHA256 de627cacd8883150a5460ee5302a1e24a25206acde744385405d16ceceae149b SHA512 dab15589547596ace97b1cc89a476a82ef8383082f09489e2fc31063287c2a38b544b1404ea319747c09689321c6c060d2855d6a053256d186605594d65b2abf WHIRLPOOL 368f546259b766a619a99212e5eaa8134c4fac49e922e4f0ef092dd2536eee8cc2cc3f335b89654f24b63eea653b363b9b621727d743815fb9524ede593b959a -EBUILD radare2-0.9.9.ebuild 701 SHA256 22d1825ffd469720c21cdac57ea814b92271763f019a9d4b2627e62cb5a355ab SHA512 d5c1c45e9bde4e6d2c88ea2e707e61fc58f367fa8c862d22b3b4754d79d87dd2643cdf46fa779e71fc072850dbcc4b8f365e6b5193d165a5a39b76b387068e7a WHIRLPOOL d150b5ac78b1e138ee44dcd508b98f7e6f3b77f48b09c697626b0b4c6331e5138730bf8bd94b2000bfefebce54c1a1dc4d758413deb4d91bd22af0130091305f -MISC metadata.xml 1204 SHA256 39149db3f38b8fe0be9e46813470cce150cdd9a1446b9a9888b09adbbf057039 SHA512 209e5ecc89771ca803863759bbbddc1d8f38bc2c5b1408b033eee2284f6b074b40ca9904dc91f87b8db4b9ed4023e69e2d70c40ac71f773ade0eb5bc02e4fa33 WHIRLPOOL fc12a7286d6639e9e2b0de08394f7c8a808a8df389b31e578f3260d8e2d48f1c14e05e826c7db30daf3742878c5ed4356850b3434860520af3dc3c0345ba2ead diff --git a/dev-util/radare2/metadata.xml b/dev-util/radare2/metadata.xml deleted file mode 100644 index 1312eb8..0000000 --- a/dev-util/radare2/metadata.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>dev-tools</herd> - <maintainer> - <email>anthoine.bourgeois@gmail.com</email> - <name>Anthoine Bourgeois</name> - <description>aluco's overlay maintainer</description> - </maintainer> - <longdescription> - r2 is a rewrite from scratch of radare in order to provide a set of - libraries and tools to work with binary files. Radare project started - as a forensics tool, an scriptable commandline hexadecimal editor able - to open disk files, but later support for analyzing binaries, - disassembling code, debugging programs, attaching to remote gdb - servers, ... - </longdescription> - <use> - <flag name='ewf'> - Build the EWF (SMART and EnCase) image format dependency - </flag> - </use> - <use> - <flag name='debug'> - Enable extra debug codepaths, like asserts and extra output. If you - want to get meaningful backtraces see - http://www.gentoo.org/proj/en/qa/backtraces.xml - </flag> - </use> - <use> - <flag name='debugger'> - Build native debugger features - </flag> - </use> - <use> - <flag name='cparse'> - Build with cparse support - </flag> - </use> -</pkgmetadata> diff --git a/dev-util/radare2/radare2-0.9.6.ebuild b/dev-util/radare2/radare2-0.9.6.ebuild deleted file mode 100644 index 9c8138a..0000000 --- a/dev-util/radare2/radare2-0.9.6.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" -inherit base eutils - -DESCRIPTION="Advanced command line hexadecimal editor and more" -HOMEPAGE="http://www.radare.org" -SRC_URI="http://www.radare.org/get/radare2-${PV}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -#IUSE="cparse debugger sysmagic ewf ssl" -IUSE="cparse debugger ewf ssl" - -RDEPEND="ssl? ( dev-libs/openssl ) - ewf? ( app-forensics/libewf ) - " -#sysmagic? ( sys-libs/libmagic ) -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - myconf="" - use cparse && myconf="${myconf} $(use_enable cparse)" - use debugger || myconf="${myconf} $(use_enable debugger)" - #use sysmagic && myconf="${myconf} $(use_with sysmagic)" - use ewf || myconf="${myconf} $(use_with ewf)" - use ssl && myconf="${myconf} $(use_with ssl openssl)" - - econf ${myconf} -} - -src_install() { - emake DESTDIR="${D}" INSTALL_PROGRAM="install" install || die "install failed" -} diff --git a/dev-util/radare2/radare2-0.9.7.ebuild b/dev-util/radare2/radare2-0.9.7.ebuild deleted file mode 100644 index 5e6da17..0000000 --- a/dev-util/radare2/radare2-0.9.7.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -inherit base eutils - -DESCRIPTION="Advanced command line hexadecimal editor and more" -HOMEPAGE="http://www.radare.org" -SRC_URI="http://www.radare.org/get/radare2-${PV}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -#IUSE="cparse debugger ewf gmp ssl sysmagic zlib" -IUSE="cparse debugger ewf ssl" - -RDEPEND="ewf? ( app-forensics/libewf ) - ssl? ( dev-libs/openssl ) - " -#gmp? ( dev-libs/gmp ) -#sysmagic? ( sys-libs/libmagic ) -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - econf $(use ssl && echo --with-openssl) \ - $(use ewf || echo --without-ewf) \ - $(use cparse && echo --enable-cparse) \ - $(use debugger || echo --disable-debugger ) -} - -src_install() { - emake DESTDIR="${D}" INSTALL_PROGRAM="install" install || die "install failed" -} diff --git a/dev-util/radare2/radare2-0.9.9.ebuild b/dev-util/radare2/radare2-0.9.9.ebuild deleted file mode 100644 index 21f66f9..0000000 --- a/dev-util/radare2/radare2-0.9.9.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DESCRIPTION="Advanced command line hexadecimal editor and more" -HOMEPAGE="http://www.radare.org" -SRC_URI="http://www.radare.org/get/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -#IUSE="cparse debug debugger ssl sysmagic zlib" -IUSE="cparse debug debugger ssl" - -RDEPEND=">=dev-util/capstone-3.0 - ssl? ( dev-libs/openssl:= ) -" -#sysmagic? ( sys-libs/libmagic ) -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - econf $(use_with ssl openssl) \ - $(use_enable cparse) \ - $(use_enable debug) \ - $(use_enable debugger) \ - --with-syscapstone -} diff --git a/games-roguelike/moria/Manifest b/games-roguelike/moria/Manifest deleted file mode 100644 index fb07f50..0000000 --- a/games-roguelike/moria/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 5.6-fbsd.patch 7242 RMD160 90177ef6f656dc80cceedbf8e344362cabcdc1b8 SHA1 0886cb9f060bdefaee0751122294c6283bea48dd SHA256 79b103441adc5424c23a7ae190eb2d8718a3f7d8feb3ac8141c06ea7e43825d8 -AUX 5.6-gentoo-paths.patch 2859 RMD160 9af71f1a9cf9456c2564c23928a01e85bd8ba89f SHA1 297018e15d8f61862575696808e9b1bf586bd52f SHA256 4f9537b8edfc154862f38016a442609304b201dabe57e2cca835b05e97f466e9 -AUX 5.6-hours.patch 1375 RMD160 1e5a375e8f780c1db201f22838d1c700af139303 SHA1 b864edfd3b49eb165ef5de6565530cece37c6b78 SHA256 8a3e3919a152a5ea812c698b3444718133142705b5b78d3f30d0cbe9684f10c2 -DIST moria-extras.tar.bz2 57324 RMD160 1224849eeade7a2b7d1858abc6da816607e1bed1 SHA1 3216dace81698d2c4c0c79a878af2e85a1f220c5 SHA256 60f2a7d7bf8615a090cacafd17cf6fae8f9f0af78700439022e25014384b5076 -DIST moria_5.6.orig.tar.gz 663240 RMD160 8a716be9ba4ca2dcad40456bde94fbb04acda6fa SHA1 5188bac8f453aa8c17ca3bcb170430dd043324f3 SHA256 b9f3856221026445585e41e084894ec1dd880993f07cebc99e43d06c8f2d54ea -EBUILD moria-5.6.ebuild 2025 RMD160 c32d59636eba163bdb14735938d7b95fde1ea552 SHA1 1639c7ce784b4bc6b4bcb928f26facbc8bd84c3f SHA256 d91ddefecfc1cf2f25a5aaeb3c8c55f171688276ce525684d718f31224fb04a0 -MISC metadata.xml 1164 RMD160 2ec0683c552fb3937c5c73ad96a64c1b8c7c4a7d SHA1 6692a37f29ffebfd5fb578862bb6a8952ec0e395 SHA256 566da244e91d0fc93e05934a3e883d86c2c0dea3289682e71e326093c11be42a diff --git a/games-roguelike/moria/files/5.6-fbsd.patch b/games-roguelike/moria/files/5.6-fbsd.patch deleted file mode 100644 index 3d8f88f..0000000 --- a/games-roguelike/moria/files/5.6-fbsd.patch +++ /dev/null @@ -1,264 +0,0 @@ -diff -Npur moria-5.6.orig/source/death.c moria-5.6/source/death.c ---- moria-5.6.orig/source/death.c 2011-11-05 12:21:31.824290449 +0100 -+++ moria-5.6/source/death.c 2011-11-05 12:25:21.776290432 +0100 -@@ -111,6 +111,7 @@ off_t lseek(); - #endif - #endif - -+#ifndef __FreeBSD__ - #ifndef VMS - #ifndef MAC - #if defined(ultrix) || defined(USG) -@@ -118,6 +119,7 @@ void exit (); - #endif - #endif - #endif -+#endif - - #if defined(LINT_ARGS) - static void date(char *); -@@ -143,13 +145,13 @@ static void date(day) - char *day; - { - register char *tmp; --#ifdef MAC -+#if defined(MAC) || defined(__FreeBSD__) - time_t clockvar; - #else - long clockvar; - #endif - --#ifdef MAC -+#if defined(MAC) || defined(__FreeBSD__) - clockvar = time((time_t *) 0); - #else - clockvar = time((long *) 0); -diff -Npur moria-5.6.orig/source/io.c moria-5.6/source/io.c ---- moria-5.6.orig/source/io.c 2011-11-05 12:21:31.823290449 +0100 -+++ moria-5.6/source/io.c 2011-11-05 12:28:50.526290419 +0100 -@@ -22,6 +22,11 @@ - - #include "config.h" - -+#ifdef __FreeBSD__ -+#include <sys/ioctl_compat.h> -+#include <time.h> -+#endif -+ - #ifdef HPUX - #include <sys/bsdtty.h> - #endif -@@ -259,7 +264,9 @@ int suspend() - struct ltchars lcbuf; - struct tchars cbuf; - int lbuf; -+#ifndef __FreeBSD__ - long time(); -+#endif - - py.misc.male |= 2; - (void) ioctl(0, TIOCGETP, (char *)&tbuf); -@@ -327,7 +334,7 @@ void init_curses() - #endif - - /* PC curses returns ERR */ --#if defined(USG) && !defined(PC_CURSES) && !defined(AMIGA) -+#if (defined(USG) && !defined(PC_CURSES) && !defined(AMIGA)) || defined(__FreeBSD__) - if (initscr() == NULL) - #else - if (initscr() == ERR) -@@ -345,7 +352,7 @@ void init_curses() - #if defined(atarist) && defined(__GNUC__) - (void) signal (SIGTSTP, (__Sigfunc)suspend); - #else --#ifdef __386BSD__ -+#if defined(__386BSD__) || defined(__FreeBSD__) - (void) signal (SIGTSTP, (sig_t)suspend); - #else - #ifdef DEBIAN_LINUX -@@ -777,7 +784,7 @@ void shell_out() - msg_print("Fork failed. Try again."); - return; - } --#if defined(USG) || defined(__386BSD__) -+#if defined(USG) || defined(__386BSD__) || defined(__FreeBSD__) - (void) wait((int *) 0); - #else - (void) wait((union wait *) 0); -diff -Npur moria-5.6.orig/source/main.c moria-5.6/source/main.c ---- moria-5.6.orig/source/main.c 2011-11-05 12:21:31.825290449 +0100 -+++ moria-5.6/source/main.c 2011-11-05 12:23:19.611290441 +0100 -@@ -96,6 +96,7 @@ - #include <time.h> - #endif - -+#ifndef __FreeBSD__ - #ifndef VMS - #ifndef MAC - #ifndef GEMDOS -@@ -106,6 +107,9 @@ long time(); - char *getenv(); - #endif - #endif -+#else -+#include <stdlib.h> -+#endif - - #ifndef MAC - #ifndef AMIGA -@@ -368,7 +372,7 @@ char *argv[]; - else - { /* Create character */ - create_character(); --#ifdef MAC -+#if defined(MAC) || defined(__FreeBSD__) - birth_date = time ((time_t *)0); - #else - birth_date = time ((long *)0); -diff -Npur moria-5.6.orig/source/misc1.c moria-5.6/source/misc1.c ---- moria-5.6.orig/source/misc1.c 2011-11-05 12:21:31.825290449 +0100 -+++ moria-5.6/source/misc1.c 2011-11-05 12:31:23.686290407 +0100 -@@ -38,7 +38,7 @@ - #endif - #endif - --#if !defined(ATARIST_MWC) && !defined(MAC) && !defined(VMS) && !defined(AMIGA) -+#if !defined(ATARIST_MWC) && !defined(MAC) && !defined(VMS) && !defined(AMIGA) && !defined(__FreeBSD__) - long time(); - #endif - struct tm *localtime(); -@@ -55,7 +55,7 @@ int32u seed; - register int32u clock_var; - - if (seed == 0) --#ifdef MAC -+#if defined(MAC) || defined(__FreeBSD__) - clock_var = time((time_t *)0); - #else - clock_var = time((long *)0); -@@ -99,10 +99,14 @@ void reset_seed() - int check_time() - { - #ifdef MORIA_HOU -+#if defined(MAC) || defined(__FreeBSD__) -+ time_t clock_var; -+#else - long clock_var; -+#endif - register struct tm *tp; - --#ifdef MAC -+#if defined(MAC) || defined(__FreeBSD__) - clock_var = time((time_t *)0); - #else - clock_var = time((long *)0); -diff -Npur moria-5.6.orig/source/save.c moria-5.6/source/save.c ---- moria-5.6.orig/source/save.c 2011-11-05 12:21:31.823290449 +0100 -+++ moria-5.6/source/save.c 2011-11-05 12:34:57.052290391 +0100 -@@ -110,7 +110,7 @@ static void rd_monster(); - #endif - - #if !defined(ATARIST_MWC) --#ifdef MAC -+#if defined(MAC) || defined(__FreeBSD__) - #include <time.h> - #else - long time(); -@@ -339,7 +339,7 @@ static int sv_write() - } - - /* save the current time in the savefile */ --#ifdef MAC -+#if defined(MAC) || defined(__FreeBSD__) - l = time((time_t *)0); - #else - l = time((long *)0); -@@ -1037,7 +1037,7 @@ int *generate; - || (version_min == 2 && patch_level >= 2)) - rd_long ((int32u *)&birth_date); - else --#ifdef MAC -+#if defined(MAC) || defined(__FreeBSD__) - birth_date = time((time_t *)0); - #else - birth_date = time((long *)0); -@@ -1261,7 +1261,7 @@ scoreboard; it will not be scored again. - /* rotate store inventory, depending on how old the save file */ - /* is foreach day old (rounded up), call store_maint */ - /* calculate age in seconds */ --#ifdef MAC -+#if defined(MAC) || defined(__FreeBSD__) - start_time = time((time_t *)0); - #else - start_time = time((long *)0); -diff -Npur moria-5.6.orig/source/signals.c moria-5.6/source/signals.c ---- moria-5.6.orig/source/signals.c 2011-11-05 12:21:31.825290449 +0100 -+++ moria-5.6/source/signals.c 2011-11-05 12:37:30.794290382 +0100 -@@ -111,7 +111,7 @@ static int signal_count = 0; - - /*ARGSUSED*/ - #ifndef USG --#ifdef __386BSD__ -+#if defined(__386BSD__) || defined(__FreeBSD__) - static void signal_handler(sig, code, scp) - #else - static int signal_handler(sig, code, scp) -@@ -239,7 +239,7 @@ void signals() - #if defined(atarist) && defined(__GNUC__) - (void) MSIGNAL(SIGTSTP, (__Sigfunc)suspend); - #else --#ifdef __386BSD__ -+#if defined(__386BSD__) || defined(__FreeBSD__) - (void) MSIGNAL(SIGTSTP, (sig_t)suspend); - #else - (void) MSIGNAL(SIGTSTP, suspend); -diff -Npur moria-5.6.orig/source/types.h moria-5.6/source/types.h ---- moria-5.6.orig/source/types.h 2011-11-05 12:21:31.824290449 +0100 -+++ moria-5.6/source/types.h 2011-11-05 12:38:52.062290376 +0100 -@@ -33,6 +33,14 @@ typedef long int32; - typedef unsigned long int32u; - #endif - #else -+#ifdef __FreeBSD__ -+#include <sys/types.h> -+typedef u_int32_t int32u; -+typedef int32_t int32; -+typedef u_int16_t int16u; -+typedef int16_t int16; -+typedef u_int8_t int8u; -+#else - #include<stdint.h> - typedef uint_least8_t int8u; - typedef int_least16_t int16; -@@ -40,6 +48,7 @@ typedef uint_least16_t int16u; - typedef int_least32_t int32; - typedef uint_least32_t int32u; - #endif -+#endif - - /* some machines will not accept 'signed char' as a type, and some accept it - but still treat it like an unsigned character, let's just avoid it, -diff -Npur moria-5.6.orig/unix/unix.c moria-5.6/unix/unix.c ---- moria-5.6.orig/unix/unix.c 2011-11-05 12:21:31.822290449 +0100 -+++ moria-5.6/unix/unix.c 2011-11-05 12:39:58.586290375 +0100 -@@ -25,6 +25,10 @@ - /* defines TRUE and FALSE */ - #include <ncurses.h> - -+#ifdef __FreeBSD__ -+#include <unistd.h> -+#endif -+ - #include "config.h" - #include "constant.h" - #include "types.h" -@@ -289,7 +293,9 @@ int getuid(); - void user_name(buf) - char *buf; - { -+#ifndef __FreeBSD__ - extern char *getlogin(); -+#endif - struct passwd *pwline; - register char *p; - diff --git a/games-roguelike/moria/files/5.6-gentoo-paths.patch b/games-roguelike/moria/files/5.6-gentoo-paths.patch deleted file mode 100644 index d2b8c8d..0000000 --- a/games-roguelike/moria/files/5.6-gentoo-paths.patch +++ /dev/null @@ -1,58 +0,0 @@ -diff -Npur moria-5.6.orig/source/config.h moria-5.6/source/config.h ---- moria-5.6.orig/source/config.h 2011-11-05 14:53:49.313289807 +0100 -+++ moria-5.6/source/config.h 2011-11-05 14:53:56.419289806 +0100 -@@ -240,17 +240,17 @@ some of the system defines set up here. - - /* Generic UNIX */ - /* This must be unix; change file names as appropriate. */ --#define MORIA_SAV "moria-save" --#define MORIA_HOU "/home/dgrabiner/moria-5.6/files/hours" --#define MORIA_MOR "/home/dgrabiner/moria-5.6/files/news" --#define MORIA_GPL "/home/dgrabiner/moria-5.6/files/COPYING" --#define MORIA_TOP "/home/dgrabiner/moria-5.6/files/scores" --#define MORIA_HELP "/home/dgrabiner/moria-5.6/files/roglcmds.hlp" --#define MORIA_ORIG_HELP "/home/dgrabiner/moria-5.6/files/origcmds.hlp" --#define MORIA_WIZ_HELP "/home/dgrabiner/moria-5.6/files/rwizcmds.hlp" --#define MORIA_OWIZ_HELP "/home/dgrabiner/moria-5.6/files/owizcmds.hlp" --#define MORIA_WELCOME "/home/dgrabiner/moria-5.6/files/welcome.hlp" --#define MORIA_VER "/home/dgrabiner/moria-5.6/files/version.hlp" -+#define MORIA_SAV ".moria-save" -+#define MORIA_HOU "GENTOO_SYSCONFDIR/hours" -+#define MORIA_MOR "GENTOO_DATADIR/news" -+#define MORIA_GPL "GENTOO_DATADIR/COPYING" -+#define MORIA_TOP "GENTOO_STATEDIR/scores" -+#define MORIA_HELP "GENTOO_DATADIR/roglcmds.hlp" -+#define MORIA_ORIG_HELP "GENTOO_DATADIR/origcmds.hlp" -+#define MORIA_WIZ_HELP "GENTOO_DATADIR/rwizcmds.hlp" -+#define MORIA_OWIZ_HELP "GENTOO_DATADIR/owizcmds.hlp" -+#define MORIA_WELCOME "GENTOO_DATADIR/welcome.hlp" -+#define MORIA_VER "GENTOO_DATADIR/version.hlp" - - #endif - #endif -diff -Npur moria-5.6.orig/unix/Makefile moria-5.6/unix/Makefile ---- moria-5.6.orig/unix/Makefile 2011-11-05 14:53:49.310289807 +0100 -+++ moria-5.6/unix/Makefile 2011-11-05 14:54:22.482289805 +0100 -@@ -7,7 +7,7 @@ DESTDIR = - - - # BINDIR is the directory where the moria binary while be put --# LIBDIR is where the other files (score, news, hours) will be put -+# LIBDIR is where the other files (score) will be put - # LIBDIR must be the same directory defined in config.h - # Edited for Debian GNU/Linux: Next 4 lines are for the FHS - # Edited for Debian GNU/Linux: LIBDIR is retired -@@ -89,10 +89,10 @@ install: - # No longer chmod 755 $(LIBVARDIR) - (cd files; cp $(LIBSTATICFILES) $(LIBSTATICDIR)) - (cd $(LIBSTATICDIR); chmod 444 $(LIBSTATICFILES)) -- # No longer (cd $(LIBVARDIR); touch scores; chmod 664 scores) -+ (cd $(LIBVARDIR); touch scores; chmod 664 scores) - # No longer (cd $(LIBVARDIR); chown $(OWNER) . scores; chgrp $(GROUP) . scores) -- (cd files; cp hours $(ETCDIR)/moria-hours) -- chmod 644 $(ETCDIR)/moria-hours -+ (cd files; cp hours $(ETCDIR)/hours) -+ chmod 644 $(ETCDIR)/hours - (cd $(LIBSTATICDIR); chown $(OWNER) $(LIBSTATICFILES)) - (cd $(LIBSTATICDIR); chgrp $(GROUP) $(LIBSTATICFILES)) - # If you are short on disk space, or aren't interested in debugging moria. diff --git a/games-roguelike/moria/files/5.6-hours.patch b/games-roguelike/moria/files/5.6-hours.patch deleted file mode 100644 index fd98932..0000000 --- a/games-roguelike/moria/files/5.6-hours.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Npur moria-5.6.orig/source/files.c moria-5.6/source/files.c ---- moria-5.6.orig/source/files.c 2011-11-05 12:21:31.823290449 +0100 -+++ moria-5.6/source/files.c 2011-11-05 12:44:34.703290350 +0100 -@@ -126,19 +126,19 @@ void read_times() - if (strlen(in_line) > 3) - { - if (!strncmp(in_line, "SUN:", 4)) -- (void) strcpy(days[0], in_line); -+ (void) snprintf(days[0], sizeof(days[0]), "%s", in_line); - else if (!strncmp(in_line, "MON:", 4)) -- (void) strcpy(days[1], in_line); -+ (void) snprintf(days[1], sizeof(days[0]), "%s", in_line); - else if (!strncmp(in_line, "TUE:", 4)) -- (void) strcpy(days[2], in_line); -+ (void) snprintf(days[2], sizeof(days[0]), "%s", in_line); - else if (!strncmp(in_line, "WED:", 4)) -- (void) strcpy(days[3], in_line); -+ (void) snprintf(days[3], sizeof(days[0]), "%s", in_line); - else if (!strncmp(in_line, "THU:", 4)) -- (void) strcpy(days[4], in_line); -+ (void) snprintf(days[4], sizeof(days[0]), "%s", in_line); - else if (!strncmp(in_line, "FRI:", 4)) -- (void) strcpy(days[5], in_line); -+ (void) snprintf(days[5], sizeof(days[0]), "%s", in_line); - else if (!strncmp(in_line, "SAT:", 4)) -- (void) strcpy(days[6], in_line); -+ (void) snprintf(days[6], sizeof(days[0]), "%s", in_line); - } - (void) fclose(file1); - } diff --git a/games-roguelike/moria/metadata.xml b/games-roguelike/moria/metadata.xml deleted file mode 100644 index 274a651..0000000 --- a/games-roguelike/moria/metadata.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>games</herd> - <maintainer> - <email>anthoine.bourgeois@gmail.com</email> - <name>Anthoine Bourgeois</name> - <description>aluco's overlay maintainer</description> - </maintainer> - <longdescription> - A single player roguelike game with a regenerating dungeon, moria is the - predecessor of angband with a full-screen, text-based, turn-based - interface. It features scrolling maps, and an infinite (constantly - regenerated) dungeon. - - Moria's dungeons are populated by monsters, some of which are inspired - by J.R.R. Tolkien's books. The goal of the game is to find and kill the - Balrog, whereupon the player is crowned King. Your player can be created - from a combination of 8 races (human, half-elf, elf, halfling, gnome, - dwarf, half-orc, half-troll) and 6 classes (warrior, mage, priest, - rogue, ranger, paladin), and is measured by 6 attributes (strength, - dexterity, intelligence, wisdom, constitution, and charisma). - - Despite the package name, this is actually Umoria (Unix moria). - </longdescription> -</pkgmetadata> diff --git a/games-roguelike/moria/moria-5.6.ebuild b/games-roguelike/moria/moria-5.6.ebuild deleted file mode 100644 index 6cf34fb..0000000 --- a/games-roguelike/moria/moria-5.6.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/moria/moria-5.5.2.ebuild,v 1.12 2010/05/05 20:28:21 mr_bones_ Exp $ - -EAPI=2 -inherit eutils toolchain-funcs games - -DESCRIPTION="Rogue-like D&D curses game similar to nethack (BUT BETTER)" -HOMEPAGE="http://remarque.org/~grabiner/moria.html" -SRC_URI="http://ftp.debian.org/debian/pool/main/m/moria/moria_5.6.orig.tar.gz - ftp://kane.evendata.net/pub/${PN}-extras.tar.bz2" - -LICENSE="Moria" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" -IUSE="" - -DEPEND=">=sys-libs/ncurses-5" -RDEPEND="${DEPENDS}" - -src_prepare() { - local f - - epatch \ - "${FILESDIR}"/${PV}-gentoo-paths.patch \ - "${FILESDIR}"/${PV}-fbsd.patch \ - "${FILESDIR}"/${PV}-hours.patch - - for f in source/* unix/* ; do - ln -s ${f} $(basename ${f}) - done - - sed -i \ - -e "s:David Grabiner <grabiner@alumni.princeton.edu>:root:" \ - -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ - -e "s:GENTOO_STATEDIR:${GAMES_STATEDIR}/${PN}:" \ - -e "s:GENTOO_SYSCONFDIR:${GAMES_SYSCONFDIR}/${PN}:" \ - config.h \ - || die "sed failed" - echo "#include <stdlib.h>" >> config.h - echo "#include <stdio.h>" >> config.h - sed -i \ - -e "/^LIBSTATICDIR =/s:=.*:=\$(DESTDIR)${GAMES_DATADIR}/${PN}:" \ - -e "/^BINDIR = /s:=.*:=\$(DESTDIR)${GAMES_BINDIR}:" \ - -e "/^ETCDIR = /s:=.*:=\$(DESTDIR)${GAMES_SYSCONFDIR}/${PN}:" \ - -e "/^LIBVARDIR = /s:=.*:=\$(DESTDIR)${GAMES_STATEDIR}/${PN}:" \ - -e "/^CFLAGS = /s:=.*:=${CFLAGS}:" \ - -e "/^OWNER = /s:=.*:=${GAMES_USER}:" \ - -e "/^GROUP = /s:=.*:=${GAMES_GROUP}:" \ - -e "/^CC = /s:=.*:=$(tc-getCC):" \ - -e '/^LFLAGS = /s:=.*:= $(LDFLAGS):' \ - Makefile \ - || die "sed failed" - mv doc/moria.6 "${S}" || die "mv failed" -} - -src_install() { - dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}/${PN}" "${GAMES_SYSCONFDIR}/${PN}" - emake DESTDIR="${D}" install || die "emake install failed" - - doman moria.6 - dodoc README doc/* "${WORKDIR}"/${PN}-extras/* - - prepgamesdirs -} diff --git a/games-roguelike/omega/Manifest b/games-roguelike/omega/Manifest deleted file mode 100644 index 1bfa7aa..0000000 --- a/games-roguelike/omega/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 0.80.2-gentoo-omega.patch 14501 RMD160 0eabb7e16eec5b211a76bf176d784f0c0f9f4bbf SHA1 c44a36e0a3d023dae8d498f3a71d724bfd29c2dd SHA256 98d9467c637efec2cb888fb70cce45328c514281187d6d7ad9e805d6b4edd65a -AUX 0.90.4-gentoo-omega.patch 17949 RMD160 cb5f3830a473d7414643967d7104fe7843012cb3 SHA1 4ca85d1faedf81c4b7def093b3e5d5e7cbff3adf SHA256 1f7efd0cc18e0817afcd4995801b58d730ac6fd82a9d2d001d093b6e49f204bc -DIST omega-0.80.2-src.tar.gz 316169 RMD160 6f4011e08671cf3a612a45f5985053c9c1276a7d SHA1 426063f53b546609a19a56efd144a8e494a5a60f SHA256 60164319de90b8b5cae14f2133a080d5273e5de3d11c39df080a22bbb2886104 -DIST omega-0.90.4-src.tar.gz 341346 RMD160 04eb5dccb753da896f3cb3cce3a515a6f5699302 SHA1 fb6e20565057aee1250154afbcdb562cf39586fd SHA256 570d169b57bcf7fa8da095238bb9e8af82e2c4066a49aa78cccc0de53639128b -EBUILD omega-0.80.2.ebuild 829 RMD160 bd27995095d67964e7040ab83c041fa3ec29de48 SHA1 56d2bea3282a28b2801e6f8f2c51b23daeb5531c SHA256 123f7f040ad4de195425c263cc5e8505eb2c1d316604c7df9938625ca877d89c -EBUILD omega-0.90.4.ebuild 829 RMD160 bd27995095d67964e7040ab83c041fa3ec29de48 SHA1 56d2bea3282a28b2801e6f8f2c51b23daeb5531c SHA256 123f7f040ad4de195425c263cc5e8505eb2c1d316604c7df9938625ca877d89c -MISC metadata.xml 928 RMD160 0ab2e4148941cc346db35e0008465d207b8ef928 SHA1 4527950b0293070f1b5e519b950f98295522b798 SHA256 e672950d18cb5cc0277069a11074a5a8886e2f482d81350cbd88616d41c4e928 diff --git a/games-roguelike/omega/files/0.80.2-gentoo-omega.patch b/games-roguelike/omega/files/0.80.2-gentoo-omega.patch deleted file mode 100644 index 9be1f6f..0000000 --- a/games-roguelike/omega/files/0.80.2-gentoo-omega.patch +++ /dev/null @@ -1,439 +0,0 @@ -diff -Npur omega.orig/char.c omega/char.c ---- omega.orig/char.c 1997-02-15 07:17:53.000000000 +0100 -+++ omega/char.c 2011-09-04 15:24:40.882766949 +0200 -@@ -101,7 +101,7 @@ FILE *omegarc_check() - if ((fd = fopen("omega.rc","rb")) != NULL) { - print2("Use omega.rc in current directory? [yn] "); - #else -- sprintf(Str1, "%s/.omegarc", getenv("HOME")); -+ snprintf(Str1, sizeof(Str1)-1, "%s/.omegarc", getenv("HOME")); - if ((fd = fopen(Str1,"r")) != NULL) { - print2("Use .omegarc in home directory? [yn] "); - #endif -@@ -142,7 +142,7 @@ void save_omegarc() - #if defined(MSDOS) || defined(AMIGA) - fd = fopen("omega.rc","wb"); - #else -- sprintf(Str1, "%s/.omegarc", getenv("HOME")); -+ snprintf(Str1, sizeof(Str1)-1, "%s/.omegarc", getenv("HOME")); - fd = fopen(Str1,"w"); - #endif - if (fd == NULL) -diff -Npur omega.orig/command3.c omega/command3.c ---- omega.orig/command3.c 1997-02-15 07:17:55.000000000 +0100 -+++ omega/command3.c 2011-09-04 15:24:40.883766949 +0200 -@@ -204,7 +204,7 @@ void version() - print3(VERSIONSTRING); - nprint3(":"); - nprint3(" Last Edited: "); -- nprint3(LAST_OMEGA_EDIT_DATE); -+ nprint3(__DATE__" "__TIME__); - } - - void fire() -diff -Npur omega.orig/defs.h omega/defs.h ---- omega.orig/defs.h 1997-02-15 07:17:55.000000000 +0100 -+++ omega/defs.h 2011-09-04 15:24:40.883766949 +0200 -@@ -45,7 +45,8 @@ on save and restore. */ - This might usually be "/usr/games/lib/omegalib/", for unix, - or something like "c:\\games\\omega\\omegalib\\" for msdos */ - --#define OMEGALIB "./omegalib/" -+#define OMEGALIB "/usr/share/games/omega/" -+#define OMEGAVAR "/var/games/omega/" - - /* Comment the following line out if you want users to be able to override */ - /* the OMEGALIB define, above, by setting the environment variable OMEGALIB */ -@@ -59,7 +60,7 @@ on save and restore. */ - - /* set WIZARD to maintainers's username */ - --#define WIZARD "max" -+#define WIZARD "root" - - /* If CATCH_SIGNALS is set to 1, will not dump core, nicer for players. */ - /* dbx still intercepts the signals first, so it's ok for debugging */ -diff -Npur omega.orig/effect1.c omega/effect1.c ---- omega.orig/effect1.c 1997-02-15 07:17:56.000000000 +0100 -+++ omega/effect1.c 2011-09-04 15:24:40.884766949 +0200 -@@ -81,11 +81,11 @@ int delta; - } - } - else { -- if (Player.possessions[i]->plus > random_range(20)+1) { -+ if (abs(Player.possessions[i]->plus) > random_range(20)+1) { - print1("Uh-oh, the force of the enchantment was too much!"); - print2("There is a loud explosion!"); - morewait(); -- manastorm(Player.x,Player.y,Player.possessions[i]->plus*5); -+ manastorm(Player.x,Player.y,abs(Player.possessions[i]->plus)*5); - dispose_lost_objects(1,Player.possessions[i]); - } - else { -@@ -375,7 +375,10 @@ int fx,fy,tx,ty,dmg,dtype; - for(i=0;i<9;i++) { - ex = xx + Dirs[0][i]; - ey = yy + Dirs[1][i]; -- -+ -+ if(offscreen(ey)) -+ continue; -+ - if ((ex == Player.x) && (ey == Player.y)) { - switch(dtype) { - case FLAME:mprint("You were blasted by a fireball!"); -diff -Npur omega.orig/file.c omega/file.c ---- omega.orig/file.c 1997-02-15 07:17:57.000000000 +0100 -+++ omega/file.c 2011-09-04 15:24:40.884766949 +0200 -@@ -12,6 +12,7 @@ - # include <curses.h> - # endif - # include <sys/types.h> -+# include <sys/stat.h> - # include <unistd.h> - # include <sys/file.h> - # include <fcntl.h> -@@ -155,11 +156,11 @@ void lock_score_file() - int lock, attempts, thispid, lastpid = 0; - FILE *lockfile; - -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.hi.lock"); - do - { -- lock = open(Str1, O_CREAT|O_EXCL, 0600); /* create lock file */ -+ lock = open(Str1, O_WRONLY|O_CREAT|O_EXCL, 0600); /* create lock file */ - if (lock < 0 && errno == EEXIST) - { - lockfile = fopen(Str1, "rb"); -@@ -189,7 +190,7 @@ void lock_score_file() - void unlock_score_file() - { - #ifndef MSDOS -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.hi.lock"); - unlink(Str1); - #endif -@@ -201,7 +202,7 @@ void showscores() - int i; - - lock_score_file(); -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.hi"); - fd = checkfopen(Str1,"rb"); - filescanstring(fd,Hiscorer); -@@ -281,10 +282,10 @@ int npc; - if (gamestatusp(CHEATED)) - return; - lock_score_file(); -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.hi"); - infile = checkfopen(Str1,"rb"); -- strcpy(Str2,Omegalib); -+ strcpy(Str2,Omegavar); - #ifdef MSDOS - strcat(Str2,"omegahi.new"); /* stupid 8.3 msdos filename limit */ - #else -@@ -352,6 +353,7 @@ int npc; - } - fclose(infile); - fclose(outfile); -+ chmod(Str2, 0644); - unlink(Str1); - #if defined(MSDOS) || defined(AMIGA) - rename(Str2, Str1); -@@ -413,7 +415,7 @@ int lifestatus; - change_to_game_perms(); - npcbehavior=fixnpc(lifestatus); - checkhigh(descrip,npcbehavior); -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.log"); - fd = checkfopen(Str1,"a"); - fprintf(fd, " %d %d %d %s\n", lifestatus, Player.level, npcbehavior, -@@ -487,10 +489,15 @@ char *required_file_list[] = - "speak.dat", "temple.dat", "abyss.dat", "village1.dat", "village2.dat", - "village3.dat", "village4.dat", "village5.dat", "village6.dat", - "home1.dat", "home2.dat", "home3.dat", "arena.dat", "maze1.dat", -- "maze2.dat", "maze3.dat", "maze4.dat", "omega.hi", "omega.log", "motd.txt", -+ "maze2.dat", "maze3.dat", "maze4.dat", "motd.txt", - "license.txt", "circle.dat", NULL - }; - -+char *required_writeable[] = -+{ -+ "omega.hi", "omega.log", NULL -+}; -+ - char *optional_file_list[] = - { - "help1.txt", "help2.txt", "help3.txt", "help4.txt", "help5.txt", -@@ -507,24 +514,30 @@ int filecheck() - int endpos; - int file; - -- strcpy(Str1, Omegalib); -+ strcpy(Str1, Omegavar); - endpos = strlen(Str1); -- for (file = 0; required_file_list[file]; file++) -+ for (file = 0; required_writeable[file]; file++) - { -- strcpy(&(Str1[endpos]), required_file_list[file]); -- if ((strcmp(required_file_list[file], "omega.hi") == 0 || -- strcmp(required_file_list[file], "omega.log") == 0) && -- test_file_access(Str1, 'w') == 0) -+ strcpy(&(Str1[endpos]), required_writeable[file]); -+ if (test_file_access(Str1, 'w') == 0) - { - impossible = TRUE; - printf("\nError! File not appendable or accessible: %s", Str1); - } -- else if (test_file_access(Str1, 'r') == 0) -+ } -+ -+ strcpy(Str1, Omegalib); -+ endpos = strlen(Str1); -+ for (file = 0; required_file_list[file]; file++) -+ { -+ strcpy(&(Str1[endpos]), required_file_list[file]); -+ if (test_file_access(Str1, 'r') == 0) - { - impossible = TRUE; - printf("\nError! File not accessible: %s", Str1); - } - } -+ - for (file = 0; optional_file_list[file]; file++) - { - strcpy(&(Str1[endpos]), optional_file_list[file]); -@@ -536,13 +549,13 @@ int filecheck() - } - if (impossible) { - printf("\nFurther execution is impossible. Sorry."); -- if (strcmp(Omegalib, OMEGALIB)) -+ if (strcmp(Omegavar, OMEGALIB)) - printf("\nEnvironment variable OMEGALIB badly set\n"); - else { - printf("\nOMEGALIB may be badly #defined in odefs.h\n"); - #ifndef FIXED_OMEGALIB - printf("\nYou can set the environment variable OMEGALIB to\n"); -- printf("the location of the omegalib directory.\n"); -+ printf("the location of the omegavar directory.\n"); - #endif - } - return(0); -diff -Npur omega.orig/gen2.c omega/gen2.c ---- omega.orig/gen2.c 1997-02-15 07:17:57.000000000 +0100 -+++ omega/gen2.c 2011-09-04 15:30:43.808766947 +0200 -@@ -372,7 +372,7 @@ void maze_level() - { - int i,j,tx,ty,mid; - char rsi; -- if (Current_Environment == E_ASTRAL) -+ if (Current_Environment == E_ASTRAL) { - switch(Level->depth){ - case 1: rsi = RS_EARTHPLANE; break; - case 2: rsi = RS_AIRPLANE; break; -@@ -380,18 +380,21 @@ void maze_level() - case 4: rsi = RS_FIREPLANE; break; - case 5: rsi = RS_HIGHASTRAL; break; - } -+ } - else rsi = RS_VOLCANO; - maze_corridor(random_range(WIDTH-1)+1, - random_range(LENGTH-1)+1, - random_range(WIDTH-1)+1, - random_range(LENGTH-1)+1, - rsi,0); -- if (Current_Dungeon == E_ASTRAL) { -- for(i=0;i<WIDTH;i++) -- for(j=0;j<LENGTH;j++) -- if (Level->site[i][j].locchar == WALL) -+ if (Current_Environment == E_ASTRAL) { -+ for(i=0;i<WIDTH;i++) { -+ for(j=0;j<LENGTH;j++) { -+ if (Level->site[i][j].locchar == WALL) { - switch(Level->depth){ -- case 1: Level->site[i][j].aux = 500; break; -+ case 1: -+ Level->site[i][j].aux = 500; -+ break; - case 2: - Level->site[i][j].locchar = WHIRLWIND; - Level->site[i][j].p_locf = L_WHIRLWIND; -@@ -409,6 +412,9 @@ void maze_level() - Level->site[i][j].p_locf = L_ABYSS; - break; - } -+ } -+ } -+ } - switch(Level->depth) { - case 1: mid = ML10+5; break; /* Elemental Lord of Earth */ - case 2: mid = ML10+6; break; /* Elemental Lord of Air */ -diff -Npur omega.orig/glob.h omega/glob.h ---- omega.orig/glob.h 1997-02-15 07:17:57.000000000 +0100 -+++ omega/glob.h 2011-09-04 15:24:40.885766949 +0200 -@@ -12,7 +12,10 @@ - #include "extern.h" - - /* This string holds the path to the library files */ --char *Omegalib; -+extern char *Omegalib; -+ -+/* This string holds the path to the highscore and log files */ -+extern char *Omegavar; - - /* one of each monster */ - extern struct monster Monsters[NUMMONSTERS]; -diff -Npur omega.orig/inv.c omega/inv.c ---- omega.orig/inv.c 1997-02-15 07:17:59.000000000 +0100 -+++ omega/inv.c 2011-09-04 15:24:40.885766949 +0200 -@@ -72,7 +72,7 @@ void pickup_at(x,y) - int x,y; - { - int quit = FALSE; -- char response; -+ char response = 0; - pol ol = Level->site[x][y].things; - pol temp; - -diff -Npur omega.orig/Makefile omega/Makefile ---- omega.orig/Makefile 1997-02-15 07:18:00.000000000 +0100 -+++ omega/Makefile 2011-09-04 16:06:22.371766954 +0200 -@@ -1,7 +1,8 @@ - # These two definitions are used if you 'make install' - # the value of LIBDIR should be the same as OMEGALIB in defs.h --BINDIR = /usr/games --LIBDIR = /usr/games/lib/omegalib -+BINDIR = $(DESTDIR)/usr/games/bin -+LIBDIR = $(DESTDIR)/usr/share/games/omega -+STATEDIR = $(DESTDIR)/var/games/omega - - # One of these should be uncommented, as appropriate, unless your compiler - # does it for you. You can test this by simply trying to 'make' omega - -@@ -23,8 +24,9 @@ CC = gcc -I/usr/include/ncurses - - # comment out one of the following two, after establishing whether your - # machine uses termcap (most BSD machines) or terminfo (System-V) --LIBS = -lncurses -ltermcap -+#LIBS = -lncurses -ltermcap - #LIBS = -lcurses -ltermlib -+LIBS = -lncurses - - #################### that's it for changing the Makefile #################### - -@@ -41,22 +43,25 @@ OBJ = omega.o abyss.o aux1.o aux2.o aux3 - omega: $(OBJ) - $(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o omega - --install: omega $(BINDIR) $(LIBDIR) -+install: omega - cp omega $(BINDIR) - chmod 4711 $(BINDIR)/omega -- - cp ../omegalib/* $(LIBDIR) -+ - cp ./omegalib/* $(LIBDIR) -+ - rm $(LIBDIR)/{omega.hi,omega.log} -+ - cp ./omegalib/{omega.hi,omega.log} $(STATEDIR) - chmod 0644 $(LIBDIR)/help*.txt $(LIBDIR)/license.txt $(LIBDIR)/motd.txt $(LIBDIR)/thanks.txt $(LIBDIR)/update.txt - chmod 0600 $(LIBDIR)/abyss.txt $(LIBDIR)/scroll[1234].txt $(LIBDIR)/*.dat -- chmod 0600 $(LIBDIR)/omega.hi $(LIBDIR)/omega.log $(LIBDIR)/omegahi.bak -+ chmod 0600 $(STATEDIR)/omega.hi $(STATEDIR)/omega.log - --install_not_suid: omega $(BINDIR) $(LIBDIR) -+install_not_suid: omega - cp omega $(BINDIR) - chmod 0711 $(BINDIR)/omega -- - cp ../omegalib/* $(LIBDIR) -+ - cp ./omegalib/* $(LIBDIR) -+ - rm $(LIBDIR)/{omega.hi,omega.log} -+ - cp ./omegalib/{omega.hi,omega.log} $(STATEDIR) - chmod 0644 $(LIBDIR)/help*.txt $(LIBDIR)/license.txt $(LIBDIR)/motd.txt $(LIBDIR)/thanks.txt $(LIBDIR)/update.txt - chmod 0644 $(LIBDIR)/abyss.txt $(LIBDIR)/scroll[1234].txt $(LIBDIR)/*.dat -- chmod 0666 $(LIBDIR)/omega.hi $(LIBDIR)/omega.log -- chmod 0600 $(LIBDIR)/omegahi.bak -+ chmod 0666 $(STATEDIR)/omega.hi $(STATEDIR)/omega.log - - clean: - rm -f $(OBJ) -diff -Npur omega.orig/mon.c omega/mon.c ---- omega.orig/mon.c 1997-02-15 07:18:01.000000000 +0100 -+++ omega/mon.c 2011-09-04 15:24:40.886766949 +0200 -@@ -698,7 +698,7 @@ struct monster *npc; - status = 2; - strcpy(Str2,"Malaprop the Misnamed"); - -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.log"); - fd = checkfopen(Str1,"r"); - n = 1; -diff -Npur omega.orig/omega.c omega/omega.c ---- omega.orig/omega.c 1997-02-15 07:18:03.000000000 +0100 -+++ omega/omega.c 2011-09-04 15:24:40.886766949 +0200 -@@ -18,6 +18,7 @@ - /* most globals originate in omega.c */ - - char *Omegalib; /* contains the path to the library files */ -+char *Omegavar; /* contains the path to the highscore and log files */ - - /* Objects and Monsters are allocated and initialized in init.c */ - -@@ -198,7 +199,7 @@ char *argv[]; - char savestr[80]; - int ok; - if (argc==2) { -- strcpy(savestr,argv[1]); -+ strncpy(savestr,argv[1],sizeof(savestr)-1); - ok = restore_game(savestr); - if (! ok) { - endgraf(); -@@ -261,6 +262,11 @@ char *argv[]; - #endif - Omegalib = OMEGALIB; - -+#ifndef FIXED_OMEGALIB -+ if (!(Omegavar = getenv("OMEGAVAR"))) -+#endif -+ Omegavar = OMEGAVAR; -+ - /* if filecheck is 0, some necessary data files are missing */ - if (filecheck() == 0) exit(0); - -diff -Npur omega.orig/omegalib/motd.txt omega/omegalib/motd.txt ---- omega.orig/omegalib/motd.txt 1999-02-14 02:18:37.000000000 +0100 -+++ omega/omegalib/motd.txt 2011-09-04 15:24:40.887766949 +0200 -@@ -9,7 +9,7 @@ - * ** ** * - ***** ***** - -- omega version 0.80 is copyright (C) 1987,1988,1989 by: -+ omega version 0.80.2 is copyright (C) 1987,1988,1989 by: - Laurence R. Brothers - Maintained by: Erik Max Francis (omega@alcyone.darkside.com) - -diff -Npur omega.orig/save.c omega/save.c ---- omega.orig/save.c 1997-02-15 07:18:03.000000000 +0100 -+++ omega/save.c 2011-09-04 15:24:40.887766949 +0200 -@@ -299,7 +299,7 @@ plv level; - } - mask >>= 1; - if (level->site[i][j].lstatus&SEEN) -- mask |= (1<<(sizeof(long int)*8 - 1)); -+ mask |= (1UL<<(sizeof(long int)*8 - 1)); - run--; - } - if (run < 8*sizeof(long int)) -@@ -434,7 +434,7 @@ FILE *fd; - } - mask >>= 1; - if (c_statusp(i, j, SEEN)) -- mask |= (1<<(sizeof(long int)*8 - 1)); -+ mask |= (1UL<<(sizeof(long int)*8 - 1)); - run--; - } - if (run < 8*sizeof(long int)) diff --git a/games-roguelike/omega/files/0.90.4-gentoo-omega.patch b/games-roguelike/omega/files/0.90.4-gentoo-omega.patch deleted file mode 100644 index 533eeba..0000000 --- a/games-roguelike/omega/files/0.90.4-gentoo-omega.patch +++ /dev/null @@ -1,576 +0,0 @@ -diff -Npur omega.orig/char.c omega/char.c ---- omega.orig/char.c 1999-01-01 01:08:14.000000000 +0100 -+++ omega/char.c 2011-09-04 16:57:14.434766949 +0200 -@@ -99,7 +99,7 @@ FILE *omegarc_check() - if ((fd = fopen("omega.rc","rb")) != NULL) { - print2("Use omega.rc charcter record in current directory? [yn] "); - #else -- sprintf(Str1, "%s/.omegarc", getenv("HOME")); -+ snprintf(Str1, sizeof(Str1)-1, "%s/.omegarc", getenv("HOME")); - if ((fd = fopen(Str1,"r")) != NULL) { - print2("Use .omegarc in home directory? [yn] "); - #endif -@@ -140,7 +140,7 @@ void save_omegarc() - #if defined(MSDOS) || defined(AMIGA) - fd = fopen("omega.rc","wb"); - #else -- sprintf(Str1, "%s/.omegarc", getenv("HOME")); -+ snprintf(Str1, sizeof(Str1)-1, "%s/.omegarc", getenv("HOME")); - fd = fopen(Str1,"w"); - #endif - if (fd == NULL) -diff -Npur omega.orig/command3.c omega/command3.c ---- omega.orig/command3.c 1999-01-01 01:08:16.000000000 +0100 -+++ omega/command3.c 2011-09-04 16:57:14.435766949 +0200 -@@ -215,7 +215,7 @@ void version() - print3(VERSIONSTRING); - nprint3(":"); - nprint3(" Last Edited: "); -- nprint3(LAST_OMEGA_EDIT_DATE); -+ nprint3(__DATE__" "__TIME__); - } - - void fire() -diff -Npur omega.orig/compress.c omega/compress.c ---- omega.orig/compress.c 1998-08-08 12:47:56.000000000 +0200 -+++ omega/compress.c 2011-09-04 16:57:14.435766949 +0200 -@@ -104,7 +104,7 @@ static char sccsid[] = "@(#)compress.c 5 - #ifdef PBITS /* Preferred BITS for this memory size */ - # ifndef BITS - # define BITS PBITS --# endif BITS -+# endif /* BITS */ - #endif /* PBITS */ - - #if BITS == 16 -@@ -293,6 +293,8 @@ char_type magic_header[] = { "\037\235" - */ - static char rcs_ident[] = "$Header: /home/wtanksle/cvs/omega/compress.c,v 1.2 1998/08/08 10:47:56 wtanksle Exp $"; - -+#include <stdlib.h> -+#include <string.h> - #include <stdio.h> - #include <ctype.h> - #include <signal.h> -@@ -347,7 +349,7 @@ unsigned short codetab [HSIZE]; - #else - count_int htab [HSIZE]; - unsigned short codetab [HSIZE]; --#endif sel -+#endif /* sel */ - - #define htabof(i) htab[i] - #define codetabof(i) codetab[i] -@@ -1093,7 +1095,7 @@ getcode() { - return code; - } - --#ifndef __GO32__ -+#if 0 - char * - rindex(s, c) /* For those who don't have it in libc.a */ - register char *s, c; -diff -Npur omega.orig/defs.h omega/defs.h ---- omega.orig/defs.h 1999-01-01 01:08:19.000000000 +0100 -+++ omega/defs.h 2011-09-04 16:57:14.436766949 +0200 -@@ -45,7 +45,8 @@ on save and restore. */ - This might usually be "/usr/games/lib/omegalib/", for unix, - or something like "c:\\games\\omega\\omegalib\\" for msdos */ - --#define OMEGALIB "./lib/" -+#define OMEGALIB "/usr/share/games/omega/" -+#define OMEGAVAR "/var/games/omega/" - - /* Comment the following line out if you want users to be able to override */ - /* the OMEGALIB define, above, by setting the environment variable OMEGALIB */ -@@ -59,7 +60,7 @@ on save and restore. */ - - /* set WIZARD to maintainers's username */ - --#define WIZARD "wtanksle" -+#define WIZARD "root" - - /* If CATCH_SIGNALS is set to 1, will not dump core, nicer for players. */ - /* dbx still intercepts the signals first, so it's ok for debugging */ -diff -Npur omega.orig/effect1.c omega/effect1.c ---- omega.orig/effect1.c 1999-01-01 01:08:20.000000000 +0100 -+++ omega/effect1.c 2011-09-04 16:57:14.436766949 +0200 -@@ -81,11 +81,11 @@ int delta; - } - } - else { -- if (Player.possessions[i]->plus > random_range(20)+1) { -+ if (abs(Player.possessions[i]->plus) > random_range(20)+1) { - print1("Uh-oh, the force of the enchantment was too much!"); - print2("There is a loud explosion!"); - morewait(); -- manastorm(Player.x,Player.y,Player.possessions[i]->plus*5); -+ manastorm(Player.x,Player.y,abs(Player.possessions[i]->plus)*5); - dispose_lost_objects(1,Player.possessions[i]); - } - else { -@@ -395,7 +395,10 @@ int fx,fy,tx,ty,dmg,dtype; - for(i=0;i<9;i++) { - ex = xx + Dirs[0][i]; - ey = yy + Dirs[1][i]; -- -+ -+ if(offscreen(ey)) -+ continue; -+ - if ((ex == Player.x) && (ey == Player.y)) { - switch(dtype) { - case FLAME:mprint("You were blasted by a fireball!"); -diff -Npur omega.orig/file.c omega/file.c ---- omega.orig/file.c 1999-01-01 01:08:26.000000000 +0100 -+++ omega/file.c 2011-09-04 16:57:14.437766949 +0200 -@@ -12,6 +12,7 @@ - # include <curses.h> - # endif - # include <sys/types.h> -+# include <sys/stat.h> - # include <unistd.h> - # include <sys/file.h> - # include <fcntl.h> -@@ -155,11 +156,11 @@ void lock_score_file() - int lock, attempts, thispid, lastpid = 0; - FILE *lockfile; - -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.hi.lock"); - do - { -- lock = open(Str1, O_CREAT|O_EXCL, 0600); /* create lock file */ -+ lock = open(Str1, O_WRONLY|O_CREAT|O_EXCL, 0600); /* create lock file */ - if (lock < 0 && errno == EEXIST) - { - lockfile = fopen(Str1, "rb"); -@@ -189,7 +190,7 @@ void lock_score_file() - void unlock_score_file() - { - #ifndef MSDOS -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.hi.lock"); - unlink(Str1); - #endif -@@ -201,7 +202,7 @@ void showscores() - int i; - - lock_score_file(); -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.hi"); - fd = checkfopen(Str1,"rb"); - filescanstring(fd,Hiscorer); -@@ -282,10 +283,10 @@ int npc; - if (gamestatusp(CHEATED)) - return; - lock_score_file(); -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.hi"); - infile = checkfopen(Str1,"rb"); -- strcpy(Str2,Omegalib); -+ strcpy(Str2,Omegavar); - #ifdef MSDOS - strcat(Str2,"omegahi.new"); /* stupid 8.3 msdos filename limit */ - #else -@@ -353,6 +354,7 @@ int npc; - } - fclose(infile); - fclose(outfile); -+ chmod(Str2, 0664); - unlink(Str1); - #if defined(MSDOS) || defined(AMIGA) - rename(Str2, Str1); -@@ -414,7 +416,7 @@ int lifestatus; - change_to_game_perms(); - npcbehavior=fixnpc(lifestatus); - checkhigh(descrip,npcbehavior); -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.log"); - fd = checkfopen(Str1,"a"); - fprintf(fd, " %d %d %d %s\n", lifestatus, Player.level, npcbehavior, -@@ -488,10 +490,15 @@ char *required_file_list[] = - "speak.dat", "temple.dat", "abyss.dat", "village1.dat", "village2.dat", - "village3.dat", "village4.dat", "village5.dat", "village6.dat", - "home1.dat", "home2.dat", "home3.dat", "arena.dat", "maze1.dat", -- "maze2.dat", "maze3.dat", "maze4.dat", "omega.hi", "omega.log", "motd.txt", -+ "maze2.dat", "maze3.dat", "maze4.dat", "motd.txt", - "license.txt", "circle.dat", NULL - }; - -+char *required_writeable[] = -+{ -+ "omega.hi", "omega.log", NULL -+}; -+ - char *optional_file_list[] = - { - "help1.txt", "help2.txt", "help3.txt", "help4.txt", "help5.txt", -@@ -508,24 +515,30 @@ int filecheck() - int endpos; - int file; - -- strcpy(Str1, Omegalib); -+ strcpy(Str1, Omegavar); - endpos = strlen(Str1); -- for (file = 0; required_file_list[file]; file++) -+ for (file = 0; required_writeable[file]; file++) - { -- strcpy(&(Str1[endpos]), required_file_list[file]); -- if ((strcmp(required_file_list[file], "omega.hi") == 0 || -- strcmp(required_file_list[file], "omega.log") == 0) && -- test_file_access(Str1, 'w') == 0) -+ strcpy(&(Str1[endpos]), required_writeable[file]); -+ if (test_file_access(Str1, 'w') == 0) - { - impossible = TRUE; - printf("\nError! File not appendable or accessible: %s", Str1); - } -- else if (test_file_access(Str1, 'r') == 0) -+ } -+ -+ strcpy(Str1, Omegalib); -+ endpos = strlen(Str1); -+ for (file = 0; required_file_list[file]; file++) -+ { -+ strcpy(&(Str1[endpos]), required_file_list[file]); -+ if (test_file_access(Str1, 'r') == 0) - { - impossible = TRUE; - printf("\nError! File not accessible: %s", Str1); - } - } -+ - for (file = 0; optional_file_list[file]; file++) - { - strcpy(&(Str1[endpos]), optional_file_list[file]); -@@ -537,13 +550,13 @@ int filecheck() - } - if (impossible) { - printf("\nFurther execution is impossible. Sorry."); -- if (strcmp(Omegalib, OMEGALIB)) -+ if (strcmp(Omegavar, OMEGALIB)) - printf("\nEnvironment variable OMEGALIB badly set\n"); - else { - printf("\nOMEGALIB may be badly #defined in defs.h\n"); - #ifndef FIXED_OMEGALIB - printf("\nYou can set the environment variable OMEGALIB to\n"); -- printf("the location of the omegalib directory.\n"); -+ printf("the location of the omegavar directory.\n"); - #endif - } - return(0); -diff -Npur omega.orig/gen2.c omega/gen2.c ---- omega.orig/gen2.c 1999-01-01 01:08:28.000000000 +0100 -+++ omega/gen2.c 2011-09-04 16:57:14.437766949 +0200 -@@ -372,7 +372,7 @@ void maze_level() - { - int i,j,tx,ty,mid; - char rsi; -- if (Current_Environment == E_ASTRAL) -+ if (Current_Environment == E_ASTRAL) { - switch(Level->depth){ - case 1: rsi = RS_EARTHPLANE; break; - case 2: rsi = RS_AIRPLANE; break; -@@ -380,18 +380,21 @@ void maze_level() - case 4: rsi = RS_FIREPLANE; break; - case 5: rsi = RS_HIGHASTRAL; break; - } -+ } - else rsi = RS_VOLCANO; - maze_corridor(random_range(WIDTH-1)+1, - random_range(LENGTH-1)+1, - random_range(WIDTH-1)+1, - random_range(LENGTH-1)+1, - rsi,0); -- if (Current_Dungeon == E_ASTRAL) { -- for(i=0;i<WIDTH;i++) -- for(j=0;j<LENGTH;j++) -- if (Level->site[i][j].locchar == WALL) -+ if (Current_Environment == E_ASTRAL) { -+ for(i=0;i<WIDTH;i++) { -+ for(j=0;j<LENGTH;j++) { -+ if (Level->site[i][j].locchar == WALL) { - switch(Level->depth){ -- case 1: Level->site[i][j].aux = 500; break; -+ case 1: -+ Level->site[i][j].aux = 500; -+ break; - case 2: - Level->site[i][j].locchar = WHIRLWIND; - Level->site[i][j].p_locf = L_WHIRLWIND; -@@ -409,6 +412,9 @@ void maze_level() - Level->site[i][j].p_locf = L_ABYSS; - break; - } -+ } -+ } -+ } - switch(Level->depth) { - case 1: mid = LORD_EARTH; break; /* Elemental Lord of Earth */ - case 2: mid = LORD_AIR; break; /* Elemental Lord of Air */ -diff -Npur omega.orig/genclr.c omega/genclr.c ---- omega.orig/genclr.c 1998-08-08 14:53:59.000000000 +0200 -+++ omega/genclr.c 2011-09-04 17:01:28.306767179 +0200 -@@ -181,13 +181,10 @@ static FILE *emitopen (char *file, char - perror (""); - exit (1); - } -- fprintf (fp, "\ --/*\n\ -- * Do not edit this file. It was automatically generated by running:\n\ -- * %s %s %s\n\ -- */\n\ --\n\ --", -+ fprintf (fp, "/*\n" -+" * Do not edit this file. It was automatically generated by running:\n" -+" * %s %s %s\n" -+" */\n\n", - argv[0], argv[1], argv[2]); - return fp; - } -@@ -280,31 +277,24 @@ int main (int argc, char **argv) - * Emit .c file. - */ - fp = emitopen (cfile, argv); -- fprintf (fp, "\ --#include <curses.h>\n\ --#include <stdio.h>\n\ --#include <stdlib.h>\n\ -- --#include \"%s\"\n\ -- --void clrgen_init (void)\n\ --""{\n\ -- if (%d > COLOR_PAIRS - 1) {\n\ -- endwin(); -- fputs (\"Too many color pairs!\\n\", stderr);\n\ -- exit (1);\n\ -- }\n\ --", -+ fprintf (fp, "#include <curses.h>\n" -+"#include <stdio.h>\n" -+"#include <stdlib.h>\n\n" -+ -+"#include \"%s\"\n\n" -+ -+"void clrgen_init (void)\n" -+"{\n" -+" if (%d > COLOR_PAIRS - 1) {\n" -+" endwin();\n" -+" fputs (\"Too many color pairs!\\n\", stderr);\n" -+" exit (1);\n" -+" }\n", - hfile, ncpairs); - for (i = 0; i < ncpairs; i++) -- fprintf (fp, "\ -- init_pair (%d, COLOR_%s, COLOR_%s);\n\ --", -+ fprintf (fp, "init_pair (%d, COLOR_%s, COLOR_%s);\n", - cpairs[i]->idx, cpairs[i]->cfg, cpairs[i]->cbg); -- fputs ("\ --""}\n\ --", -- fp); -+ fputs ("}\n", fp); - emitclose (fp, cfile); - - /* -@@ -318,11 +308,7 @@ void clrgen_init (void)\n\ - strlen (pair->ofg) + strlen (pair->obg) > 10 ? "" : "\t", - pair->idx, pair->boldfg ? "|A_BOLD" : ""); - } -- fputs ("\ --\n\ --extern void clrgen_init (void);\n\ --", -- fp); -+ fputs ("\nextern void clrgen_init (void);\n", fp); - emitclose (fp, hfile); - - return 0; -diff -Npur omega.orig/glob.h omega/glob.h ---- omega.orig/glob.h 1999-01-01 01:08:29.000000000 +0100 -+++ omega/glob.h 2011-09-04 16:57:14.437766949 +0200 -@@ -20,6 +20,9 @@ extern int DG_debug_flag; - /* This string holds the path to the library files */ - extern char *Omegalib; - -+/* This string holds the path to the highscore and log files */ -+extern char *Omegavar; -+ - /* one of each monster */ - extern struct monster Monsters[NUMMONSTERS]; - -diff -Npur omega.orig/inv.c omega/inv.c ---- omega.orig/inv.c 1999-01-01 01:08:33.000000000 +0100 -+++ omega/inv.c 2011-09-04 16:57:14.438766949 +0200 -@@ -73,7 +73,7 @@ void pickup_at(x,y) - int x,y; - { - int quit = FALSE; -- char response; -+ char response = 0; - pol ol = Level->site[x][y].things; - pol temp; - -@@ -549,7 +549,7 @@ int getitem(itype) - Symbol itype; - { - char invstr[64]; -- char key; -+ int key; - int i,k=0,ok=FALSE,drewmenu=FALSE,found=FALSE; - - found = ((itype == NULL_ITEM) || ((itype == CASH) && (Player.cash > 0))); -diff -Npur omega.orig/lib/motd.txt omega/lib/motd.txt ---- omega.orig/lib/motd.txt 1999-01-01 01:09:05.000000000 +0100 -+++ omega/lib/motd.txt 2011-09-04 16:57:14.438766949 +0200 -@@ -9,7 +9,7 @@ - * ** ** * - ***** ***** - -- omega version 0.90-pa2 is copyright (C) 1987,1988,1989 by: -+ omega version 0.90.4 is copyright (C) 1987,1988,1989 by: - Laurence R. Brothers - Maintained by: William Tanksley (wtanksle@ucsd.edu). - Send suggestions and complaints about this prealpha to -diff -Npur omega.orig/Makefile omega/Makefile ---- omega.orig/Makefile 1999-01-02 05:00:06.000000000 +0100 -+++ omega/Makefile 2011-09-04 16:57:14.438766949 +0200 -@@ -1,15 +1,16 @@ - # These two definitions are used if you 'make install' - # the value of LIBDIR should be the same as OMEGALIB in defs.h --BINDIR = /home/sdossey/omega/ --LIBDIR = /home/sdossey/omega/lib/ -+BINDIR = $(DESTDIR)/usr/games/bin -+LIBDIR = $(DESTDIR)/usr/share/games/omega/ -+STATEDIR = $(DESTDIR)/var/games/omega - - # One of these should be uncommented, as appropriate, unless your compiler - # does it for you. You can test this by simply trying to 'make' omega - - # it will fail if none of them are defined. If you do uncomment - # one, make sure you comment out the other definition of CFLAGS lower down - --CFLAGS = -DBSD -ggdb --#CFLAGS = -DSYSV -O -+#CFLAGS = -DBSD -ggdb -+CFLAGS = -DSYSV -O - # I also had to define -cckr (K&R style C) for system V - #CFLAGS = -DMSDOS -O - #CFLAGS = -DAMIGA -O -@@ -48,31 +49,34 @@ OBJ = omega.o abyss.o aux1.o aux2.o aux3 - omega: $(OBJ) - $(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o omega - --install: omega $(BINDIR) $(LIBDIR) -+install: omega - cp omega $(BINDIR) - chmod 4711 $(BINDIR)/omega - - cp lib/* $(LIBDIR) -+ - rm $(LIBDIR)/{omega.hi,omega.log} -+ - cp lib/{omega.hi,omega.log} $(STATEDIR) - chmod 0644 $(LIBDIR)/help*.txt $(LIBDIR)/license.txt $(LIBDIR)/motd.txt $(LIBDIR)/thanks.txt $(LIBDIR)/update.txt - chmod 0600 $(LIBDIR)/abyss.txt $(LIBDIR)/scroll[1234].txt $(LIBDIR)/*.dat -- chmod 0600 $(LIBDIR)/omega.hi $(LIBDIR)/omega.log $(LIBDIR)/omegahi.bak -+ chmod 0600 $(STATEDIR)/omega.hi $(STATEDIR)/omega.log - --install_not_suid: omega $(BINDIR) $(LIBDIR) -+install_not_suid: omega - cp omega $(BINDIR) - chmod 0711 $(BINDIR)/omega - - cp lib/* $(LIBDIR) -+ - rm $(LIBDIR)/{omega.hi,omega.log} -+ - cp lib/{omega.hi,omega.log} $(STATEDIR) - chmod 0644 $(LIBDIR)/help*.txt $(LIBDIR)/license.txt $(LIBDIR)/motd.txt $(LIBDIR)/thanks.txt $(LIBDIR)/update.txt - chmod 0644 $(LIBDIR)/abyss.txt $(LIBDIR)/scroll[1234].txt $(LIBDIR)/*.dat -- chmod 0666 $(LIBDIR)/omega.hi $(LIBDIR)/omega.log -- chmod 0600 $(LIBDIR)/omegahi.bak -+ chmod 0666 $(STATEDIR)/omega.hi $(STATEDIR)/omega.log - - clean: -- rm -f $(OBJ) genclr genclr.o -- rm -i omega -+ rm -f $(OBJ) genclr genclr.o clrgen.h omega - - $(OBJ): clrgen.h defs.h extern.h glob.h - --clrgen.h clrgen.c: genclr.c minit.h defs.h -- $(MAKE) genclr -+clrgen.c: clrgen.h -+ -+clrgen.h: genclr minit.h defs.h - $(CPP) -DOMEGA_CLRGEN *.[ch] | ./genclr clrgen.c clrgen.h - - genclr: genclr.o -diff -Npur omega.orig/mon.c omega/mon.c ---- omega.orig/mon.c 1999-01-02 03:39:25.000000000 +0100 -+++ omega/mon.c 2011-09-04 16:57:14.439766949 +0200 -@@ -699,7 +699,7 @@ struct monster *npc; - status = 2; - strcpy(Str2,"Malaprop the Misnamed"); - -- strcpy(Str1,Omegalib); -+ strcpy(Str1,Omegavar); - strcat(Str1,"omega.log"); - fd = checkfopen(Str1,"r"); - n = 1; -diff -Npur omega.orig/omega.c omega/omega.c ---- omega.orig/omega.c 1999-01-02 05:00:09.000000000 +0100 -+++ omega/omega.c 2011-09-04 16:57:14.439766949 +0200 -@@ -18,6 +18,7 @@ - /* most globals originate in omega.c */ - - char *Omegalib; /* contains the path to the library files */ -+char *Omegavar; /* contains the path to the highscore and log files */ - - #ifdef DEBUG - FILE *DG_debug_log; /* debug log file pointer */ -@@ -212,7 +213,7 @@ char *argv[]; - } - #endif - if (argc==2) { -- strcpy(savestr,argv[1]); -+ strncpy(savestr,argv[1],sizeof(savestr)-1); - ok = restore_game(savestr); - if (! ok) { - endgraf(); -@@ -281,6 +282,11 @@ char *argv[]; - #endif - Omegalib = OMEGALIB; - -+#ifndef FIXED_OMEGALIB -+ if (!(Omegavar = getenv("OMEGAVAR"))) -+#endif -+ Omegavar = OMEGAVAR; -+ - /* if filecheck is 0, some necessary data files are missing */ - if (filecheck() == 0) exit(0); - -diff -Npur omega.orig/save.c omega/save.c ---- omega.orig/save.c 1999-01-02 05:00:10.000000000 +0100 -+++ omega/save.c 2011-09-04 16:57:14.439766949 +0200 -@@ -302,7 +302,7 @@ plv level; - } - mask >>= 1; - if (level->site[i][j].lstatus&SEEN) -- mask |= (1<<(sizeof(long int)*8 - 1)); -+ mask |= (1UL<<(sizeof(long int)*8 - 1)); - run--; - } - if (run < 8*sizeof(long int)) -@@ -442,7 +442,7 @@ FILE *fd; - } - mask >>= 1; - if (c_statusp(i, j, SEEN)) -- mask |= (1<<(sizeof(long int)*8 - 1)); -+ mask |= (1UL<<(sizeof(long int)*8 - 1)); - run--; - } - if (run < 8*sizeof(long int)) diff --git a/games-roguelike/omega/metadata.xml b/games-roguelike/omega/metadata.xml deleted file mode 100644 index 84a752a..0000000 --- a/games-roguelike/omega/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>games</herd> - <maintainer> - <email>anthoine.bourgeois@gmail.com</email> - <name>Anthoine Bourgeois</name> - <description>aluco's overlay maintainer</description> - </maintainer> - <longdescription> - Omega is a complex rogue-style game of dungeon exploration. Unlike other - such games, there are a number of ways to "win", depending on various - actions taken during play. The ways you can get your name on the high score - board include becoming the highest ranked head of a guild, sect, college, - etc., as well as gaining the most points figured from possessions and - experience. The game (via the oracle) may impose some structure on your - exploration, but you need not follow all of the oracle's advice. There - *is* a "total winner" status, by the way. - </longdescription> -</pkgmetadata> diff --git a/games-roguelike/omega/omega-0.80.2.ebuild b/games-roguelike/omega/omega-0.80.2.ebuild deleted file mode 100644 index 1cad91c..0000000 --- a/games-roguelike/omega/omega-0.80.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# - -EAPI=2 -inherit eutils toolchain-funcs games - -DESCRIPTION="Rogue-like complex game of dungeon exploration" -HOMEPAGE="http://www.alcyone.com/max/projects/omega/" -SRC_URI="http://www.alcyone.com/binaries/omega/omega-${PV}-src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=sys-libs/ncurses-5" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${PN}" - -src_prepare() { - epatch "${FILESDIR}"/${PV}-gentoo-omega.patch -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}/${PN}" - emake DESTDIR="${D}" install_not_suid || die "emake install failed" - - doman docs/omega.6 - dodoc docs/{omega.txt,readme{3,4,.1st}} - - prepgamesdirs -} diff --git a/games-roguelike/omega/omega-0.90.4.ebuild b/games-roguelike/omega/omega-0.90.4.ebuild deleted file mode 100644 index 1cad91c..0000000 --- a/games-roguelike/omega/omega-0.90.4.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# - -EAPI=2 -inherit eutils toolchain-funcs games - -DESCRIPTION="Rogue-like complex game of dungeon exploration" -HOMEPAGE="http://www.alcyone.com/max/projects/omega/" -SRC_URI="http://www.alcyone.com/binaries/omega/omega-${PV}-src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=sys-libs/ncurses-5" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${PN}" - -src_prepare() { - epatch "${FILESDIR}"/${PV}-gentoo-omega.patch -} - -src_compile() { - emake || die "emake failed" -} - -src_install() { - dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}/${PN}" - emake DESTDIR="${D}" install_not_suid || die "emake install failed" - - doman docs/omega.6 - dodoc docs/{omega.txt,readme{3,4,.1st}} - - prepgamesdirs -} diff --git a/games-simulation/corewars/Manifest b/games-simulation/corewars/Manifest deleted file mode 100644 index b1adafa..0000000 --- a/games-simulation/corewars/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 0.9.13-corewars-lm.patch 505 SHA256 64efb9a0fa42e8b0b3083f1ab7089ba0ac4bde286a94c99a031b4cc7a9598990 SHA512 52cc803c940f527b200f745d9bacde707a64a071758d1a72b94a86201e76972452c54d1400e9ca867dbffb47750f5e75d8b7e86b1cd2d93c8749226365000bf8 WHIRLPOOL 5993285be9f3420dce9a3ac8382bbfd3a70bc2f98e2628a0360c5e795503dd29306ab88d18744219f5bfe3eb73eb6aa37d7fc15325be09a5d2409f6fa20ed85d -AUX 0.9.13-fix-get_current_dir_name-prototype.patch 415 SHA256 b0b1b79d1288df824e08051b490632d00f6fb164c9528f4eddc98f7e9faeb17d SHA512 f0d2da073cb2cbf8453a7d0c8c4dc3543cbb8a8abdb5fc41d26a8d500ed895eb1d824c7afd447a547a8108d47d7460586bf70147769974f021f5cd8f20b27287 WHIRLPOOL 494c1503b7f7dac5de964bbfc2542c35ed19d8ae9e6c3c121ae3820d2e26bc2951ff500438fa2da7cae9e01e16f92dc780b05f24db917d479cbf5031e5f43227 -AUX reroute.cw 517 SHA256 b4a17d0179f9bf9be995c24c895cf48bb82c4ee26c741c6e88b64a903b0ace67 SHA512 c06d5130c05b76c53e4eb4c99be6f03fc60f814f809f6f18cc7e7a27ce6593cd476eb607239fe05a25d30a73b837814fa79e255cc26ea97f6e498b1525401255 WHIRLPOOL f5401b64f3107f158f55b6c02d2e9abc2024ff3b0fc545a5492885fb2b876e82899e01ef08f9393c63d6a99aea6e91bc20619bdce472aa739e981ba433a07d2e -DIST corewars-0.9.13.tar.gz 203874 SHA256 23957e620e3bbee265c3eb878752caf5d4186428e361af79a3373a698010f6e2 SHA512 fe4194ac5efa7612a06d80c1218740de17a6dae6228f5e603074ab296f4a195adc68c0d8db5bbc9588947a536a9cfc208b411b024163adfe1cda072d05dd6a71 WHIRLPOOL 54ec2c2efe9e5684528bfa9f7c56343ea2c4644426156b5571127b5e64a5e618e51f367a913c836127a89007acd641e844aafc5571627cee07efd6c4ccb724c1 -DIST corewars-gtk2.patch.gz 91741 SHA256 9d269752344ef9c913e57f04c9c5d47f788c585755dbe3050abab50d05738b30 SHA512 e70329bf19a958b53d4bea607d1bb2b7fd8ad423168aef6d92ced42ca73872bb1eb3aa59afaaab185996b41a2b6716096a7a87a6b81df156a0879906e6d45411 WHIRLPOOL 9208a30c72b6c21bfbfdffe63783ff7c792dc3427dc6fc664106492abf41cfe507e2966cffa36351c0bdab36f7bdec7806cc69f27ba990892d6e9bc2372fdb30 -EBUILD corewars-0.9.13-r1.ebuild 1123 SHA256 681e0ab5e20f40f9fd13047b3a0789022c7043ce443c779f305e46fba9ee3fa2 SHA512 2176f85c51cd8137c8e9e4d4a5e16116b3688ef22ed16eafaff4773e7d238f266ef6b63d1ae92976a1018bbd6705eed9989bd26ff8d8723cf7eaaa536c3b4311 WHIRLPOOL 3adb343ee8b4f0f59aa7040adb95d33a1d8b8a8a2b23dc22ec0bace6de5495e0818a7ff5ce3f7e5755d240b9290fa8b9d9632e9265d2411e8e40fe0311f85197 -MISC metadata.xml 585 SHA256 53f76cd0bc11057c80057a1d2c8106a21c1f116f20a7d486ee8a515d74ce4e05 SHA512 990f2dc41460ab05393f2af4725a8bafb957d6745a42bdc467d5c96e72d4c8b0a8a4fdcd511d9dca69afb549100b18fe0868a2def77b23be8da4aaa5c03bb099 WHIRLPOOL 332f85a42274019925fc50bf510689d387926317396d2966d0e48d6f03283d92dae2e765fe879fe193fa9887a762adc1a91e5fef38bef032fd53f696f66ebe14 diff --git a/games-simulation/corewars/corewars-0.9.13-r1.ebuild b/games-simulation/corewars/corewars-0.9.13-r1.ebuild deleted file mode 100644 index a369dfd..0000000 --- a/games-simulation/corewars/corewars-0.9.13-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/corewars/corewars-0.9.13-r1.ebuild,v 1.7 2006/02/22 21:53:28 tupone Exp $ - -EAPI="5" - -inherit autotools games - -DESCRIPTION="Simulation game involving virtual machine code" -HOMEPAGE="http://corewars.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz - http://sourceforge.net/p/corewars/patches/_discuss/thread/947a192c/b4cd/attachment/${PN}-gtk2.patch.gz" - -KEYWORDS="~amd64 ~x86" -LICENSE="GPL-2" -SLOT="0" -IUSE="debug" - -RDEPEND=">=x11-libs/gtk+-2:2" -DEPEND="${RDEPEND}" - -src_prepare() { - epatch "${DISTDIR}"/${PN}-gtk2.patch.gz - epatch "${FILESDIR}"/${PV}-corewars-lm.patch - epatch "${FILESDIR}"/${PV}-fix-get_current_dir_name-prototype.patch - - eautoreconf -} - - -src_configure() { - egamesconf $(use_enable debug gcc-debug) -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - insinto "${GAMES_DATADIR}"/${PN} - doins "${FILESDIR}/reroute.cw" - dodoc ChangeLog README doc/{TODO,DIFFERENCES,INTERESTING-COMBINATIONS} - prepgamesdirs -} diff --git a/games-simulation/corewars/files/0.9.13-corewars-lm.patch b/games-simulation/corewars/files/0.9.13-corewars-lm.patch deleted file mode 100644 index 2bedfe1..0000000 --- a/games-simulation/corewars/files/0.9.13-corewars-lm.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Npur corewars-0.9.13.orig/configure.ac corewars-0.9.13/configure.ac ---- corewars-0.9.13.orig/configure.ac 2014-10-13 21:14:24.986941709 +0200 -+++ corewars-0.9.13/configure.ac 2014-10-13 21:21:02.827976130 +0200 -@@ -49,7 +49,7 @@ AM_PATH_GTK_2_0(2.0.0,,COREWARS=;AC_MSG_ - ************************************************************************ - ])) - --LIBS="$LIBS $GTK_LIBS" -+LIBS="$LIBS $GTK_LIBS -lm" - dnl GTK_INCLUDE=`gtk-config --cflags` - AC_SUBST(INCLUDES) - INCLUDES="$INCLUDES $GTK_CFLAGS" diff --git a/games-simulation/corewars/files/0.9.13-fix-get_current_dir_name-prototype.patch b/games-simulation/corewars/files/0.9.13-fix-get_current_dir_name-prototype.patch deleted file mode 100644 index d5d9cd7..0000000 --- a/games-simulation/corewars/files/0.9.13-fix-get_current_dir_name-prototype.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Npur corewars-0.9.13.orig/src/main-gui.c corewars-0.9.13/src/main-gui.c ---- corewars-0.9.13.orig/src/main-gui.c 2014-10-14 23:08:11.461410224 +0200 -+++ corewars-0.9.13/src/main-gui.c 2014-10-14 23:09:38.931417792 +0200 -@@ -15,6 +15,7 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#define _GNU_SOURCE - #include <stdlib.h> - #include <gtk/gtk.h> - #include <string.h> diff --git a/games-simulation/corewars/files/reroute.cw b/games-simulation/corewars/files/reroute.cw deleted file mode 100644 index 1c15271..0000000 --- a/games-simulation/corewars/files/reroute.cw +++ /dev/null @@ -1,17 +0,0 @@ -# Reroute other processes to execute my code - - Title "Reroute" - Author "Jonathan Enders <kannibalenfleisch@web.de>" -DIA: data &DIA #DestinationIndexA for Jump-Instruction -DIB: data &DIB #DestinationIndexB for Jump-Coordinates - -S: add -2038,DIA - add -2038,DIB #Move Jump-Instruction to more - move INST,[DIA] #or less random location - move DIS,[DIB] - -E: jump S #Repeat - - -INST: jump [DIS] #Instruction to be copied to Destination -DIS: data &S #Address where other processes should jump to diff --git a/games-simulation/corewars/metadata.xml b/games-simulation/corewars/metadata.xml deleted file mode 100644 index b8675c6..0000000 --- a/games-simulation/corewars/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>games</herd> - <maintainer> - <email>anthoine.bourgeois@gmail.com</email> - <name>Anthoine Bourgeois</name> - <description>aluco's overlay maintainer</description> - </maintainer> - <longdescription> - Corewars is a simulation game where a number of programs try to crash - each other. Corewars comes with a graphical user interface (GTK+) to - display the running programs and statistics. Redcode is supported as - well. - </longdescription> -</pkgmetadata> |