mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
* README: Document --disable-exec, --disable-photo-viewers,
--disable-keyserver-helpers, --enable-exec-path, and --with-photo-viewer. * configure.ac: Add --with-photo-viewer to lock the viewer at compile time and --disable-keyserver-helpers and --disable-photo-viewers to allow disabling one without disabling the other.
This commit is contained in:
parent
f48b2851f6
commit
107e4a3f58
@ -1,3 +1,12 @@
|
||||
2002-07-04 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* README:
|
||||
|
||||
* configure.ac: Add --with-photo-viewer to lock the viewer at
|
||||
compile time and --disable-keyserver-helpers and
|
||||
--disable-photo-viewers to allow disabling one without disabling
|
||||
the other.
|
||||
|
||||
2002-07-03 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* configure.ac: Allow setting USE_EXEC_PATH to lock the exec-path
|
||||
|
23
README
23
README
@ -507,6 +507,29 @@
|
||||
Do not use assembler modules. It is not possible
|
||||
to use this on some CPU types.
|
||||
|
||||
--disable-exec
|
||||
Disable all remote program execution. This
|
||||
disables photo ID viewing as well as all keyserver
|
||||
types aside from HKP.
|
||||
|
||||
--disable-photo-viewers
|
||||
Disable only photo ID viewing.
|
||||
|
||||
--disable-keyserver-helpers
|
||||
Disable only keyserver helpers (not including
|
||||
HKP).
|
||||
|
||||
--enable-exec-path=PATH
|
||||
Force the exec search path to be set to PATH.
|
||||
Note that this only really applies to keyserver
|
||||
helpers as the photo-viewer can include its own
|
||||
path.
|
||||
|
||||
--with-photo-viewer=FIXED_VIEWER
|
||||
Force the photo viewer to be FIXED_VIEWER and
|
||||
disable any ability for the user to change it in
|
||||
their options file.
|
||||
|
||||
|
||||
Installation Problems
|
||||
---------------------
|
||||
|
52
configure.ac
52
configure.ac
@ -122,25 +122,56 @@ fi
|
||||
|
||||
AC_MSG_CHECKING([whether to enable external program execution])
|
||||
AC_ARG_ENABLE(exec,
|
||||
[ --disable-exec disable external program execution],
|
||||
[ --disable-exec disable all external program execution],
|
||||
use_exec=$enableval, use_exec=yes)
|
||||
AC_MSG_RESULT($use_exec)
|
||||
if test "$use_exec" = no ; then
|
||||
AC_DEFINE(NO_EXEC,1,[Define to disable external program execution])
|
||||
AC_DEFINE(NO_EXEC,1,[Define to disable all external program execution])
|
||||
fi
|
||||
|
||||
if test "$use_exec" = yes ; then
|
||||
AC_MSG_CHECKING([for a restricted exec-path])
|
||||
AC_ARG_WITH(exec-path,
|
||||
[ --with-exec-path=PATH restrict exec-path to PATH],
|
||||
[if test "$withval" = yes ; then
|
||||
withval=no
|
||||
AC_MSG_CHECKING([whether to use a restricted exec-path])
|
||||
AC_ARG_ENABLE(exec-path,
|
||||
[ --enable-exec-path=PATH restrict exec-path to PATH],
|
||||
[if test "$enableval" = yes ; then
|
||||
enableval=no
|
||||
else
|
||||
AC_DEFINE_UNQUOTED(USE_EXEC_PATH,"$withval",
|
||||
[restrict exec-path to this])
|
||||
AC_DEFINE_UNQUOTED(USE_EXEC_PATH,"$enableval",
|
||||
[if set, restrict exec-path to this value])
|
||||
fi],enableval=no)
|
||||
AC_MSG_RESULT($enableval)
|
||||
|
||||
AC_MSG_CHECKING([whether to enable photo ID viewing])
|
||||
AC_ARG_ENABLE(photo-viewers,
|
||||
[ --disable-photo-viewers disable photo ID viewers],
|
||||
[if test "$enableval" = no ; then
|
||||
AC_DEFINE(DISABLE_PHOTO_VIEWER,1,[define to disable photo viewing])
|
||||
fi],enableval=yes)
|
||||
gnupg_cv_enable_photo_viewers=$enableval
|
||||
AC_MSG_RESULT($enableval)
|
||||
|
||||
if test "$gnupg_cv_enable_photo_viewers" = yes ; then
|
||||
AC_MSG_CHECKING([whether to use a fixed photo ID viewer])
|
||||
AC_ARG_WITH(photo-viewer,
|
||||
[ --with-photo-viewer=FIXED_VIEWER set a fixed photo ID viewer],
|
||||
[if test "$withval" != yes ; then
|
||||
AC_DEFINE_UNQUOTED(FIXED_PHOTO_VIEWER,"$withval",
|
||||
[if set, restrict photo-viewer to this])
|
||||
fi],withval=no)
|
||||
AC_MSG_RESULT($withval)
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([whether to enable external keyserver helpers])
|
||||
AC_ARG_ENABLE(keyserver-helpers,
|
||||
[ --disable-keyserver-helpers disable all external keyserver support],
|
||||
[if test "$enableval" = no ; then
|
||||
AC_DEFINE(DISABLE_KEYSERVER_HELPERS,1,
|
||||
[define to disable keyserver helpers])
|
||||
fi],enableval=yes)
|
||||
gnupg_cv_enable_keyserver_helpers=$enableval
|
||||
AC_MSG_RESULT($enableval)
|
||||
|
||||
if test "$gnupg_cv_enable_keyserver_helpers" = yes ; then
|
||||
AC_MSG_CHECKING([whether LDAP keyserver support is requested])
|
||||
AC_ARG_ENABLE(ldap,
|
||||
[ --disable-ldap disable LDAP keyserver interface],
|
||||
@ -163,7 +194,8 @@ if test "$use_exec" = yes ; then
|
||||
[ --disable-mailto disable email keyserver interface],
|
||||
try_mailto=$enableval, try_mailto=yes)
|
||||
AC_MSG_RESULT($try_mailto)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([whether included zlib is requested])
|
||||
AC_ARG_WITH(included-zlib,
|
||||
|
Loading…
x
Reference in New Issue
Block a user