From c8c3804588db08dae281504dd79ef71741cd8dc3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 23 Mar 2023 12:45:14 +0000 Subject: gentoo auto-resync : 23:03:2023 - 12:45:13 --- sys-apps/pcsc-tools/Manifest | 4 +- sys-apps/pcsc-tools/metadata.xml | 3 +- sys-apps/pcsc-tools/pcsc-tools-1.6.2.ebuild | 64 +++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 sys-apps/pcsc-tools/pcsc-tools-1.6.2.ebuild (limited to 'sys-apps/pcsc-tools') diff --git a/sys-apps/pcsc-tools/Manifest b/sys-apps/pcsc-tools/Manifest index a9a2544dd9a1..d9f96cea8512 100644 --- a/sys-apps/pcsc-tools/Manifest +++ b/sys-apps/pcsc-tools/Manifest @@ -1,6 +1,8 @@ AUX smartcard.cron 319 BLAKE2B fac8c4360b802de32ff5b0fc5c2ef41aacc28186001ee6f4f3a1cd878ed75cae3f7f78aaad58580d11a695b3fd624fdd412669c743b951818de1aef6d9d4cdf0 SHA512 cb34e75090ff0fde349b81867383ed776b4c89672039f42426e27d2fce77ba0575827d2627b82fc9c435d6091b26e7c2a0e51dbcd1bdd1c883b8c37000ed516e DIST pcsc-tools-1.6.0.tar.bz2 304960 BLAKE2B a60d280d39689d7eaa407aa5857c63af0acda3791e5d9f5c2f62048260178dc728fb179aed3c369340e192ba9b3d5db04bacbe5cc6ef1519c7cde55e10ca6b45 SHA512 951014510dcfd011fc08c92a927ed8a39751c15cd9278e9bd61693a2743a82d4b88907e01e013738f6b5afb569cb4d9e9802ee575c731b83da33e92f96eb5d50 DIST pcsc-tools-1.6.1.tar.bz2 313105 BLAKE2B 62169f4bab81cfe137098b863ae572df283498f7fcb6b6ecaef9122ccc530d6201805b13903826887c70363443d02e43d0d0fb88e15d5f634fc0e1e775c3ecaf SHA512 fc1a6bdea55ee1194d08998f229870b7fb65f53b3b5ddb209540980d95dab8dfb62d4bc865716d0120bb843d5095b0ad9286c42ad352e52c1cfe48ef28b5adaf +DIST pcsc-tools-1.6.2.tar.bz2 320182 BLAKE2B 88a76f4120a183df909ce9d189e38e51897080839ebe7ca85aa4447a441363e6917ddb1c5e6c0e881c8792078700676ad1cfe24609957a4fef54374d5be824a4 SHA512 20104baefa7928a86d21cee49d045cc35b8e74fec5be79ba5608ae046a110096efae96768d281e0f1350f71a889f89c675336d8264c75f8423369a49c03b42a8 EBUILD pcsc-tools-1.6.0.ebuild 1390 BLAKE2B 7faab3fc2f66bcff8f46fa4a892eac268bd3dfc9acd1e5c655bd2fd242b025dde9d0af58d4798f756515279377da1a59db7ca975fb2b6d3639249bae5188b6bd SHA512 1381dae367689c8bafa9867b1eea875ad8e623a12ac4aa0bb1950d7a9cb2d118d0f92fb4988680bb1a718f07af50b19a05849eb6470b4551533bf86890bcde3c EBUILD pcsc-tools-1.6.1.ebuild 1390 BLAKE2B fe8027aed9f82d103ee67f3192f402d2fd5b02dd91032f3f26c7f61a1f8c16b9c19ddb132d87477b59bd83da3742feb53a8f1a640a1ddcdb527beb0ec58548fc SHA512 58eb4058aa8a91e8fab0816471c054df666eae8cb62db10e71a16cb8eeee6ca230c17f7cdfd8d042eabd314d8ef700541d77612372a7b75980d6fe8c47cdd10b -MISC metadata.xml 448 BLAKE2B f642f8f9a269fe6e3b082d4c17e2ab2c8aeb67ddcfd7a5bdaf66a95aedd6ffcfe0bcc936ad2c5e24904dd15814d61e609afc055ca5b6613cc854bc802cddb239 SHA512 feb5f0c59a283bd5f42b48cbd7fd148cd0716566438dd76c254732a9fea6e886c5e1d5416dff3c419a5fb77a03e240b3c399b0d7d81ee41ee09c02b590205d86 +EBUILD pcsc-tools-1.6.2.ebuild 1347 BLAKE2B ec8944d34fe19eb087da989a09c4afd88ee2d3571346f416b10212b0878f748b75a9fc56639d325faa9b6446751ff4869903254332bb30e4547062566dd42d01 SHA512 f2d37759442b028d20bd4cff7e9803dc3a5b75e740d428316a43e2c05678c4895a75c7bdb2c77ca85e21b09999b111bfdb98a17319d5ba84431c98edc4447e5f +MISC metadata.xml 530 BLAKE2B f9a0c7d8938d6dd2616fc62108c567ac598d880cca2e7b43f8c4c6ce53799a340a319015f2c0bae0ee8cf0a62cb5d52722d070e01d45bc38837e4e87fb0e709b SHA512 22ccf135d86a9eeb75a0b3369c5931420a88dddf679bd1de70c8c34fee5920c188931660c29d00394b40041c7ac8af0e549d90a24d2213b5a53ac5202f16c5d7 diff --git a/sys-apps/pcsc-tools/metadata.xml b/sys-apps/pcsc-tools/metadata.xml index e0feb13228a3..430a76d4135c 100644 --- a/sys-apps/pcsc-tools/metadata.xml +++ b/sys-apps/pcsc-tools/metadata.xml @@ -6,9 +6,10 @@ Gentoo Base System - Monthly cronjob the update-smartcard_list script + Install a monthly cronjob to update the update-smartcard_list script + https://pcsc-tools.apdu.fr/Changelog LudovicRousseau/pcsc-tools diff --git a/sys-apps/pcsc-tools/pcsc-tools-1.6.2.ebuild b/sys-apps/pcsc-tools/pcsc-tools-1.6.2.ebuild new file mode 100644 index 000000000000..4effc00f4cbf --- /dev/null +++ b/sys-apps/pcsc-tools/pcsc-tools-1.6.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs xdg-utils + +DESCRIPTION="PC/SC Architecture smartcard tools" +HOMEPAGE="https://pcsc-tools.apdu.fr/ https://github.com/LudovicRousseau/pcsc-tools" +SRC_URI="https://pcsc-tools.apdu.fr/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="gui network-cron" + +DEPEND=">=sys-apps/pcsc-lite-1.4.14" +RDEPEND=" + ${DEPEND} + dev-perl/pcsc-perl + gui? ( dev-perl/Gtk3 ) +" +BDEPEND="virtual/pkgconfig" + +DOCS=( + README Changelog +) + +src_compile() { + # explicitly only build the pcsc_scan application, or the man + # pages will be gzipped first, and then unpacked. + emake pcsc_scan CC="$(tc-getCC)" +} + +src_install() { + einstalldocs + + # install manually, makes it much easier since the Makefile + # requires fiddling with + dobin ATR_analysis scriptor pcsc_scan + doman pcsc_scan.1 scriptor.1p ATR_analysis.1p + + if use gui; then + domenu gscriptor.desktop + dobin gscriptor + doman gscriptor.1p + fi + + if use network-cron ; then + exeinto /etc/cron.monthly + newexe "${FILESDIR}"/smartcard.cron update-smartcard_list + fi + + insinto /usr/share/pcsc + doins smartcard_list.txt +} + +pkg_postinst() { + use gui && xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} -- cgit v1.2.3