Package Details: cryptmount 5.3.2-1

Git Clone URL: (read-only, click to copy)
Package Base: cryptmount
Description: utility which allows an ordinary user to mount an encrypted file system
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: mikesd
Last Packager: mikesd
Votes: 21
Popularity: 0.000005
First Submitted: 2007-08-20 09:59 (UTC)
Last Updated: 2019-12-13 10:59 (UTC)

Latest Comments

Feakster commented on 2020-12-09 14:59 (UTC) (edited on 2020-12-15 10:35 (UTC) by Feakster)

Hi, a member of the Manjaro community has come up with a patch for the config.guess file present in the source tar.gz archive. The patch enables the detection of aarch64 hardware:

diff -ruP a/config.guess b/config.guess
--- a/config.guess  2020-11-07 08:33:43.350091075 -0600
+++ b/config.guess  2020-11-07 08:31:51.377540483 -0600
@@ -156,6 +156,7 @@
    case "${UNAME_MACHINE_ARCH}" in
        armeb) machine=armeb-unknown ;;
        arm*) machine=arm-unknown ;;
+       aarch64) machine=arm-unknown ;;
        sh3el) machine=shl-unknown ;;
        sh3eb) machine=sh-unknown ;;
        *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
@@ -163,7 +164,7 @@
    # The Operating System including object format, if it has switched
    # to ELF recently, or will in the future.
    case "${UNAME_MACHINE_ARCH}" in
-       arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+       arm*|aarch64|i386|m68k|ns32k|sh3*|sparc|vax)
        eval $set_cc_for_build
        if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
            | grep __ELF__ >/dev/null
@@ -827,6 +828,9 @@
    echo ${UNAME_MACHINE}-unknown-linux-gnu
    exit 0 ;;

Currently, config.guess cannot detect detect aarch64 hardware, and the installation fails.

Until now, I've been working around this with a crude PKGBUILD, but it would be nice to be able to retire it.

mksplg commented on 2017-12-18 20:05 (UTC)

Package is currently broken for me.

Changing the source to and updating the md5sums fixes this.

Thah commented on 2017-07-29 07:41 (UTC)

In addition to v5.2.2 being released, util-linux 2.30 removed the "Provides: util-linux-ng" tag and cryptmount's runtime dependency needs to be updated. Furthermore, I suggest exchanging the role of $pkgver and $_pkgver in the PKGBUILD.

mikesd commented on 2015-01-03 14:06 (UTC)

Made Jonathan's proposed change.

Jonathan commented on 2014-12-30 20:06 (UTC)

Cryptmount's configure script defaults installation to /usr/sbin which appears to be a no longer valid install path in Arch ( ). I recommend adding the --sbindir= flag when running the configure script to force installation into /usr/bin. For example: build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin make }

NeoRaider commented on 2013-06-05 20:28 (UTC)

Please mark /etc/cryptmount/cmtab as a backup file, it's really annoying that it's lost after every update...

polslinux commented on 2012-01-22 21:02 (UTC)

# Maintainer: Mike Sampson <mike at sambodata dot com> # Contributor: Paolo Stivanin <> pkgname=cryptmount pkgver=4.2.1 pkgrel=1 pkgdesc="utility which allows an ordinary user to mount an encrypted file system" arch=('i686' 'x86_64') url="" license=('GPL') depends=(libgcrypt device-mapper util-linux-ng) source=( md5sums=('8ee4908d55c5b71f9becae7678d49e17') build() { cd "$srcdir/$pkgname-$pkgver" install -d "$pkgdir/usr/sbin"; ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR="$pkgdir" install }

mikesd commented on 2010-08-09 02:20 (UTC)

Updated to v4.1. There are still a couple of NAMCAP warnings to fix when I get a chance.

commented on 2010-05-25 19:42 (UTC)

It don't work for me. Correct source line should be: source=($pkgver.tar.gz)

commented on 2010-05-22 19:19 (UTC)

Updated to v4.0.2 including useful comments from susano: Thanks!

commented on 2010-05-22 19:12 (UTC)

Also, namcap complaints: cryptmount E: Dependency detected and not included (util-linux-ng) from files ['usr/lib/cryptmount/'] cryptmount W: Dependency included and not needed ('openssl') cryptmount W: File (usr/lib/cryptmount/ does not have the world readable bit set. cryptmount W: File (usr/lib/cryptmount/ does not have the world readable bit set.

commented on 2010-05-22 19:11 (UTC)

Indeed our of date; the following seems to work: pkgname=cryptmount pkgver=4.0.2 pkgrel=1 pkgdesc="utility which allows an ordinary user to mount an encrypted file system" arch=(i686 x86_64) url="" license=('GPL') depends=(libgcrypt device-mapper openssl) install= source=($pkgver.tar.gz) noextract=() md5sums=('8accb292742b547ac7b08f04407685d8') #generate with 'makepkg -g' build() { cd "$startdir/src/$pkgname-$pkgver" install -d "$startdir/pkg/usr/sbin"; ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR="$startdir/pkg" install } Changes are in pkgver, source, and md5sums.