public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtomcrypt/
Date: Tue, 26 Jul 2022 04:26:55 +0000 (UTC)	[thread overview]
Message-ID: <1658809522.9147519a13aca65a0ec3de9592a3677e17b6ee33.sam@gentoo> (raw)

commit:     9147519a13aca65a0ec3de9592a3677e17b6ee33
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 04:19:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 04:25:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9147519a

dev-libs/libtomcrypt: drop 1.18.2-r3

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libtomcrypt/libtomcrypt-1.18.2-r3.ebuild | 114 ----------------------
 1 file changed, 114 deletions(-)

diff --git a/dev-libs/libtomcrypt/libtomcrypt-1.18.2-r3.ebuild b/dev-libs/libtomcrypt/libtomcrypt-1.18.2-r3.ebuild
deleted file mode 100644
index 6626d0895985..000000000000
--- a/dev-libs/libtomcrypt/libtomcrypt-1.18.2-r3.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="LibTomCrypt is a comprehensive, modular and portable cryptographic toolkit"
-HOMEPAGE="https://www.libtom.net/LibTomCrypt/ https://github.com/libtom/libtomcrypt"
-SRC_URI="
-	https://github.com/libtom/${PN}/releases/download/v${PV}/crypt-${PV}.tar.xz
-		-> ${P}.tar.xz"
-
-LICENSE="|| ( WTFPL-2 public-domain )"
-# Current SONAME is 1
-# Please bump when the ABI changes upstream
-# Helpful site:
-# https://abi-laboratory.pro/index.php?view=timeline&l=libtomcrypt
-SLOT="0/1"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="+gmp +libtommath tomsfastmath"
-
-# Enforce at least one math provider
-# bug #772935
-REQUIRED_USE="|| ( gmp libtommath tomsfastmath )"
-
-BDEPEND="
-	sys-devel/libtool
-	virtual/pkgconfig
-"
-DEPEND="
-	gmp? ( dev-libs/gmp:= )
-	libtommath? ( dev-libs/libtommath:= )
-	tomsfastmath? ( dev-libs/tomsfastmath:= )
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-slibtool.patch
-)
-
-mymake() {
-	# Standard boilerplate
-	# Upstream use homebrewed makefiles
-	# Best to use same args for all, for consistency,
-	# in case behaviour changes (v possible).
-	local enabled_features=()
-	local extra_libs=()
-
-	# Build support as appropriate for consumers (MPI)
-	if use gmp; then
-		enabled_features+=( -DGMP_DESC=1 )
-		extra_libs+=( -lgmp )
-	fi
-	if use libtommath; then
-		enabled_features+=( -DLTM_DESC=1 )
-		extra_libs+=( -ltommath )
-	fi
-	if use tomsfastmath; then
-		enabled_features+=( -DTFM_DESC=1 )
-		extra_libs+=( -ltfm )
-	fi
-
-	# For the test and example binaries, we have to choose
-	# which MPI we want to use.
-	# For now (see src_test), arbitrarily choose:
-	# gmp > libtommath > tomsfastmath > none
-	if use gmp ; then
-		enabled_features+=( -DUSE_GMP=1 )
-	elif use libtommath ; then
-		enabled_features+=( -DUSE_LTM=1 )
-	elif use tomsfastmath ; then
-		enabled_features+=( -DUSE_TFM=1 )
-	fi
-
-	# IGNORE_SPEED=1 is needed to respect CFLAGS
-	EXTRALIBS="${extra_libs[*]}" emake \
-		CFLAGS="${CFLAGS} ${enabled_features[*]}" \
-		CC="$(tc-getCC)" \
-		AR="$(tc-getAR)" \
-		RANLIB="$(tc-getRANLIB)" \
-		LIBPATH="${ESYSROOT}/usr/$(get_libdir)" \
-		INCPATH="${ESYSROOT}/usr/include" \
-		IGNORE_SPEED=1 \
-		PREFIX="${EPREFIX}/usr" \
-		"${@}"
-}
-
-src_compile() {
-	# Replace hard-coded libdir=${exec_prefix}/lib.
-	sed -i -e "/libdir=/s:/lib:/$(get_libdir):" libtomcrypt.pc.in || die
-
-	mymake -f makefile.shared library
-}
-
-src_test() {
-	# libtomcrypt can build with several MPI providers
-	# but the tests can only be built with one at a time.
-	# When the next release (> 1.18.2) containing
-	# 1) https://github.com/libtom/libtomcrypt/commit/a65cfb8dbe4
-	# 2) https://github.com/libtom/libtomcrypt/commit/fdc6cd20137
-	# is made, we can run tests for each provider.
-	mymake test
-	./test || die "Running tests failed"
-}
-
-src_install() {
-	mymake -f makefile.shared \
-		DATAPATH="${EPREFIX}/usr/share/doc/${PF}" \
-		DESTDIR="${D}" \
-		install install_docs
-
-	find "${ED}" '(' -name '*.la' -o -name '*.a' ')' -delete || die
-}


             reply	other threads:[~2022-07-26  4:27 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26  4:26 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-12 15:11 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtomcrypt/ Fabian Groffen
2023-12-27 15:43 James Le Cuirot
2023-07-27  5:11 WANG Xuerui
2022-06-13 16:29 Sam James
2022-06-13 10:21 Agostino Sarubbo
2022-06-13  9:46 Agostino Sarubbo
2022-06-13  7:15 Agostino Sarubbo
2022-06-13  7:10 Agostino Sarubbo
2022-06-13  7:09 Agostino Sarubbo
2022-06-13  7:07 Agostino Sarubbo
2022-05-11  1:21 Sam James
2022-05-11  1:20 Sam James
2021-10-20 19:01 Mike Gilbert
2021-09-27 12:38 James Le Cuirot
2021-08-28  8:50 Fabian Groffen
2021-07-28  0:19 Marek Szuba
2021-03-19  2:28 Sam James
2021-03-19  2:27 Sam James
2021-02-20  4:02 Joshua Kinard
2021-02-18  7:27 Sam James
2021-02-02 21:01 Sam James
2021-01-30  5:24 Sam James
2021-01-30  5:24 Sam James
2021-01-27  3:06 Sam James
2021-01-25 20:06 Sam James
2021-01-25 20:06 Sam James
2021-01-25 14:10 Sam James
2021-01-25 14:09 Sam James
2021-01-25 14:06 Sam James
2021-01-11  8:00 Sam James
2021-01-06  0:02 Sam James
2020-12-25  1:07 Matt Turner
2020-12-24 18:37 Sergei Trofimovich
2020-12-24 18:35 Sergei Trofimovich
2020-12-23 20:19 Sam James
2020-12-23 20:04 Sam James
2020-12-23  5:23 Sam James
2020-12-23  5:23 Sam James
2020-12-23  5:23 Sam James
2020-12-22  9:47 Michał Górny
2020-12-20 11:36 Michał Górny
2016-08-21 12:44 Pacho Ramos
2016-03-05 18:15 Patrick Lauer
2016-03-05 16:25 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1658809522.9147519a13aca65a0ec3de9592a3677e17b6ee33.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox