[gentoo-commits] repo/gentoo:master commit in: app-crypt/asekey/files/, app-crypt/asekey/
commit: cb6d3c717a87fabae248dab4a06416e20a5a7d26 Author: Alfred Wingate protonmail com> AuthorDate: Fri Sep 15 05:45:19 2023 + Commit: Sam James gentoo org> CommitDate: Sun Sep 24 22:07:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb6d3c71 app-crypt/asekey: update EAPI 7 -> 8 Closes: https://bugs.gentoo.org/714222 Closes: https://bugs.gentoo.org/745291 Closes: https://bugs.gentoo.org/854237 Signed-off-by: Alfred Wingate protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/32791 Signed-off-by: Sam James gentoo.org> app-crypt/asekey/asekey-3.7-r1.ebuild | 44 ++ ...sekey-3.7-dont-call-toolchain-cc-directly.patch | 13 +++ .../asekey/files/asekey-3.7-musl-ushort.patch | 14 +++ 3 files changed, 71 insertions(+) diff --git a/app-crypt/asekey/asekey-3.7-r1.ebuild b/app-crypt/asekey/asekey-3.7-r1.ebuild new file mode 100644 index ..e6e750fd38e4 --- /dev/null +++ b/app-crypt/asekey/asekey-3.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit udev + +DESCRIPTION="ASEKey USB SIM Card Reader" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage; +SRC_URI="https://dev.gentoo.org/~sam/distfiles/app-crypt/asekey/${P}.tar.bz2; + +LICENSE="BSD LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + sys-apps/pcsc-lite[udev] + virtual/libusb:0 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/asekey-3.7-bundle.patch" + "${FILESDIR}/asekey-3.7-dont-call-toolchain-cc-directly.patch" + "${FILESDIR}/asekey-3.7-musl-ushort.patch" +) + +src_prepare() { + default + sed -i -e 's/GROUP="pcscd"/ENV{PCSCD}="1"/' "92_pcscd_${PN}.rules" || die +} + +src_configure() { + econf --with-udev-rules-dir="$(get_udevdir)/rules.d" +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/app-crypt/asekey/files/asekey-3.7-dont-call-toolchain-cc-directly.patch b/app-crypt/asekey/files/asekey-3.7-dont-call-toolchain-cc-directly.patch new file mode 100644 index ..ba51ff4dea9f --- /dev/null +++ b/app-crypt/asekey/files/asekey-3.7-dont-call-toolchain-cc-directly.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/745291 + +--- a/Makefile b/Makefile +@@ -4,7 +4,7 @@ + DRIVER_DIR=${DESTDIR}/${USBDROPDIR}/ifd-ASEKey.bundle + UDEV_DIR=${DESTDIR}/${UDEVDIR} + +-CC=${BUILD}-gcc ++CC?=gcc + + SOURCES=usb.c atr.c DriverIO.c CommandTypes.c ReaderCommands.c T1Protocol.c MemoryCards.c InitCardParams.c ifdhandler.c + diff --git a/app-crypt/asekey/files/asekey-3.7-musl-ushort.patch b/app-crypt/asekey/files/asekey-3.7-musl-ushort.patch new file mode 100644 index ..5893527eff8a --- /dev/null +++ b/app-crypt/asekey/files/asekey-3.7-musl-ushort.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/714222 + +Hack instead of fix because upstream is dead and the typedef is used extensively. + +--- a/Ase.h b/Ase.h +@@ -24,6 +24,7 @@ + #include "T1Protocol.h" + #include "MemoryCards.h" + ++typedef unsigned short ushort; + + //#define ASE_DEBUG +
[gentoo-commits] repo/gentoo:master commit in: app-crypt/asekey/
commit: 07cc7d0ebb918e9e02b126bcc62e695126824ad5 Author: Alfred Wingate protonmail com> AuthorDate: Fri Sep 15 04:42:27 2023 + Commit: Sam James gentoo org> CommitDate: Sun Sep 24 22:07:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cc7d0e app-crypt/asekey: remove HOMEPAGE, mirror distfile in gentoo namespace * Athena Smartcard LIMITED stopped existing as an entity in 2015 when NXP Semiconducters aquired them. Now their domain has been aquired by an unrelated domain squatter. https://find-and-update.company-information.service.gov.uk/company/05881097/filing-history https://www.nxp.com/company/about-nxp/nxp-acquires-athena-scs:NW-ACQUIRES-ATHENA-SCS Closes: https://bugs.gentoo.org/680720 Signed-off-by: Alfred Wingate protonmail.com> Signed-off-by: Sam James gentoo.org> app-crypt/asekey/asekey-3.7.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app-crypt/asekey/asekey-3.7.ebuild b/app-crypt/asekey/asekey-3.7.ebuild index e7f6dbe08462..a6c2a097c9bc 100644 --- a/app-crypt/asekey/asekey-3.7.ebuild +++ b/app-crypt/asekey/asekey-3.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,8 +6,8 @@ EAPI=7 inherit udev DESCRIPTION="ASEKey USB SIM Card Reader" -HOMEPAGE="https://www.athena-scs.com/; -SRC_URI="http://www.athena-scs.com/docs/reader-drivers/${PN}-${PV/./-}-tar.bz2 -> ${P}.tar.bz2" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage; +SRC_URI="https://dev.gentoo.org/~sam/distfiles/app-crypt/asekey/${P}.tar.bz2; LICENSE="BSD LGPL-2.1" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/asekey/
commit: 0e2220708f30d6c685db97e129245dbe3f2c165a Author: Atharva Amritkar protonmail com> AuthorDate: Sun Apr 3 18:04:25 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Apr 7 15:30:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e222070 app-crypt/asekey: Keyword 3.7 ~riscv Signed-off-by: Atharva Amritkar protonmail.com> Signed-off-by: Jakov Smolić gentoo.org> app-crypt/asekey/asekey-3.7.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/asekey/asekey-3.7.ebuild b/app-crypt/asekey/asekey-3.7.ebuild index fcf24ad70acf..e7f6dbe08462 100644 --- a/app-crypt/asekey/asekey-3.7.ebuild +++ b/app-crypt/asekey/asekey-3.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="http://www.athena-scs.com/docs/reader-drivers/${PN}-${PV/./-}-tar.bz2 - LICENSE="BSD LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~riscv ~x86" RDEPEND="sys-apps/pcsc-lite[udev] virtual/libusb:0"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/asekey/
commit: 7d4d7896f8b7a3aca78483d62b7d0fd2a52dc2a8 Author: David Seifert gentoo org> AuthorDate: Wed Aug 28 09:11:23 2019 + Commit: David Seifert gentoo org> CommitDate: Wed Aug 28 09:11:23 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d4d7896 app-crypt/asekey: [QA] Fix ${HOMEPAGE} in SRC_URI Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: David Seifert gentoo.org> app-crypt/asekey/asekey-3.7.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/asekey/asekey-3.7.ebuild b/app-crypt/asekey/asekey-3.7.ebuild index 93d6dd55328..d895f7bfda5 100644 --- a/app-crypt/asekey/asekey-3.7.ebuild +++ b/app-crypt/asekey/asekey-3.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,7 +7,7 @@ inherit udev DESCRIPTION="ASEKey USB SIM Card Reader" HOMEPAGE="http://www.athena-scs.com/; -SRC_URI="${HOMEPAGE}/docs/reader-drivers/${PN}-${PV/./-}-tar.bz2 -> ${P}.tar.bz2" +SRC_URI="http://www.athena-scs.com/docs/reader-drivers/${PN}-${PV/./-}-tar.bz2 -> ${P}.tar.bz2" LICENSE="BSD LGPL-2.1" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/asekey/
commit: 8fd46698f07ff3a4159b50d6f20e3403b6efb985 Author: Alon Bar-Lev gentoo org> AuthorDate: Sat Feb 4 19:50:08 2017 + Commit: Alon Bar-Lev gentoo org> CommitDate: Sat Feb 4 20:06:40 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fd46698 app-crypt/asekey: eapi bump Package-Manager: portage-2.3.3 app-crypt/asekey/asekey-3.7.ebuild | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app-crypt/asekey/asekey-3.7.ebuild b/app-crypt/asekey/asekey-3.7.ebuild index d546b09..9b32c32 100644 --- a/app-crypt/asekey/asekey-3.7.ebuild +++ b/app-crypt/asekey/asekey-3.7.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="4" +EAPI="6" -inherit eutils udev +inherit udev DESCRIPTION="ASEKey USB SIM Card Reader" HOMEPAGE="http://www.athena-scs.com/; @@ -21,16 +21,15 @@ RDEPEND="${RDEPEND} DEPEND="${RDEPEND} virtual/pkgconfig" +PATCHES=( + "${FILESDIR}/${P}-bundle.patch" +) + src_prepare() { - epatch "${FILESDIR}/${P}-bundle.patch" + default sed -i -e 's/GROUP="pcscd"/ENV{PCSCD}="1"/' "92_pcscd_${PN}.rules" || die } src_configure() { econf --with-udev-rules-dir="$(get_udevdir)/rules.d" } - -src_install() { - default - dodoc ChangeLog README -}