public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2020-09-23 20:36 Jesús P Rey
  0 siblings, 0 replies; 16+ messages in thread
From: Jesús P Rey @ 2020-09-23 20:36 UTC (permalink / raw
  To: gentoo-commits

commit:     00a6239592208b9e92c724994c36920896f46851
Author:     Jesus P Rey (Chuso) <gentoo <AT> chuso <DOT> net>
AuthorDate: Wed Sep 23 19:59:30 2020 +0000
Commit:     Jesús P Rey <gentoo <AT> chuso <DOT> net>
CommitDate: Wed Sep 23 20:37:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=00a62395

app-crypt/autofirma-1.6.5 new package

Signed-off-by: Jesus P Rey <gentoo <AT> chuso.net>
Closes: https://bugs.gentoo.org/743802

 app-crypt/autofirma/Manifest               |  1 +
 app-crypt/autofirma/autofirma-1.6.5.ebuild | 37 ++++++++++++++++++++++++++++++
 app-crypt/autofirma/metadata.xml           | 15 ++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/app-crypt/autofirma/Manifest b/app-crypt/autofirma/Manifest
new file mode 100644
index 00000000..415e50d6
--- /dev/null
+++ b/app-crypt/autofirma/Manifest
@@ -0,0 +1 @@
+DIST AutoFirma_Linux.zip 155509984 BLAKE2B cc5def6ff029d3e1799485a25035ae95e6da03c11bb7186eab01adf55e4457de00ffcff6cb79129c4ad98e5024b79625ace70c41507825f706dff992f8c3408c SHA512 927b67a93c111f1d040e38d26122f7a9d7b8d41599da776fa2895fd97409696d4a97663f4b5b4fea32e6d613e21f104cabd2c860f719954cf954e081dc3a727d

diff --git a/app-crypt/autofirma/autofirma-1.6.5.ebuild b/app-crypt/autofirma/autofirma-1.6.5.ebuild
new file mode 100644
index 00000000..e70d6ebb
--- /dev/null
+++ b/app-crypt/autofirma/autofirma-1.6.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop java-utils-2 multilib-build rpm
+
+DESCRIPTION="Spanish government's electronic signature application for online procedures"
+HOMEPAGE="https://administracionelectronica.gob.es/ctt/clienteafirma"
+SRC_URI="https://estaticos.redsara.es/comunes/autofirma/1/6/5/AutoFirma_Linux.zip"
+
+LICENSE="|| ( GPL-2+ EUPL-1.1 )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="virtual/jre:1.8
+	!abi_x86_x32? ( www-client/firefox )"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
+
+S=${WORKDIR}
+
+src_unpack() {
+	default
+	rpm_unpack "./${P}-1.noarch.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}" AutoFirma "${PN}" "Utility"
+	sed -i "s/autoFirma/${PN}/" "usr/lib64/firefox/defaults/pref/${PN}.js" || die
+	insinto /usr/$(get_libdir)/firefox/defaults/pref
+	doins "usr/lib64/firefox/defaults/pref/${PN}.js"
+}

diff --git a/app-crypt/autofirma/metadata.xml b/app-crypt/autofirma/metadata.xml
new file mode 100644
index 00000000..b5054ed4
--- /dev/null
+++ b/app-crypt/autofirma/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>gentoo@chuso.net</email>
+    <name>Jesus Perez Rey</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">ctt/clienteafirma</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2020-09-23 20:46 Jesús P Rey
  0 siblings, 0 replies; 16+ messages in thread
From: Jesús P Rey @ 2020-09-23 20:46 UTC (permalink / raw
  To: gentoo-commits

commit:     5781e38196be93e12093e8a742d832964011748e
Author:     Jesus P Rey (Chuso) <gentoo <AT> chuso <DOT> net>
AuthorDate: Wed Sep 23 20:44:14 2020 +0000
Commit:     Jesús P Rey <gentoo <AT> chuso <DOT> net>
CommitDate: Wed Sep 23 20:46:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5781e381

app-crypt/autofirma: Add missing version number to distfile.

Signed-off-by: Jesus P Rey <gentoo <AT> chuso.net>
Bug: https://bugs.gentoo.org/743802

 app-crypt/autofirma/Manifest               | 2 +-
 app-crypt/autofirma/autofirma-1.6.5.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/autofirma/Manifest b/app-crypt/autofirma/Manifest
index 415e50d6..2db19248 100644
--- a/app-crypt/autofirma/Manifest
+++ b/app-crypt/autofirma/Manifest
@@ -1 +1 @@
-DIST AutoFirma_Linux.zip 155509984 BLAKE2B cc5def6ff029d3e1799485a25035ae95e6da03c11bb7186eab01adf55e4457de00ffcff6cb79129c4ad98e5024b79625ace70c41507825f706dff992f8c3408c SHA512 927b67a93c111f1d040e38d26122f7a9d7b8d41599da776fa2895fd97409696d4a97663f4b5b4fea32e6d613e21f104cabd2c860f719954cf954e081dc3a727d
+DIST autofirma-1.6.5.zip 155509984 BLAKE2B cc5def6ff029d3e1799485a25035ae95e6da03c11bb7186eab01adf55e4457de00ffcff6cb79129c4ad98e5024b79625ace70c41507825f706dff992f8c3408c SHA512 927b67a93c111f1d040e38d26122f7a9d7b8d41599da776fa2895fd97409696d4a97663f4b5b4fea32e6d613e21f104cabd2c860f719954cf954e081dc3a727d

diff --git a/app-crypt/autofirma/autofirma-1.6.5.ebuild b/app-crypt/autofirma/autofirma-1.6.5.ebuild
index e70d6ebb..3531733f 100644
--- a/app-crypt/autofirma/autofirma-1.6.5.ebuild
+++ b/app-crypt/autofirma/autofirma-1.6.5.ebuild
@@ -7,7 +7,7 @@ inherit desktop java-utils-2 multilib-build rpm
 
 DESCRIPTION="Spanish government's electronic signature application for online procedures"
 HOMEPAGE="https://administracionelectronica.gob.es/ctt/clienteafirma"
-SRC_URI="https://estaticos.redsara.es/comunes/autofirma/1/6/5/AutoFirma_Linux.zip"
+SRC_URI="https://estaticos.redsara.es/comunes/autofirma/1/6/5/AutoFirma_Linux.zip -> ${P}.zip"
 
 LICENSE="|| ( GPL-2+ EUPL-1.1 )"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2020-09-24 11:33 Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2020-09-24 11:33 UTC (permalink / raw
  To: gentoo-commits

commit:     cff850601df7caf2c3c3dac054c71434facf3db6
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Sep 24 11:32:26 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Sep 24 11:32:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cff85060

app-crypt/autofirma: remove proxy-maint project

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 app-crypt/autofirma/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/app-crypt/autofirma/metadata.xml b/app-crypt/autofirma/metadata.xml
index b5054ed4..05469161 100644
--- a/app-crypt/autofirma/metadata.xml
+++ b/app-crypt/autofirma/metadata.xml
@@ -5,10 +5,6 @@
     <email>gentoo@chuso.net</email>
     <name>Jesus Perez Rey</name>
   </maintainer>
-  <maintainer type="project">
-    <email>proxy-maint@gentoo.org</email>
-    <name>Proxy Maintainers</name>
-  </maintainer>
   <upstream>
     <remote-id type="github">ctt/clienteafirma</remote-id>
   </upstream>


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2020-09-24 19:59 Jesús P Rey
  0 siblings, 0 replies; 16+ messages in thread
From: Jesús P Rey @ 2020-09-24 19:59 UTC (permalink / raw
  To: gentoo-commits

commit:     21f3ddd6f5f71c09ee3f879da01c0f64359a04ed
Author:     Jesus P Rey (Chuso) <gentoo <AT> chuso <DOT> net>
AuthorDate: Thu Sep 24 19:57:11 2020 +0000
Commit:     Jesús P Rey <gentoo <AT> chuso <DOT> net>
CommitDate: Thu Sep 24 19:58:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21f3ddd6

app-crypt/autofirma-1.6.5-r1: Simplify and improve support for other browsers and ABIs.

Signed-off-by: Jesus P Rey <gentoo <AT> chuso.net>
Bug: https://bugs.gentoo.org/743802

 .../{autofirma-1.6.5.ebuild => autofirma-1.6.5-r1.ebuild}     | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/app-crypt/autofirma/autofirma-1.6.5.ebuild b/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
similarity index 65%
rename from app-crypt/autofirma/autofirma-1.6.5.ebuild
rename to app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
index 3531733f..bba0bd3d 100644
--- a/app-crypt/autofirma/autofirma-1.6.5.ebuild
+++ b/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop java-utils-2 multilib-build rpm
+inherit desktop java-utils-2 rpm xdg
 
 DESCRIPTION="Spanish government's electronic signature application for online procedures"
 HOMEPAGE="https://administracionelectronica.gob.es/ctt/clienteafirma"
@@ -13,9 +13,7 @@ LICENSE="|| ( GPL-2+ EUPL-1.1 )"
 SLOT="0"
 KEYWORDS="~amd64"
 
-RDEPEND="virtual/jre:1.8
-	!abi_x86_x32? ( www-client/firefox )"
-DEPEND="${RDEPEND}"
+RDEPEND="virtual/jre:1.8"
 BDEPEND="app-arch/unzip"
 
 S=${WORKDIR}
@@ -30,8 +28,5 @@ src_install() {
 	java-pkg_dolauncher
 	java-pkg_dojar "usr/lib64/${PN}/${PN}Configurador.jar"
 	doicon "usr/lib64/${PN}/${PN}.png"
-	make_desktop_entry "${PN}" AutoFirma "${PN}" "Utility"
-	sed -i "s/autoFirma/${PN}/" "usr/lib64/firefox/defaults/pref/${PN}.js" || die
-	insinto /usr/$(get_libdir)/firefox/defaults/pref
-	doins "usr/lib64/firefox/defaults/pref/${PN}.js"
+	make_desktop_entry "${PN} %u" AutoFirma "${PN}" "Utility" "Comment[es]=Aplicación de firma electrónica de la FNMT\nMimeType=x-scheme-handler/afirma"
 }


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2021-05-06  0:22 Alessandro Barbieri
  0 siblings, 0 replies; 16+ messages in thread
From: Alessandro Barbieri @ 2021-05-06  0:22 UTC (permalink / raw
  To: gentoo-commits

commit:     6261107eff81902f3c580718e1ced918b87ceaf7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May  5 23:39:45 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu May  6 00:22:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6261107e

app-crypt/autofirma: comments, longdescription, fix homepage

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 app-crypt/autofirma/autofirma-1.6.5-r1.ebuild | 9 ++++++++-
 app-crypt/autofirma/metadata.xml              | 7 ++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild b/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
index bba0bd3d8..0a6f2d76d 100644
--- a/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
+++ b/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
@@ -6,9 +6,14 @@ EAPI=7
 inherit desktop java-utils-2 rpm xdg
 
 DESCRIPTION="Spanish government's electronic signature application for online procedures"
-HOMEPAGE="https://administracionelectronica.gob.es/ctt/clienteafirma"
+HOMEPAGE="
+	https://administracionelectronica.gob.es/ctt/clienteafirma
+	https://github.com/ctt-gob-es/clienteafirma
+"
+#TODO: use ver_split instead of hardcoded 1/6/5
 SRC_URI="https://estaticos.redsara.es/comunes/autofirma/1/6/5/AutoFirma_Linux.zip -> ${P}.zip"
 
+#TODO: investigate and fix licenses https://github.com/ctt-gob-es/clienteafirma/blob/master/license/LICENSE.txt
 LICENSE="|| ( GPL-2+ EUPL-1.1 )"
 SLOT="0"
 KEYWORDS="~amd64"
@@ -24,9 +29,11 @@ src_unpack() {
 }
 
 src_install() {
+	#TODO: use $(get_libdir) or mask non ~amd64 arches
 	java-pkg_dojar "usr/lib64/${PN}/${PN}.jar"
 	java-pkg_dolauncher
 	java-pkg_dojar "usr/lib64/${PN}/${PN}Configurador.jar"
+	#TODO: icons in /lib are suspect
 	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"
 }

diff --git a/app-crypt/autofirma/metadata.xml b/app-crypt/autofirma/metadata.xml
index 054691619..7872dce2f 100644
--- a/app-crypt/autofirma/metadata.xml
+++ b/app-crypt/autofirma/metadata.xml
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+  <longdescription lang="es">
+El Cliente @firma es uno de los productos de la Suite @firma de soluciones de identificación y firma electrónica. Se proporciona de a las Administraciones Públicas para que dispongan de los instrumentos necesarios para implementar la autenticación y firma electrónica avanzada de una forma rápida y efectiva.
+
+El cliente de firma es una herramienta de firma electrónica en entornos de escritorio y dispositivos móviles, que funciona en forma de Applet de Java integrado en una página Web mediante JavaScript, como aplicación de escritorio, o como aplicación móvil, dependiendo del entorno del usuario.
+  <longdescription>
   <maintainer type="person">
     <email>gentoo@chuso.net</email>
     <name>Jesus Perez Rey</name>
   </maintainer>
   <upstream>
-    <remote-id type="github">ctt/clienteafirma</remote-id>
+    <remote-id type="github">ctt-gob-es/clienteafirma</remote-id>
   </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2021-05-06  9:53 Andrew Ammerlaan
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2021-05-06  9:53 UTC (permalink / raw
  To: gentoo-commits

commit:     da8500a9844fc2f19a534ae63d6340cac64ee8c8
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu May  6 09:53:27 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu May  6 09:53:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=da8500a9

app-crypt/autofirma: fix PkgBadlyFormedXml

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 app-crypt/autofirma/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/autofirma/metadata.xml b/app-crypt/autofirma/metadata.xml
index 7872dce2f..dfc2ecf97 100644
--- a/app-crypt/autofirma/metadata.xml
+++ b/app-crypt/autofirma/metadata.xml
@@ -5,7 +5,7 @@
 El Cliente @firma es uno de los productos de la Suite @firma de soluciones de identificación y firma electrónica. Se proporciona de a las Administraciones Públicas para que dispongan de los instrumentos necesarios para implementar la autenticación y firma electrónica avanzada de una forma rápida y efectiva.
 
 El cliente de firma es una herramienta de firma electrónica en entornos de escritorio y dispositivos móviles, que funciona en forma de Applet de Java integrado en una página Web mediante JavaScript, como aplicación de escritorio, o como aplicación móvil, dependiendo del entorno del usuario.
-  <longdescription>
+  </longdescription>
   <maintainer type="person">
     <email>gentoo@chuso.net</email>
     <name>Jesus Perez Rey</name>


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2022-12-10 18:40 Jesús P Rey
  0 siblings, 0 replies; 16+ messages in thread
From: Jesús P Rey @ 2022-12-10 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     2b3dbacad0149566d518e20c99ea5dc249b85dba
Author:     Jesus P Rey (Chuso) <gentoo <AT> chuso <DOT> net>
AuthorDate: Sat Dec 10 18:35:07 2022 +0000
Commit:     Jesús P Rey <gentoo <AT> chuso <DOT> net>
CommitDate: Sat Dec 10 18:38:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b3dbaca

app-crypt/autofirma: 1.7.1 version bump

Signed-off-by: Jesus P Rey (Chuso) <gentoo <AT> chuso.net>

 app-crypt/autofirma/Manifest                                   |  2 +-
 .../{autofirma-1.6.5-r1.ebuild => autofirma-1.7.1.ebuild}      | 10 +++-------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/app-crypt/autofirma/Manifest b/app-crypt/autofirma/Manifest
index 2db192482..b8cbdd610 100644
--- a/app-crypt/autofirma/Manifest
+++ b/app-crypt/autofirma/Manifest
@@ -1 +1 @@
-DIST autofirma-1.6.5.zip 155509984 BLAKE2B cc5def6ff029d3e1799485a25035ae95e6da03c11bb7186eab01adf55e4457de00ffcff6cb79129c4ad98e5024b79625ace70c41507825f706dff992f8c3408c SHA512 927b67a93c111f1d040e38d26122f7a9d7b8d41599da776fa2895fd97409696d4a97663f4b5b4fea32e6d613e21f104cabd2c860f719954cf954e081dc3a727d
+DIST autofirma-1.7.1.zip 152716878 BLAKE2B d985bfa71ce1b4318a50fc4c93b1a85a388de445f8e4a18c7e616988955b94ac79e73a7fb4e3c202cf303255cb497679eaeb7b2546c08f3e3974d440e793ce12 SHA512 52098e74537dea9b72be8f4b2b05c2c57ed79f0c496ff5a4c4e1ddfe88fab528b2e9a237d9c8f0151bc499687a6fc2966227d6b3f2cae2943d7c772b9286755b

diff --git a/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild b/app-crypt/autofirma/autofirma-1.7.1.ebuild
similarity index 66%
rename from app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
rename to app-crypt/autofirma/autofirma-1.7.1.ebuild
index 0a6f2d76d..c0886964f 100644
--- a/app-crypt/autofirma/autofirma-1.6.5-r1.ebuild
+++ b/app-crypt/autofirma/autofirma-1.7.1.ebuild
@@ -10,11 +10,9 @@ HOMEPAGE="
 	https://administracionelectronica.gob.es/ctt/clienteafirma
 	https://github.com/ctt-gob-es/clienteafirma
 "
-#TODO: use ver_split instead of hardcoded 1/6/5
-SRC_URI="https://estaticos.redsara.es/comunes/autofirma/1/6/5/AutoFirma_Linux.zip -> ${P}.zip"
+SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux.zip -> ${P}.zip"
 
-#TODO: investigate and fix licenses https://github.com/ctt-gob-es/clienteafirma/blob/master/license/LICENSE.txt
-LICENSE="|| ( GPL-2+ EUPL-1.1 )"
+LICENSE="|| ( GPL-2 EUPL-1.1 )"
 SLOT="0"
 KEYWORDS="~amd64"
 
@@ -25,15 +23,13 @@ S=${WORKDIR}
 
 src_unpack() {
 	default
-	rpm_unpack "./${P}-1.noarch.rpm"
+	rpm_unpack "./${P}-1.noarch_FEDORA.rpm"
 }
 
 src_install() {
-	#TODO: use $(get_libdir) or mask non ~amd64 arches
 	java-pkg_dojar "usr/lib64/${PN}/${PN}.jar"
 	java-pkg_dolauncher
 	java-pkg_dojar "usr/lib64/${PN}/${PN}Configurador.jar"
-	#TODO: icons in /lib are suspect
 	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"
 }


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2024-04-17 20:43 Jesús P Rey
  0 siblings, 0 replies; 16+ messages in thread
From: Jesús P Rey @ 2024-04-17 20:43 UTC (permalink / raw
  To: gentoo-commits

commit:     2915c867bb7bb6ca586f84e672e0f1fb7003782b
Author:     Jesus P Rey (Chuso) <gentoo <AT> chuso <DOT> net>
AuthorDate: Wed Apr 17 20:41:05 2024 +0000
Commit:     Jesús P Rey <gentoo <AT> chuso <DOT> net>
CommitDate: Wed Apr 17 20:41:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2915c867

app-crypt/autofirma: 1.8.2 version bump.

Closes: https://bugs.gentoo.org/927286
Closes: https://bugs.gentoo.org/927287
Signed-off-by: Jesus P Rey (Chuso) <gentoo <AT> chuso.net>

 app-crypt/autofirma/Manifest                                   |  2 +-
 .../{autofirma-1.7.1.ebuild => autofirma-1.8.2.ebuild}         | 10 +++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app-crypt/autofirma/Manifest b/app-crypt/autofirma/Manifest
index b8cbdd610e..0032fcafae 100644
--- a/app-crypt/autofirma/Manifest
+++ b/app-crypt/autofirma/Manifest
@@ -1 +1 @@
-DIST autofirma-1.7.1.zip 152716878 BLAKE2B d985bfa71ce1b4318a50fc4c93b1a85a388de445f8e4a18c7e616988955b94ac79e73a7fb4e3c202cf303255cb497679eaeb7b2546c08f3e3974d440e793ce12 SHA512 52098e74537dea9b72be8f4b2b05c2c57ed79f0c496ff5a4c4e1ddfe88fab528b2e9a237d9c8f0151bc499687a6fc2966227d6b3f2cae2943d7c772b9286755b
+DIST autofirma-1.8.2.zip 51224492 BLAKE2B 22dcf856a9fae720f978976a7e6ac6e55af7b0e4d590ea2f2fe29021af3544600b5fa90460a6a30bdbe44803b8c719e80bfef0638513f8b47a98efc757e611ef SHA512 119bb55726f790eb432cf571ab3e30bf2f7eb166fcaa66c01b77eceba093ee5a10987dfbd73b67524e0bfc8a84e043b8b50ad3553e4364d50d46e3bcfd66103c

diff --git a/app-crypt/autofirma/autofirma-1.7.1.ebuild b/app-crypt/autofirma/autofirma-1.8.2.ebuild
similarity index 68%
rename from app-crypt/autofirma/autofirma-1.7.1.ebuild
rename to app-crypt/autofirma/autofirma-1.8.2.ebuild
index c0886964f9..a13f350832 100644
--- a/app-crypt/autofirma/autofirma-1.7.1.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,9 @@ HOMEPAGE="
 	https://administracionelectronica.gob.es/ctt/clienteafirma
 	https://github.com/ctt-gob-es/clienteafirma
 "
-SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux.zip -> ${P}.zip"
+# Upstream blocks wget, so we need a fallback option
+SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip -> ${P}.zip
+	https://distfiles.chuso.net/distfiles/${P}.zip"
 
 LICENSE="|| ( GPL-2 EUPL-1.1 )"
 SLOT="0"
@@ -31,5 +33,7 @@ src_install() {
 	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"
+	make_desktop_entry \
+		"${PN} %u" AutoFirma "${PN}" "Utility" \
+		"Comment[es]=Aplicación de firma electrónica de la FNMT\nMimeType=x-scheme-handler/afirma"
 }


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2024-06-29  1:25 Ivan Lloro
  0 siblings, 0 replies; 16+ messages in thread
From: Ivan Lloro @ 2024-06-29  1:25 UTC (permalink / raw
  To: gentoo-commits

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"
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2024-06-29  1:33 Ivan Lloro
  0 siblings, 0 replies; 16+ messages in thread
From: Ivan Lloro @ 2024-06-29  1:33 UTC (permalink / raw
  To: gentoo-commits

commit:     0c04224480a7098d2b2f506b6c317f83851bfac5
Author:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
AuthorDate: Sat Jun 29 01:32:51 2024 +0000
Commit:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
CommitDate: Sat Jun 29 01:32:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c042244

app-crypt/autofirma: Cleanup of commented lines

Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com>

 app-crypt/autofirma/autofirma-1.8.3.ebuild | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/app-crypt/autofirma/autofirma-1.8.3.ebuild b/app-crypt/autofirma/autofirma-1.8.3.ebuild
index 60ea44379..3d2d98588 100644
--- a/app-crypt/autofirma/autofirma-1.8.3.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.3.ebuild
@@ -23,13 +23,6 @@ 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"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2024-06-29 22:16 Ivan Lloro
  0 siblings, 0 replies; 16+ messages in thread
From: Ivan Lloro @ 2024-06-29 22:16 UTC (permalink / raw
  To: gentoo-commits

commit:     15a574302826f97722e7f7a5eca7bdb1edfca251
Author:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
AuthorDate: Sat Jun 29 22:13:50 2024 +0000
Commit:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
CommitDate: Sat Jun 29 22:13:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=15a57430

app-crypt/autofirma: Included fallback method for automatically downloading source file.

Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com>

 app-crypt/autofirma/autofirma-1.8.3.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/app-crypt/autofirma/autofirma-1.8.3.ebuild b/app-crypt/autofirma/autofirma-1.8.3.ebuild
index 3d2d98588..f9d8c773f 100644
--- a/app-crypt/autofirma/autofirma-1.8.3.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.3.ebuild
@@ -11,7 +11,8 @@ HOMEPAGE="
 	https://github.com/ctt-gob-es/clienteafirma
 "
 
-# Upstream blocks wget with no User Agent.
+# Upstream blocks wget with no User Agent. It can be addressed globally (see https://wiki.gentoo.org/wiki/FETCHCOMMAND).
+# If Gentoo's default configuration is in place, pkg_pretend() and pkg_nofetch() provide fallback options.
 SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip -> ${P}.zip"
 
 S=${WORKDIR}
@@ -23,6 +24,12 @@ KEYWORDS="~amd64"
 RDEPEND="virtual/jre:1.8"
 BDEPEND="app-arch/unzip"
 
+pkg_pretend() {
+	# Upstream blocks vanilla wget, so we set up a browser User-Agent as a fallback.
+	URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip"
+	/usr/sbin/wget --user-agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" "${URI}" -O "${PORTAGE_ACTUAL_DISTDIR}"/"${P}".zip
+}
+
 pkg_nofetch() {
 	einfo "Please download:"
 	einfo " https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2024-06-29 23:15 Ivan Lloro
  0 siblings, 0 replies; 16+ messages in thread
From: Ivan Lloro @ 2024-06-29 23:15 UTC (permalink / raw
  To: gentoo-commits

commit:     61a82d3cd7fdd5377109a24188ec93be63753b17
Author:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
AuthorDate: Sat Jun 29 23:15:05 2024 +0000
Commit:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
CommitDate: Sat Jun 29 23:15:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=61a82d3c

app-crypt/autofirma: Avoid downloading source file if available in DISTDIR, make the ebuild compatible for same version revisions, and minor QA improvements.

Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com>

 app-crypt/autofirma/autofirma-1.8.3.ebuild | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/app-crypt/autofirma/autofirma-1.8.3.ebuild b/app-crypt/autofirma/autofirma-1.8.3.ebuild
index f9d8c773f..89b649368 100644
--- a/app-crypt/autofirma/autofirma-1.8.3.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.3.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="
 
 # Upstream blocks wget with no User Agent. It can be addressed globally (see https://wiki.gentoo.org/wiki/FETCHCOMMAND).
 # If Gentoo's default configuration is in place, pkg_pretend() and pkg_nofetch() provide fallback options.
-SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip -> ${P}.zip"
+SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip -> ${PF}.zip"
 
 S=${WORKDIR}
 
@@ -22,18 +22,23 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 RDEPEND="virtual/jre:1.8"
-BDEPEND="app-arch/unzip"
+BDEPEND="
+	app-arch/unzip
+	net-misc/wget
+"
 
 pkg_pretend() {
 	# Upstream blocks vanilla wget, so we set up a browser User-Agent as a fallback.
-	URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip"
-	/usr/sbin/wget --user-agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" "${URI}" -O "${PORTAGE_ACTUAL_DISTDIR}"/"${P}".zip
+	local URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip"
+	local USER_AGENT="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
+	local DISTFILE="${PORTAGE_ACTUAL_DISTDIR}/${PF}.zip"
+	[ -f "${DISTFILE}" ] || /usr/sbin/wget --user-agent="${USER_AGENT}" "${URI}" -O "${DISTFILE}"
 }
 
 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."
+	einfo "and move it to ${PORTAGE_ACTUAL_DISTDIR}/${PF}.zip."
 }
 
 src_unpack() {


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2024-07-16 17:01 Ivan Lloro
  0 siblings, 0 replies; 16+ messages in thread
From: Ivan Lloro @ 2024-07-16 17:01 UTC (permalink / raw
  To: gentoo-commits

commit:     e711fe43f54e10eae507009bb587e5f5082a1e0a
Author:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
AuthorDate: Tue Jul 16 17:01:30 2024 +0000
Commit:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
CommitDate: Tue Jul 16 17:01:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e711fe43

app-crypt/autofirma: Change User Agent from Fedora to Gentoo

Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com>

 app-crypt/autofirma/autofirma-1.8.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/autofirma/autofirma-1.8.3.ebuild b/app-crypt/autofirma/autofirma-1.8.3.ebuild
index 89b649368..2b82b2135 100644
--- a/app-crypt/autofirma/autofirma-1.8.3.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.3.ebuild
@@ -30,9 +30,9 @@ BDEPEND="
 pkg_pretend() {
 	# Upstream blocks vanilla wget, so we set up a browser User-Agent as a fallback.
 	local URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip"
-	local USER_AGENT="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
+	local USER_AGENT="Mozilla/5.0 (X11; Gentoo; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
 	local DISTFILE="${PORTAGE_ACTUAL_DISTDIR}/${PF}.zip"
-	[ -f "${DISTFILE}" ] || /usr/sbin/wget --user-agent="${USER_AGENT}" "${URI}" -O "${DISTFILE}"
+	[[ -f "${DISTFILE}" ]] || /usr/sbin/wget --user-agent="${USER_AGENT}" "${URI}" -O "${DISTFILE}"
 }
 
 pkg_nofetch() {


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2024-08-05 13:44 Ivan Lloro
  0 siblings, 0 replies; 16+ messages in thread
From: Ivan Lloro @ 2024-08-05 13:44 UTC (permalink / raw
  To: gentoo-commits

commit:     a2c257867a8b91d9c675460c836e647163f24b35
Author:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
AuthorDate: Mon Aug  5 13:42:07 2024 +0000
Commit:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
CommitDate: Mon Aug  5 13:44:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2c25786

app-crypt/autofirma: Removed implicit dependency wget

Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com>

 app-crypt/autofirma/autofirma-1.8.3.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-crypt/autofirma/autofirma-1.8.3.ebuild b/app-crypt/autofirma/autofirma-1.8.3.ebuild
index 2b82b2135..0c89a6b9c 100644
--- a/app-crypt/autofirma/autofirma-1.8.3.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.3.ebuild
@@ -22,10 +22,7 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 RDEPEND="virtual/jre:1.8"
-BDEPEND="
-	app-arch/unzip
-	net-misc/wget
-"
+BDEPEND="app-arch/unzip"
 
 pkg_pretend() {
 	# Upstream blocks vanilla wget, so we set up a browser User-Agent as a fallback.


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2024-08-21 23:41 Ivan Lloro
  0 siblings, 0 replies; 16+ messages in thread
From: Ivan Lloro @ 2024-08-21 23:41 UTC (permalink / raw
  To: gentoo-commits

commit:     0e26ff227188d0dc8c944d8be7370b7addfa27a0
Author:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
AuthorDate: Wed Aug 21 23:37:37 2024 +0000
Commit:     Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com>
CommitDate: Wed Aug 21 23:40:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e26ff22

app-crypt/autofirma: app-crypt/autofirma QA: quote variable

Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com>

 app-crypt/autofirma/autofirma-1.8.2.ebuild | 2 +-
 app-crypt/autofirma/autofirma-1.8.3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/autofirma/autofirma-1.8.2.ebuild b/app-crypt/autofirma/autofirma-1.8.2.ebuild
index 3e1ae0b64..1b99ee640 100644
--- a/app-crypt/autofirma/autofirma-1.8.2.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.2.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="
 SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip -> ${P}.zip
 	https://distfiles.chuso.net/distfiles/${P}.zip"
 
-S=${WORKDIR}
+S="${WORKDIR}"
 
 LICENSE="|| ( GPL-2 EUPL-1.1 )"
 SLOT="0"

diff --git a/app-crypt/autofirma/autofirma-1.8.3.ebuild b/app-crypt/autofirma/autofirma-1.8.3.ebuild
index 0c89a6b9c..a80ade533 100644
--- a/app-crypt/autofirma/autofirma-1.8.3.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.3.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="
 # If Gentoo's default configuration is in place, pkg_pretend() and pkg_nofetch() provide fallback options.
 SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip -> ${PF}.zip"
 
-S=${WORKDIR}
+S="${WORKDIR}"
 
 LICENSE="|| ( GPL-2 EUPL-1.1 )"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/
@ 2024-09-26 18:26 Jesús P Rey
  0 siblings, 0 replies; 16+ messages in thread
From: Jesús P Rey @ 2024-09-26 18:26 UTC (permalink / raw
  To: gentoo-commits

commit:     f6f972a12cad856d4208af146ee6d47ee2b4168c
Author:     Jesus P Rey (Chuso) <gentoo <AT> chuso <DOT> net>
AuthorDate: Thu Sep 26 18:23:13 2024 +0000
Commit:     Jesús P Rey <gentoo <AT> chuso <DOT> net>
CommitDate: Thu Sep 26 18:26:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6f972a1

app-crypt/autofirma: Remove bypass for upstream download restrictions.

It's inappropriate and broken.

Closes: https://bugs.gentoo.org/show_bug.cgi?id=936243
Closes: https://bugs.gentoo.org/show_bug.cgi?id=937486
Signed-off-by: Jesus P Rey (Chuso) <gentoo <AT> chuso.net>

 app-crypt/autofirma/Manifest               |  2 +-
 app-crypt/autofirma/autofirma-1.8.3.ebuild | 15 +++------------
 2 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/app-crypt/autofirma/Manifest b/app-crypt/autofirma/Manifest
index 34b8bca25..bcdfc3111 100644
--- a/app-crypt/autofirma/Manifest
+++ b/app-crypt/autofirma/Manifest
@@ -1,2 +1,2 @@
 DIST autofirma-1.8.2.zip 51224492 BLAKE2B 22dcf856a9fae720f978976a7e6ac6e55af7b0e4d590ea2f2fe29021af3544600b5fa90460a6a30bdbe44803b8c719e80bfef0638513f8b47a98efc757e611ef SHA512 119bb55726f790eb432cf571ab3e30bf2f7eb166fcaa66c01b77eceba093ee5a10987dfbd73b67524e0bfc8a84e043b8b50ad3553e4364d50d46e3bcfd66103c
-DIST autofirma-1.8.3.zip 51229179 BLAKE2B 6638ba177e9e924de41bc3b4188f503ecf9135f86036540a29592eee861e9453e2a14e56c686130b056900c4560ecc689a6613e701f5203413ee79c1cf0d9718 SHA512 d31650b6ce051700f77b9011b8ca4e01ac28dcbf8fc4c8badd867f0eee6ab91d05222b9d7eac8df64772f7ec956935d4a2dce2ad7201d5b83acd70b78de4ea90
+DIST autofirma-1.8.3.zip 51230663 BLAKE2B cf7523675cfb2782e5bc0cab3fe96e1650607b0709c2276862c984c30c8aee73470df30b338509ee2587fcfc6d83197f3b04dc6991685d357d93f5765d6d5c6d SHA512 d605881c36ee29aa7fa89ebbfeb54bce79e5a9563e5aa5d9e88f68d9a6574195a0ddaf45ca2ac71b1201cde287fd49dd28593fa06588a573dbdd14baec84d058

diff --git a/app-crypt/autofirma/autofirma-1.8.3.ebuild b/app-crypt/autofirma/autofirma-1.8.3.ebuild
index a80ade533..0e5c3753f 100644
--- a/app-crypt/autofirma/autofirma-1.8.3.ebuild
+++ b/app-crypt/autofirma/autofirma-1.8.3.ebuild
@@ -10,10 +10,9 @@ HOMEPAGE="
 	https://administracionelectronica.gob.es/ctt/clienteafirma
 	https://github.com/ctt-gob-es/clienteafirma
 "
-
-# Upstream blocks wget with no User Agent. It can be addressed globally (see https://wiki.gentoo.org/wiki/FETCHCOMMAND).
-# If Gentoo's default configuration is in place, pkg_pretend() and pkg_nofetch() provide fallback options.
-SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip -> ${PF}.zip"
+# Upstream blocks wget, so we need a fallback option
+SRC_URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip -> ${P}.zip
+	https://distfiles.chuso.net/distfiles/${P}.zip"
 
 S="${WORKDIR}"
 
@@ -24,14 +23,6 @@ KEYWORDS="~amd64"
 RDEPEND="virtual/jre:1.8"
 BDEPEND="app-arch/unzip"
 
-pkg_pretend() {
-	# Upstream blocks vanilla wget, so we set up a browser User-Agent as a fallback.
-	local URI="https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip"
-	local USER_AGENT="Mozilla/5.0 (X11; Gentoo; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
-	local DISTFILE="${PORTAGE_ACTUAL_DISTDIR}/${PF}.zip"
-	[[ -f "${DISTFILE}" ]] || /usr/sbin/wget --user-agent="${USER_AGENT}" "${URI}" -O "${DISTFILE}"
-}
-
 pkg_nofetch() {
 	einfo "Please download:"
 	einfo " https://estaticos.redsara.es/comunes/autofirma/$(ver_rs 1- /)/AutoFirma_Linux_Fedora.zip"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-09-26 18:26 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-24 19:59 [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/autofirma/ Jesús P Rey
  -- strict thread matches above, loose matches on Subject: below --
2024-09-26 18:26 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-06-29  1:25 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 11:33 Andrew Ammerlaan
2020-09-23 20:46 Jesús P Rey
2020-09-23 20:36 Jesús P Rey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox