tags 399167 patch
thanks
On 2006-11-18 Andreas Metzler <[EMAIL PROTECTED]> wrote:
> Package: gnupg
[...]
> 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.
[...]

Patch attached.
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
diff -u gnupg-1.4.5/debian/changelog gnupg-1.4.5/debian/changelog
--- gnupg-1.4.5/debian/changelog
+++ gnupg-1.4.5/debian/changelog
@@ -1,3 +1,10 @@
+gnupg (1.4.5-2.1) unstable; urgency=low
+
+  * Recommend instead of depend on libldap2. - It is only needed to access
+    ldap keyservers.
+
+ -- Andreas Metzler <[EMAIL PROTECTED]>  Sat, 18 Nov 2006 09:53:15 +0000
+
 gnupg (1.4.5-2) unstable; urgency=low
 
   * debian/control: add gpgv package.  Make gnupg package depend on it.
diff -u gnupg-1.4.5/debian/control gnupg-1.4.5/debian/control
--- gnupg-1.4.5/debian/control
+++ gnupg-1.4.5/debian/control
@@ -8,6 +8,7 @@
 Package: gnupg
 Architecture: any
 Depends: ${shlibs:Depends}, gpgv, makedev (>= 2.3.1-13) | devfsd | hurd
+Recommends: ${shlibs:Recommends}
 Suggests: gnupg-doc, xloadimage
 Conflicts: gpg-rsa, gpg-rsaref, suidmanager (<< 0.50), gpg-idea (<= 2.2)
 Replaces: gpg-rsa, gpg-rsaref
diff -u gnupg-1.4.5/debian/rules gnupg-1.4.5/debian/rules
--- gnupg-1.4.5/debian/rules
+++ gnupg-1.4.5/debian/rules
@@ -107,7 +107,12 @@
 
        find debian/tmp/ -type d -empty | xargs rmdir
 
-       find debian/tmp/ -type f | xargs file | grep ELF | cut -d: -f 1 | xargs 
dpkg-shlibdeps
+       #find debian/tmp/ -type f | xargs file | grep ELF | cut -d: -f 1 | 
xargs dpkg-shlibdeps
+       find debian/tmp/ -path debian/tmp/usr/lib/gnupg/gpgkeys_ldap \
+       -or -type f -print | \
+       xargs file | grep ELF | cut -d: -f 1 | \
+       xargs dpkg-shlibdeps \
+       -dRecommends debian/tmp/usr/lib/gnupg/gpgkeys_ldap -dDepends
        dpkg-gencontrol -pgnupg -isp
        chown -R root.root debian/tmp
        chmod -R go=rX debian/tmp

Reply via email to