Package Details: libtomcrypt 1.18.2-1

Git Clone URL: (read-only)
Package Base: libtomcrypt
Description: A fairly comprehensive, modular and portable cryptographic toolkit
Upstream URL:
Licenses: custom:PublicDomain
Submitter: manveru
Maintainer: andreyv
Last Packager: andreyv
Votes: 7
Popularity: 0.000000
First Submitted: 2007-06-08 04:58
Last Updated: 2018-07-03 16:55

Latest Comments

1 2 Next › Last »

andreyv commented on 2017-01-15 09:56

One more packaging problem: header files are installed with executable permissions, and the group of some files is "wheel":

andreyv commented on 2016-07-22 15:15


This line: export CFLAGS="-DLTM_DESC -DGMP_DESC"

should be: export CPPFLAGS+=" -DLTM_DESC -DGMP_DESC"

(append instead of replacing and use CPPFLAGS instead of CFLAGS). Otherwise default flags from makepkg are not used. If CPPFLAGS doesn't work, then CFLAGS+= is good enough too.

jamesan commented on 2016-07-11 19:57

Thanks for catching that. I've pointed the PKGBUILD to the new official source tarballs on GitHub. I also cleaned up the PKGBUILD a bit.

PureTryOut commented on 2016-07-04 17:13

Can't currently be installed due to the validation failing. It seems like the links in the sources are dead, it's probably best to replace them for files straight from the Github master branch.

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:
The diff highlighting my changes are here:

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:

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.