On 2005-09-09 Max Kellermann <[EMAIL PROTECTED]> wrote:
> Package: gnupg2
> Version: 1.9.15-6
> "gnupg2" does not provide the program "gpgkeys_hkp"; "gnupg" does.
> "gnupg2" should either provide its own version of the program, or
> recommend/depend on "gnupg".
> Anyway, "gnupg2" does not find "gpgkeys_hkp":
[...]
> execve("/usr/lib//gpgkeys_hkp", ["gpgkeys_hkp"], [/* 32 vars */]) =
> -1 ENOENT (No such file or directory)
[...]
Recent versions of gpg2 (1.9.9x) contain these plugins. If the
build-system in debian/rules was to fixed to not do this anymore:
| ./configure $(confflags) --enable-maintainer-mode \
| --prefix=/usr --libexecdir=/usr/lib/ --with-included-gettext \
| --with-zlib=/usr --infodir=/usr/share/info/ --enable-gpg \
| --mandir='$${prefix}/share/man'
|
| $(MAKE) DESTDIR=`pwd`/debian/tmp libexecdir=/usr/lib/gnupg2
pkglibdir=/usr/lib/gnupg2 pkgdatadir=/usr/share/gnupg2 install
To not set compile time search path (--libexecdir=/usr/lib/) to a different
path than where stuff is actually installed.
(libexecdir=/usr/lib/gnupg2)
-------------------------
--- rules 2006-10-14 14:00:05.933364296 +0200
+++ rules 2006-10-14 14:00:45.595334760 +0200
@@ -44,7 +44,8 @@
chmod +x configure tests/runtest
env CFLAGS="$(CFLAGS)" \
./configure $(confflags) --enable-maintainer-mode \
- --prefix=/usr --libexecdir=/usr/lib/ --with-included-gettext \
+ --prefix=/usr --libexecdir=/usr/lib/gnupg2 \
+ --sysconfdir=/etc --with-included-gettext \
--with-zlib=/usr --infodir=/usr/share/info/ --enable-gpg \
--mandir='$${prefix}/share/man'
@@ -119,7 +120,7 @@
# Nothing to do
binary-arch: build test binary-common
- $(MAKE) DESTDIR=`pwd`/debian/tmp libexecdir=/usr/lib/gnupg2
pkglibdir=/usr/lib/gnupg2 pkgdatadir=/usr/share/gnupg2 install
+ $(MAKE) DESTDIR=`pwd`/debian/tmp install
# shouldn't be here; it's a symlink to /etc/locale.alias in Debian
-rm -f debian/tmp/usr/share/locale/locale.alias
-------------------------
This will install the plugins to /usr/lib/gnupg2 and pcsc-wrapper in
/usr/lib/gnupg/. The latter is ok according to Werner Koch in
http://permalink.gmane.org/gmane.comp.encryption.gpg.devel/13455
| pcsc-wrapper is only needed by gnupg2 and /usr/lib/gnupg is a good
| place for it. In fact some other software expects it there.
cu andreas
--
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken. (c) Jasper Ffforde
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]