From: "Ivan Lloro" <ivan.lloro.boada@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
Date: Sat, 29 Jun 2024 01:25:52 +0000 (UTC) [thread overview]
Message-ID: <1719624254.e956e2ceae1b88b182f1a7ea8e44b8ae6b4c6962.ivan.lloro.boada@gentoo> (raw)
commit: e956e2ceae1b88b182f1a7ea8e44b8ae6b4c6962
Author: Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
AuthorDate: Sat Jun 29 01:22:01 2024 +0000
Commit: Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
CommitDate: Sat Jun 29 01:24:14 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e956e2ce
app-crypt/autofirma: add 1.8.3
Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com>
app-crypt/autofirma/Manifest | 1 +
app-crypt/autofirma/autofirma-1.8.3.ebuild | 52 ++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/app-crypt/autofirma/Manifest b/app-crypt/autofirma/Manifest
index 0032fcafa..34b8bca25 100644
--- a/app-crypt/autofirma/Manifest
+++ b/app-crypt/autofirma/Manifest
@@ -1 +1,2 @@
DIST autofirma-1.8.2.zip 51224492 BLAKE2B 22dcf856a9fae720f978976a7e6ac6e55af7b0e4d590ea2f2fe29021af3544600b5fa90460a6a30bdbe44803b8c719e80bfef0638513f8b47a98efc757e611ef SHA512 119bb55726f790eb432cf571ab3e30bf2f7eb166fcaa66c01b77eceba093ee5a10987dfbd73b67524e0bfc8a84e043b8b50ad3553e4364d50d46e3bcfd66103c
+DIST autofirma-1.8.3.zip 51229179 BLAKE2B 6638ba177e9e924de41bc3b4188f503ecf9135f86036540a29592eee861e9453e2a14e56c686130b056900c4560ecc689a6613e701f5203413ee79c1cf0d9718 SHA512 d31650b6ce051700f77b9011b8ca4e01ac28dcbf8fc4c8badd867f0eee6ab91d05222b9d7eac8df64772f7ec956935d4a2dce2ad7201d5b83acd70b78de4ea90
diff --git a/app-crypt/autofirma/autofirma-1.8.3.ebuild b/app-crypt/autofirma/autofirma-1.8.3.ebuild
new file mode 100644
index 000000000..60ea44379
--- /dev/null
+++ b/app-crypt/autofirma/autofirma-1.8.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop java-utils-2 rpm xdg
+
+DESCRIPTION="Spanish government's electronic signature application for online procedures"
+HOMEPAGE="
+ https://administracionelectronica.gob.es/ctt/clienteafirma
+ https://github.com/ctt-gob-es/clienteafirma
+"
+
+# Upstream blocks wget with no User Agent.
+SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip -> ${P}.zip"
+
+S=${WORKDIR}
+
+LICENSE="|| ( GPL-2 EUPL-1.1 )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="virtual/jre:1.8"
+BDEPEND="app-arch/unzip"
+
+#pkg_setup() {
+ # Upstream blocks vanilla wget, so we set up a browser User-Agent.
+# URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip"
+ #wget -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}" --user-agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
+# wget --user-agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" ${URI} -O ${DISTDIR}/${P}.zip
+#}
+
+pkg_nofetch() {
+ einfo "Please download:"
+ einfo " https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip"
+ einfo "and move it to your distfiles directory as autofirma-${PV}.zip."
+}
+
+src_unpack() {
+ default
+ rpm_unpack "./${P}-1.noarch_FEDORA.rpm"
+}
+
+src_install() {
+ java-pkg_dojar "usr/lib64/${PN}/${PN}.jar"
+ java-pkg_dolauncher
+ java-pkg_dojar "usr/lib64/${PN}/${PN}Configurador.jar"
+ doicon "usr/lib64/${PN}/${PN}.png"
+ make_desktop_entry \
+ "${PN} %u" AutoFirma "${PN}" "Utility" \
+ "Comment[es]=Aplicación de firma electrónica de la FNMT\nMimeType=x-scheme-handler/afirma"
+}
next reply other threads:[~2024-06-29 1:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-29 1:25 Ivan Lloro [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-26 18:26 [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/ Jesús P Rey
2024-08-21 23:41 Ivan Lloro
2024-08-05 13:44 Ivan Lloro
2024-07-16 17:01 Ivan Lloro
2024-06-29 23:15 Ivan Lloro
2024-06-29 22:16 Ivan Lloro
2024-06-29 1:33 Ivan Lloro
2024-04-17 20:43 Jesús P Rey
2022-12-10 18:40 Jesús P Rey
2021-05-06 9:53 Andrew Ammerlaan
2021-05-06 0:22 Alessandro Barbieri
2020-09-24 19:59 Jesús P Rey
2020-09-24 11:33 Andrew Ammerlaan
2020-09-23 20:46 Jesús P Rey
2020-09-23 20:36 Jesús P Rey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1719624254.e956e2ceae1b88b182f1a7ea8e44b8ae6b4c6962.ivan.lloro.boada@gentoo \
--to=ivan.lloro.boada@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox