summaryrefslogtreecommitdiff
path: root/dev-libs/libmcrypt
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
commit290aebdea65a02557706eaeda477fef0437b6a48 (patch)
treef87a939169a508a2e943570501b64cc16b411cda /dev-libs/libmcrypt
parent6783ddcd4b73d9ce586a71770caed352bec93b16 (diff)
downloadbaldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip
Adding metadata
Diffstat (limited to 'dev-libs/libmcrypt')
-rw-r--r--dev-libs/libmcrypt/Manifest1
-rw-r--r--dev-libs/libmcrypt/files/libmcrypt-2.5.8-autoconf-2.70.patch16
-rw-r--r--dev-libs/libmcrypt/files/libmcrypt-2.5.8-c99-2.patch42
-rw-r--r--dev-libs/libmcrypt/files/libmcrypt-2.5.8-c99.patch56
-rw-r--r--dev-libs/libmcrypt/files/libmcrypt-2.5.8-prototypes.patch35
-rw-r--r--dev-libs/libmcrypt/files/libmcrypt-2.5.8-rotate-mask.patch18
-rw-r--r--dev-libs/libmcrypt/files/libmcrypt-2.5.8-uninitialized.patch12
-rw-r--r--dev-libs/libmcrypt/libmcrypt-2.5.8-r7.ebuild53
-rw-r--r--dev-libs/libmcrypt/metadata.xml8
9 files changed, 0 insertions, 241 deletions
diff --git a/dev-libs/libmcrypt/Manifest b/dev-libs/libmcrypt/Manifest
deleted file mode 100644
index 26e0bb89b647..000000000000
--- a/dev-libs/libmcrypt/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libmcrypt-2.5.8.tar.gz 1335178 BLAKE2B caa970107382c1485267e68feebebe3ed1e2981d879b2bfaaa37f296528b77bf5e57e73e380f5ab02a1212fae1be5caeb376142920353fabdd8600746634780e SHA512 471a4e0dcbede836c975697a4edd5c3a53d555dde122a045d702e619d7e9768c7abc1ab541c79829f644b70241ac2e0cd274cf22499e47862983401566ca1fd1
diff --git a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-autoconf-2.70.patch b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-autoconf-2.70.patch
deleted file mode 100644
index 0fa3bc0e7ce1..000000000000
--- a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-autoconf-2.70.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- libmcrypt-2.5.8/libltdl/configure.in
-+++ libmcrypt-2.5.8/libltdl/configure.in
-@@ -2,13 +2,6 @@
-
- AC_INIT(ltdl.c)
-
--dnl We shouldn't be using these internal macros of autoconf,
--dnl but CONFIG_AUX_DIR($with_auxdir) breaks automake.
--AC_ARG_WITH(auxdir,
--[ --with-auxdir=DIR path to autoconf auxiliary files],
--[AC_CONFIG_AUX_DIRS($with_auxdir)],
--[AC_CONFIG_AUX_DIR_DEFAULT])
--
- if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
- if test -f ${srcdir}/ltmain.sh; then
- # if libltdl is libtoolized, it is assumed to be stand-alone and
diff --git a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-c99-2.patch b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-c99-2.patch
deleted file mode 100644
index ba2236de6c42..000000000000
--- a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-c99-2.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-https://src.fedoraproject.org/rpms/libmcrypt/blob/e02fbd614a5b7ba093e9e15ab322e7eb02d64e3b/f/libmcrypt-configure-c99-2.patch
-
-Fix glitches in the readdir and bcopy probes. They were
-just invalid.
-
-diff --git a/configure b/configure
-index d0fb8783e147654b..4fe7660a16359171 100755
---- a/configure
-+++ b/configure
-@@ -6639,7 +6639,7 @@ fi
- done
-
-
--for ac_func in readdir,,
-+for ac_func in readdir
- do
- as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- echo "$as_me:$LINENO: checking for $ac_func" >&5
-@@ -6741,7 +6741,7 @@ fi
- done
-
-
--for ac_func in bcopy,,
-+for ac_func in bcopy
- do
- as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- echo "$as_me:$LINENO: checking for $ac_func" >&5
-diff --git a/configure.in b/configure.in
-index a815778931728ec2..f0c9a0e8f73e1153 100644
---- a/configure.in
-+++ b/configure.in
-@@ -204,8 +204,8 @@ AC_FUNC_MEMCMP
- AC_FUNC_REALLOC
-
- AC_CHECK_FUNCS([bzero memmove memset mlock readdir_r strchr strdup strrchr])
--AC_CHECK_FUNCS([readdir,,])
--AC_CHECK_FUNCS([bcopy,,])
-+AC_CHECK_FUNCS([readdir])
-+AC_CHECK_FUNCS([bcopy])
-
- dnl Checks for libraries.
- AC_C_BIGENDIAN
diff --git a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-c99.patch b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-c99.patch
deleted file mode 100644
index 25c555c99627..000000000000
--- a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-c99.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-https://src.fedoraproject.org/rpms/libmcrypt/blob/e02fbd614a5b7ba093e9e15ab322e7eb02d64e3b/f/libmcrypt-c99.patch
-
-Add return and argument types to fake prototypes in mcrypt_symb.c.
-This avoids build failures with future compilers that do not support
-implicit function declarations.
-
-Also fix a minor type error in the perminit calls in the Triple DES
-implementation.
-
-Submitted upstream: <https://sourceforge.net/p/mcrypt/patches/15/>
-
-diff --git a/lib/Makefile.am b/lib/Makefile.am
-index a1a09578858aaf3c..a92f150627a1f610 100644
---- a/lib/Makefile.am
-+++ b/lib/Makefile.am
-@@ -23,8 +23,8 @@ mcrypt_symb.c: mcrypt_internal.h
- @echo "/* This is automatically created. Don't touch... */" >> mcrypt_symb.c
- @echo "" >> mcrypt_symb.c
- -@for i in $(EXTRA_ALGOS); do \
-- if test -f ../modules/algorithms/$$i.c; then cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
-- if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
-+ if test -f ../modules/algorithms/$$i.c; then cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern void "$$3"(void);";}' >> mcrypt_symb.c 2>/dev/null; fi; \
-+ if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern void "$$3"(void);";}' >> mcrypt_symb.c 2>/dev/null; fi; \
- done
- @echo "" >> mcrypt_symb.c
- @echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c
-diff --git a/lib/Makefile.in b/lib/Makefile.in
-index 1baaa1e94be1abce..e0e690d1c831370f 100644
---- a/lib/Makefile.in
-+++ b/lib/Makefile.in
-@@ -561,8 +561,8 @@ mcrypt_symb.c: mcrypt_internal.h
- @echo "/* This is automatically created. Don't touch... */" >> mcrypt_symb.c
- @echo "" >> mcrypt_symb.c
- -@for i in $(EXTRA_ALGOS); do \
-- if test -f ../modules/algorithms/$$i.c; then cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
-- if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
-+ if test -f ../modules/algorithms/$$i.c; then cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern void "$$3"(void);";}' >> mcrypt_symb.c 2>/dev/null; fi; \
-+ if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern void "$$3"(void);";}' >> mcrypt_symb.c 2>/dev/null; fi; \
- done
- @echo "" >> mcrypt_symb.c
- @echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c
-diff --git a/modules/algorithms/tripledes.c b/modules/algorithms/tripledes.c
-index 98e9bd45b4f336b1..2737d2fd8fd02a3f 100644
---- a/modules/algorithms/tripledes.c
-+++ b/modules/algorithms/tripledes.c
-@@ -201,8 +201,8 @@ static int _mcrypt_desinit(TRIPLEDES_KEY * key)
- spinit(key, 0);
- spinit(key, 1);
- spinit(key, 2);
-- perminit(&key->iperm, ip);
-- perminit(&key->fperm, fp);
-+ perminit(key->iperm, ip);
-+ perminit(key->fperm, fp);
-
-
- return 0;
diff --git a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-prototypes.patch b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-prototypes.patch
deleted file mode 100644
index eca6e7793161..000000000000
--- a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-prototypes.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -up libmcrypt-2.5.8/modules/algorithms/des.c.BAD libmcrypt-2.5.8/modules/algorithms/des.c
---- libmcrypt-2.5.8/modules/algorithms/des.c.BAD 2008-08-25 17:40:29.000000000 -0400
-+++ libmcrypt-2.5.8/modules/algorithms/des.c 2008-08-25 17:40:51.000000000 -0400
-@@ -35,9 +35,12 @@
-
- /* #define NULL 0 */
-
--static void permute_ip(), permute_fp(), perminit_ip(), spinit(),
--perminit_fp();
--static word32 f();
-+static void permute_ip(char *, DES_KEY *, char *);
-+static void permute_fp(char *, DES_KEY *, char *);
-+static void perminit_ip(DES_KEY *);
-+static void spinit(DES_KEY *);
-+static void perminit_fp(DES_KEY *);
-+static word32 f(DES_KEY *, register word32, register char *);
-
-
- /* Tables defined in the Data Encryption Standard documents */
-diff -up libmcrypt-2.5.8/modules/algorithms/tripledes.c.BAD libmcrypt-2.5.8/modules/algorithms/tripledes.c
---- libmcrypt-2.5.8/modules/algorithms/tripledes.c.BAD 2008-08-25 17:40:56.000000000 -0400
-+++ libmcrypt-2.5.8/modules/algorithms/tripledes.c 2008-08-25 17:41:13.000000000 -0400
-@@ -36,8 +36,10 @@
-
- /* #define NULL 0 */
-
--static void permute(), perminit(), spinit();
--static word32 f();
-+static void permute(char *, char[16][16][8], char *);
-+static void perminit(char[16][16][8], char[64]);
-+static void spinit(TRIPLEDES_KEY *, int);
-+static word32 f(TRIPLEDES_KEY *, int, register word32, register char *);
-
-
- /* Tables defined in the Data Encryption Standard documents */
diff --git a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-rotate-mask.patch b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-rotate-mask.patch
deleted file mode 100644
index 568caa463862..000000000000
--- a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-rotate-mask.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/KNOWN-BUGS 2008-12-13 15:31:49.000000000 -0500
-+++ /dev/null 2008-12-13 02:05:21.751517562 -0500
-@@ -1 +0,0 @@
--- cast-256 and rc6 do not work properly on Alpha (64 bit) machines
---- a/lib/mcrypt_modules.h.orig 2008-12-13 15:33:06.000000000 -0500
-+++ b/lib/mcrypt_modules.h 2008-12-13 15:25:01.000000000 -0500
-@@ -1,7 +1,7 @@
--#define rotl32(x,n) (((x) << ((word32)(n))) | ((x) >> (32 - (word32)(n))))
--#define rotr32(x,n) (((x) >> ((word32)(n))) | ((x) << (32 - (word32)(n))))
--#define rotl16(x,n) (((x) << ((word16)(n))) | ((x) >> (16 - (word16)(n))))
--#define rotr16(x,n) (((x) >> ((word16)(n))) | ((x) << (16 - (word16)(n))))
-+#define rotl32(x,n) (((x) << ((word32)(n & 31))) | ((x) >> (32 - (word32)(n & 31))))
-+#define rotr32(x,n) (((x) >> ((word32)(n & 31))) | ((x) << (32 - (word32)(n & 31))))
-+#define rotl16(x,n) (((x) << ((word16)(n & 15))) | ((x) >> (16 - (word16)(n & 15))))
-+#define rotr16(x,n) (((x) >> ((word16)(n & 15))) | ((x) << (16 - (word16)(n & 15))))
-
- /* Use hardware rotations.. when available */
- #ifdef swap32
diff --git a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-uninitialized.patch b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-uninitialized.patch
deleted file mode 100644
index f52dc9334b40..000000000000
--- a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-uninitialized.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up libmcrypt-2.5.8/modules/algorithms/twofish.c.BAD libmcrypt-2.5.8/modules/algorithms/twofish.c
---- libmcrypt-2.5.8/modules/algorithms/twofish.c.BAD 2008-08-25 17:38:21.000000000 -0400
-+++ libmcrypt-2.5.8/modules/algorithms/twofish.c 2008-08-25 17:38:30.000000000 -0400
-@@ -499,7 +499,7 @@ static void f_rnd(int i, word32* blk, TW
- /* encrypt a block of text */
- WIN32DLL_DEFINE void _mcrypt_encrypt(TWI * pkey, word32 * in_blk)
- {
-- word32 t0, t1, blk[4];
-+ word32 t0 = 0, t1 = 0, blk[4];
- #ifdef WORDS_BIGENDIAN
- blk[0] = byteswap32(in_blk[0]) ^ pkey->l_key[0];
- blk[1] = byteswap32(in_blk[1]) ^ pkey->l_key[1];
diff --git a/dev-libs/libmcrypt/libmcrypt-2.5.8-r7.ebuild b/dev-libs/libmcrypt/libmcrypt-2.5.8-r7.ebuild
deleted file mode 100644
index fbff8f137493..000000000000
--- a/dev-libs/libmcrypt/libmcrypt-2.5.8-r7.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Provides an uniform interface to access several encryption algorithms"
-HOMEPAGE="https://mcrypt.sourceforge.net"
-SRC_URI="https://downloads.sourceforge.net/mcrypt/${P}.tar.gz"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~s390 ~sparc x86 ~x64-macos"
-
-DOCS=(
- AUTHORS NEWS README THANKS TODO ChangeLog
- doc/README.config doc/README.key doc/README.xtea
- doc/example.c
-)
-
-PATCHES=(
- "${FILESDIR}/${P}-rotate-mask.patch"
- "${FILESDIR}/${P}-autoconf-2.70.patch" #775113
- # http://sourceforge.net/tracker/index.php?func=detail&aid=1872801&group_id=87941&atid=584895
- "${FILESDIR}/${P}-uninitialized.patch"
- "${FILESDIR}/${P}-prototypes.patch"
- "${FILESDIR}/${P}-c99.patch"
- "${FILESDIR}/${P}-c99-2.patch"
-)
-
-src_prepare() {
- default
-
- mv configure.in configure.ac || die
- mv libltdl/configure.in libltdl/configure.ac || die
- sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac libltdl/configure.ac || die
-
- eautoreconf # update stale autotools
-}
-
-src_configure() {
- # LTO type mismatch (bug #924867)
- append-flags -fno-strict-aliasing
- filter-lto
-
- default
-}
-
-src_install() {
- default
- find "${ED}" -type f -name '*.la' -delete || die
-}
diff --git a/dev-libs/libmcrypt/metadata.xml b/dev-libs/libmcrypt/metadata.xml
deleted file mode 100644
index ffe81eb840a5..000000000000
--- a/dev-libs/libmcrypt/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <upstream>
- <remote-id type="cpe">cpe:/a:mcrypt:libmcrypt</remote-id>
- </upstream>
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>