Browse Source

libgcrypt: Marked libgcrypt as cross-compileable

Note: While cross-compiling we had to disable the built-in tests via a patch,
      as well as providing some little guidance to use the right libgpg-error.
user/amery/cross
Christian Wiese 17 years ago committed by Alejandro Mery
parent
commit
128822b814
  1. 29
      security/libgcrypt/disable-tests.patch.cross
  2. 18
      security/libgcrypt/libgcrypt.conf
  3. 2
      security/libgcrypt/libgcrypt.desc

29
security/libgcrypt/disable-tests.patch.cross

@ -0,0 +1,29 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libgcrypt/disable-tests.patch.cross
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- libgcrypt-1.4.0/Makefile.in.orig 2007-12-10 11:05:13.000000000 +0200
+++ libgcrypt-1.4.0/Makefile.in 2008-03-15 19:27:24.000000000 +0200
@@ -236,8 +236,8 @@
DISTCHECK_CONFIGURE_FLAGS = --enable-random-daemon \
--enable-ciphers=arcfour:blowfish:cast5:des:aes:twofish:serpent:rfc2268:seed:camellia
-DIST_SUBDIRS = m4 mpi cipher src doc tests
-SUBDIRS = mpi cipher src doc tests
+DIST_SUBDIRS = m4 mpi cipher src doc
+SUBDIRS = mpi cipher src doc
EXTRA_DIST = BUGS autogen.sh README.SVN
DISTCLEANFILES =
all: config.h

18
security/libgcrypt/libgcrypt.conf

@ -0,0 +1,18 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libgcrypt/libgcrypt.conf
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# libgcrypt depends on libgpg-error and we have to assure that we use the
# one from the sandbox while cross-compiling
pkgprefix -t libgpg-error
var_append confopt ' ' "--with-gpg-error-prefix=$root/$( pkgprefix libgpg-error )"

2
security/libgcrypt/libgcrypt.desc

@ -30,6 +30,6 @@
[L] GPL [L] GPL
[S] Stable [S] Stable
[V] 1.4.6 [V] 1.4.6
[P] X -----5---9 109.100 [P] X -?---5---9 109.100
[D] 1661541147 libgcrypt-1.4.6.tar.bz2 ftp://ftp.gnupg.org/gcrypt/libgcrypt/ [D] 1661541147 libgcrypt-1.4.6.tar.bz2 ftp://ftp.gnupg.org/gcrypt/libgcrypt/

Loading…
Cancel
Save