[or-cvs] r15670: FireGPG 0.5 (incognito/trunk/portage.overlay/x11-plugins/firegpg)

anonym at seul.org anonym at seul.org
Sat Jul 5 15:05:55 UTC 2008


Author: anonym
Date: 2008-07-05 11:05:55 -0400 (Sat, 05 Jul 2008)
New Revision: 15670

Added:
   incognito/trunk/portage.overlay/x11-plugins/firegpg/firegpg-0.5.ebuild
Removed:
   incognito/trunk/portage.overlay/x11-plugins/firegpg/firegpg-0.4.8.ebuild
Modified:
   incognito/trunk/portage.overlay/x11-plugins/firegpg/Manifest
Log:
FireGPG 0.5


Modified: incognito/trunk/portage.overlay/x11-plugins/firegpg/Manifest
===================================================================
--- incognito/trunk/portage.overlay/x11-plugins/firegpg/Manifest	2008-07-05 15:05:28 UTC (rev 15669)
+++ incognito/trunk/portage.overlay/x11-plugins/firegpg/Manifest	2008-07-05 15:05:55 UTC (rev 15670)
@@ -1 +1,2 @@
-EBUILD firegpg-0.4.8.ebuild 1305 RMD160 7342893002e4b5b49ae32edf87922d92f364e5bc SHA1 f16fb5b1f0404cca404ce990dd239d0f0d7bf6a9 SHA256 17c8c9037f403842cf099838ee96431b29b5f427dd4801fcf2ae8c53269846c3
+DIST firegpg-0.5.xpi 178803 RMD160 0324619f1df5b5445735d82d79a1f7543214a71d SHA1 3b6c8f825831138dbff7b169a188b8a9c2fb5129 SHA256 e283db7fa98879098fc6b974078bf0b29b60af95e8d63f2f7cf783fce07711d5
+EBUILD firegpg-0.5.ebuild 1156 RMD160 e0d2cc06e36f82c07a956b2293a42e30626e24c6 SHA1 fe52a3b022abb95d843f58b79a68f381569d2e1c SHA256 c827135bb53a00d509ac075088e2ff6e53a569371f421397bee10aa6eba60e1b

Deleted: incognito/trunk/portage.overlay/x11-plugins/firegpg/firegpg-0.4.8.ebuild
===================================================================
--- incognito/trunk/portage.overlay/x11-plugins/firegpg/firegpg-0.4.8.ebuild	2008-07-05 15:05:28 UTC (rev 15669)
+++ incognito/trunk/portage.overlay/x11-plugins/firegpg/firegpg-0.4.8.ebuild	2008-07-05 15:05:55 UTC (rev 15670)
@@ -1,44 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-inherit subversion mozextension multilib
-
-DESCRIPTION="Firefox extension which brings an interface to encrypt, decrypt, sign or verify the signature of text in any web page using GnuPG."
-HOMEPAGE="http://firegpg.tuxfamily.org/"
-#SRC_URI="http://firegpg.tuxfamily.org/stable/${PN}.xpi"
-# We can get a specific release using SVN with a revision number since a version based .xpi is not available
-ESVN_REPO_URI="svn://svn.tuxfamily.org/svnroot/firegpg/firegpg"
-ESVN_OPTIONS="-r 339"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-RDEPEND="|| (
-  >=www-client/mozilla-firefox-bin-1.5.0.7
-  >=www-client/mozilla-firefox-1.5.0.7
-)
-	app-crypt/gnupg"
-
-DEPEND="${RDEPEND}"
-
-src_unpack() {
-	subversion_src_unpack
-	./build.sh
-	DISTDIR="${WORKDIR}/distdir"
-	mkdir -p "${DISTDIR}"
-	mv "${PN}.xpi" "${DISTDIR}/${P}-svn.xpi"
-	xpi_unpack "${P}-svn.xpi"
-}
-
-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"
-	elif has_version '>=www-client/mozilla-firefox-bin-1.5.0.7'; then
-		MOZILLA_FIVE_HOME="/opt/firefox"
-	fi
-
-	DISTDIR="${WORKDIR}/distdir"
-	xpi_install "${WORKDIR}"/"${P}-svn"
-}

Added: incognito/trunk/portage.overlay/x11-plugins/firegpg/firegpg-0.5.ebuild
===================================================================
--- incognito/trunk/portage.overlay/x11-plugins/firegpg/firegpg-0.5.ebuild	                        (rev 0)
+++ incognito/trunk/portage.overlay/x11-plugins/firegpg/firegpg-0.5.ebuild	2008-07-05 15:05:55 UTC (rev 15670)
@@ -0,0 +1,43 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit mozextension multilib
+
+DESCRIPTION="Firefox plugin to disable javascript"
+HOMEPAGE="http://noscript.net/"
+SRC_URI="http://getfiregpg.org/stable/${P}.xpi"
+#SRC_URI="http://getfiregpg.org/stable/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="|| (
+	>=www-client/mozilla-firefox-bin-1.5.0.7
+	>=www-client/mozilla-firefox-1.5.0.7
+)
+	app-crypt/gnupg"
+
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+src_compile() {
+        xpi_unpack "${P}.xpi"
+}
+
+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"
+	fi
+	if has_version '>=www-client/mozilla-firefox-bin-1.5.0.7'; then
+		MOZILLA_FIVE_HOME="/opt/firefox"
+	fi
+	# xpi_install extracts the incorrect em:id from install.rdf so we
+	# install the plugun manually to its correct place
+	cd "${S}/${P}"
+	insinto "${MOZILLA_FIVE_HOME}/extensions/firegpg at firegpg.team"
+	doins -r "${S}/${P}"/* || die "failed to copy extension"
+}



More information about the tor-commits mailing list