public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/sac-core/
@ 2024-05-08 12:16 David Roman
  0 siblings, 0 replies; 6+ messages in thread
From: David Roman @ 2024-05-08 12:16 UTC (permalink / raw
  To: gentoo-commits

commit:     b462f0d57c3f184aab74fd154db6e24ea8c69d8c
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May  8 01:30:21 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed May  8 01:31:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b462f0d5

app-crypt/sac-core: use unpacker eclass for deb archive

Add missing unzip build-time dependency
Fix variable order

Closes: https://bugs.gentoo.org/931337
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
index 5d3627cdcb..26f76629ee 100644
--- a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
+++ b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
@@ -3,11 +3,14 @@
 
 EAPI=8
 
-DESCRIPTION="Thales/Gemalto SafeNet Authentication Client for eToken 5110/5300 & IDPrime (core PKCS#11 modules)"
+inherit systemd unpacker
 
+DESCRIPTION="Thales/Gemalto SafeNet Authentication Client for eToken 5110/5300 & IDPrime (core PKCS#11 modules)"
+HOMEPAGE="https://cpl.thalesgroup.com/access-management/security-applications/authentication-client-token-management"
 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"
+S="${WORKDIR}"
+
 LICENSE="sac-core-10.8.1050-terms LGPL-2.1 ZLIB"
 SLOT="0"
 KEYWORDS="~amd64"
@@ -16,8 +19,6 @@ IUSE="+ssl"
 # binaries are already stripped
 RESTRICT="bindist mirror strip"
 
-inherit systemd
-
 RDEPEND="
 	dev-libs/openssl
 	sys-apps/pcsc-lite
@@ -26,16 +27,11 @@ RDEPEND="
 	ssl? ( dev-libs/libp11 )
 "
 DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"
+BDEPEND="app-arch/unzip"
 
 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
+	unpacker "SAC Linux ${PV} R1 GA/Installation/withoutUI/Ubuntu-2204/safenetauthenticationclient-core_${PV}_amd64.deb"
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/sac-core/
@ 2024-05-08 12:16 David Roman
  0 siblings, 0 replies; 6+ messages in thread
From: David Roman @ 2024-05-08 12:16 UTC (permalink / raw
  To: gentoo-commits

commit:     04f831f1d7fde905d66201cfdf65162633715e75
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May  8 01:36:55 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed May  8 01:36:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04f831f1

app-crypt/sac-core: shorten verbose DESCRIPTION

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
index 00df9ea8e2..cc84632e55 100644
--- a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
+++ b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 inherit systemd unpacker
 
-DESCRIPTION="Thales/Gemalto SafeNet Authentication Client for eToken 5110/5300 & IDPrime (core PKCS#11 modules)"
+DESCRIPTION="Thales/Gemalto SafeNet Authentication Client"
 HOMEPAGE="https://cpl.thalesgroup.com/access-management/security-applications/authentication-client-token-management"
 SRC_URI="https://nullroute.lt/tmp/2023/pkg/SAC_Linux_10.8.105_R1_GA.zip"
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/sac-core/
@ 2024-05-08 12:16 David Roman
  0 siblings, 0 replies; 6+ messages in thread
From: David Roman @ 2024-05-08 12:16 UTC (permalink / raw
  To: gentoo-commits

commit:     ae10815e7fbf11a9903e4737c9d36188a7cc6d30
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May  8 01:34:23 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed May  8 01:34:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae10815e

app-crypt/sac-core: add QA_PREBUILT

Closes: https://bugs.gentoo.org/931340
Closes: https://bugs.gentoo.org/931339
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
index 26f76629ee..00df9ea8e2 100644
--- a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
+++ b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
@@ -29,6 +29,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="app-arch/unzip"
 
+QA_PREBUILT="
+	usr/bin/SACSrv
+	usr/lib64/.*
+"
+
 src_unpack() {
 	default
 	unpacker "SAC Linux ${PV} R1 GA/Installation/withoutUI/Ubuntu-2204/safenetauthenticationclient-core_${PV}_amd64.deb"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/sac-core/
@ 2024-05-08 12:16 David Roman
  0 siblings, 0 replies; 6+ messages in thread
From: David Roman @ 2024-05-08 12:16 UTC (permalink / raw
  To: gentoo-commits

commit:     d017b095433f08957e9d236ed05dfc96efd8eed7
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May  8 01:24:14 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed May  8 01:28:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d017b095

app-crypt/sac-core: update LICENSE

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 .../{sac-core-10.8.1050.ebuild => sac-core-10.8.1050-r1.ebuild}      | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-crypt/sac-core/sac-core-10.8.1050.ebuild b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
similarity index 96%
rename from app-crypt/sac-core/sac-core-10.8.1050.ebuild
rename to app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
index 65c5d5cb20..5d3627cdcb 100644
--- a/app-crypt/sac-core/sac-core-10.8.1050.ebuild
+++ b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
@@ -8,14 +8,13 @@ DESCRIPTION="Thales/Gemalto SafeNet Authentication Client for eToken 5110/5300 &
 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"
+LICENSE="sac-core-10.8.1050-terms LGPL-2.1 ZLIB"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="+ssl"
 
 # binaries are already stripped
-RESTRICT="strip"
+RESTRICT="bindist mirror strip"
 
 inherit systemd
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/sac-core/
@ 2024-05-08 12:16 David Roman
  0 siblings, 0 replies; 6+ messages in thread
From: David Roman @ 2024-05-08 12:16 UTC (permalink / raw
  To: gentoo-commits

commit:     9b86eb6576329c8eba4eec21c582447337155ebd
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May  8 01:51:01 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed May  8 01:56:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b86eb65

app-crypt/sac-core: redo src_install with PMS commands

Remove upstream's documentation compression
https://cmpct.info/~sam/blog/posts/automatic-manpage-compression/

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild | 34 +++++++++++--------------
 1 file changed, 15 insertions(+), 19 deletions(-)

diff --git a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
index cc84632e55..5a0d7970c5 100644
--- a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
+++ b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
@@ -40,29 +40,25 @@ src_unpack() {
 }
 
 src_install() {
-	# v10.8 is 64bit only, so move to the proper libdir
-	mv usr/lib usr/$(get_libdir) || die
+	dobin usr/bin/SACSrv
 
-	# libs are not marked as executable
-	chmod 755 usr/$(get_libdir)/lib*.${PV} || die
+	find usr/lib -maxdepth 1 -name "*.so*" -exec dolib.so {} + || die
+	dodir /usr/$(get_libdir)/pkcs11
+	insinto /usr/$(get_libdir)
+	doins -r usr/lib/pkcs11
 
-	# move docs to proper location
-	mkdir -p "usr/share/doc/${PF}" || die
-	mv usr/share/doc/safenetauthenticationclient-core "usr/share/doc/${PF}/" || die
+	# Create missing SONAME symlinks
+	for libname in eTokenHID ID{{Prime,Classic}SISTokenEngine,Prime{PKCS11,TokenEngine}} SACLog
+	do
+		dosym -r /usr/$(get_libdir)/lib${libname}.so.{${PV},10}
+	done
 
-	# exclude already compressed file from compression
-	docompress -x "/usr/share/doc/${PF}/safenetauthenticationclient-core/changelog.gz" || die
+	# compress documentation with $PORTAGE_COMPRESS
+	gunzip usr/share/doc/safenetauthenticationclient-core/changelog.gz || die
+	dodoc usr/share/doc/safenetauthenticationclient-core/changelog
 
-	# 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
+	insinto /etc
+	doins -r etc/*
 
 	systemd_dounit "${FILESDIR}/safenetauthenticationclient.service"
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-crypt/sac-core/
@ 2024-05-08 12:16 David Roman
  0 siblings, 0 replies; 6+ messages in thread
From: David Roman @ 2024-05-08 12:16 UTC (permalink / raw
  To: gentoo-commits

commit:     7468ab8225c0334ad8f726a749153c137733a47e
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May  8 03:09:14 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed May  8 03:14:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7468ab82

app-crypt/sac-core: add QA_FLAGS_IGNORED

ae10815e7fbf11a9903e4737c9d36188a7cc6d30 adds the incorrect QA_*
variable to close the bugs.

Closes: https://bugs.gentoo.org/931340
Closes: https://bugs.gentoo.org/931339
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
index 5a0d7970c5..621f86281a 100644
--- a/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
+++ b/app-crypt/sac-core/sac-core-10.8.1050-r1.ebuild
@@ -29,10 +29,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="app-arch/unzip"
 
-QA_PREBUILT="
+QA_FLAGS_IGNORED="
 	usr/bin/SACSrv
 	usr/lib64/.*
 "
+QA_PREBUILT="${QA_FLAGS_IGNORED}"
 
 src_unpack() {
 	default


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-08 12:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08 12:16 [gentoo-commits] repo/proj/guru:master commit in: app-crypt/sac-core/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-05-08 12:16 David Roman
2024-05-08 12:16 David Roman
2024-05-08 12:16 David Roman
2024-05-08 12:16 David Roman
2024-05-08 12:16 David Roman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox