diff options
Diffstat (limited to 'dev-perl/CryptX')
-rw-r--r-- | dev-perl/CryptX/CryptX-0.80.0-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-perl/CryptX/CryptX-0.82.0.ebuild | 51 | ||||
-rw-r--r-- | dev-perl/CryptX/Manifest | 6 | ||||
-rw-r--r-- | dev-perl/CryptX/files/CryptX-0.80.0-aesni.patch | 38 | ||||
-rw-r--r-- | dev-perl/CryptX/files/CryptX-0.80.0-respect-flags.patch | 23 |
5 files changed, 0 insertions, 170 deletions
diff --git a/dev-perl/CryptX/CryptX-0.80.0-r1.ebuild b/dev-perl/CryptX/CryptX-0.80.0-r1.ebuild deleted file mode 100644 index a109c02ec202..000000000000 --- a/dev-perl/CryptX/CryptX-0.80.0-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: unbundle libtommath, libtomcrypt. There's experimental support upstream. -# bug #732634 - -DIST_AUTHOR=MIK -DIST_VERSION=0.080 -inherit perl-module - -DESCRIPTION="Self-contained crypto toolkit" - -LICENSE="|| ( Artistic GPL-1+ ) public-domain" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="minimal" - -RDEPEND=" - virtual/perl-Math-BigInt - !minimal? ( - dev-perl/JSON - ) -" -BDEPEND=" - ${RDEPEND} - virtual/perl-ExtUtils-MakeMaker - test? ( - >=virtual/perl-Test-Simple-0.880.0 - !minimal? ( - >=virtual/perl-Math-BigInt-1.999.715 - >=virtual/perl-Storable-2.0.0 - ) - ) -" - -PERL_RM_FILES=( - t/002_all_pm.t - t/003_all_pm_pod.t - t/004_all_pm_pod_spelling.t - t/005_all_pm_pod_coverage.t -) - -PATCHES=( - "${FILESDIR}"/${PN}-0.80.0-respect-flags.patch - "${FILESDIR}"/${PN}-0.80.0-aesni.patch -) - -#src_configure() { -# CRYPTX_LDFLAGS='-ltommath -ltomcrypt' perl-module_src_configure -#} diff --git a/dev-perl/CryptX/CryptX-0.82.0.ebuild b/dev-perl/CryptX/CryptX-0.82.0.ebuild deleted file mode 100644 index 2c0b157df41a..000000000000 --- a/dev-perl/CryptX/CryptX-0.82.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# TODO: unbundle libtommath, libtomcrypt. There's experimental support upstream. -# bug #732634 - -DIST_AUTHOR=MIK -DIST_VERSION=0.082 -inherit perl-module - -DESCRIPTION="Self-contained crypto toolkit" - -LICENSE="|| ( Artistic GPL-1+ ) public-domain" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="minimal" - -RDEPEND=" - virtual/perl-Math-BigInt - !minimal? ( - dev-perl/JSON - ) -" -BDEPEND=" - ${RDEPEND} - virtual/perl-ExtUtils-MakeMaker - test? ( - >=virtual/perl-Test-Simple-0.880.0 - !minimal? ( - >=virtual/perl-Math-BigInt-1.999.715 - >=virtual/perl-Storable-2.0.0 - ) - ) -" - -PERL_RM_FILES=( - t/002_all_pm.t - t/003_all_pm_pod.t - t/004_all_pm_pod_spelling.t - t/005_all_pm_pod_coverage.t -) - -PATCHES=( - "${FILESDIR}"/${PN}-0.82.0-respect-flags.patch -) - -#src_configure() { -# CRYPTX_LDFLAGS='-ltommath -ltomcrypt' perl-module_src_configure -#} diff --git a/dev-perl/CryptX/Manifest b/dev-perl/CryptX/Manifest index 503c2c30da38..f78565353612 100644 --- a/dev-perl/CryptX/Manifest +++ b/dev-perl/CryptX/Manifest @@ -1,10 +1,4 @@ -AUX CryptX-0.80.0-aesni.patch 1010 BLAKE2B 048629928d1bb6854747f3b51461d08c14f08e0cd3df9f6f470cf9e71bba1d80a84eb51dac6778a33f31882c08fec021fbffe3b6e5873ba2376c153b3e04c04e SHA512 bf04f28e1073030867f834b28bfd2079319773f68e81cadbd75b385a3c67112c0661d7eadca8f31dec598c2757d34351e1f7a2fad5902c9c612dd36680939ed0 -AUX CryptX-0.80.0-respect-flags.patch 1501 BLAKE2B dfdcf99c494e00f07bfbd38f0fdd70adadd31d016729b700cb125d50da5447b4fb86c2df6c3e74b78da7d364a73fcc24bbdc769a8cf838346528b93a07887299 SHA512 bdfb57ff8641b98a2deee9e4b9323040b34fd042e76fe65aab0fbc62567e4300f9105dc19c81dfa499874e0f85d1c5e6a1d47c0fcdc8a7b02f36491a5dfc4112 AUX CryptX-0.82.0-respect-flags.patch 1521 BLAKE2B d626cdc2ed56e109b625d641c7b9c0d7a1e808bb2b80bbe92951fac29039d1b6ca280458acbbb0be5d788686fdacb8f66381c73636c903114a881d0813306e0c SHA512 43971ff34d103c6475d2d2e7fbee440dca55572898b7e8694cb654db36e5f551182342fdb9abd6f72cd71085ff2fac9872fe724ef1be2c3a400336a0e5c30905 -DIST CryptX-0.080.tar.gz 1651772 BLAKE2B a1c85cde7531eecbb2f82a715636de6bd9b5f9f209beb8a913757b0da955e8077c8ec01faf69dadc9f20744e0c03748d37ea0907d172e7b89315192c60780f18 SHA512 5702f59f28c70858eb2e78046c6415a816d94f45214092d4e2e938c0655a37e58e5295b2a7f753ee42e0fe4c2ce5632c068d80c7b3055cce1ecb0e5784fca475 -DIST CryptX-0.082.tar.gz 1719511 BLAKE2B 05f1ac12fd6ae04408f2ebe2568aa8cd6782e87cf8db1d2511a20a6cb49facc24c19526db223e8859f8a57bc5c3313997c6d8747923669018d0fc979d78ee034 SHA512 70b42717f4695ae77b5227b5e6a92d12d351796f06e36c38613020c2d9f0ebbc742ad3e258851ab65ad8d8b95e2d7b590b5a54c06755fec4c44b88a27f486590 DIST CryptX-0.084.tar.gz 1786781 BLAKE2B 25df25f6ba67f34193dccd15051c6ceb9b71ab9a42735f6560bccdaf10918ed9217a7f7d4ca73b617981c385a18e961b27bdd8f6acf82c15cb246e8e3deba8b2 SHA512 c67c5b0aca1899155c37c3dbdb92249d1bc3e1781478a0aec3b3d4e01c70efd806bc325dc991462f9064ba0f18ec7c56c6d8383f068277ae1fc684cad88d4bd9 -EBUILD CryptX-0.80.0-r1.ebuild 1039 BLAKE2B 937200dbcafe4dda2615c0fc2d4c8b6a24f88de2797fec4a820ad8f5f91958485fd5dd3c4fe601e3e8156533b153c58384978d7d6142d77a95a7b19c780f367f SHA512 5052d4876bd86e85c0c15b65f5435367ce1b2ada2f1ccc80b2c20a0ca28a87764a9db4d57fc9bed4eb0c9251e230a2ba801821bbb514c8d1838061ea61cd821b -EBUILD CryptX-0.82.0.ebuild 998 BLAKE2B 519f03b3f4bb710b1131069680473106fb56d0f96c0f75adcb3fa730463cc7a00a3b5adca2664a845a88791d53e4a6b2175e46f795980a0570a2731ff1575116 SHA512 d98c24c7db4c2e22542f7c73caced20eebb6dafeea71aeba5a57757250ce2c7091491093ce1ee83bad548ffb33c103f49ea5457d7e19fc43c88384669d35587e EBUILD CryptX-0.84.0.ebuild 998 BLAKE2B fdece429f0e1d96265f14272328e214259bd6d8accf4738ef9a43fd8a37cf8cf65d187348782ec5b2c4207b22e0de7427e90e7d148d74c278a4f29686f1cc025 SHA512 7768f4ffd6b0cd9ad1d3e1a942da6ffd7f0d2b83865f06735504af4a946f95b20068c3af81b504f9654dd919bb54f924ba6797bb7599fe132b4ce64029701fda MISC metadata.xml 7682 BLAKE2B dac5e42af5a5b3a49af0adb11718172066090ddcc8dec1661d29ca76eca4a0b34b2c828b83a9fce8b125c1a2120ec513edaf9d97ee8e32c313e4e4aa99fdcef9 SHA512 4559cc741fc4c095500301bc8c89bb2a2680454e3428bff9e1d2c6ad0853aa9568f731af65ef275e80692d148bb83e9f1dad1186853d058e65c25e5df26fa4c9 diff --git a/dev-perl/CryptX/files/CryptX-0.80.0-aesni.patch b/dev-perl/CryptX/files/CryptX-0.80.0-aesni.patch deleted file mode 100644 index 3a6f34c7e885..000000000000 --- a/dev-perl/CryptX/files/CryptX-0.80.0-aesni.patch +++ /dev/null @@ -1,38 +0,0 @@ -https://github.com/DCIT/perl-CryptX/pull/99 -https://bugs.gentoo.org/916387 ---- a/src/ltc/headers/tomcrypt_cfg.h -+++ b/src/ltc/headers/tomcrypt_cfg.h -@@ -96,6 +96,9 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const char *s1, const char *s2); - #define LTC_AMD64_SSE4_1 - #endif - #endif -+ #if defined(__AES__) -+ #define LTC_AMD64_AES_NI -+ #endif - #endif - - /* detect PPC32 */ ---- a/src/ltc/headers/tomcrypt_private.h -+++ b/src/ltc/headers/tomcrypt_private.h -@@ -77,7 +77,7 @@ typedef struct - - /* tomcrypt_cipher.h */ - --#if defined(LTC_AES_NI) && defined(LTC_AMD64_SSE4_1) -+#if defined(LTC_AES_NI) && defined(LTC_AMD64_AES_NI) - #define LTC_HAS_AES_NI - #endif - ---- a/src/ltc/misc/crypt/crypt.c -+++ b/src/ltc/misc/crypt/crypt.c -@@ -416,7 +416,7 @@ const char *crypt_build_settings = - #if defined(LTC_ADLER32) - " ADLER32 " - #endif --#if defined(LTC_AES_NI) && defined(LTC_AMD64_SSE4_1) -+#if defined(LTC_AES_NI) && defined(LTC_AMD64_AES_NI) - " AES-NI " - #endif - #if defined(LTC_BASE64) - - diff --git a/dev-perl/CryptX/files/CryptX-0.80.0-respect-flags.patch b/dev-perl/CryptX/files/CryptX-0.80.0-respect-flags.patch deleted file mode 100644 index eefc75b514d2..000000000000 --- a/dev-perl/CryptX/files/CryptX-0.80.0-respect-flags.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -27,20 +27,6 @@ else { - ); - $mycflags = " $Config{ccflags} $Config{cccdlflags} $Config{optimize} "; # keep leading + trailing spaces - -- my $try_aes_ni = 0; -- $try_aes_ni = 1 if $Config{archname} =~ /x86_64/; # x86_64-cygwin-threads-multi / x86_64-linux-thread-multi -- $try_aes_ni = 1 if $Config{archname} =~ /MSWin32-x64/; # MSWin32-x64-multi-thread -- $try_aes_ni = 1 if $Config{archname} =~ /amd64/; # OpenBSD.amd64-openbsd-thread-multi / amd64-freebsd -- $try_aes_ni = 1 if $Config{archname} =~ /darwin/ && $Config{myuname} =~ /x86_64/; # darwin-thread-multi-2level / darwin-2level -- $try_aes_ni = 1 if $Config{archname} =~ /i86pc-solaris(-.+)?-64/; # i86pc-solaris-thread-multi-64 / i86pc-solaris-64 -- if ($try_aes_ni && $Config{gccversion}) { -- my $ver1; -- $ver1 ||= $1 if $Config{gccversion} =~ /^([0-9]+)\./; # gccversion='10.2.0' -- $ver1 ||= $1 if $Config{gccversion} =~ /LLVM ([0-9]+)\./i; # gccversion='Apple LLVM 14.0.0 (clang-1400.0.29.202)' -- $ver1 ||= $1 if $Config{gccversion} =~ /Clang ([0-9]+)\./i; # gccversion='FreeBSD Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)' or 'OpenBSD Clang 13.0.0' -- $mycflags .= " -msse4.1 -maes" if $ver1 > 4; # supported since gcc-4.4 -- } -- - #FIX: this is particularly useful for Debian https://github.com/DCIT/perl-CryptX/pull/39 - $mycflags .= " $ENV{CFLAGS} " if $ENV{CFLAGS}; - $mycflags .= " $ENV{CPPFLAGS} " if $ENV{CPPFLAGS}; |