Clean up out dated ebuild

This commit is contained in:
Stefan Reimer 2015-10-06 08:07:14 -07:00
parent ef5c2a2a74
commit 72575486be
16 changed files with 0 additions and 376 deletions

View File

@ -1,6 +0,0 @@
AUX dradis 94 RMD160 c5bda854facb00e8727a680fac1ad07fb73282a0 SHA1 7708b9614a57cce163f165ad3a878e8671ba5bdf SHA256 63cfaadeb5bde0f3461ef0151d4a0c29a8173021d77b36dcf565b9b89daf5238
AUX dradis.confd 190 RMD160 212def04e6b7a68285aaf27ef7dd618b3c2f3141 SHA1 0d3868ac0a17946c20538aebe6c483427ad1d91d SHA256 a0eafa1b766ee0e8274974a89759c71299eef16223ed890c8c0721b617ba7838
AUX dradis.initd 598 RMD160 ee8f2ea548a91636529d31bf41f7ceb3762fb1dd SHA1 f87407ad9f5eaf950959ee7979b7fbff4bac248e SHA256 21283f9965a7f49ec3d04812de63af7edc7c65613ff8f2f86b3f70788cca6243
AUX jquery-rails-1.0.13.gem 254976 RMD160 d5912ae0df4b32ba3ac905685f7e12d1c316035a SHA1 c0045bd09a4844d8bd2245a9a2665aa265e3f913 SHA256 101d0336b9c2c0587b9af4fa16ba42a8385b692617cfd36f478c642e65dbb63d
DIST dradis-v2.8.0.tar.bz2 11582518 RMD160 8499be68367d111931de3946678558273d5c1c85 SHA1 60ac20c7fcf2111391e0cd84a21dfd3bd3509d76 SHA256 f03f8e863e4316a40384ddd1bf57874712807e76562f11c99d2079f57c9c1210
EBUILD dradis-2.8.0.ebuild 1254 RMD160 688a410f145b419dd9246c45ce628b1a79f86e3c SHA1 3043e08924da39fdb608787b01294e99e94924fd SHA256 c211462ca0fdbd97b1eeb250ff4e03a8f96d7ba2708ee3c0faae9a58e649052e

View File

@ -1,55 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils
DESCRIPTION="A framework for effective information sharing"
HOMEPAGE="http://dradisframework.org/"
SRC_URI="mirror://sourceforge/$PN/$PN-v$PV.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="mysql"
DEPEND="dev-ruby/sqlite3-ruby
dev-ruby/rubygems
dev-ruby/bundler
mysql? ( dev-ruby/mysql-ruby )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-2.8"
src_compile() {
# Inject missing jquery-rails-1.0.13.gem
cp ${FILESDIR}/jquery-rails-1.0.13.gem server/vendor/cache
export RAILS_ENV=production
cd server
bundle check > /dev/null || bundle install --local || die
}
src_install() {
insinto /usr/lib/$PN
doins -r server/* || die "install failed"
dodoc readme.txt CHANGELOG
dosbin "${FILESDIR}"/$PN
newinitd "${FILESDIR}"/${PN}.initd $PN
newconfd "${FILESDIR}"/${PN}.confd $PN
}
pkg_postinst() {
einfo "Setting up sqlite database."
cd /usr/lib/$PN/
export RAILS_ENV=production
echo y | bundle exec thor dradis:reset
if use mysql; then
einfo "If you want to use a MySQL database check the dradis\
documentation: http://dradisframework.org/configure.html"
fi
}

View File

@ -1,5 +0,0 @@
#!/bin/sh
export RAILS_ENV=production
cd /usr/lib/dradis
bundle exec rails server webrick $*

View File

@ -1,7 +0,0 @@
# /etc/conf.d/dradis: config file for /etc/init.d/dradis
# Bind to specified address
# You can set to 0.0.0.0 to accept requests anywhere
DRADIS_ADDRESS="localhost"
# Port
DRADIS_PORT=3004

View File

@ -1,28 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
export RAILS_ENV=production
depend() {
need net
use mysql
}
start() {
ebegin "Starting dradis"
cd /usr/lib/dradis/
start-stop-daemon --start --quiet \
--pidfile /usr/lib/dradis/tmp/pids/server.pid \
--exec /usr/sbin/dradis -- \
--daemon --binding ${DRADIS_ADDRESS} --port ${DRADIS_PORT}
eend $?
}
stop() {
ebegin "Stopping dradis"
cd /usr/lib/dradis/
start-stop-daemon --stop --quiet --pidfile /usr/lib/dradis/tmp/pids/server.pid
eend $?
}

View File

@ -1,7 +0,0 @@
AUX configforced.py 144 SHA256 289eaf04b78739937b6d4e0c144136a9c8174d59a98304cb52dbcae6a28dda66 SHA512 493f302102bd7d25b7824b76b5e6fd89b649b9a60693d44eb4113f6ecc7a0a7420b98e29eea7873a806aa6a4bd1c4e6f2e8e4153fd68f1523e8559d462887d04 WHIRLPOOL 57c4a4b63f7e54ba4ba1074d75bacf491385281dee596fe33187c49d58c65fe87deb84a8cc66823c9bf4958aadda16e47cdc2d0b84a5e9d2dce3f77bafe057a5
AUX pyfa-1.1.11-import-pyfa.patch 880 SHA256 7a261bf8cb09845ec93f756437603abb1321b373b80d28ead53a78c32f017c3f SHA512 1c7b68adfde2bb6a7237a7188ddd6c440462c873c1f74177ae2b5784a8a48b5682f2ef033fc243cfdfad9b36205a26f8673d894cac225843ab140cae9090eee0 WHIRLPOOL ab18121b4e33c6bbd6e61c8d59324dac3cae055cc7a9e8d7275beec7240b2754d1bf4565b917537f9925e40154f9a37b069982bd67bf26b285641db92d82a8e7
AUX pyfa-1.1.20-staticPath.patch 870 SHA256 3758e6c463650546be4c74241c55412652ca0c8e4f62261be76ea3e984fac9d0 SHA512 34aa6812a25d8d0f33976e74cb109040ae515042ab228fb14583038f0a87f43d09fd43d869ebe617076f1308df11bd943fca397fb9c80f95daddc591bbd824c0 WHIRLPOOL a9e3123233cd5e88b8821c7844dd1d01da84102c5f2fc29112b26f29edca34aa458ba1c9742c914c7751e0afa803ff0e0b584ecbd4aae85710a64a901c88d5a9
AUX pyfa-1.1.8-html-export-path.patch 1219 SHA256 dfe776e75631750d3e18eba2d835359ba32d77ef8bec3db0fa74fd762dc3a7b6 SHA512 d60ce241af9228d18cccd74b2c6fbf81e40c17c4a396f4771c1ab44aa84b5fdb29fc859f1b5e7d9b097f3fc38e409e6f20593c73d674ea923e5564faa4f4cd45 WHIRLPOOL 8be74bf7f6224856279a21df2949856e98f2c2c1c9e358fa9518fc67b06693f350b96d8efe8e8f46e992e0983fa8a1ca775f9c9696e0e6c419a9c35caa9bf8b4
AUX pyfa.desktop 155 SHA256 c395891d87eaaac64e3ba7954d623efaf161d906527099ed4b0c680c63a041eb SHA512 d62a44e4e724057581a360cc1eb10aa4c7a0c50cb1d95137e58ba14db17644c852da2582be8d508c50b7359e7f99dc893d78d15cb11c46967a9b7896ff667781 WHIRLPOOL 3f68f0cd6942380fc040a3578b054ea7cdb86fbd751ed17aa1fe1e1eda3c7ee6c35645c28c6529605856d5e74765ccd7037abe96c3efe2a5a54cc7fcb6c53793
DIST pyfa-1.14.0.tar.gz 6279388 SHA256 75f6604a94a1627101c48851d1ced348da29855a12043441d4120fa825512ced SHA512 2a295b7bde8b8f276d51bd48c1e8309d64c90c4005aaba49491a5ca156d90225c0ae14586ff9205d088e2dac598a024dc1b21cf597a183bb95bb7537d55638a4 WHIRLPOOL 7dc1342340ab8489c0c19b9a8ccd5aef8c3dc761b634c7847e396d15287fad554d308437ecb73be877460a33dde001a939ea17df58ef01e53c1ef6161be36818
EBUILD pyfa-1.14.0-r1.ebuild 2662 SHA256 9413a1e4a481cb6396a0c1db89cb5656da4324b8aff3470968881e83fe5f2ef1 SHA512 ce4422838dbe43b8e4e25d7cda77216c83a00d3d365465e9dc557c8713419ce1b522f66391bfa2d7b68cb6efd93665f7339f0941c210e5e1de246ef78fd056f4 WHIRLPOOL 619a05c44036c6e8f002210dc5591c4e164b7615b15b5cd1087fb11c7ed61e7a34a85812556405a4de8e89f70ea00fdc06b392ca955bc422b153d361b61fa72b

View File

@ -1,4 +0,0 @@
# Gentoo-specific settings
pyfaPath = u'%%SITEDIR%%/pyfa'
staticPath = u'%%EPREFIX%%/usr/share/pyfa/staticdata'
gameDB = staticPath + "/eve.db"

View File

@ -1,28 +0,0 @@
From f301dcd0df741514e889fc234811cd4770dca6c7 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Wed, 5 Dec 2012 00:48:12 -0500
Subject: [PATCH] Append $(python_get_sitedir)/pyfa to import path
Ensures that pyfa's import statements continue to work for systemwide
installation.
---
pyfa.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pyfa.py b/pyfa.py
index 6992aaf..d66cb70 100755
--- a/pyfa.py
+++ b/pyfa.py
@@ -63,6 +63,9 @@ if __name__ == "__main__":
parser.add_option("-r", "--root", action="store_true", dest="rootsavedata", help="if you want pyfa to store its data in root folder, use this option", default=False)
(options, args) = parser.parse_args()
+ import os
+ sys.path.append(os.path.join("%%SITEDIR%%", "pyfa"))
+
import config
# Configure paths
if options.rootsavedata is True:
--
1.8.0

View File

@ -1,27 +0,0 @@
From 69660180a59d0d100097dedbc507d4af73267e8d Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Wed, 30 Nov 2011 12:50:53 -0500
Subject: [PATCH] Make staticPath settable from configforced
---
config.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/config.py b/config.py
index e39e0d3..e028c36 100644
--- a/config.py
+++ b/config.py
@@ -66,7 +66,9 @@ def defPaths():
# Static EVE Data from the staticdata repository, should be in the staticdata
# directory in our pyfa directory
- staticPath = os.path.join(pyfaPath, "staticdata")
+ staticPath = getattr(configforced, "staticPath", None)
+ if staticPath is None:
+ staticPath = os.path.join(pyfaPath, "staticdata")
# The database where we store all the fits etc
saveDB = os.path.join(savePath, "saveddata.db")
--
1.8.5.3

View File

@ -1,33 +0,0 @@
From 017938391c5b67327c489a5c3a6fc720d4204609 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Mon, 16 Jul 2012 05:43:38 -0400
Subject: [PATCH] Export fits to home directory, not python sitedir
---
service/settings.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/service/settings.py b/service/settings.py
index 8f6e3a8..5ac386d 100644
--- a/service/settings.py
+++ b/service/settings.py
@@ -21,6 +21,7 @@ import cPickle
import os.path
import config
import urllib2
+import sys
class SettingsProvider():
BASE_PATH = os.path.join(config.savePath, "settings")
@@ -199,7 +200,7 @@ class HTMLExportSettings():
return cls._instance
def __init__(self):
- serviceHTMLExportDefaultSettings = {"enabled": False, "path": config.pyfaPath + os.sep + 'pyfaFits.html' }
+ serviceHTMLExportDefaultSettings = {"enabled": False, "path": unicode(os.path.expanduser(os.path.join('~', 'pyfaFits.html')), sys.getfilesystemencoding()) }
self.serviceHTMLExportSettings = SettingsProvider.getInstance().getSettings("pyfaServiceHTMLExportSettings", serviceHTMLExportDefaultSettings)
def getEnabled(self):
--
1.7.8.6

View File

@ -1,8 +0,0 @@
[Desktop Entry]
Name=Pyfa
Comment=Ship fitting application for EVE Online
Icon=pyfa
Terminal=false
Type=Application
Categories=Game;RolePlaying;
Exec=pyfa

View File

@ -1,94 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/pyfa/pyfa-1.11.0.ebuild,v 1.1 2015/05/22 02:57:53 tetromino Exp $
EAPI="5"
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite,threads"
inherit eutils gnome2-utils python-r1
DESCRIPTION="Python Fitting Assistant - a ship fitting application for EVE Online"
HOMEPAGE="https://github.com/DarkFenX/Pyfa"
LICENSE="GPL-3+ LGPL-2.1+ CC-BY-2.5 free-noncomm"
SLOT="0"
if [[ ${PV} = 9999 ]]; then
EGIT_REPO_URI="https://github.com/DarkFenX/Pyfa.git"
inherit git-2
KEYWORDS=""
else
SRC_URI="https://github.com/DarkFenX/Pyfa/archive/v${PV}.tar.gz -> pyfa-${PV}.tar.gz"
KEYWORDS="~amd64 ~arm ~x86"
fi
IUSE="+graph"
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
dev-python/wxpython:2.8[${PYTHON_USEDEP}]
graph? (
dev-python/matplotlib[wxwidgets,${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}] )
${PYTHON_DEPS}"
DEPEND="app-arch/unzip"
S=${WORKDIR}/Pyfa-${PV}
src_prepare() {
# get rid of CRLF line endings introduced in 1.1.10 so patches work
edos2unix config.py pyfa.py service/settings.py
# make staticPath settable from configforced again
epatch "${FILESDIR}/${PN}-1.1.20-staticPath.patch"
# do not try to save exported html to python sitedir
epatch "${FILESDIR}/${PN}-1.1.8-html-export-path.patch"
# fix import path in the main script for systemwide installation
epatch "${FILESDIR}/${PN}-1.1.11-import-pyfa.patch"
touch __init__.py
pyfa_make_configforced() {
mkdir -p "${BUILD_DIR}" || die
sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
-e "s:%%EPREFIX%%:${EPREFIX}:" \
"${FILESDIR}/configforced.py" > "${BUILD_DIR}/configforced.py"
sed -e "s:%%SITEDIR%%:$(python_get_sitedir):" \
pyfa.py > "${BUILD_DIR}/pyfa"
}
python_foreach_impl pyfa_make_configforced
}
src_install() {
pyfa_py_install() {
local packagedir=$(python_get_sitedir)/${PN}
insinto "${packagedir}"
doins -r eos gui icons service utils config*.py __init__.py gpl.txt
[[ -e info.py ]] && doins info.py # only in zip releases
doins "${BUILD_DIR}/configforced.py"
python_doscript "${BUILD_DIR}/pyfa"
python_optimize
}
python_foreach_impl pyfa_py_install
insinto /usr/share/${PN}
doins -r staticdata
dodoc README.md
insinto /usr/share/icons/hicolor/32x32/apps
doins icons/pyfa.png
insinto /usr/share/icons/hicolor/64x64/apps
newins icons/pyfa64.png pyfa.png
domenu "${FILESDIR}/${PN}.desktop"
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@ -1,4 +0,0 @@
AUX fierce-path.patch 912 RMD160 d6782bb1dd08389fee49ea32210a3612756b20e7 SHA1 74d054d86dd37f1b784a3dc4d2ce41e11ebce1ea SHA256 820654fe8d69a0e127ec64a1c997d1c6f5edc2945c1d03f7bf5da718da62487e
DIST fierce.pl 18169 RMD160 1ec0d75e41c99687133a0ca19c037a40140a9a32 SHA1 245d4063473283ad523baa05719600d8213d392b SHA256 513cb69952cf66de44daf7ebb9d18ebd5d8b43838cffa8920ea2e5ef1c646015
DIST hosts.txt 11850 RMD160 48e3fe38e84887f1b1a4e79547f72ff4e468e8a3 SHA1 a2645ab4e4e1ba8090997eaae8f2bb2dd1bb8ea1 SHA256 257be39eb0bf18162f132722d4ec8db18d7c43219ce4654fbc293341aafb0573
EBUILD fierce-1.0.3.ebuild 803 RMD160 bb88516ee8e1ed5ccac298af0d04631dbf42e570 SHA1 831a6da3bde926d8eddcb9baacb9fe0a00181d96 SHA256 82a70199cfec73f8488f6749e32769429a8d8df5130c4cea61396348d25ec250

View File

@ -1,45 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# based on pentoo.ch ebuilds - quark <it@startux.de>
EAPI="2"
inherit eutils
DESCRIPTION="Fierce is a DNS reconnaissance tool written in perl"
HOMEPAGE="http://ha.ckers.org/fierce/"
SRC_URI="http://ha.ckers.org/fierce/${PN}.pl
http://ha.ckers.org/fierce/hosts.txt"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND="dev-perl/Net-DNS"
S="${WORKDIR}"/${PN}
src_unpack() {
einfo "Nothing to unpack"
mkdir "${S}"
for x in $A
do
cp "${DISTDIR}"/"${x}" "${S}"
done
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-path.patch
}
src_compile() {
einfo "Nothing to compile"
}
src_install() {
insinto /usr/share/"${PN}"
doins hosts.txt
dobin "${PN}".pl
}

View File

@ -1,25 +0,0 @@
--- fierce.pl.orig 2011-12-04 22:22:07.912453710 -0800
+++ fierce.pl 2011-12-04 22:22:43.348452584 -0800
@@ -245,11 +245,11 @@
} elsif ($dns) {
output("\nUnsuccessful in zone transfer (it was worth a shot)");
output("Okay, trying the good old fashioned way... brute force");
- $wordlist = $wordlist || 'hosts.txt';
+ $wordlist = $wordlist || '/usr/share/fierce/hosts.txt';
if (-e $wordlist) {
# user provided or default
open (WORDLIST, '<', $wordlist) or
- open (WORDLIST, '<', 'hosts.txt') or
+ open (WORDLIST, '<', '/usr/share/fierce/hosts.txt') or
quit_early("Can't open $wordlist or the default wordlist");
for (<WORDLIST>){
chomp;
@@ -579,6 +579,8 @@
-wordlist Use a seperate wordlist (one word per line). Usage:
perl fierce.pl -dns examplecompany.com -wordlist dictionary.txt
+
+ Default hosts list is in /usr/share/fierce/hosts.txt
EOHELP
exit;
}