Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Yubikey manager
Date: Mon, 01 Jul 2019 07:00:13 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12766@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 589 bytes --]

There is a new pull request by zdtcd against master on the void-packages repository

https://github.com/zdtcd/void-packages yubikey-manager
https://github.com/void-linux/void-packages/pull/12766

Yubikey manager
I have problem with:
```sh
% ykman openpgp export-certificate SIG -
```
return Invalid Instruction,
I'll try to figure out if it's my configuration problem or this package's problem
-----
pyusb is released under BSD-3-Clause with this release, but changed to Apache-2.0 upstream

A patch file from https://github.com/void-linux/void-packages/pull/12766.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yubikey-manager-12766.patch --]
[-- Type: application/text/x-diff, Size: 4577 bytes --]

From de4df2df0ea4f76fb7b8faf3e14268a701dbdcba Mon Sep 17 00:00:00 2001
From: Doan Tran Cong Danh <congdanhqx@gmail.com>
Date: Mon, 1 Jul 2019 10:47:21 +0700
Subject: [PATCH 1/3] New package: python-usb-1.0.2

---
 srcpkgs/python-usb/template | 30 ++++++++++++++++++++++++++++++
 srcpkgs/python3-usb         |  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/python-usb/template
 create mode 120000 srcpkgs/python3-usb

diff --git a/srcpkgs/python-usb/template b/srcpkgs/python-usb/template
new file mode 100644
index 00000000000..e3526bb96fb
--- /dev/null
+++ b/srcpkgs/python-usb/template
@@ -0,0 +1,30 @@
+# Template file for 'python-usb'
+pkgname=python-usb
+_pkgname=pyusb
+version=1.0.2
+revision=1
+archs=noarch
+wrksrc="${_pkgname}-${version}"
+build_style=python-module
+pycompile_module=${_pkgname}
+hostmakedepends="python-setuptools python3-setuptools"
+depends="python"
+short_desc="Python2 library for USB communication"
+maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/pyusb/pyusb"
+distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
+checksum=4e9b72cc4a4205ca64fbf1f3fff39a335512166c151ad103e55c8223ac147362
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-usb_package() {
+	depends=python3
+	short_desc="${short_desc/Python2/Python3}"
+	pkg_install() {
+		vmove usr/lib/python3*
+		vlicense LICENSE
+	}
+}
diff --git a/srcpkgs/python3-usb b/srcpkgs/python3-usb
new file mode 120000
index 00000000000..79f6e9fcaeb
--- /dev/null
+++ b/srcpkgs/python3-usb
@@ -0,0 +1 @@
+python-usb
\ No newline at end of file

From 490a50fbc198f81160584ffec311297be1ec2aba Mon Sep 17 00:00:00 2001
From: Doan Tran Cong Danh <congdanhqx@gmail.com>
Date: Mon, 1 Jul 2019 10:57:34 +0700
Subject: [PATCH 2/3] New package: python-scard-1.9.8

---
 srcpkgs/python-scard/template | 25 +++++++++++++++++++++++++
 srcpkgs/python3-scard         |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 srcpkgs/python-scard/template
 create mode 120000 srcpkgs/python3-scard

diff --git a/srcpkgs/python-scard/template b/srcpkgs/python-scard/template
new file mode 100644
index 00000000000..165472826b2
--- /dev/null
+++ b/srcpkgs/python-scard/template
@@ -0,0 +1,25 @@
+# Template file for 'python-scard'
+pkgname=python-scard
+_pkgname=pyscard
+version=1.9.8
+revision=1
+wrksrc="${_pkgname}-${version}"
+build_style=python-module
+pycompile_module=${_pkgname}
+hostmakedepends="python-setuptools python3-setuptools swig"
+makedepends="python-devel python3-devel pcsclite-devel"
+depends="python pcsclite"
+short_desc="Python2 library for smartcard"
+maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="https://pyscard.sourceforge.io/index.html"
+distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
+checksum=f59dc7ee467b210094e64c923e1c7f5e8e9501a672fc0c8f2cd958153e00d095
+
+python3-scard_package() {
+	depends="python3 pcsclite"
+	short_desc="${short_desc/Python2/Python3}"
+	pkg_install() {
+		vmove usr/lib/python3*
+	}
+}
diff --git a/srcpkgs/python3-scard b/srcpkgs/python3-scard
new file mode 120000
index 00000000000..b5840002f7d
--- /dev/null
+++ b/srcpkgs/python3-scard
@@ -0,0 +1 @@
+python-scard
\ No newline at end of file

From e1962f79cfc09ab4d3a15c8d6ba9ecb6b28bb318 Mon Sep 17 00:00:00 2001
From: Doan Tran Cong Danh <congdanhqx@gmail.com>
Date: Mon, 1 Jul 2019 11:48:42 +0700
Subject: [PATCH 3/3] New package: yubikey-manager-3.0.0

---
 srcpkgs/yubikey-manager/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/yubikey-manager/template

diff --git a/srcpkgs/yubikey-manager/template b/srcpkgs/yubikey-manager/template
new file mode 100644
index 00000000000..7cab8c4a93b
--- /dev/null
+++ b/srcpkgs/yubikey-manager/template
@@ -0,0 +1,19 @@
+# Template file for 'yubikey-manager'
+pkgname=yubikey-manager
+version=3.0.0
+revision=1
+archs=noarch
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="libu2f-host python3-fido2 python3-openssl python3-usb python3-scard
+python3-click python3-cryptography python3-six pcsc-ccid"
+short_desc="Library and CLI tools to configure YubiKey"
+maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://developers.yubico.com/yubikey-manager/"
+distfiles="https://developers.yubico.com/${pkgname}/Releases/${pkgname}-${version}.tar.gz"
+checksum=815746ad93780884a0ceb8cb4569a902f2317511b3a41ceead8f9be0a9b1f220
+
+post_install() {
+	vlicense COPYING
+}

             reply	other threads:[~2019-07-01  5:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-01  5:00 voidlinux-github [this message]
2019-07-01  5:03 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-01  5:03 ` voidlinux-github
2019-07-01  7:29 ` voidlinux-github
2019-07-01  7:29 ` voidlinux-github
2019-07-01  7:35 ` voidlinux-github
2019-07-01  7:35 ` voidlinux-github
2019-07-02 17:13 ` voidlinux-github
2019-07-03  4:41 ` voidlinux-github
2019-07-03  6:41 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-03  6:41 ` voidlinux-github
2019-07-16 13:55 ` voidlinux-github
2019-07-16 23:30 ` voidlinux-github
2019-07-17  0:43 ` voidlinux-github
2019-07-22 22:25 ` voidlinux-github
2019-10-02  3:18 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-02  3:18 ` voidlinux-github
2019-10-02  3:19 ` voidlinux-github
2019-10-02 20:09 ` [PR PATCH] [Merged]: " voidlinux-github

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12766@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).