Package Details: cryptkeeper 0.9.5-5

Git Clone URL: https://aur.archlinux.org/cryptkeeper.git (read-only)
Package Base: cryptkeeper
Description: A Linux system tray applet that manages EncFS encrypted folders.
Upstream URL: http://tom.noflag.org.uk/cryptkeeper.html
Licenses: GPL3
Submitter: Baumi
Maintainer: fukawi2
Last Packager: fukawi2
Votes: 119
Popularity: 2.298403
First Submitted: 2007-09-01 19:31
Last Updated: 2015-06-08 23:40

Required by (0)

Sources (4)

Latest Comments

rcct commented on 2015-12-12 04:14

According to the post in the forums about this (https://bbs.archlinux.org/viewtopic.php?id=206031) what you suggest might be needed if there is a pre-existent package if makepkg is used to locally build the package and later on pacman -U is used to install it.
In my case I have reinstalled it using yaourt and, as far as I know, there wasn't any previous local pre-built version (being a possible hint that "yaourt" (using makepkg, that is) went through the whole build process instead of just using a local copy).

The script featured in the announcement always showing the same file(s) even after their rebuilt, as Allan states in the same thread, doesn't help to get rid of the 'paranoia' though, unfortunately.

fukawi2 commented on 2015-12-11 03:02

I think you just have to rebuild the package (ie, run makepkg -f) after updating so it gets recompiled against the new ABI. I stand to be corrected though.

rcct commented on 2015-12-11 02:50

This is one of the packages that popped up when checking the related C++ ABI update using the shell script as stated here,

https://www.archlinux.org/news/c-abi-change/

I am not sure though if I simply have to reinstall or the package (PKGBUILD?) has to be updated somehow :-?


fukawi2 commented on 2015-02-26 22:09

Thanks for pointing that out, I've added autoconf in as a makedepends()

arjunkc commented on 2015-02-26 17:05

The PKGBUILD works, but there is a dependency that must be added: autoconf. Without autoconf, the build will fail with linking errors like
```
undefined reference to symbol 'XUngrabServer'
```
since the configure.ac file will be ignored. You can fix this by installing the autoconf package manually.

hirunatan commented on 2014-12-23 17:43

I have the same problem as spooky. This is the complete trace:

g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,-O1,--sort-common,--as-needed,-z,relro -o cryptkeeper encfs_wrapper.o ConfigDialog.o ImportStashWizard.o CreateStashWizard.o PasswordChangeDialog.o main.o gtkstatusicon.o gtktrayicon-x11.o PasswordEntryDialog.o lsof.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgconf-2 -lglib-2.0
/usr/bin/ld: gtktrayicon-x11.o: referencia sin definir al símbolo 'XUngrabServer'
/usr/lib/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld devolvió el estado de salida 1
Makefile:266: fallo en las instrucciones para el objetivo 'cryptkeeper'

The problem is not a missing dependency; is that when calling to g++ the makefile is not adding the -lX11 flag. I have managed to compile it by downloading the source package, applying the patches by hand, doing ./configure --prefix=/usr and make, and finally by copying&pasting the g++ line adding -lX11 at the end.

But i'm not able to fix it in the configure.ac file, i can't find the proper variable.

fukawi2 commented on 2014-10-15 22:03

I'm unable to reproduce that error; perhaps a missing dependency that I just happen to have installed?

spooky commented on 2014-10-15 10:08

Package does not compile because of the following error

/usr/bin/ld: gtktrayicon-x11.o: undefined reference to symbol 'XUngrabServer'
/usr/lib/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

fukawi2 commented on 2013-05-19 23:57

My apologies, I accidentally left that one $startdir reference in there. Fixed in pkgrel -5

fukawi2 commented on 2013-05-19 23:56

My apologies, I accidentally left that one $startdir reference in there. Fixed in -4

Anonymous comment on 2013-05-17 09:51

make DESTDIR="$startdir/pkg" install => make DESTDIR="$pkgdir/" install

Anonymous comment on 2013-05-17 09:47

make DESTDIR="$startdir/pkg" install -> make DESTDIR="$pkgdir" install

noplomplom commented on 2013-05-17 09:45

The lastest build to 0.9.5-4 actually uninstalls cryptkeeper! The icon is not available in /usr/share/pixmaps either.
Please update!

noplomplom commented on 2013-05-17 09:44

The lastest build to 0.9.5-4 actually uninstalls cryptkeeper on my machine! The icon is not available in /usr/share/pixmaps either.
Please update!

fukawi2 commented on 2013-05-17 07:06

Adopted and updated

simontunnat commented on 2013-05-15 21:03

Worked with those changes, thanks to tabashir & alfadani!

tabashir commented on 2013-04-25 21:21

Thanks @jcerdan and @alfadani - your build and patch worked great for me!

Anonymous comment on 2013-04-20 03:17

jcerdan,

It works great after some correction at yours:

install -D -m644 $startdir/$pkgname.desktop $pkgtir/pkg/usr/share/applications/$pkgname.desktop

it should be:

install -D -m644 $startdir/$pkgname.desktop $pkgdir/pkg/usr/share/applications/$pkgname.desktop

jcerdan commented on 2013-04-17 15:03

I downloaded all files and used this PKGBUILD to create the package with makepkg
Hope that helps.

------------------- PKGBUILD --------------

# Maintainer: Paolo Stivanin aka Polslinux <admin AT polslinux DOT it>
# Contributor: Paolo Stivanin aka Polslinux
# pkgrel3 patcher: Ivan de Jesús Pompa García <ivan.pompa@gmx.com>

pkgname=cryptkeeper
pkgver=0.9.5
pkgrel=3
pkgdesc="A Linux system tray applet that manages EncFS encrypted folders."
arch=(i686 x86_64)
url="http://tom.noflag.org.uk/cryptkeeper.html"
license=('GPL3')
depends=('gconf' 'encfs')

source=("http://tom.noflag.org.uk/$pkgname/$pkgname-$pkgver.tar.gz"
"cryptkeeper.desktop"
"cryptkeeper-0.9.5-fix-linking.patch"
"cryptkeeper-0.9.5-add-unistd-to-lsof.patch")

md5sums=('d02918b2058854177d2f59b837c2743f'
'37484e52a1557a18c0cc2443b3104007'
'aa864cea6a81ef8e8cb3efa5ef2b9541'
'2e21a1e82942213108774d768e12e4ee')


build() {
cd "$srcdir"
cp "$srcdir/cryptkeeper-0.9.5-fix-linking.patch" "$srcdir/$pkgname-$pkgver"
cp "$srcdir/cryptkeeper-0.9.5-add-unistd-to-lsof.patch" "$srcdir/$pkgname-$pkgver"
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 < cryptkeeper-0.9.5-fix-linking.patch
patch -Np1 < cryptkeeper-0.9.5-add-unistd-to-lsof.patch
./configure --prefix=/usr
make || return 1
}

package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -D -m644 $startdir/$pkgname.desktop $pkgtir/pkg/usr/share/applications/$pkgname.desktop
}

# vim:set ts=2 sw=2 et:

walkindude commented on 2013-04-14 23:48

Why does it show:

Total installed Size: 0.00 MiB

it's like nothing has been built at all..

fukawi2 commented on 2013-03-27 00:44

I had to add 'gtk2' to dependencies to get this to build.

Also, this does not build in a chroot environment using makechrootpkg due to usage of $startdir (AFAIK, considered depreciated). This patch allows the package to build in a chroot:

--- /tmp/PKGBUILD.old 2013-03-27 11:42:39.030712602 +1100
+++ PKGBUILD 2013-03-27 11:43:08.479027446 +1100
@@ -31,10 +31,10 @@
patch -Np1 < cryptkeeper-0.9.5-add-unistd-to-lsof.patch
./configure --prefix=/usr
make || return 1
- make DESTDIR="$startdir/pkg" install
+ make DESTDIR="$pkgdir" install

- install -D -m644 $startdir/$pkgname.desktop \
- $startdir/pkg/usr/share/applications/$pkgname.desktop
+ install -D -m644 $srcdir/$pkgname.desktop \
+ $pkgdir/pkg/usr/share/applications/$pkgname.desktop

}

Anonymous comment on 2013-02-13 06:00

Cryptkeeper 0.9.5 fails to recognize an existing encfs for import. The problem is the Cryptkeeper GUI, encfs from the command line works fine. This is a multi-distro error, it's currently failing on Suse as well.

deathwarrior commented on 2013-02-04 15:53

@Xi0N it's online again.

jonandermb commented on 2013-01-25 23:34

I think the developer's page is down... there is no way to build this anymore :(

mickours commented on 2012-08-31 12:55

I have a problem during linking, it says:

g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wl,-O1,--sort-common,--as-needed,-z,relro -o cryptkeeper encfs_wrapper.o ConfigDialog.o ImportStashWizard.o CreateStashWizard.o PasswordChangeDialog.o main.o gtkstatusicon.o gtktrayicon-x11.o PasswordEntryDialog.o lsof.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgconf-2 -lglib-2.0
/usr/bin/ld: gtktrayicon-x11.o: undefined reference to symbol 'XUngrabServer'
/usr/bin/ld: note: 'XUngrabServer' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation

polslinux commented on 2012-06-22 07:47

* updated

deathwarrior commented on 2012-05-30 16:25

Mektub,
You're welcome, I hope polslinux fix that soon, so we can enjoy the package through yaourt.

Greets!

Mektub commented on 2012-05-30 15:29

deathwarrior,

many many thanks for your package, works flawlessly.

Mektub

jonandermb commented on 2012-05-22 13:20

Can the maintainer please fix the pkgbuild?
Thanks!

deathwarrior commented on 2012-04-22 15:51

I got an issue compiling cryptkeeper. It complains about the code into lsof.cpp file. Searching for a fix I got that unistd header needs to be added to lsof.cpp file, I tried and success. The patch is the next:


==CUT HERE==
--- cryptkeeper-0.9.5/src/lsof.cpp.old 2012-04-22 10:00:24.655295117 -0500
+++ cryptkeeper-0.9.5/src/lsof.cpp 2012-04-22 10:00:35.838624366 -0500
@@ -21,6 +21,7 @@
#include <vector>
#include <assert.h>
#include <cstring>
+#include <unistd.h>
#include "lsof.h"

fsuser::fsuser(const char *pid, const char *name)
==CUT HERE==

And the patch for the PKGBUILD should be:

==CUT HERE==
--- PKGBUILD.old 2012-04-22 10:24:07.758583121 -0500
+++ PKGBUILD 2012-04-22 10:26:34.561912531 -0500
@@ -1,9 +1,10 @@
# Maintainer: Paolo Stivanin aka Polslinux <admin AT polslinux DOT it>
# Contributor: Paolo Stivanin aka Polslinux
+# pkgrel3 patcher: Ivan de Jesús Pompa García <ivan.pompa@gmx.com>

pkgname=cryptkeeper
pkgver=0.9.5
-pkgrel=2
+pkgrel=3
pkgdesc="A Linux system tray applet that manages EncFS encrypted folders."
arch=(i686 x86_64)
url="http://tom.noflag.org.uk/cryptkeeper.html"
@@ -12,18 +13,22 @@

source=("http://tom.noflag.org.uk/$pkgname/$pkgname-$pkgver.tar.gz"
"cryptkeeper.desktop"
- "cryptkeeper-0.9.5-fix-linking.patch")
+ "cryptkeeper-0.9.5-fix-linking.patch"
+ "cryptkeeper-0.9.5-add-unistd-to-lsof.patch")

md5sums=('d02918b2058854177d2f59b837c2743f'
'37484e52a1557a18c0cc2443b3104007'
- 'aa864cea6a81ef8e8cb3efa5ef2b9541')
+ 'aa864cea6a81ef8e8cb3efa5ef2b9541'
+ '2e21a1e82942213108774d768e12e4ee')


build() {
cd $srcdir
cp $srcdir/cryptkeeper-0.9.5-fix-linking.patch $srcdir/$pkgname-$pkgver
+ cp $srcdir/cryptkeeper-0.9.5-add-unistd-to-lsof.patch $srcdir/$pkgname-$pkgver
cd $srcdir/$pkgname-$pkgver
patch -Np1 < cryptkeeper-0.9.5-fix-linking.patch
+ patch -Np1 < cryptkeeper-0.9.5-add-unistd-to-lsof.patch
./configure --prefix=/usr
make || return 1
make DESTDIR="$startdir/pkg" install
==CUT HERE==

I hope it helps. Here is the link to the package working: http://bit.ly/Ihl6RY

Greetings folks, and keep the good job. :D

thomasplessner commented on 2012-04-09 22:50

I can confirm it on ArchBang (Openbox). Cryptkkeeper starts and segfaults on click. Re-installation is futile.

Anonymous comment on 2012-03-24 00:21

Since my lastest pacman -Syu, cryptkeeper segfaults when I click on the tray icon.
Re-compiling it (using yaourt) didn't help. I'm using it with MATE here.
Can anyone reproduce this?

Anonymous comment on 2012-02-22 16:15

@mukhametshin: I read your comment only now. Please, read the AUR User Guidelines. It's expected to having installed the group (base-devel) before using the AUR.

Anonymous comment on 2012-02-22 16:11

Cryptkeeper is built, but not installed on my i686 system on an USB stick with yaourt and a non-standard build directory in tmpfs.

Those changes to the PKGBUILD fix it (should be made anyway due to packaging policies):
1. Change every $startdir/pkg to $pkgdir.
2. Change $startdir/$pkgname.desktop to $srcdir/$pkgname.desktop.
3. Remove || return 1.

$startdir shouldn't be used anymore anyway, and every file included in the source array is symlinked to $srcdir.
|| return 1 is not needed anymore since makepkg handles it itself.

And since you are the current maintainer and your # Maintainer and # Contributor flags are almost identical you can remove the # Contributor line.
# Maintainer: is for mentioning the current maintainer.
# Contributor: is for mentioning the previous maintainers.

mukhametshin commented on 2012-02-08 18:23

@polslinux: I cracked the problem: autoconf and automake packages were missed.

polslinux commented on 2012-01-30 21:07

@mukh: you have to ask into your arch forum because only you have find this problem...i don't have this issue xD

polslinux commented on 2012-01-30 21:06

@mukh: you have to ask into your arch forum because it is your problem...i don't have this issue xD

mukhametshin commented on 2012-01-26 21:01

An error occurs during the linking:
(...)
/usr/bin/ld: gtktrayicon-x11.o: undefined reference to symbol 'XFlush'
/usr/bin/ld: note: 'XFlush' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: выполнение ld завершилось с кодом возврата 1
make[2]: *** [cryptkeeper] Ошибка 1
make[2]: Выход из каталога `/tmp/yaourt-tmp-user/aur-cryptkeeper/src/cryptkeeper-0.9.5/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/tmp/yaourt-tmp-user/aur-cryptkeeper/src/cryptkeeper-0.9.5'
make: *** [all] Ошибка 2
==> ОШИБКА: Произошел сбой в build().
Преждевременный выход...
==> ERROR: Makepkg was unable to build cryptkeeper.
==> Restart building cryptkeeper ? [y/N]
==> ------------------------------------
==>

polslinux commented on 2011-12-29 23:20

* Fixed compiling

skydrome commented on 2011-12-16 02:33

http://pkgs.fedoraproject.org/gitweb/?p=cryptkeeper.git;a=blob;f=cryptkeeper-0.9.5-fix-linking.patch;h=30634ce1caac9e771002f8eb454445b5d6e8f35e;hb=master
fixes compiling

Janhouse commented on 2011-01-03 00:29

There is problem with tray icon not having transparent background.
See this screenshot: http://img820.imageshack.us/img820/6550/selection308.png
Can anyone find patch for it?

Anonymous comment on 2010-12-06 05:30

I am a robot. You have accidentally tarred up some dotfiles. Examples:
.gitignore
Suggestion: use "makepkg --source". This robot will not bother you again.