Package Details: libtomcrypt 1.17-9

Git Clone URL: https://aur.archlinux.org/libtomcrypt.git (read-only)
Package Base: libtomcrypt
Description: A fairly comprehensive, modular and portable cryptographic toolkit
Upstream URL: http://libtom.net/?page=features&newsitems=5&whatfile=crypt
Licenses: custom:public domain, custom:WTFPL
Submitter: manveru
Maintainer: jamesan
Last Packager: jamesan
Votes: 8
Popularity: 0.000000
First Submitted: 2007-06-08 04:58
Last Updated: 2015-11-17 19:07

Latest Comments

jamesan commented on 2015-02-14 06:15

PKGBUILDs are all now required to have a package() function that defines how the upstream files are organised in the tarball. Commands like make install usually reside there. The build() function is optional and compile commands are usually called there. I've renamed this PKGBUILD's build() function as its package() function since what it's doing is packaging the source files into the right locations under the $pkgdir fakeroot.

I also updated the license variable and made other minor edits to either align the PKGBUILD closer to upstream words or archwiki packaging guidelines.

You can find the modified PKGBUILD here: http://goo.gl/HoiB3q
The diff highlighting my changes are here: http://goo.gl/UXxyZ3

brenix commented on 2014-09-13 22:27

Updated, thanks pacmansyu.

pacmansyu commented on 2014-09-09 21:56

After some changes introduced in upstream libtomcrypt, some additional flags are required to successfully build stoken. I don't believe these should break anything, just add some dependencies (updated as well).

Working PKGBUILD here: http://pastebin.com/wfc1XSDb

brenix commented on 2014-08-07 02:38

Removed flags to resolve compile issue with stoken-git package

Adelie commented on 2014-08-06 18:57

j3gb3rt I have run into the same issue. Any workarounds would are welcome.

j3gb3rt commented on 2014-04-17 17:22

Has anyone run into the problem of gcc telling you "undefined reference to `__gmpz_*'" for this library. I have cgal installed (which is where those functions come from I believe). If anyone else has run into this (or if this is a pkg_build problem), please let me know.

brenix commented on 2013-11-06 20:49

Updated to include libgmp..Thanks sergej!

sergej commented on 2013-11-06 10:51

I need to add
CFLAGS="-DGMP_DESC -DUSE_GMP" EXTRALIBS="-lgmp"
before last make command to make RSA work.

It looks like it builds without libgmp by default.

brenix commented on 2013-07-28 05:06

Updated.. Thanks!

connaisseur commented on 2013-07-27 18:38

A Note: To create a "complete" set of libraries it's IMHO necessary to build both shared and static versions of libtomcrypt. Release versions of stoken might check on this. To archive this PKGBUILD should add to lines:

$ diff -ruN PKGBUILD.OLD PKGBUILD
--- PKGBUILD.OLD 2013-06-21 04:39:14.000000000 +0200
+++ PKGBUILD 2013-07-27 18:57:33.477858624 +0200
@@ -20,4 +20,6 @@
build() {
cd ${srcdir}/$pkgname-$pkgver
make NODOCS=1 DESTDIR="$pkgdir" install
+ make NODOCS=1 DESTDIR="$pkgdir" clean
+ make -f makefile.shared NODOCS=1 DESTDIR="$pkgdir" install
}

All comments