summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-08-02 14:50:15 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-08-02 14:50:15 +0000
commit07f366d1f2b185ec746477884166cabc61180b4d (patch)
treeb58ad9b9faf4bbdc2d2177dc2c8a6a4c4a5519c2
parentRemoved 1.2.24, upstream withdrew release due to a semi serious security issue. (diff)
downloadgentoo-2-07f366d1f2b185ec746477884166cabc61180b4d.tar.gz
gentoo-2-07f366d1f2b185ec746477884166cabc61180b4d.tar.bz2
gentoo-2-07f366d1f2b185ec746477884166cabc61180b4d.zip
Add revbump for 2.0.0.6
(Portage version: 2.1.2.11)
-rw-r--r--x11-plugins/enigmail/ChangeLog7
-rw-r--r--x11-plugins/enigmail/enigmail-0.95.2-r1.ebuild193
-rw-r--r--x11-plugins/enigmail/files/digest-enigmail-0.95.2-r163
3 files changed, 262 insertions, 1 deletions
diff --git a/x11-plugins/enigmail/ChangeLog b/x11-plugins/enigmail/ChangeLog
index 799dfbbaae76..57c74ed3d528 100644
--- a/x11-plugins/enigmail/ChangeLog
+++ b/x11-plugins/enigmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-plugins/enigmail
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.83 2007/08/01 19:50:44 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.84 2007/08/02 14:50:15 armin76 Exp $
+
+*enigmail-0.95.2-r1 (02 Aug 2007)
+
+ 02 Aug 2007; Raúl Porcel <armin76@gentoo.org> +enigmail-0.95.2-r1.ebuild:
+ Add revbump for 2.0.0.6
01 Aug 2007; Markus Rothe <corsair@gentoo.org> enigmail-0.95.2.ebuild:
Stable on ppc64; bug #187358
diff --git a/x11-plugins/enigmail/enigmail-0.95.2-r1.ebuild b/x11-plugins/enigmail/enigmail-0.95.2-r1.ebuild
new file mode 100644
index 000000000000..be9a11542618
--- /dev/null
+++ b/x11-plugins/enigmail/enigmail-0.95.2-r1.ebuild
@@ -0,0 +1,193 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.95.2-r1.ebuild,v 1.1 2007/08/02 14:50:15 armin76 Exp $
+
+unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
+WANT_AUTOCONF=2.1
+inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozextension makeedit multilib autotools
+
+LANGS="de el es-ES nb-NO pt-BR zh-CN"
+SHORTLANGS="ca-AD cs-CZ es-ES fi-FI fr-FR hu-HU it-IT ja-JP nb-NO pl-PL pt-PT ru-RU sl-SI sv-SE"
+
+EMVER=${PV}
+TBVER="2.0.0.6"
+TBPATCH="2.0.0.4-patches-0.1"
+
+DESCRIPTION="GnuPG encryption plugin for thunderbird."
+HOMEPAGE="http://enigmail.mozdev.org"
+SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${TBVER}/source/thunderbird-${TBVER}-source.tar.bz2
+ mirror://gentoo/mozilla-thunderbird-${TBPATCH}.tar.bz2
+ http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+LICENSE="MPL-1.1 GPL-2"
+IUSE=""
+
+for X in ${LANGS} ; do
+ SRC_URI="${SRC_URI} linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${PN}-${X}-${PV}.xpi )"
+ IUSE="${IUSE} linguas_${X/-/_}"
+done
+# ( mirror://gentoo/${PN}-${X}-0.9x.xpi )"
+
+for X in ${SHORTLANGS} ; do
+ SRC_URI="${SRC_URI} linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${PN}-${X}-${PV}.xpi )"
+ IUSE="${IUSE} linguas_${X%%-*}"
+done
+#( mirror://gentoo/${PN}-${X}-0.9x.xpi )"
+
+DEPEND=">=mail-client/mozilla-thunderbird-${TBVER}"
+RDEPEND="${DEPEND}
+ >=app-crypt/gnupg-1.4.7
+ >=www-client/mozilla-launcher-1.56"
+
+S=${WORKDIR}/mozilla
+
+# Needed by src_compile() and src_install().
+# Would do in pkg_setup but that loses the export attribute, they
+# become pure shell variables.
+export BUILD_OFFICIAL=1
+export MOZILLA_OFFICIAL=1
+export MOZ_CO_PROJECT=mail
+
+linguas() {
+ linguas=
+ local LANG
+ for LANG in ${LINGUAS}; do
+ if hasq ${LANG} en en_US; then
+ hasq en ${linguas} || \
+ linguas="${linguas:+"${linguas} "}en"
+ continue
+ elif hasq ${LANG} ${LANGS//-/_}; then
+ hasq ${LANG//_/-} ${linguas} || \
+ linguas="${linguas:+"${linguas} "}${LANG//_/-}"
+ continue
+ else
+ local SLANG
+ for SLANG in ${SHORTLANGS}; do
+ if [[ ${LANG} == ${SLANG%%-*} ]]; then
+ hasq ${SLANG} ${linguas} || \
+ linguas="${linguas:+"${linguas} "}${SLANG}"
+ continue 2
+ fi
+ done
+ fi
+ ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA"
+ done
+}
+
+src_unpack() {
+ unpack thunderbird-${TBVER}-source.tar.bz2 mozilla-thunderbird-${TBPATCH}.tar.bz2 || die "unpack failed"
+
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != en ]] && xpi_unpack ${PN}-${X}-${PV}.xpi
+ done
+
+ cd ${S} || die "cd failed"
+
+ # Apply our patches
+ cd "${S}" || die "cd failed"
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}"/patch
+
+ # Unpack the enigmail plugin
+ cd ${S}/mailnews/extensions || die
+ unpack enigmail-${EMVER}.tar.gz
+ cd ${S}/mailnews/extensions/enigmail || die "cd failed"
+ makemake2
+
+ cd ${S}
+
+ # Use the right theme for thunderbird #45609
+ sed -i -ne '/^enigmail-skin.jar:$/ { :x; n; /^\t/bx; }; p' mailnews/extensions/enigmail/ui/jar.mn
+
+ # Fix installation of enigmail.js
+ epatch ${FILESDIR}/70_enigmail-fix.patch
+ # Make replytolist work with >0.95.0
+ epatch ${FILESDIR}/0.95.0-replytolist.patch
+
+ eautoreconf || die "failed running autoreconf"
+}
+
+src_compile() {
+ declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/mozilla-thunderbird
+
+ ####################################
+ #
+ # mozconfig, CFLAGS and CXXFLAGS setup
+ #
+ ####################################
+
+ mozconfig_init
+
+ # tb-specific settings
+ mozconfig_annotate '' \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} \
+ --with-user-appdir=.thunderbird
+
+ # Finalize and report settings
+ mozconfig_final
+
+ # hardened GCC uses -fstack-protector-all by default, and this breaks
+ # thunderbird
+ gcc-specs-ssp && append-flags -fno-stack-protector-all
+ replace-flags -fstack-protector-all -fstack-protector
+
+ ####################################
+ #
+ # Configure and build Thunderbird
+ #
+ ####################################
+
+ econf || die "econf failed"
+
+ # This removes extraneous CFLAGS from the Makefiles to reduce RAM
+ # requirements while compiling
+ edit_makefiles
+
+ # Only build the parts necessary to support building enigmail
+ emake -j1 export || die "make export failed"
+ emake -C modules/libreg || die "make modules/libreg failed"
+ emake -C xpcom/string || die "make xpcom/string failed"
+ emake -C xpcom || die "make xpcom failed"
+ emake -C xpcom/obsolete || die "make xpcom/obsolete failed"
+
+ # Build the enigmail plugin
+ einfo "Building Enigmail plugin..."
+ emake -C ${S}/mailnews/extensions/enigmail || die "make enigmail failed"
+
+ # Package the enigmail plugin; this may be the easiest way to collect the
+ # necessary files
+ emake -j1 -C ${S}/mailnews/extensions/enigmail xpi || die "make xpi failed"
+}
+
+src_install() {
+ declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/mozilla-thunderbird
+ declare emid
+
+ cd ${T}
+ unzip ${S}/dist/bin/*.xpi install.rdf
+ emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
+
+ dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
+ cd ${D}${MOZILLA_FIVE_HOME}/extensions/${emid}
+ unzip ${S}/dist/bin/*.xpi
+
+ # Fix module to work with 2.0.0.*
+ sed -i -e "s/2\.0a1/2.0.0.*/" ${D}${MOZILLA_FIVE_HOME}/extensions/${emid}/install.rdf
+
+ # these files will be picked up by mozilla-launcher -register
+ dodir ${MOZILLA_FIVE_HOME}/{chrome,extensions}.d
+ insinto ${MOZILLA_FIVE_HOME}/chrome.d
+ newins ${S}/dist/bin/chrome/installed-chrome.txt ${PN}
+ echo "extension,${emid}" > ${D}${MOZILLA_FIVE_HOME}/extensions.d/${PN}
+
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != en ]] && xpi_install ${WORKDIR}/${PN}-${X}-${PV}
+ done
+}
diff --git a/x11-plugins/enigmail/files/digest-enigmail-0.95.2-r1 b/x11-plugins/enigmail/files/digest-enigmail-0.95.2-r1
new file mode 100644
index 000000000000..0334f21d2817
--- /dev/null
+++ b/x11-plugins/enigmail/files/digest-enigmail-0.95.2-r1
@@ -0,0 +1,63 @@
+MD5 62c0406d787e264b5d33656d13115b3c enigmail-0.95.2.tar.gz 1074148
+RMD160 8e4faf0ea894d2e3c946e584e8105a7c9deaae56 enigmail-0.95.2.tar.gz 1074148
+SHA256 f26df3e8453ded3cbee99ab9491c354c2ee7971d37cfcfb5f57d766cb19d7b88 enigmail-0.95.2.tar.gz 1074148
+MD5 81b64164c89ba771886f1e2c0d8d7044 enigmail-ca-AD-0.95.2.xpi 30605
+RMD160 6827573391899f49f03e895b02292dbec0f598cd enigmail-ca-AD-0.95.2.xpi 30605
+SHA256 68c7c716478e2dd9e64dff7bd3b209417665c7dbe12146bc9284880806869721 enigmail-ca-AD-0.95.2.xpi 30605
+MD5 c2ae13362d8cc4937c8cefbce6d46cca enigmail-cs-CZ-0.95.2.xpi 33358
+RMD160 30970684d12663138ddde7cb8ee038ca67ebc161 enigmail-cs-CZ-0.95.2.xpi 33358
+SHA256 88ef26d77005b5517912edb3aa0fefa49e7145ffc979e6ba13ecc755b48ffc2a enigmail-cs-CZ-0.95.2.xpi 33358
+MD5 7b363f97e6873f44c835735a7b02620f enigmail-de-0.95.2.xpi 31707
+RMD160 45a89393badcb0453984f050b57d5172330b874a enigmail-de-0.95.2.xpi 31707
+SHA256 16358d6d651640acfbd110b1c3dd8c6f764c90b5bac24d952f99d9eda9c6a9f7 enigmail-de-0.95.2.xpi 31707
+MD5 50012270b6b99f7e42e82256ac9212e3 enigmail-el-0.95.2.xpi 38899
+RMD160 c3d90eb73a078a827b1fb180d47e7e3e92de8d50 enigmail-el-0.95.2.xpi 38899
+SHA256 df694f3c2045cb847f1938a483d0c74b223eca80755146cd1dd2aafd67f08327 enigmail-el-0.95.2.xpi 38899
+MD5 b4600f86bce0ab816bb2896a936eecaa enigmail-es-ES-0.95.2.xpi 29637
+RMD160 602183e597a6d6924e079c468d93d6e7ee328d40 enigmail-es-ES-0.95.2.xpi 29637
+SHA256 8537f7a3ab14b53733e0be89661938a0faff468aa1f1eed14e49f9e7feab25ed enigmail-es-ES-0.95.2.xpi 29637
+MD5 211edad36a919e0000e4fcf63a1c15c4 enigmail-fi-FI-0.95.2.xpi 30081
+RMD160 f06aebc55d6d4481c70e0fbba3d7f3c809bea2f9 enigmail-fi-FI-0.95.2.xpi 30081
+SHA256 618fd0b74406ff3ac625f99cb3dbca1d4a347b2d36fcb0f3ccf7070387681cb2 enigmail-fi-FI-0.95.2.xpi 30081
+MD5 8f4c3c346cdaa6b8f9a698625bd598c6 enigmail-fr-FR-0.95.2.xpi 32665
+RMD160 d78200280157af1de58ac02981a10b82af34f1ce enigmail-fr-FR-0.95.2.xpi 32665
+SHA256 55ee6357e52ae111b5ad8a0587f34a93c5b97d7f7b1443bccb195e9e8b88d417 enigmail-fr-FR-0.95.2.xpi 32665
+MD5 7fa17bd0edb7293765c781844f299852 enigmail-hu-HU-0.95.2.xpi 33707
+RMD160 2459f373e0a6af92896ea5ae82079e7a0391ef6a enigmail-hu-HU-0.95.2.xpi 33707
+SHA256 42aa4c8b3e77f0c211c8b4f83299f57ed1c4132b914acdbc2da74969405884fc enigmail-hu-HU-0.95.2.xpi 33707
+MD5 613bba3e4d5586b8d02fe6882e0066f1 enigmail-it-IT-0.95.2.xpi 31757
+RMD160 936c1747da644bbace844cbf7fe462c6de9d2275 enigmail-it-IT-0.95.2.xpi 31757
+SHA256 2761ca7812591751c2e9ea615182a1f2ba8d9812a1903ac13b67aeca21868432 enigmail-it-IT-0.95.2.xpi 31757
+MD5 5923ab0183e1d68a854bd210ad51ba5d enigmail-ja-JP-0.95.2.xpi 34024
+RMD160 2da46a0f27110e6b8519b8a17850fe0e1aa757cf enigmail-ja-JP-0.95.2.xpi 34024
+SHA256 8af4bedc0f94c48053b24d64381b0a8323f01c3da283f057d05e5c7e6029e359 enigmail-ja-JP-0.95.2.xpi 34024
+MD5 ba4b294dbe84dae1534ef5d3856420a7 enigmail-nb-NO-0.95.2.xpi 29634
+RMD160 297ea983b4272b0435be36cb15e80aab05676807 enigmail-nb-NO-0.95.2.xpi 29634
+SHA256 eab131a7ecb6fd70214e971002bb3437c1329a51bec1576f2a2b55e2829b5376 enigmail-nb-NO-0.95.2.xpi 29634
+MD5 3ac349c7b6a1ebbd80f11c8911f5102d enigmail-pl-PL-0.95.2.xpi 31811
+RMD160 d3cbe067173bd95ed2985b9c844dc3316a29862c enigmail-pl-PL-0.95.2.xpi 31811
+SHA256 c7ea658e75548643ee5b60a7d54c94788e3ea24e98b850b947fda17a7c70c6b3 enigmail-pl-PL-0.95.2.xpi 31811
+MD5 880eb30ed936c91a82f7ea3b51a5182f enigmail-pt-BR-0.95.2.xpi 32891
+RMD160 03f9661f6b0ddc3550313180171483a4ee35dd66 enigmail-pt-BR-0.95.2.xpi 32891
+SHA256 c1ac0d55859bd6caa9982e14e8ec635365783e5cc106e96fc873ecd295a4771f enigmail-pt-BR-0.95.2.xpi 32891
+MD5 e60fd48e6bc90c6d5deb7f26e31f7dda enigmail-pt-PT-0.95.2.xpi 31702
+RMD160 dde72992f27c5a373dbf336c794173a07b0f2ba9 enigmail-pt-PT-0.95.2.xpi 31702
+SHA256 8886ad0f82b9eaab8504de52a0c33292955fc8f0a602e5facd7d16a02a41c57d enigmail-pt-PT-0.95.2.xpi 31702
+MD5 323d5e3192772ca48671d74518899bc7 enigmail-ru-RU-0.95.2.xpi 34504
+RMD160 a12e26c7a2976dbd22234b9ca75d01a83e2b43b3 enigmail-ru-RU-0.95.2.xpi 34504
+SHA256 9f8f6d5e6a42c0b4c0f518ed481c4163a92aa8ea43e5287f5e6813604b1e3340 enigmail-ru-RU-0.95.2.xpi 34504
+MD5 6630590efb6f04f0763f7d36750c0548 enigmail-sl-SI-0.95.2.xpi 35703
+RMD160 fee4fd189dbc8da57b75e10bc91b0c0bbfd7cba0 enigmail-sl-SI-0.95.2.xpi 35703
+SHA256 f2b129ef86502e4f69098c800ba299555c02288def9492d29f4a2699530382bf enigmail-sl-SI-0.95.2.xpi 35703
+MD5 237d8d4cef7a5a5bb2ec99c08cdc1c95 enigmail-sv-SE-0.95.2.xpi 31284
+RMD160 bc8d6ebaf8e6d3b10024c054e6fb0e67a37eb6b0 enigmail-sv-SE-0.95.2.xpi 31284
+SHA256 95e5f918763d7f87b3b2d8d4ddf6427c1f6090e83ce905ae2b24aea88394294d enigmail-sv-SE-0.95.2.xpi 31284
+MD5 bb3128863a1581a9e1d88a592f508dbc enigmail-zh-CN-0.95.2.xpi 31621
+RMD160 3adf067c27060706b0b5649b2bd0cda9bbbf3f54 enigmail-zh-CN-0.95.2.xpi 31621
+SHA256 f73339e2e9edd9f447b8101885c78b5f19ad7d3f4e52121f0141ecbf63b14412 enigmail-zh-CN-0.95.2.xpi 31621
+MD5 8270991e3d7f83aa1e33af64cca9d714 mozilla-thunderbird-2.0.0.4-patches-0.1.tar.bz2 28506
+RMD160 3af7b07b20243edb4465e9e482ed83d7ad75c413 mozilla-thunderbird-2.0.0.4-patches-0.1.tar.bz2 28506
+SHA256 2cf91839e8b609034cb0e843d0b87b2e3d1e8aa3db2ff636153a9120393a4272 mozilla-thunderbird-2.0.0.4-patches-0.1.tar.bz2 28506
+MD5 1a002dfc74cfb7f0b36a448ea3cd14b9 thunderbird-2.0.0.6-source.tar.bz2 37461752
+RMD160 5280feb5c09895e8ba37d84bef0e1aa215ae0028 thunderbird-2.0.0.6-source.tar.bz2 37461752
+SHA256 73011090bc8af7137083f30e693289d6500154e2a785c55b7b28abcd1aac9e9b thunderbird-2.0.0.6-source.tar.bz2 37461752