Package Details: libdes 4.04b-4

Git Clone URL: https://aur.archlinux.org/libdes.git (read-only, click to copy)
Package Base: libdes
Description: library for DES encryption
Upstream URL: http://linux.maruhn.com/sec/libdes.html
Licenses: custom
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 8
Popularity: 0.000000
First Submitted: 2009-12-23 17:50 (UTC)
Last Updated: 2016-02-27 13:29 (UTC)

Latest Comments

jose1711 commented on 2016-02-27 13:29 (UTC)

hope i got it right this time

thse commented on 2016-02-27 12:54 (UTC)

it works! but I had to add the lines (see post from 2010-07-04) # des_crypt.3.gz is already contained in man_pages rm $pkgdir/usr/share/man/man3/des_crypt.3 to the "package()" section in "PKGBUILD" to avoid conflicting man pages.

jose1711 commented on 2016-02-26 20:35 (UTC)

@thse: thank you, pushed. could you please verify?

thse commented on 2016-02-26 20:09 (UTC)

On my 64-bit system I couldn't decrypt files, which I encrypted on a 32-bit system. And "destest" failed on every test. After switching to 4-byte unsigned integers everything works. Here is the patch: ------------------------------------------------------------------------------------------------------------------------------------------------------------- > diff -u des.h.orig des.h --- des.h.orig 1997-12-04 14:35:37.000000000 +0100 +++ des.h 2016-02-26 20:59:52.396114542 +0100 @@ -72,11 +72,14 @@ #endif #include <stdio.h> +#include <stdint.h> /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a * %20 speed up (longs are 8 bytes, int's are 4). */ +/* On PCs with 64-bit Linux 'unsigned long' doesn't work, 'destest' + * fails. 'unsigned int' oder 'uint32_t' is needed. */ #ifndef DES_LONG -#define DES_LONG unsigned long +#define DES_LONG uint32_t #endif typedef unsigned char des_cblock[8]; -------------------------------------------------------------------------------------------------------------------------------------------------------------

jose1711 commented on 2010-07-04 08:18 (UTC)

thank you, i did a few adjustments (added package() as recommended by new makepkg) and commited

commented on 2010-07-04 04:48 (UTC)

or watch it in pastebin: http://aur.pastebin.com/anDeKSkn

commented on 2010-07-04 04:32 (UTC)

try this: pkgname=libdes pkgver=4.01b pkgrel=1 pkgdesc="library for DES encryption" arch=('i686') url="http://linux.maruhn.com/sec/libdes.html" license=('custom') source=(ftp://ftp.kfki.hu/pub/packages/security/COAST/libs/libdes/libdes-4.01.tar.gz) md5sums=('e9a716e167bff9744a0013d08a25b378') build() { cd $srcdir make gcc || return 1 mkdir -p $pkgdir/usr/lib mkdir -p $pkgdir/usr/bin mkdir -p $pkgdir/usr/include mkdir -p $pkgdir/usr/share/man/man1 mkdir -p $pkgdir/usr/share/man/man3 make LIBDIR=$pkgdir/usr/lib BINDIR=$pkgdir/usr/bin INCDIR=$pkgdir/usr/include MANDIR=$pkgdir/usr/share/man install || return 1 # des_crypt.3.gz is already contained in man_pages rm $pkgdir/usr/share/man/man3/des_crypt.3 }

commented on 2010-07-04 02:54 (UTC)

seems they don't provide svn any more. instead, you can download the source from ftp://ftp.uni-hannover.de/pub/mirror/bsd/NetBSD/packages/current-packages/QNX/i386/6.4.0_head_20081005/security/libdes-4.04b.tgz.