mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
* Added dedicated ebuild for patching
This commit is contained in:
parent
05520b502d
commit
10e2d667be
3 changed files with 75 additions and 0 deletions
3
x11-plugins/hackbar/Manifest
Normal file
3
x11-plugins/hackbar/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
AUX hackbar-1.3.2-fx.patch 1302 RMD160 71714692bbff67d9438018abd9d66bb314326085 SHA1 9613269795d918e831ecf69cee69392f26df23b4 SHA256 c82f060078e0decaca0449234821473fffb2bb02872519bbf5813937744b08b1
|
||||
DIST hackbar-1.3.2-fx.xpi 77561 RMD160 3c085042e3c27b87c95ecb21e487be3e2a0ae616 SHA1 1270f1a0c1098a73d89b534f926e03f160e3bf43 SHA256 1a78d4610ffda285ff8f52361e65c512885af33401b1425149bdd1dce1f8a995
|
||||
EBUILD hackbar-1.3.2.ebuild 1306 RMD160 3a73cf984a584c576b8e7ef4e873d73ce3a06e8e SHA1 90cf4e6b36171fcd9a83551089be714d510badc4 SHA256 9f01cffa5e49c04fe05e864e483971018f5f87effe5d21850d7ca2c96e82b9bd
|
||||
25
x11-plugins/hackbar/files/hackbar-1.3.2-fx.patch
Normal file
25
x11-plugins/hackbar/files/hackbar-1.3.2-fx.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
diff -Naur hackbar-1.3.2-fx.orig/install.rdf hackbar-1.3.2-fx/install.rdf
|
||||
--- hackbar-1.3.2-fx.orig/install.rdf 2008-06-18 14:25:02.000000000 +0000
|
||||
+++ hackbar-1.3.2-fx/install.rdf 2009-01-25 22:17:24.382645243 +0000
|
||||
@@ -2,10 +2,6 @@
|
||||
<RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
|
||||
xmlns:NC="http://home.netscape.com/NC-rdf#"
|
||||
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
- <RDF:Description RDF:about="rdf:#$mqLyM3"
|
||||
- em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
- em:minVersion="1.5"
|
||||
- em:maxVersion="3.0.*" />
|
||||
<RDF:Description RDF:about="urn:mozilla:install-manifest"
|
||||
em:id="{F5DDF39C-9293-4d5e-9AA8-E04E6DD5E9B4}"
|
||||
em:name="HackBar"
|
||||
@@ -14,6 +10,10 @@
|
||||
em:description="A toolbar that helps you find and test SQL injections"
|
||||
em:iconURL="chrome://hackbar/skin/icon.png"
|
||||
em:homepageURL="http://www.izi-services.nl">
|
||||
+ <RDF:Description RDF:about="rdf:#$mqLyM3"
|
||||
+ em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
+ em:minVersion="1.5"
|
||||
+ em:maxVersion="3.0.*" />
|
||||
<em:targetApplication RDF:resource="rdf:#$mqLyM3"/>
|
||||
</RDF:Description>
|
||||
</RDF:RDF>
|
||||
47
x11-plugins/hackbar/hackbar-1.3.2.ebuild
Normal file
47
x11-plugins/hackbar/hackbar-1.3.2.ebuild
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit mozextension multilib eutils
|
||||
|
||||
# https://addons.mozilla.org/fr/firefox/downloads/file/7473/domainfinder-0.3-fx.xpi
|
||||
# https://addons.mozilla.org/en-US/firefox/downloads/file/15850/hostip.info_geolocation_plugin-0.4.3.3-fx+mz+ns+sm+fl.xpi
|
||||
|
||||
MY_P="${P}-fx"
|
||||
DESCRIPTION="FireCAT is a Firefox Framework Map collection of the most useful security oriented extensions."
|
||||
HOMEPAGE="http://www.security-database.com/toolswatch/FireCAT-Firefox-Catalog-of,302.html"
|
||||
SRC_URI=" https://addons.mozilla.org/en-US/firefox/downloads/file/30978/${MY_P}.xpi"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| (
|
||||
>=www-client/mozilla-firefox-bin-3.0.0
|
||||
>=www-client/mozilla-firefox-3.0.0
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
xpi_unpack $A
|
||||
epatch "${FILESDIR}/${MY_P}.patch"
|
||||
}
|
||||
|
||||
src_compile () {
|
||||
einfo "Nothing to compile"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
declare MOZILLA_FIVE_HOME
|
||||
if has_version '>=www-client/mozilla-firefox-1.5.0.7'; then
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
|
||||
xpi_install "${S}/${MY_P}"
|
||||
fi
|
||||
if has_version '>=www-client/mozilla-firefox-bin-1.5.0.7'; then
|
||||
MOZILLA_FIVE_HOME="/opt/firefox"
|
||||
xpi_install "${S}/${MY_P}"
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in a new issue