Package: gnupg2
Version: 2.0.4-1
Severity: normal
Tags: patch
Hi,
GnuPG2 depends on libldap2, however the actual ldap code is in a plugin
/usr/lib/gnupg2/gpg2keys_ldap. Afaict GnuPG works fine[1] without libldap2
installed.
I do not think that using ldap for fething or submitting keys is
that common that gnupg should depend on libldap2, so please downgrade
this to a Recommends. - I will post a patch later.
OTOH if ldap-support really is an essential feature please tell me (if
possible with a reason). - Thanks.
(Copypaste from #399167 by Andreas Metzler)
Attached comes similar patch for gnupg2. Now that gnupg2 is stable(?),
do you consider it a worth making apt use gnupg2 instead of gnupg?
--
"rm -rf" only sounds scary if you don't have backups
diff -u gnupg2-2.0.4/debian/control gnupg2-2.0.4/debian/control
--- gnupg2-2.0.4/debian/control
+++ gnupg2-2.0.4/debian/control
@@ -38,7 +38,7 @@
Architecture: any
Priority: extra
Depends: ${shlibs:Depends}
-Recommends: gnupg (>= 1.4)
+Recommends: gnupg (>= 1.4), ${shlibs:Recommends}
Suggests: gnupg-doc, xloadimage
Conflicts: suidmanager (<< 0.50), gpg-idea (<= 2.2)
Description: GNU privacy guard - a free PGP replacement
diff -u gnupg2-2.0.4/debian/rules gnupg2-2.0.4/debian/rules
--- gnupg2-2.0.4/debian/rules
+++ gnupg2-2.0.4/debian/rules
@@ -131,7 +131,7 @@
dh_makeshlibs -a
dh_installdeb -a
- dh_shlibdeps -a
+ dh_shlibdeps -a -Xgnupg2/gpg2keys_ldap -- -dRecommends
debian/tmp/usr/lib/gnupg2/gpg2keys_ldap -dDepends
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
diff -u gnupg2-2.0.4/debian/changelog gnupg2-2.0.4/debian/changelog
--- gnupg2-2.0.4/debian/changelog
+++ gnupg2-2.0.4/debian/changelog
@@ -1,3 +1,10 @@
+gnupg2 (2.0.4-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Only recommend on the plugins
+
+ -- Riku Voipio <[EMAIL PROTECTED]> Sun, 29 Jul 2007 15:49:29 +0300
+
gnupg2 (2.0.4-1) unstable; urgency=low
* New upstream release.