From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: autofirma-1.7.2
Date: Sat, 11 Mar 2023 20:25:42 +0100 [thread overview]
Message-ID: <20230311192542.pkbJB9jWbsyz-0q0_aAYGq-m5HS11OychC8Sfjb3dBw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41346@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages autofirma
https://github.com/void-linux/void-packages/pull/41346
New package: autofirma-1.7.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
closes #36872
A patch file from https://github.com/void-linux/void-packages/pull/41346.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-autofirma-41346.patch --]
[-- Type: text/x-diff, Size: 2236 bytes --]
From e79276a40ed25ada7242bf17308fcea84650b09b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 22 Dec 2022 14:04:57 +0100
Subject: [PATCH] New package: autofirma-1.7.2
---
srcpkgs/autofirma/files/autofirma | 2 ++
srcpkgs/autofirma/template | 41 +++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/autofirma/files/autofirma
create mode 100644 srcpkgs/autofirma/template
diff --git a/srcpkgs/autofirma/files/autofirma b/srcpkgs/autofirma/files/autofirma
new file mode 100644
index 000000000000..173e8ac46fd6
--- /dev/null
+++ b/srcpkgs/autofirma/files/autofirma
@@ -0,0 +1,2 @@
+#! /bin/sh
+java -jar /usr/share/java/autofirma/AutoFirma.jar
diff --git a/srcpkgs/autofirma/template b/srcpkgs/autofirma/template
new file mode 100644
index 000000000000..52844fce9842
--- /dev/null
+++ b/srcpkgs/autofirma/template
@@ -0,0 +1,41 @@
+# Template file for 'autofirma'
+pkgname=autofirma
+version=1.7.2
+revision=1
+_jmulticard_version=1.7
+
+hostmakedepends="apache-maven openjdk11"
+depends="virtual?java-environment"
+short_desc="Cliente de firma electrónica ofrecido por la Administración Pública"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="GPL-3.0-or-later"
+homepage="https://firmaelectronica.gob.es/"
+distfiles="https://github.com/ctt-gob-es/clienteafirma/archive/v${version}.tar.gz
+ https://github.com/ctt-gob-es/jmulticard/archive/refs/tags/v${_jmulticard_version}.tar.gz"
+checksum="f3d135f80c5e18e204110f9077f6be708280866600a68e71d9e13af09a1963d5
+eedc93e36ae79b2c36f276ad575bca0d84d3883487439e3f71622cfd4a4b58ac"
+
+# maven-surefire-plugin needed
+make_check=no
+
+do_build() {
+ export JAVA_HOME=/usr/lib/jvm/openjdk11
+ cd "jmulticard-${_jmulticard_version}"
+ mvn clean install -Dmaven.test.skip=true
+ cd "../clienteafirma-${version}"
+ mvn clean install -Denv=install -Dmaven.test.skip=true
+}
+
+do_check() {
+ cd "jmulticard-${_jmulticard_version}"
+ mvn test
+ cd "../clienteafirma-${version}"
+ mvn test
+}
+
+do_install() {
+ vmkdir usr/share/java
+ vmkdir usr/share/java/${pkgname}
+ vinstall clienteafirma-${version}/afirma-simple/target/AutoFirma.jar 644 usr/share/java/autofirma
+ vbin "${FILESDIR}/autofirma"
+}
next prev parent reply other threads:[~2023-03-11 19:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-29 16:02 [PR PATCH] " Eloitor
2023-03-09 22:27 ` [PR PATCH] [Updated] " Eloitor
2023-03-11 19:15 ` Eloitor
2023-03-11 19:25 ` Eloitor [this message]
2023-06-10 1:59 ` github-actions
2023-06-24 2:05 ` [PR PATCH] [Closed]: " github-actions
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=20230311192542.pkbJB9jWbsyz-0q0_aAYGq-m5HS11OychC8Sfjb3dBw@z \
--to=eloitor@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).