commit:     430e19bae81ba7111a5b27f34a8064d75f00b06d
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Nov 11 20:38:42 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Wed Nov 14 00:12:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=430e19ba

update autenticacao-gov-pt

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-misc/autenticacao-gov-pt/Manifest              |  20 +++--
 .../autenticacao-gov-pt-3.0.13.ebuild              |  90 +++++++++++++++++++++
 .../files/autenticacao.gov.pt-3.0.13.deb           | Bin 0 -> 1086846 bytes
 .../files/dlgQndPinpadInfo.cpp.patch               |  20 +++++
 .../autenticacao-gov-pt/files/extras-3.0.13.tar.gz | Bin 0 -> 12500410 bytes
 5 files changed, 122 insertions(+), 8 deletions(-)

diff --git a/app-misc/autenticacao-gov-pt/Manifest 
b/app-misc/autenticacao-gov-pt/Manifest
index 928c787..ca367d8 100644
--- a/app-misc/autenticacao-gov-pt/Manifest
+++ b/app-misc/autenticacao-gov-pt/Manifest
@@ -1,8 +1,12 @@
-AUX Makefile.gnu.patch 592 SHA256 
cb445c04be9a0a642439a688cbff82315fd9079d5e085a94c871dae6a22f9424 SHA512 
8da9359d93fbd4a2ed6df8a58f15228ba13ee7117634e024c2ea759ee046b5ba255d374143b087b506a32d21f44c2cad63b2af95a6834ad051d52e0b5b8aa9cb
 WHIRLPOOL 
ae0d9da19b08f20842a8b5f8ce50784190c881efb3e3d57bf0e0f57be3ccf1d0619f1eacb79a60cabe6b42a9791074c0113508eb55b24477ba420e3971324175
-AUX autenticacao.gov.pt-2.4.0.deb 1055012 SHA256 
9f2eb9b0d6a4c2c6544a5364c03f4bf1f197904c7861aa471c250a2de6e1192f SHA512 
09742f4d59efa56c5ebb69ac3cdb408c5d9e4f5c4f7526069c59077afb9a4b7e4efab878e43281b59cd8807a7d4adab3da758d30008b509dc79aa7b6c521a0db
 WHIRLPOOL 
810a34fe6320fdc91dcfd66abdd618a56ee1d4f0fd2f1dbcef5a121e95c462d91fd3102ab61f6966c25d5b8bdf7aecd7cccb99aafcfa63e0d26b1be8378e4bf3
-AUX autenticacao.gov.pt-2.4.6.deb 1073740 SHA256 
0e78553aa6e7ba10a024b44ac8363b998a677231c26af047e3df6653a0cd88b9 SHA512 
92c6ec346d2496b95ed88d686e3b4d656b96053f515b3c12c56a4933b103011365242de184fbfda17c52c540efddf083cff5b544c9351abef9d21256ad305897
 WHIRLPOOL 
300c2389d60e2807b36c2f8820866b395d2391da5501b4a619390909c3acfce5402ac7061e11398bd19b6fd963228d353f4d40d31cb5ca9db6f30442efe8c2b4
-AUX extras-2.4.0.tar.gz 12500575 SHA256 
1aad4500fff3e1c40045bcf91561bf9611ddc22ee4a087ec8a24f091e9dbbb6c SHA512 
75a032022843b01e548807f9b84289b8dba58b48b4bcbd46784a1bd79a127f0f72dc093e757d182056aa7f80ef8d798dbf377665bd5a76060ce8960a275eb5b2
 WHIRLPOOL 
c4abcb7ad6afc4ed9c7587a98cb30cbc20ddc025055699de44a7b287132205131aa725db96fd863ccdc037e0a253bc296ce243b3a676ba95004344139bc91d1f
-AUX extras-2.4.6.tar.gz 12500575 SHA256 
1aad4500fff3e1c40045bcf91561bf9611ddc22ee4a087ec8a24f091e9dbbb6c SHA512 
75a032022843b01e548807f9b84289b8dba58b48b4bcbd46784a1bd79a127f0f72dc093e757d182056aa7f80ef8d798dbf377665bd5a76060ce8960a275eb5b2
 WHIRLPOOL 
c4abcb7ad6afc4ed9c7587a98cb30cbc20ddc025055699de44a7b287132205131aa725db96fd863ccdc037e0a253bc296ce243b3a676ba95004344139bc91d1f
-AUX qmake.patch 468 SHA256 
8c11d848776282d3de9b5db209bddbc47041e1089fcc1b1cbcd6fd0fd62394b0 SHA512 
ff8ed18d0748e04b1041c7b189a93dfe6674273e677ec86676187b2323ca794d61424204ec8c395c1f5b603c5dd6c346ae2db1cf9886fb42550a827f50c55d34
 WHIRLPOOL 
9bfe67de73319c70aecefa180c29028320a11669276c7894a5108131c9161f9f1b63c985ea4ba4aba141389cd09a85f4141db9490124ef6c2b3e59e1b48dfc0d
-EBUILD autenticacao-gov-pt-2.4.0.ebuild 2432 SHA256 
c430108f2bc81feb742d167a7b9ace059f3450a71209246baea079d363027d61 SHA512 
73d325601fd51239369a79c5cb0d898bf0c15fbe51b36a30cd00a56fb090431ffef4a76e774353c294f4a92d497e25f233e9bd4eb8fcee41a29451a86d243d7e
 WHIRLPOOL 
7ce8d409cf5019862b807c2fcc4006de5e12842b1358bc0a6333201b021420fb112bad2111aa21356a95e6012faeba4b48bdbd12687442fa902adba2fc5335b2
-EBUILD autenticacao-gov-pt-2.4.6.ebuild 2397 SHA256 
5292dad1ea1cda7961e6161ef14d8b8044e101d730239224199787e4b3dbfc5f SHA512 
26c516cf52a6784306ba26818a0e902ada6bbe87ff37dcffc264536116e209d067fecc28e72b1495b3dd3392204c0f1d634e1c1882706a13fd4b27c04765aaf6
 WHIRLPOOL 
cf88f0f9de45bf318e117f739f5242e768cb3e7f704404dc239261e49e8b2cfcedd84206e2a1ba1b4b218be881c94f14345520c64553afceb2d5ba579e249067
+AUX Makefile.gnu.patch 592 BLAKE2B 
417e9fd33f4ba6897f4ddbcd8ec6e53e2bc50e2f854188e1698ada8c9e2e0ea6bbdf5fbf40ddd11e653ec024abdd9fd37f091b38afcbabef7ed445c98ee3ce75
 SHA512 
8da9359d93fbd4a2ed6df8a58f15228ba13ee7117634e024c2ea759ee046b5ba255d374143b087b506a32d21f44c2cad63b2af95a6834ad051d52e0b5b8aa9cb
+AUX autenticacao.gov.pt-2.4.0.deb 1055012 BLAKE2B 
59def973150f870ce4d505a1c7123280c6bf1953e9bd395dca9cde50e3e835b38212e030bbfa75465e96c1815995b095b806b0254eadca856f77d165319993ee
 SHA512 
09742f4d59efa56c5ebb69ac3cdb408c5d9e4f5c4f7526069c59077afb9a4b7e4efab878e43281b59cd8807a7d4adab3da758d30008b509dc79aa7b6c521a0db
+AUX autenticacao.gov.pt-2.4.6.deb 1073740 BLAKE2B 
fd59429e02906129aba4b01aae7a365b793bb5b3f99520c410189625f8a0c1a025b10c4e3682717bb508497ecb792fdab9068373b5f203b76c6c5552bb172333
 SHA512 
92c6ec346d2496b95ed88d686e3b4d656b96053f515b3c12c56a4933b103011365242de184fbfda17c52c540efddf083cff5b544c9351abef9d21256ad305897
+AUX autenticacao.gov.pt-3.0.13.deb 1086846 BLAKE2B 
9a28faba62056b7822b06b9d91d96de5fa2ac0a65ab7f5805130118146ffd1168cc4146d05afa9f39696d5ec642018c97f7d1e6087bd8c7e1f80129b51adbd5e
 SHA512 
142ff72b8782f54aad8eb1a0dfc674df69d634a60345f5a0d4139d2064627a9b134b48edf5871793d1678fbb3bd96a47e9d30e9eba2a4c5d9906a2c29f7db038
+AUX dlgQndPinpadInfo.cpp.patch 813 BLAKE2B 
47f0f20e56102ee6eeb65209ad9a11544101e7f03bec7d37cfbab35788066daf8afaa915193ce9b61fc566f30b5826fee3ebfb20d647d620b30ec4751221a4fa
 SHA512 
b8ddccf85b652fc28f9fea77016da45b1c2c6122a03e3ee3de6a558c552e60cca29a3009f8197f687a1aed65dedf77573c497267cffd297d3481afd05ededd72
+AUX extras-2.4.0.tar.gz 12500575 BLAKE2B 
022cc27bc4cd505ea1d671151637d12a1ae253d4e5fce1c4157da3ea11c5d6dd453f335e55d2008117f4777c9192ee331e8c4d7e4f972018b16b61c6b1dc5afa
 SHA512 
75a032022843b01e548807f9b84289b8dba58b48b4bcbd46784a1bd79a127f0f72dc093e757d182056aa7f80ef8d798dbf377665bd5a76060ce8960a275eb5b2
+AUX extras-2.4.6.tar.gz 12500575 BLAKE2B 
022cc27bc4cd505ea1d671151637d12a1ae253d4e5fce1c4157da3ea11c5d6dd453f335e55d2008117f4777c9192ee331e8c4d7e4f972018b16b61c6b1dc5afa
 SHA512 
75a032022843b01e548807f9b84289b8dba58b48b4bcbd46784a1bd79a127f0f72dc093e757d182056aa7f80ef8d798dbf377665bd5a76060ce8960a275eb5b2
+AUX extras-3.0.13.tar.gz 12500410 BLAKE2B 
efabdd04a358d2b9889178fec61ffbb224cd874e142bfae8e280e2fb98110f0c581393d764edb55fc9dabfebce0ffdf5461f17bd4b107744c0f959883548a557
 SHA512 
ee3f24a0b464e8638da8cf9daa2512acf4ce8eb13c79fbeaa842c9d8421eee5d7619133fcbd362ff777c2b3ad8fe341149977841de092853c31e8539f9363260
+AUX qmake.patch 468 BLAKE2B 
2f91848f33b7d94de801e65d4a97dc3c030701888043df444e10a464f0d796dd7f5f9fc55feef2b8fa175fa984fe4b5f460b6268cce5e7d63d0de78b106deaaf
 SHA512 
ff8ed18d0748e04b1041c7b189a93dfe6674273e677ec86676187b2323ca794d61424204ec8c395c1f5b603c5dd6c346ae2db1cf9886fb42550a827f50c55d34
+EBUILD autenticacao-gov-pt-2.4.0.ebuild 2432 BLAKE2B 
d362d4aeb0f5663ea8884df54e97ac64e0c8f4da28eea79fa51d71695ce7bb24fb26738230def584f3182196f61811c06386397d9b2d5caa35e2c5ca3633cde9
 SHA512 
73d325601fd51239369a79c5cb0d898bf0c15fbe51b36a30cd00a56fb090431ffef4a76e774353c294f4a92d497e25f233e9bd4eb8fcee41a29451a86d243d7e
+EBUILD autenticacao-gov-pt-2.4.6.ebuild 2397 BLAKE2B 
86cecc57d2430f6ca0a653fa8df50eae00aa7e03c37d53007e286cfd647bf30cc0ce72440e3bd5f914536babba34c4ebf56d0daeff79eee36a38e17eaab77898
 SHA512 
26c516cf52a6784306ba26818a0e902ada6bbe87ff37dcffc264536116e209d067fecc28e72b1495b3dd3392204c0f1d634e1c1882706a13fd4b27c04765aaf6
+EBUILD autenticacao-gov-pt-3.0.13.ebuild 2460 BLAKE2B 
34e422c3fad1f401308b3d919d52ffcceffe2332a88cd25ec328937f26bd607704b474770024984025f98c7cf4064503abde1385ec63d6daa6d41ac1968dc3af
 SHA512 
2dbb481bd780319b06ce3625e35075fd5533bc55a96a7e9347467f97b6c6440011195f85f6be504c874ab8f3d5cd693aa3504f74c60169ffaaaac5bcd9b1a683

diff --git a/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-3.0.13.ebuild 
b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-3.0.13.ebuild
new file mode 100644
index 0000000..732f79a
--- /dev/null
+++ b/app-misc/autenticacao-gov-pt/autenticacao-gov-pt-3.0.13.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Tools for authenticating with https://www.autenticacao.gov.pt/";
+HOMEPAGE="https://www.autenticacao.gov.pt/";
+
+inherit subversion unpacker eutils
+
+#SRC_URI="https://autenticacao.gov.pt/fa/ajuda/software/autenticacao.gov.pt.deb";
+ESVN_REPO_URI="https://svn.gov.pt/projects/ccidadao/repository/middleware-offline/tags/version${PV}/_src/eidmw";
+ESVN_PATCHES="${FILESDIR}/*.patch"
+
+LICENSE="EUPL"
+SLOT="3"
+KEYWORDS="~amd64 ~x86"
+IUSE="+java"
+
+DEPEND="sys-apps/pcsc-lite
+       sys-apps/pcsc-tools
+       app-crypt/ccid
+       >=dev-qt/qtcore-5
+       dev-qt/qtchooser
+       dev-libs/xml-security-c
+       dev-libs/xerces-c
+       app-text/poppler
+       java? ( >=virtual/jdk-1.8:1.8 || ( >=dev-java/oracle-jdk-bin-1.8:1.8 
dev-java/icedtea dev-java/icedtea-bin ) )"
+RDEPEND="${DEPEND}
+       !app-misc/autenticacao-gov-pt:2"
+
+PATCHES=(
+       "${FILESDIR}/qmake.patch"
+       "${FILESDIR}/dlgQndPinpadInfo.cpp.patch"
+       )
+
+src_unpack() {
+       default
+       subversion_src_unpack
+       #if use java; then unpack_deb ${A}; fi
+       if use java; then
+               unpack_deb ${FILESDIR}/autenticacao.gov.pt-${PV}.deb
+               unpack ${FILESDIR}/extras-${PV}.tar.gz
+       fi
+}
+
+src_prepare() {
+       if declare -p PATCHES | grep -q "^declare -a "; then
+               [[ -n ${PATCHES[@]} ]] && eapply "${PATCHES[@]}" || die "Error: 
failed to apply ebuild patches ${PATCHES}!"
+       else
+               [[ -n ${PATCHES} ]] && eapply ${PATCHES} || die "Error: failed 
to apply ebuild patches ${PATCHES}!"
+       fi
+       eapply_user
+}
+
+src_configure() {
+       # configure
+       if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
+               ${ECONF_SOURCE:-.}/configure || die "Error: econf failed"
+       elif [[ -f ${ECONF_SOURCE:-.}/configure ]] ; then
+               fperms 755 ${ECONF_SOURCE:-.}/configure
+               ${ECONF_SOURCE:-.}/configure || die "Error: econf failed"
+       else
+               die "Error: ${ECONF_SOURCE:-.}/configure doesn't exists"
+       fi
+}
+
+src_compile() {
+       # make
+       if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
+               emake || die "Error: emake failed"
+       else
+               die "Error: compile phase failed because is missing Makefile!"
+       fi
+}
+
+src_install() {
+       # make install
+       if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
+               emake INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "Error: 
emake install failed"
+       else
+               die "Error: install phase failed because is missing Makefile!"
+       fi
+
+       # deb install
+       if use java; then
+               cp -R "${WORKDIR}/usr" "${D}" || die "Error: copy files in 
install phase failed!"
+       fi
+}
+

diff --git a/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-3.0.13.deb 
b/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-3.0.13.deb
new file mode 100644
index 0000000..15473a0
Binary files /dev/null and 
b/app-misc/autenticacao-gov-pt/files/autenticacao.gov.pt-3.0.13.deb differ

diff --git a/app-misc/autenticacao-gov-pt/files/dlgQndPinpadInfo.cpp.patch 
b/app-misc/autenticacao-gov-pt/files/dlgQndPinpadInfo.cpp.patch
new file mode 100644
index 0000000..126b308
--- /dev/null
+++ b/app-misc/autenticacao-gov-pt/files/dlgQndPinpadInfo.cpp.patch
@@ -0,0 +1,20 @@
+diff -Naur a/dialogs/dialogsQTsrv/dlgWndPinpadInfo.cpp 
b/dialogs/dialogsQTsrv/dlgWndPinpadInfo.cpp
+--- a/dialogs/dialogsQTsrv/dlgWndPinpadInfo.cpp        2018-11-11 
13:51:45.408429081 +0000
++++ b/dialogs/dialogsQTsrv/dlgWndPinpadInfo.cpp        2018-11-11 
13:54:03.660290076 +0000
+@@ -21,6 +21,7 @@
+ #include "dlgWndPinpadInfo.h"
+ #include "../langUtil.h"
+ #include <QDesktopWidget>
++#include <QIcon>
+ 
+ dlgWndPinpadInfo::dlgWndPinpadInfo( unsigned long ulHandle,
+               DlgPinOperation operation, const QString & Reader,
+@@ -39,7 +40,7 @@
+ 
+       QString Title="";
+ 
+-      this->setWindowIcon( QIcon(":/Resources/ICO_CARD_EID_PLAIN_16x16.png") 
);
++      this->setWindowIcon( QIcon("./Resources/ICO_CARD_EID_PLAIN_16x16.png") 
);
+ 
+     if (operation == DLG_PIN_OP_CHANGE)
+         Title+= QString::fromWCharArray(GETSTRING_DLG(ChangeYourPin));

diff --git a/app-misc/autenticacao-gov-pt/files/extras-3.0.13.tar.gz 
b/app-misc/autenticacao-gov-pt/files/extras-3.0.13.tar.gz
new file mode 100644
index 0000000..7328bc1
Binary files /dev/null and 
b/app-misc/autenticacao-gov-pt/files/extras-3.0.13.tar.gz differ

Reply via email to