From e3e92da3b40d786e7fa1048c1052837a7c0c3d1c Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 20 Aug 2024 15:40:17 +0300 Subject: [PATCH] libtomcrypt rebuild --- util/crypt/libtomcrypt/actions.py | 10 +++++++--- util/crypt/libtomcrypt/pspec.xml | 7 +++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/util/crypt/libtomcrypt/actions.py b/util/crypt/libtomcrypt/actions.py index 9cc264b9a4..abddb24454 100644 --- a/util/crypt/libtomcrypt/actions.py +++ b/util/crypt/libtomcrypt/actions.py @@ -12,10 +12,14 @@ from pisi.actionsapi import get def build(): shelltools.export("CXXFLAGS", "%s -fPIC" % get.CXXFLAGS()) - shelltools.export("CFLAGS", "%s -fPIC" % get.CFLAGS()) - autotools.make() + shelltools.export("CFLAGS", "%s -DLTM_DESC -DUSE_LTM -fPIC" % get.CFLAGS()) + shelltools.system('export EXTRALIBS="-ltommath"') + autotools.make("-f makefile.shared IGNORE_SPEED=1 library test") + +def check(): + autotools.make("test") def install(): - autotools.rawInstall("PREFIX=/usr DESTDIR=%s" % get.installDIR()) + autotools.rawInstall("-f makefile.shared DESTDIR=%s PREFIX=/usr INSTALL_GROUP='root'" % get.installDIR()) pisitools.dodoc("LICENSE", "README.md") diff --git a/util/crypt/libtomcrypt/pspec.xml b/util/crypt/libtomcrypt/pspec.xml index 3e2e08c984..9ef5094092 100644 --- a/util/crypt/libtomcrypt/pspec.xml +++ b/util/crypt/libtomcrypt/pspec.xml @@ -41,6 +41,13 @@ + + 2024-08-20 + 1.18.2 + Rebuild + Pisi Linux Community + admin@pisilinux.org + 2024-06-02 1.18.2