diff options
author | Amy Winston <amynka@gentoo.org> | 2016-09-11 12:16:26 +0200 |
---|---|---|
committer | Amy Winston <amynka@gentoo.org> | 2016-09-11 12:16:26 +0200 |
commit | 4220207b1b8a08c8627ce47465f96c060217c714 (patch) | |
tree | 99443723ec1fa45c1125fcd2cd40430329358099 /app-crypt | |
parent | app-forensics/quickfuzz: a new experimental propert-based fuzzer (diff) | |
download | gentoo-4220207b1b8a08c8627ce47465f96c060217c714.tar.gz gentoo-4220207b1b8a08c8627ce47465f96c060217c714.tar.bz2 gentoo-4220207b1b8a08c8627ce47465f96c060217c714.zip |
app-crypt/eid-mw: version bump 4.1.18 bug #593302. Vincent Hardy
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/eid-mw/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/eid-mw/eid-mw-4.1.18.ebuild | 83 |
2 files changed, 84 insertions, 0 deletions
diff --git a/app-crypt/eid-mw/Manifest b/app-crypt/eid-mw/Manifest index d02c45be5951..0d8cca6996ac 100644 --- a/app-crypt/eid-mw/Manifest +++ b/app-crypt/eid-mw/Manifest @@ -1,2 +1,3 @@ +DIST eid-mw-4.1.18-v4.1.18.tar.gz 3480541 SHA256 abc9d3194008f05b2589ddd9a29c45d22d89716bdc8689fcec42b2aa8450ddbf SHA512 18825a06007f7c07609cee034896ebf64b589200e04b72fece2bd65004a738c01cf64475d59f2c94b7242aa1adfc433bf4af6cf8b5d809746f3e9357ac27b98c WHIRLPOOL 584817aff81a1e0b1af24e5b259fa7e40b5a43b27be701242430cdc480d8ba57205faeba6fb787f1321e02916e6f3efa722e01609151fa3798b8e37b13cb159e DIST eid-mw-4.1.4-v4.1.4.tar.gz 3475913 SHA256 2996960ea92504c7cee1953ccf4520ba78979c7771645e2b2c1207f94be0a308 SHA512 efcc4dbd0fa383896df9f5a7492b18beb5259cfa368a919ae18bd996e5976a67d0570c0fbccd5ab38ea95c31f48b92c145c526aa59866217a418a80a550d502f WHIRLPOOL 11e35b3649a0c3bd40e4c901ba4d922305dc2b4098018bd018ee71b963b08898e6295e4f71cb7180b0fc8e64d1afe01ce49bcaa36a60c065c2de84b81d19e398 DIST eid-mw-4.1.9-v4.1.9.tar.gz 3475708 SHA256 0c46c73b805884dd4ae739eb6025c137c1055ad119eac1ab37cb83eb32d92953 SHA512 bc61b3f212bfedf6f47f2841bc6c9b1198be5e3c7b382e3e28635c9e6f5c4ed8ccb118b105f668969fba31e49750cb1c5b129cd5b67a2725af122a8eae491b1c WHIRLPOOL 06b1f9780e984ac6c562bacab03936cd759ea1fce45687f09ae314d4fa77edce02c7ba4db5a9bc3fd739392f8b7b182b19b2734c1d21d63f6995c3cd572695d9 diff --git a/app-crypt/eid-mw/eid-mw-4.1.18.ebuild b/app-crypt/eid-mw/eid-mw-4.1.18.ebuild new file mode 100644 index 000000000000..815d376bfab4 --- /dev/null +++ b/app-crypt/eid-mw/eid-mw-4.1.18.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils autotools mozextension multilib + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://github.com/Fedict/${PN}.git + https://github.com/Fedict/${PN}.git" + inherit git-2 + SRC_URI="" +else + MY_P="${P}-v${PV}" + SRC_URI="https://downloads.services.belgium.be/eid/${MY_P}.tar.gz" + KEYWORDS="~x86 ~amd64 ~arm" + S="${WORKDIR}/${MY_P}" +fi + +SLOT="0" +LICENSE="LGPL-3" +DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government" + +HOMEPAGE="http://eid.belgium.be" + +IUSE="+gtk +xpi +dialogs" + +REQUIRED_USE=" + dialogs? ( gtk )" + +RDEPEND="gtk? ( x11-libs/gtk+:= ) + >=sys-apps/pcsc-lite-1.2.9 + xpi? ( || ( >=www-client/firefox-bin-3.6.24 + >=www-client/firefox-3.6.20 ) ) + !app-misc/beid-runtime" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + use gtk || epatch "${FILESDIR}"/gtk_not_required_4.1.4.patch + + if [[ ${PV} == "9999" ]] ; then + # Only in current git. Hopefully, in next release. + sed -i -e 's:/beid/rsaref220:/rsaref220:' configure.ac || die + sed -i -e 's:/beid::' cardcomm/pkcs11/src/libbeidpkcs11.pc.in || die + fi + + if [[ ${PV} == "9999" ]] || ! use gtk ; then + eautoreconf + fi +} + +src_configure() { + econf \ + $(use_enable dialogs) \ + --with-gnu-ld \ + --disable-static \ + --disable-signed +} + +src_install() { + emake DESTDIR="${D}" install + + if [[ ${PV} != "9999" ]] ; then + # Automatically done in current git. Hopefully, in next release. + rm doc/sdk/include/rsaref220/win32.h || die + doheader -r doc/sdk/include/* + fi + if use xpi; then + declare MOZILLA_FIVE_HOME + if has_version '>=www-client/firefox-3.6.20'; then + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox" + xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be" + fi + if has_version '>=www-client/firefox-bin-3.6.24'; then + MOZILLA_FIVE_HOME="/opt/firefox" + xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be" + fi + fi + rm -r "${D}/usr/share" "${D}"/usr/lib*/*.la || die +} |