mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* configure.ac: Add --disable-endian-check for building fat binaries
on OSX. * README: Add note on how to build a fat binary on OSX.
This commit is contained in:
parent
0f4f660d5f
commit
7fcba082c9
@ -1,3 +1,10 @@
|
|||||||
|
2006-03-19 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* configure.ac: Add --disable-endian-check for building fat
|
||||||
|
binaries on OSX.
|
||||||
|
|
||||||
|
* README: Add note on how to build a fat binary on OSX.
|
||||||
|
|
||||||
2006-03-17 David Shaw <dshaw@jabberwocky.com>
|
2006-03-17 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* configure.ac: Allow the DNS stuff to work on OSX by trying the
|
* configure.ac: Allow the DNS stuff to work on OSX by trying the
|
||||||
|
36
README
36
README
@ -47,6 +47,7 @@
|
|||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Please read the file INSTALL and the sections in this file
|
Please read the file INSTALL and the sections in this file
|
||||||
related to the installation. Here is a quick summary:
|
related to the installation. Here is a quick summary:
|
||||||
|
|
||||||
@ -74,6 +75,7 @@
|
|||||||
|
|
||||||
How to Verify the Source
|
How to Verify the Source
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
In order to check that the version of GnuPG which you are going to
|
In order to check that the version of GnuPG which you are going to
|
||||||
install is an original and unmodified one, you can do it in one of
|
install is an original and unmodified one, you can do it in one of
|
||||||
the following ways:
|
the following ways:
|
||||||
@ -141,6 +143,7 @@
|
|||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Here is a brief overview on how to use GnuPG - it is strongly suggested
|
Here is a brief overview on how to use GnuPG - it is strongly suggested
|
||||||
that you read the manual and other information about the use of
|
that you read the manual and other information about the use of
|
||||||
cryptography. GnuPG is only a tool, secure usage requires that
|
cryptography. GnuPG is only a tool, secure usage requires that
|
||||||
@ -387,7 +390,8 @@
|
|||||||
|
|
||||||
|
|
||||||
8 Ways to Specify a User ID
|
8 Ways to Specify a User ID
|
||||||
--------------------------
|
---------=-----------------
|
||||||
|
|
||||||
There are several ways to specify a user ID, here are some examples.
|
There are several ways to specify a user ID, here are some examples.
|
||||||
|
|
||||||
* Only by the short keyid (prepend a zero if it begins with A..F):
|
* Only by the short keyid (prepend a zero if it begins with A..F):
|
||||||
@ -439,6 +443,7 @@
|
|||||||
|
|
||||||
Batch mode
|
Batch mode
|
||||||
----------
|
----------
|
||||||
|
|
||||||
If you use the option "--batch", GnuPG runs in non-interactive mode and
|
If you use the option "--batch", GnuPG runs in non-interactive mode and
|
||||||
never prompts for input data. This does not even allow entering the
|
never prompts for input data. This does not even allow entering the
|
||||||
passphrase. Until we have a better solution (something like ssh-agent),
|
passphrase. Until we have a better solution (something like ssh-agent),
|
||||||
@ -451,6 +456,7 @@
|
|||||||
|
|
||||||
Exit status
|
Exit status
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
GnuPG returns with an exit status of 1 if in batch mode and a bad signature
|
GnuPG returns with an exit status of 1 if in batch mode and a bad signature
|
||||||
has been detected or 2 or higher for all other errors. You should parse
|
has been detected or 2 or higher for all other errors. You should parse
|
||||||
stderr or, better, the output of the fd specified with --status-fd to get
|
stderr or, better, the output of the fd specified with --status-fd to get
|
||||||
@ -459,6 +465,7 @@
|
|||||||
|
|
||||||
Configure options
|
Configure options
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Here is a list of configure options which are sometime useful
|
Here is a list of configure options which are sometime useful
|
||||||
for installation.
|
for installation.
|
||||||
|
|
||||||
@ -627,18 +634,10 @@
|
|||||||
the use of iconv. Note, that iconv is also
|
the use of iconv. Note, that iconv is also
|
||||||
disabled if gettext has been disabled.
|
disabled if gettext has been disabled.
|
||||||
|
|
||||||
--enable-backsigs
|
|
||||||
Enables "backsigs" support. This is a currently
|
|
||||||
experimental solution to a subtle OpenPGP protocol
|
|
||||||
problem involving signing subkeys. It is
|
|
||||||
specified in the 2440bis drafts that will become
|
|
||||||
the new OpenPGP standard, but is not finalized yet
|
|
||||||
and has not had interoperability testing. Use at
|
|
||||||
your own risk.
|
|
||||||
|
|
||||||
|
|
||||||
Installation Problems
|
Installation Problems
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
If you get unresolved externals "gettext" you should run configure
|
If you get unresolved externals "gettext" you should run configure
|
||||||
again with the option "--with-included-gettext"; this is version
|
again with the option "--with-included-gettext"; this is version
|
||||||
0.12.1 which is available at ftp.gnu.org.
|
0.12.1 which is available at ftp.gnu.org.
|
||||||
@ -706,6 +705,7 @@
|
|||||||
|
|
||||||
./configure ac_cv_sys_symbol_underscore=yes
|
./configure ac_cv_sys_symbol_underscore=yes
|
||||||
|
|
||||||
|
|
||||||
The Random Device
|
The Random Device
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
@ -722,6 +722,7 @@
|
|||||||
|
|
||||||
Creating an RPM package
|
Creating an RPM package
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
The file scripts/gnupg.spec is used to build a RPM package (both
|
The file scripts/gnupg.spec is used to build a RPM package (both
|
||||||
binary and src):
|
binary and src):
|
||||||
1. copy the spec file into /usr/src/redhat/SPECS
|
1. copy the spec file into /usr/src/redhat/SPECS
|
||||||
@ -735,9 +736,23 @@
|
|||||||
rpm in /usr/src/redhat/SRPMS
|
rpm in /usr/src/redhat/SRPMS
|
||||||
|
|
||||||
|
|
||||||
|
Building Universal Binaries on Apple OS X
|
||||||
|
-----------------------------------------
|
||||||
|
|
||||||
|
You can build a universal ("fat") binary that will work on both
|
||||||
|
PPC and Intel Macs with something like:
|
||||||
|
|
||||||
|
./configure CFLAGS="-arch ppc -arch i386" \
|
||||||
|
--disable-dependency-tracking --disable-asm
|
||||||
|
|
||||||
|
If you are doing the build on a OS X 10.4 (Tiger) PPC machine you
|
||||||
|
may need to add "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" to
|
||||||
|
those CFLAGS.
|
||||||
|
|
||||||
|
|
||||||
GnuPG 1.4 and GnuPG 1.9
|
GnuPG 1.4 and GnuPG 1.9
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
GnuPG 1.4 is the stable version of GnuPG; GnuPG 1.9 is the
|
GnuPG 1.4 is the stable version of GnuPG; GnuPG 1.9 is the
|
||||||
development branch. However, large parts of GnuPG 1.9 are also
|
development branch. However, large parts of GnuPG 1.9 are also
|
||||||
considered to be stable and useful. In particular the tools
|
considered to be stable and useful. In particular the tools
|
||||||
@ -748,7 +763,6 @@
|
|||||||
want to make use of gpg-agent.
|
want to make use of gpg-agent.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
How to Get More Information
|
How to Get More Information
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
13
configure.ac
13
configure.ac
@ -823,7 +823,18 @@ AC_TYPE_MODE_T
|
|||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
AC_DECL_SYS_SIGLIST
|
AC_DECL_SYS_SIGLIST
|
||||||
|
|
||||||
GNUPG_CHECK_ENDIAN
|
AC_ARG_ENABLE(endian-check,
|
||||||
|
AC_HELP_STRING([--disable-endian-check],[disable the endian check and trust the OS provided macros]),
|
||||||
|
endiancheck=$enableval,endiancheck=yes)
|
||||||
|
|
||||||
|
if test x"$endiancheck" = xno ; then
|
||||||
|
# don't do an endian check so we can build universal ("fat")
|
||||||
|
# binaries on OS X.
|
||||||
|
AC_DEFINE_UNQUOTED(LITTLE_ENDIAN_HOST,__LITTLE_ENDIAN__)
|
||||||
|
AC_DEFINE_UNQUOTED(BIG_ENDIAN_HOST,__BIG_ENDIAN__)
|
||||||
|
else
|
||||||
|
GNUPG_CHECK_ENDIAN
|
||||||
|
fi
|
||||||
|
|
||||||
GNUPG_CHECK_TYPEDEF(byte, HAVE_BYTE_TYPEDEF)
|
GNUPG_CHECK_TYPEDEF(byte, HAVE_BYTE_TYPEDEF)
|
||||||
GNUPG_CHECK_TYPEDEF(ushort, HAVE_USHORT_TYPEDEF)
|
GNUPG_CHECK_TYPEDEF(ushort, HAVE_USHORT_TYPEDEF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user