You are not logged in.

#1 2012-11-24 20:50:34

fpilee
Member
From: Windows 7
Registered: 2011-10-06
Posts: 104
Website

adding support to IDEA in gnupg | gpg?

Hi everyone, im doing a university research and i need show an aplication who uses the IDEA algorithm. Looking in http://www.gnupg.org/faq/why-not-idea.en.html i see the module can be added but i don't know how.  here is another topic http://bytes.com/topic/unix/answers/928 … plugin-gpg but he don't add the suport only check the signature i think.

The files can be downloaded also from here:
http://www.gnupg.dk/contrib-dk/idea.c.gz
http://www.gnupg.dk/contrib-dk/idea.c.gz.sig


Maybe using AUR but i need modify the PKGBUILD to add suport for IDEA.

# $Id: PKGBUILD 148992 2012-02-05 12:21:23Z andyrtr $
# Contributor: Andreas Radke <andyrtr at archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=gnupg1
pkgname_=gnupg
pkgver=1.4.12
pkgrel=2
pkgdesc="GNU Privacy Guard - a PGP replacement tool"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('zlib' 'bzip2' 'libldap>=2.4.18' 'libusb-compat' 'curl>=7.16.2' 'readline>=6.0.00')
source=(http://mirrors.dotsrc.org/gcrypt/gnupg/$pkgname_-$pkgver.tar.bz2)
install=gnupg.install
url="http://www.gnupg.org/"
md5sums=('ce3742e5c7912559cab7894ad8ba7f6b')

build() {
  cd "${srcdir}/${pkgname_}-${pkgver}"
  ./configure --prefix=/usr \
	--libexecdir=/usr/lib \
	--enable-noexecstack
  make
  #ln -s ${pkgname}-${pkgver}/scripts .. # seems obsolete now
}

check() {
  cd "$srcdir/$pkgname_-$pkgver"
  make -k check #All 27 tests passed
}

package () {
  cd "${srcdir}/${pkgname_}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  # fix fileconflict with gnupg2 pkg
  rename 'gpg' 'gpg1' "${pkgdir}"/usr/share/man/man1/gpg* "${pkgdir}"/usr/bin/gpg*
}

Should add the IDEA sources and the enable line right? http://ubuntuforums.org/showthread.php?t=649466

--enable-idea

but how add the url from the module ? I should try on virtual box i don't wanna break arch.

Last edited by fpilee (2012-11-24 21:01:38)

Offline

Board footer

Powered by FluxBB