Package: gnupg
Severity: wishlist
it would be very useful if there was a gnupg-udeb available for use in
debian-installer. In particular, I'd like to use gnupg-udeb to create
keyfiles as used by loop-AES block device encryption.
The attached patch is what I've been using for my local tests. Ideally
also the patch for increased passphrase iterations from #237908 could be
applied to the udeb (though that is actually a separate wishlist bug).
Please consider building a gnupg-udeb.
cheers,
Max
--- gnupg-1.4.1/debian/control 2005-07-23 23:33:45.000000000 +0200
+++ gnupg-1.4.1+udeb/debian/control 2005-07-18 20:15:22.000000000 +0200
@@ -21,6 +21,19 @@
GnuPG does not use any patented algorithms so it cannot be compatible
with PGP2 because it uses IDEA (which is patented worldwide).
+Package: gnupg-udeb
+Section: debian-installer
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: GNU privacy guard - a free PGP replacement
+ GnuPG is GNU's tool for secure communication and data storage.
+ It can be used to encrypt data and to create digital signatures.
+ It includes an advanced key management facility and is compliant
+ with the proposed OpenPGP Internet standard as described in RFC2440.
+ .
+ This is GnuPG packaged in minimal form for use in debian-installer.
+
Package: gpgv-udeb
Section: debian-installer
Priority: extra
--- gnupg-1.4.1/debian/rules 2005-07-23 23:33:45.000000000 +0200
+++ gnupg-1.4.1+udeb/debian/rules 2005-07-18 20:15:34.000000000 +0200
@@ -119,6 +119,20 @@
chmod -R go=rX debian/gpgv-udeb
dpkg --build debian/gpgv-udeb
../gpgv-udeb_$(VERSION)_$(DEB_BUILD_ARCH).udeb
+ rm -rf debian/gnupg-udeb
+ $(install_dir) debian/gnupg-udeb/DEBIAN/ debian/gnupg-udeb/usr/bin/
+ $(install_binary) build-udeb/g10/gpg debian/gnupg-udeb/usr/bin/
+ find debian/gnupg-udeb/ -type f | xargs file | grep ELF | cut -d: -f 1
| xargs dpkg-shlibdeps -Tdebian/gnupg-udeb.substvars
+
+ : # Don't let dpkg-gencontrol write incorrect guesses to debian/files.
+ : # Instead, register the udeb manually.
+ dpkg-gencontrol -pgnupg-udeb -Tdebian/gnupg-udeb.substvars
-Pdebian/gnupg-udeb -isp -fdebian/files~
+ dpkg-distaddfile gnupg-udeb_$(VERSION)_$(DEB_BUILD_ARCH).udeb
debian-installer extra
+
+ chown -R root.root debian/gnupg-udeb
+ chmod -R go=rX debian/gnupg-udeb
+ dpkg --build debian/gnupg-udeb
../gnupg-udeb_$(VERSION)_$(DEB_BUILD_ARCH).udeb
+
define checkdir
test -f g10/g10.c && test -f debian/rules
endef