diff --git a/app-crypt/sac-core/Manifest b/app-crypt/sac-core/Manifest new file mode 100644 index 0000000000..f27558e4ee --- /dev/null +++ b/app-crypt/sac-core/Manifest @@ -0,0 +1 @@ +DIST SAC_Linux_10.8.105_R1_GA.zip 118355633 BLAKE2B 19040c84e10290f64b9225a7e093ff86f4b2e6dbf0dae2798526fecf754daf39c74db6dc257a4d90b4fac8a536c1707cde4458b4905f826d84ad2e03f3583f8e SHA512 6f3fac16a73f0d1074abf59039e4efea7dfb07193b24e24bf3944a7b2779c00d74c4e9471fa39571701c3694c2e4260ff9d7792ddfdbae8b6a5337dcf3ac7634 diff --git a/app-crypt/sac-core/files/safenetauthenticationclient.service b/app-crypt/sac-core/files/safenetauthenticationclient.service new file mode 100644 index 0000000000..1bbed78053 --- /dev/null +++ b/app-crypt/sac-core/files/safenetauthenticationclient.service @@ -0,0 +1,8 @@ +[Unit] +Description=Thales eToken SACSrv daemon + +[Service] +ExecStart=/usr/bin/SACSrv + +[Install] +WantedBy=multi-user.target diff --git a/app-crypt/sac-core/metadata.xml b/app-crypt/sac-core/metadata.xml new file mode 100644 index 0000000000..2fc7dcd221 --- /dev/null +++ b/app-crypt/sac-core/metadata.xml @@ -0,0 +1,17 @@ + + + + + SAC is a Public Key Infrastructure (PKI) middleware that provides a secure + method for exchanging information based on public key cryptography, enabling + trusted third-party verification of user identities. + + It utilizes a system of digital certificates, Certificate Authorities, and + other registration authorities that verify and authenticate the validity of + each party involved in an internet transaction. + + + Adrian Ratiu + adrian.ratiu@collabora.com + + diff --git a/app-crypt/sac-core/sac-core-10.8.1050.ebuild b/app-crypt/sac-core/sac-core-10.8.1050.ebuild new file mode 100644 index 0000000000..65c5d5cb20 --- /dev/null +++ b/app-crypt/sac-core/sac-core-10.8.1050.ebuild @@ -0,0 +1,73 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Thales/Gemalto SafeNet Authentication Client for eToken 5110/5300 & IDPrime (core PKCS#11 modules)" + +SRC_URI="https://nullroute.lt/tmp/2023/pkg/SAC_Linux_10.8.105_R1_GA.zip" + +HOMEPAGE="https://cpl.thalesgroup.com/access-management/security-applications/authentication-client-token-management" +# see usr/share/doc copyright file +LICENSE="no-source-code EULA" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ssl" + +# binaries are already stripped +RESTRICT="strip" + +inherit systemd + +RDEPEND=" + dev-libs/openssl + sys-apps/pcsc-lite + app-crypt/ccid + virtual/libusb:0 + ssl? ( dev-libs/libp11 ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_unpack() { + default + + cd "$S" || die + + unpack "SAC Linux ${PV} R1 GA/Installation/withoutUI/Ubuntu-2204/safenetauthenticationclient-core_${PV}_amd64.deb" || die + unpack "./data.tar.gz" || die +} + +src_install() { + # v10.8 is 64bit only, so move to the proper libdir + mv usr/lib usr/$(get_libdir) || die + + # libs are not marked as executable + chmod 755 usr/$(get_libdir)/lib*.${PV} || die + + # move docs to proper location + mkdir -p "usr/share/doc/${PF}" || die + mv usr/share/doc/safenetauthenticationclient-core "usr/share/doc/${PF}/" || die + + # exclude already compressed file from compression + docompress -x "/usr/share/doc/${PF}/safenetauthenticationclient-core/changelog.gz" || die + + # Create missing SONAME symlinks + ln -s libSACLog.so.${PV} "usr/$(get_libdir)/libSACLog.so.10" || die + ln -s libeTokenHID.so.${PV} "usr/$(get_libdir)/libeTokenHID.so.10" || die + ln -s libIDPrimePKCS11.so.${PV} "usr/$(get_libdir)/libIDPrimePKCS11.so.10" || die + ln -s libIDPrimeTokenEngine.so.${PV} "usr/$(get_libdir)/libIDPrimeTokenEngine.so.10" || die + ln -s libIDClassicSISTokenEngine.so.${PV} "usr/$(get_libdir)/libIDClassicSISTokenEngine.so.10" || die + ln -s libIDPrimeSISTokenEngine.so.${PV} "usr/$(get_libdir)/libIDPrimeSISTokenEngine.so.10" || die + + mv usr/ "${D}/" || die + mv etc/ "${D}/" || die + + systemd_dounit "${FILESDIR}/safenetauthenticationclient.service" +} + +pkg_posintst() { + einfo "To allow pcscd access to usb devices:" + einfo "usermod -aG usb pcscd" +} diff --git a/gui-wm/swayfx/Manifest b/gui-wm/swayfx/Manifest index c3c1fd0744..04ce973043 100644 --- a/gui-wm/swayfx/Manifest +++ b/gui-wm/swayfx/Manifest @@ -1,4 +1,3 @@ DIST swayfx-0.2.tar.gz 5534158 BLAKE2B e01ac28ea24743d5fe937d953114c8316f3de27b7813f83cce0f6f76bf524f079357be810845791c4431db7e315f096411e6d7a0e2174673e4247d16e3e44bc1 SHA512 0884513a0851b19546f2cc647d8590c7d82494604028ed71b2e6fefbac7f3fff141be26e783ccc504b8da84bbed6c1e12a2194f0713c920e1cc34a6360ac318c DIST swayfx-0.3.2.tar.gz 5684837 BLAKE2B ffe2a5d4a756f30007fb65824471196b6c51034a4e205558a82f547211714be8b0ae03763f32203c9d99fab4d3d69320f2244975a7c279d813091b8629d0c20a SHA512 0cffa25fc4b4d40621b14d9dc430f1aa9956ad935124cfda7dd1a63cbf997f0d506922b1168c7ad13250fa909cc1328526818f75ec936aa8d6cc40152dfbb358 -DIST swayfx-0.3.tar.gz 5746551 BLAKE2B 6455416f54d9e36d33f2f17146c3f2c41ff77a154fcb49f12906c5ba5b2ced3eecb9f052423ad5916885a9e6602160a404bd9fe351272c34cc5b375656b75604 SHA512 a6054d167c9d41a6e3fe9247683267c40ac55637a565649724fad0d7caf340d8aa51ab65767a7f8becc0480eced1eb42a5c851dfc5d815a73c3ae99eb1c39572 DIST swayfx-0.4.tar.gz 17603249 BLAKE2B eda975a0598ba9363066f015d0f5e1a5574775b5cb75a9cf9e7020d04ab16c236b5472b726c40ccd765bf743b6cd659323334915064ac887164b07b798cd58c5 SHA512 a6b30d5b466eb20ca1090daf442377f4f911a97e3089e2966420352c98a8e5b3384abb128118889b9b214f50e6bd65bb744ad941acb05ae105331e60a5e67293 diff --git a/gui-wm/swayfx/swayfx-0.3.ebuild b/gui-wm/swayfx/swayfx-0.3.ebuild deleted file mode 100644 index aecc9fedbe..0000000000 --- a/gui-wm/swayfx/swayfx-0.3.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson optfeature - -DESCRIPTION="SwayFX: Sway, but with eye candy!" -HOMEPAGE="https://github.com/WillPower3309/swayfx" - -SRC_URI="https://github.com/WillPower3309/swayfx/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -LICENSE="MIT" -SLOT="0" -IUSE="grimshot +man +swaybar +swaynag tray wallpapers X" - -DEPEND=" - >=dev-libs/json-c-0.13:0= - >=dev-libs/libinput-1.21.0:0= - sys-auth/seatd:= - dev-libs/libpcre - >=dev-libs/wayland-1.20.0 - x11-libs/cairo - x11-libs/libxkbcommon - x11-libs/pango - x11-libs/pixman - media-libs/mesa[gles2,libglvnd(+)] - swaybar? ( x11-libs/gdk-pixbuf:2 ) - tray? ( || ( - sys-apps/systemd - sys-auth/elogind - sys-libs/basu - ) ) - wallpapers? ( gui-apps/swaybg[gdk-pixbuf(+)] ) - X? ( x11-libs/libxcb:0= ) -" -DEPEND+=" - >=gui-libs/wlroots-0.16:=[X?] -