parent
ae15c36a04
commit
12397c256e
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
Fri, 22 Jan 2021 10:38:30 +0000
|
Fri, 22 Jan 2021 11:38:28 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Fri, 22 Jan 2021 10:38:30 +0000
|
Fri, 22 Jan 2021 11:38:29 +0000
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=install nofetch postinst postrm prepare setup
|
||||||
|
DESCRIPTION=ICA Client for Citrix Presentation servers
|
||||||
|
EAPI=7
|
||||||
|
HOMEPAGE=https://www.citrix.com/
|
||||||
|
IUSE=l10n_de l10n_es l10n_fr l10n_ja l10n_zh-CN
|
||||||
|
KEYWORDS=-* ~amd64 ~x86
|
||||||
|
LICENSE=icaclient
|
||||||
|
RDEPEND=app-crypt/libsecret dev-libs/atk dev-libs/glib:2 dev-libs/libxml2 media-fonts/font-adobe-100dpi media-fonts/font-misc-misc media-fonts/font-cursor-misc media-fonts/font-xfree86-type1 media-fonts/font-misc-ethiopic media-libs/alsa-lib media-libs/fontconfig media-libs/freetype media-libs/gst-plugins-base:1.0 media-libs/gstreamer:1.0 media-libs/libogg media-libs/libvorbis media-libs/speex net-libs/libsoup:2.4 net-libs/webkit-gtk:4 sys-apps/util-linux sys-libs/libcxx sys-libs/libcxxabi sys-libs/zlib virtual/krb5 virtual/jpeg:0 virtual/libudev x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:2 x11-libs/gtk+:3 x11-libs/libX11 x11-libs/libXaw x11-libs/libXcomposite x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXinerama x11-libs/libXmu x11-libs/libXrender x11-libs/libXt x11-libs/pango
|
||||||
|
RESTRICT=mirror strip userpriv fetch
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=amd64? ( linuxx64-20.12.0.12.tar.gz ) x86? ( linuxx86-20.12.0.12.tar.gz )
|
||||||
|
_eclasses_=desktop 7fd20552ce4cc97e8acb132a499a7dd8 edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 2d5b3f4b315094768576b6799e4f926e l10n 8cdd85e169b835d518bc2fd59f780d8e multilib d410501a125f99ffb560b0c523cd3d1e toolchain-funcs 1a94dc06d324bd0dab754e11abe6d27e wrapper 4251d4c84c25f59094fd557e0063a974 xdg-utils ff2ff954e6b17929574eee4efc5152ba
|
||||||
|
_md5_=5f0e21dfadd9f63fbf107ddee0a0a6e3
|
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
BDEPEND=python_targets_python3_7? ( dev-lang/python:3.7 ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) >=dev-lang/python-exec-2:=[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] dev-python/pyproject2setuppy[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=Python tool and library for SoloKeys
|
||||||
|
EAPI=7
|
||||||
|
HOMEPAGE=https://github.com/solokeys/solo-python
|
||||||
|
IUSE=python_targets_python3_7 python_targets_python3_8 python_targets_python3_9
|
||||||
|
KEYWORDS=~amd64
|
||||||
|
LICENSE=Apache-2.0 MIT
|
||||||
|
RDEPEND=>=dev-python/click-7.0.0[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] dev-python/cryptography[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] dev-python/ecdsa[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] >=dev-python/fido2-0.8.1[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] dev-python/intelhex[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] dev-python/pyserial[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] dev-python/pyusb[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] dev-python/requests[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] python_targets_python3_7? ( dev-lang/python:3.7 ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) >=dev-lang/python-exec-2:=[python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_7 python_targets_python3_8 python_targets_python3_9 )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/solokeys/solo-python/archive/0.0.27.tar.gz -> solo-python-0.0.27.tar.gz
|
||||||
|
_eclasses_=distutils-r1 f847d402a7ecea58af1958f5b4ec23da multibuild 6b3d5ee849dafe6cdfd7b859c211fb01 multilib d410501a125f99ffb560b0c523cd3d1e multiprocessing cac3169468f893670dac3e7cb940e045 python-r1 f1d4277b3ad100890cbd62e137f0a769 python-utils-r1 65bb60d137e5a51f58ada69bf3f366da toolchain-funcs 1a94dc06d324bd0dab754e11abe6d27e
|
||||||
|
_md5_=3e5be092ef854992d7f81dce2f2e5c84
|
@ -0,0 +1,15 @@
|
|||||||
|
BDEPEND=dev-util/gengetopt sys-apps/help2man virtual/pkgconfig dev-util/ninja dev-util/cmake
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DEPEND=sys-apps/pcsc-lite dev-libs/openssl:0=[-bindist] test? ( dev-libs/check )
|
||||||
|
DESCRIPTION=Command-line tool and p11-kit module for the YubiKey PIV application
|
||||||
|
EAPI=7
|
||||||
|
HOMEPAGE=https://developers.yubico.com/yubico-piv-tool/ https://github.com/Yubico/yubico-piv-tool
|
||||||
|
IUSE=test
|
||||||
|
KEYWORDS=~amd64
|
||||||
|
LICENSE=BSD-2
|
||||||
|
RDEPEND=sys-apps/pcsc-lite dev-libs/openssl:0=[-bindist]
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0/2
|
||||||
|
SRC_URI=https://github.com/Yubico/yubico-piv-tool/archive/yubico-piv-tool-2.2.0.tar.gz
|
||||||
|
_eclasses_=cmake ac7cb516f6a288b6a82bc0649ce49878 edos2unix 33e347e171066657f91f8b0c72ec8773 eutils 2d5b3f4b315094768576b6799e4f926e flag-o-matic 09a8beb8e6a8e02dc1e1bd83ac353741 l10n 8cdd85e169b835d518bc2fd59f780d8e multilib d410501a125f99ffb560b0c523cd3d1e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils 132cbb376048d079b5a012f5467c4e7f toolchain-funcs 1a94dc06d324bd0dab754e11abe6d27e wrapper 4251d4c84c25f59094fd557e0063a974 xdg-utils ff2ff954e6b17929574eee4efc5152ba
|
||||||
|
_md5_=044f49719626485af2434dfeca342ae2
|
@ -1 +1 @@
|
|||||||
Fri, 22 Jan 2021 10:38:30 +0000
|
Fri, 22 Jan 2021 11:38:29 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Fri Jan 22 10:38:30 AM UTC 2021
|
Fri Jan 22 11:38:28 AM UTC 2021
|
||||||
|
@ -1 +1 @@
|
|||||||
Fri, 22 Jan 2021 11:00:01 +0000
|
Fri, 22 Jan 2021 12:00:01 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
37d4f56f02e7a569e707e6a147ff93fe1205d8c8 1611311122 2021-01-22T10:25:22+00:00
|
423a90f512530f7a2d6595c8001065f41131345d 1611312469 2021-01-22T10:47:49+00:00
|
||||||
|
@ -1 +1 @@
|
|||||||
1611311701 Fri 22 Jan 2021 10:35:01 AM UTC
|
1611315301 Fri 22 Jan 2021 11:35:01 AM UTC
|
||||||
|
@ -1 +1 @@
|
|||||||
Fri, 22 Jan 2021 10:38:30 +0000
|
Fri, 22 Jan 2021 11:38:28 +0000
|
||||||
|
Binary file not shown.
@ -0,0 +1,251 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
# eutils inherit required for make_wrapper call
|
||||||
|
inherit desktop eutils multilib xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="ICA Client for Citrix Presentation servers"
|
||||||
|
HOMEPAGE="https://www.citrix.com/"
|
||||||
|
SRC_URI="amd64? ( linuxx64-${PV}.tar.gz )
|
||||||
|
x86? ( linuxx86-${PV}.tar.gz )"
|
||||||
|
|
||||||
|
LICENSE="icaclient"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86"
|
||||||
|
IUSE="l10n_de l10n_es l10n_fr l10n_ja l10n_zh-CN"
|
||||||
|
RESTRICT="mirror strip userpriv fetch"
|
||||||
|
|
||||||
|
ICAROOT="/opt/Citrix/ICAClient"
|
||||||
|
|
||||||
|
QA_PREBUILT="${ICAROOT#/}/*"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-crypt/libsecret
|
||||||
|
dev-libs/atk
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/libxml2
|
||||||
|
media-fonts/font-adobe-100dpi
|
||||||
|
media-fonts/font-misc-misc
|
||||||
|
media-fonts/font-cursor-misc
|
||||||
|
media-fonts/font-xfree86-type1
|
||||||
|
media-fonts/font-misc-ethiopic
|
||||||
|
media-libs/alsa-lib
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype
|
||||||
|
media-libs/gst-plugins-base:1.0
|
||||||
|
media-libs/gstreamer:1.0
|
||||||
|
media-libs/libogg
|
||||||
|
media-libs/libvorbis
|
||||||
|
media-libs/speex
|
||||||
|
net-libs/libsoup:2.4
|
||||||
|
net-libs/webkit-gtk:4
|
||||||
|
sys-apps/util-linux
|
||||||
|
sys-libs/libcxx
|
||||||
|
sys-libs/libcxxabi
|
||||||
|
sys-libs/zlib
|
||||||
|
virtual/krb5
|
||||||
|
virtual/jpeg:0
|
||||||
|
virtual/libudev
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
x11-libs/gtk+:2
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXaw
|
||||||
|
x11-libs/libXcomposite
|
||||||
|
x11-libs/libXdamage
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXinerama
|
||||||
|
x11-libs/libXmu
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libXt
|
||||||
|
x11-libs/pango
|
||||||
|
"
|
||||||
|
DEPEND=""
|
||||||
|
|
||||||
|
pkg_nofetch() {
|
||||||
|
elog "Download the client file ${A} from
|
||||||
|
https://www.citrix.com/downloads/workspace-app/"
|
||||||
|
elog "and place it into your DISTDIR directory."
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
case ${ARCH} in
|
||||||
|
amd64)
|
||||||
|
ICAARCH=linuxx64
|
||||||
|
;;
|
||||||
|
x86)
|
||||||
|
ICAARCH=linuxx86
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
eerror "Given architecture is not supported by Citrix."
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
rm lib/UIDialogLibWebKit.so || die
|
||||||
|
|
||||||
|
# We need to avoid module.ini file getting added to the package's
|
||||||
|
# content because media-plugins/hdx-realtime-media-engine modifies
|
||||||
|
# this file on installation. See pkg_postinst()
|
||||||
|
mv nls/en/module.ini "${T}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local bin tmpl dest
|
||||||
|
|
||||||
|
dodir "${ICAROOT}"
|
||||||
|
|
||||||
|
exeinto "${ICAROOT}"
|
||||||
|
doexe *.DLL libproxy.so wfica AuthManagerDaemon PrimaryAuthManager selfservice ServiceRecord
|
||||||
|
|
||||||
|
exeinto "${ICAROOT}"/lib
|
||||||
|
if use amd64 ; then
|
||||||
|
rm lib/ctxjpeg_fb_8.so || die
|
||||||
|
fi
|
||||||
|
doexe lib/*.so
|
||||||
|
|
||||||
|
for dest in "${ICAROOT}"{,/nls/en{,.UTF-8}} ; do
|
||||||
|
insinto "${dest}"
|
||||||
|
doins nls/en.UTF-8/eula.txt
|
||||||
|
done
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"
|
||||||
|
doins -r usb
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/config
|
||||||
|
# nls/en/*.ini is being handled by pkg_postinst()
|
||||||
|
doins config/* config/.*
|
||||||
|
for tmpl in {appsrv,wfclient}.template ; do
|
||||||
|
newins nls/en/${tmpl} ${tmpl/template/ini}
|
||||||
|
done
|
||||||
|
touch "${ED}/${ICAROOT}"/config/.server || die
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/gtk
|
||||||
|
doins gtk/*
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/gtk/glade
|
||||||
|
doins gtk/glade/*
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/site
|
||||||
|
doins -r site/*
|
||||||
|
|
||||||
|
dodir "${ICAROOT}"/help
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/config/usertemplate
|
||||||
|
doins config/usertemplate/*
|
||||||
|
|
||||||
|
local lang LANGCODES=( en )
|
||||||
|
use l10n_de && LANGCODES+=( de )
|
||||||
|
use l10n_es && LANGCODES+=( es )
|
||||||
|
use l10n_fr && LANGCODES+=( fr )
|
||||||
|
use l10n_ja && LANGCODES+=( ja )
|
||||||
|
use l10n_zh-CN && LANGCODES+=( zh_CN )
|
||||||
|
|
||||||
|
for lang in ${LANGCODES[@]} ; do
|
||||||
|
insinto "${ICAROOT}"/nls/${lang}
|
||||||
|
doins nls/${lang}/*
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/nls/$lang/UTF-8
|
||||||
|
doins nls/${lang}.UTF-8/*
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/nls/${lang}/LC_MESSAGES
|
||||||
|
doins nls/${lang}/LC_MESSAGES/*
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/nls/${lang}
|
||||||
|
dosym UTF-8 "${ICAROOT}"/nls/${lang}/utf8
|
||||||
|
|
||||||
|
for tmpl in {appsrv,wfclient}.template ; do
|
||||||
|
cp "${ED}/${ICAROOT}"/nls/${lang}/${tmpl} \
|
||||||
|
"${ED}/${ICAROOT}"/nls/${lang}/${tmpl/template/ini} \
|
||||||
|
|| die
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/nls
|
||||||
|
dosym en /opt/Citrix/ICAClient/nls/C
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/icons
|
||||||
|
doins icons/*
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/keyboard
|
||||||
|
doins keyboard/*
|
||||||
|
|
||||||
|
rm -r "${S}"/keystore/cacerts || die
|
||||||
|
dosym ../../../../etc/ssl/certs "${ICAROOT}"/keystore/cacerts
|
||||||
|
|
||||||
|
local util_files=(
|
||||||
|
configmgr
|
||||||
|
conncenter
|
||||||
|
ctx_app_bind
|
||||||
|
ctx_rehash
|
||||||
|
ctxlogd
|
||||||
|
ctxwebhelper
|
||||||
|
gst_play1.0
|
||||||
|
gst_read1.0
|
||||||
|
hdxcheck.sh
|
||||||
|
icalicense.sh
|
||||||
|
libgstflatstm1.0.so
|
||||||
|
lurdump
|
||||||
|
new_store
|
||||||
|
nslaunch
|
||||||
|
pnabrowse
|
||||||
|
setlog
|
||||||
|
storebrowse
|
||||||
|
sunraymac.sh
|
||||||
|
webcontainer
|
||||||
|
what
|
||||||
|
xcapture
|
||||||
|
)
|
||||||
|
|
||||||
|
exeinto "${ICAROOT}"/util
|
||||||
|
for bin in ${util_files[@]} ; do
|
||||||
|
doexe util/${bin}
|
||||||
|
done
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/655922
|
||||||
|
dosym gst_play1.0 "${ICAROOT}"/util/gst_play
|
||||||
|
dosym gst_read1.0 "${ICAROOT}"/util/gst_read
|
||||||
|
dosym libgstflatstm1.0.so "${ICAROOT}"/util/libgstflatstm.so
|
||||||
|
|
||||||
|
doenvd "${FILESDIR}"/10ICAClient
|
||||||
|
|
||||||
|
for bin in configmgr conncenter new_store ; do
|
||||||
|
make_wrapper ${bin} "${ICAROOT}"/util/${bin} . "${ICAROOT}"/util
|
||||||
|
done
|
||||||
|
|
||||||
|
for bin in selfservice wfica ; do
|
||||||
|
make_wrapper ${bin} "${ICAROOT}"/${bin} . "${ICAROOT}"
|
||||||
|
done
|
||||||
|
|
||||||
|
dodir /etc/revdep-rebuild/
|
||||||
|
echo "SEARCH_DIRS_MASK=\"${ICAROOT}\"" \
|
||||||
|
> "${ED}"/etc/revdep-rebuild/70icaclient
|
||||||
|
|
||||||
|
insinto "${ICAROOT}"/pkginf
|
||||||
|
newins "${WORKDIR}"/PkgId Ver.core."${ICAARCH}"
|
||||||
|
|
||||||
|
# 651926
|
||||||
|
domenu "${FILESDIR}"/*.desktop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
local inidest="${BROOT}${ICAROOT}/config"
|
||||||
|
if [[ ! -e "${inidest}"/module.ini ]] ; then
|
||||||
|
mv "${T}"/module.ini "${inidest}/" \
|
||||||
|
|| ewarn 'Failed to install plugin.ini file'
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST solo-python-0.0.26.tar.gz 35251 BLAKE2B 76e515667220a8efdd16e159008eed8232721e0a8a1a1bffbc773cfa832b2f112d8dc229bf69dc4ccbee1d11b41d630a2d91e2383ebd19158d8c46ccf4f355de SHA512 f97da4a4ed3b0e0f4715407b179d8a8c1385076611fe8669cec6b514313d38dd14c6c22434b73e2c72f7456407a6c942b26b72cca7a56969cfbc630ee25aad85
|
DIST solo-python-0.0.26.tar.gz 35251 BLAKE2B 76e515667220a8efdd16e159008eed8232721e0a8a1a1bffbc773cfa832b2f112d8dc229bf69dc4ccbee1d11b41d630a2d91e2383ebd19158d8c46ccf4f355de SHA512 f97da4a4ed3b0e0f4715407b179d8a8c1385076611fe8669cec6b514313d38dd14c6c22434b73e2c72f7456407a6c942b26b72cca7a56969cfbc630ee25aad85
|
||||||
|
DIST solo-python-0.0.27.tar.gz 35657 BLAKE2B 747d8849ad4bdda7c0e4b079dce2d7162f07dad4784bb941242dd8ea759cccd763537cec2c7cd9ecf6f467c771729217648b72aa36292622f5fc3adb8a0c280c SHA512 50d564916e07a0c65a843bd2d0328a735ba71eadcfc893b13fac84a3e51822ed2bf80fc3f7662943a5635c6cd6b3ded8ba5b5a9ac2282c9f9bcdfe9de191e445
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python tool and library for SoloKeys"
|
||||||
|
HOMEPAGE="https://github.com/solokeys/solo-python"
|
||||||
|
SRC_URI="https://github.com/solokeys/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0 MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-python/click-7.0.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
dev-python/ecdsa[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/fido2-0.8.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/intelhex[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyserial[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyusb[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# For some reason the version file gets omitted by src_install (a bug in pyproject2setuppy?),
|
||||||
|
# and in any case there is no advantage to using one once a specific version has been released.
|
||||||
|
sed -i -e "s/^__version__ = open(.\+$/__version__ = '${PV}'/" solo/__init__.py || die "Failed to set the version number"
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST yubico-piv-tool-2.1.1.tar.gz 1302573 BLAKE2B da4419b7074930f7d264f21a12973511d350e687d0487b93d25a528f4a79d5df44dbbdde34ef7cd0d14507ba1a00f776fcd7eaf503f2253d8ee8da3e9a68010f SHA512 14d880088f7624f600c6badb6504c4c71ef29ff82e9c29bd837013e62273c6b198ca581705cc7fb9f3c0c13334767ea7b340fb033ce99fb60fb0478281affc9f
|
DIST yubico-piv-tool-2.1.1.tar.gz 1302573 BLAKE2B da4419b7074930f7d264f21a12973511d350e687d0487b93d25a528f4a79d5df44dbbdde34ef7cd0d14507ba1a00f776fcd7eaf503f2253d8ee8da3e9a68010f SHA512 14d880088f7624f600c6badb6504c4c71ef29ff82e9c29bd837013e62273c6b198ca581705cc7fb9f3c0c13334767ea7b340fb033ce99fb60fb0478281affc9f
|
||||||
|
DIST yubico-piv-tool-2.2.0.tar.gz 1309359 BLAKE2B a5be7a48549f864b9322b5bf53726007b593ce7d08cd06f2251aef98cb065d90586e0189e6f3da94d6d274d6998459afa4a55a0d4c1145395f55830f53d334e4 SHA512 b2f8cd73800e0e0778ce36148b962026479f5d3ada3e313acb5a780993c28c41b03e9aa9335ac5b79fed7a418a2d3d3697231adf2da0dd06cd8d22ea5a01aca5
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV application"
|
||||||
|
HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ https://github.com/Yubico/yubico-piv-tool"
|
||||||
|
SRC_URI="https://github.com/Yubico/${PN}/archive/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0/2"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="sys-apps/pcsc-lite
|
||||||
|
dev-libs/openssl:0=[-bindist]"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? ( dev-libs/check )"
|
||||||
|
BDEPEND="dev-util/gengetopt
|
||||||
|
sys-apps/help2man
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.1.1-no-Werror.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${P}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# As of 2.2.0, man pages end up in /usr/usr/... without the MANDIR override
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_STATIC_LIB=OFF
|
||||||
|
-DBUILD_TESTING=$(usex test)
|
||||||
|
-DCMAKE_INSTALL_MANDIR="share/man"
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module \
|
||||||
|
|| die "Failed to generate p11-kit module configuration"
|
||||||
|
insinto /usr/share/p11-kit/modules
|
||||||
|
doins ${PN}.module
|
||||||
|
}
|
Loading…
Reference in new issue