diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644
index 854a2e43a..000000000
--- a/debian/README.Debian
+++ /dev/null
@@ -1,28 +0,0 @@
-GDBM keyring support
---------------------
-
-GDBM-based keyring support is (and always) was an experimental feature
-which is likely to be removed in future versions. For that reason it
-is not compiled into the Debian package and won't be until and unless
-GDBM support stabilises.
-
-Upgrading from old (<= 0.3.3) versions GnuPG
---------------------------------------------
-
-Due to a bug in the way secret keys were encrypted in versions prior
-to 0.3.3, later version of GnuPG are not backwards compatible and you
-will have to convert your secret keys before using old secret keys
-with recent versions of GnuPG.
-
-The upgrade strategy is described in /usr/doc/gnupg/NEWS.gz, please
-refer to it for more details, but it requires an old copy of the gpg
-and gpgm binaries. They may be on your system as gpg.old and
-gpgm.old, but if they're not you can find gnupg 0.3.2 source and
-binaries for i386, m68k, alpha, powerpc and hurd-i386 at:
-
-
-
---
-James Troup , Horsforth, UK
-Sun, 1 Oct 2000 13:53:12 +0100
-
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 8d33a87ae..000000000
--- a/debian/changelog
+++ /dev/null
@@ -1,402 +0,0 @@
-gnupg (1.0.5-1) unstable; urgency=low
-
- * New upstream version.
- * debian/README.Debian: fix spelling and update URL.
- * debian/rules (binary): remove the new info files.
- * scripts/config.{guess,sub}: sync with subversions, closes: #95729.
-
- -- James Troup Mon, 30 Apr 2001 02:12:38 +0100
-
-gnupg (1.0.4-4) unstable; urgency=low
-
- * po/ru.po: patch by Ilya Martynov to replace German
- entries and add missing translations, closes: #93987.
- * g10/revoke.c (ask_revocation_reason): typo fix (s/non longer/no
- longer/g); noticed by Colin Watson , closes:
- #93664.
-
- * Deprecated depreciated; noticed by Vincent Broman
- .
-
- * Following two patches are from Vincent Broman.
- * g10/mainproc.c (proc_tree): use iobuf_get_real_fname() in preference
- to iobuf_get_fname().
- * g10/openfile.c (open_sigfile): handle .sign prefixed files correctly.
-
- -- James Troup Fri, 20 Apr 2001 23:32:44 +0100
-
-gnupg (1.0.4-3) unstable; urgency=medium
-
- * debian/rules (binary): make gpg binary suid, closes: #86433.
- * debian/postinst: don't use suidregister.
- * debian/postrm: removed (only called suidunregister).
- * debian/control: conflict with suidmanager << 0.50.
- * mpi/longlong.h: apply fix for ARM long long artimetic from Philip
- Blundell , closes: #87487.
- * debian/preinst: the old GnuPG debs have moved to people.debian.org.
- * cipher/random.c: #include as well as
- * g10/misc.c: likewise.
- * debian/rules: define a strip alias which removes the .comment and
- .note sections.
- * debian/rules (binary-arch): use it.
- * debian/lintian.override: new file; override the SUID warning from
- lintian.
- * debian/rules (binary-arch): install it.
-
- -- James Troup Sun, 25 Feb 2001 05:24:58 +0000
-
-gnupg (1.0.4-2) stable unstable; urgency=high
-
- * Apply security fix patch from Werner.
- * Apply another patch from Werner to fix bogus warning on Rijndael
- usage.
- * Change section to 'non-US'.
-
- -- James Troup Mon, 12 Feb 2001 07:47:02 +0000
-
-gnupg (1.0.4-1) stable unstable; urgency=high
-
- * New upstream version.
- * Fixes a serious bug which could lead to false signature verification
- results when more than one signature is fed to gpg.
-
- -- James Troup Tue, 17 Oct 2000 17:26:17 +0100
-
-gnupg (1.0.3b-1) unstable; urgency=low
-
- * New upstream snapshot version.
-
- -- James Troup Fri, 13 Oct 2000 18:08:14 +0100
-
-gnupg (1.0.3-2) unstable; urgency=low
-
- * debian/control: Conflict, Replace and Provide gpg-rsa & gpg-rsaref.
- Fix long description to reflect the fact that RSA is no longer
- patented and now included. [#72177]
- * debian/rules: move faq.html to /usr/share/doc/gnupg/ and remove FAQ
- from /usr/share/gnupg/. Thanks to Robert Luberda
- for noticing. [#72151]
- * debian/control: Suggest new package gnupg-doc. [#64323, #65560]
- * utils/secmem.c (lock_pool): don't bomb out if mlock() returns ENOMEM,
- as Linux will do this if resource limits (or other reasons) prevent
- memory from being locked, instead treat it like permission was denied
- and warn but continue. Thanks to Topi Miettinen
- . [#70446]
- * g10/hkp.c (not_implemented): s/ist/is/ in error message.
- * debian/README.Debian: add a note about GDBM support and why it is
- disabled. Upstream already fixed the manpage. [#65913]
- * debian/rules (binary-arch): fix the Spanish translation to be 'es' not
- 'es_ES' at Nicolás Lichtmaier 's request. [#57314]
-
- -- James Troup Sun, 1 Oct 2000 14:55:03 +0100
-
-gnupg (1.0.3-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Mon, 18 Sep 2000 15:56:54 +0100
-
-gnupg (1.0.2-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Thu, 13 Jul 2000 20:26:50 +0100
-
-gnupg (1.0.1-2) unstable; urgency=low
-
- * debian/control (Build-Depends): added.
- * debian/copyright: corrected location of copyright file. Removed
- references to Linux. Removed warnings about beta nature of GnuPG.
- * debian/rules (binary-arch): install documentation into
- /usr/share/doc/gnupg/ and pass mandir to make install to ensure the
- manpages go to /usr/share/man/.
- * debian/postinst: create /usr/doc/gnupg symlink.
- * debian/prerm: new file; remove /usr/doc/gnupg symlink.
- * debian/rules (binary-arch): install prerm.
- * debian/control (Standards-Version): updated to 3.1.1.1.
-
- -- James Troup Thu, 30 Dec 1999 16:16:49 +0000
-
-gnupg (1.0.1-1) unstable; urgency=low
-
- * New upstream version.
- * doc/gpg.1: updated to something usable from
- ftp://ftp.gnupg.org/pub/gcrypt/gnupg/gpg.1.gz.
-
- -- James Troup Sun, 19 Dec 1999 23:47:10 +0000
-
-gnupg (1.0.0-3) unstable; urgency=low
-
- * debian/rules (build): remove the stunningly ill-advised --host option
- to configure. [#44698, #48212, #48281]
-
- -- James Troup Tue, 26 Oct 1999 01:12:59 +0100
-
-gnupg (1.0.0-2) unstable; urgency=low
-
- * debian/rules (binary-arch): fix the permissions on the
- modules. [#47280]
- * debian/postinst, debian/postrm: fix the package name passed to
- suidregister. [#45013]
- * debian/control: update long description. [#44636]
- * debian/rules (build): pass the host explicitly to configure to avoid
- problems on sparc64. [(Should fix) #44698].
-
- -- James Troup Wed, 20 Oct 1999 23:39:05 +0100
-
-gnupg (1.0.0-1) unstable; urgency=low
-
- * New upstream release. [#44545]
-
- -- James Troup Wed, 8 Sep 1999 00:53:02 +0100
-
-gnupg (0.9.10-2) unstable; urgency=low
-
- * debian/rules (binary-arch): install lspgpot. Requested by Kai
- Henningsen . [#42288]
- * debian/rules (binary-arch): correct the path where modules are looked
- for. Reported by Karl M. Hegbloom . [#40881]
- * debian/postinst, debian/postrm: under protest, register gpg the
- package with suidmanager and make it suid by default.
- [#29780,#32590,#40391]
-
- -- James Troup Tue, 10 Aug 1999 00:12:40 +0100
-
-gnupg (0.9.10-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Fri, 6 Aug 1999 01:16:21 +0100
-
-gnupg (0.9.9-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Sun, 25 Jul 1999 01:06:31 +0100
-
-gnupg (0.9.8-1) unstable; urgency=low
-
- * New upstream version.
- * debian/rules (binary-arch): don't create a gpgm manpage as the binary
- no longer exists. Noticed by Wichert Akkerman
- . [#38864]
-
- -- James Troup Sun, 27 Jun 1999 01:07:58 +0100
-
-gnupg (0.9.7-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Tue, 25 May 1999 13:23:24 +0100
-
-gnupg (0.9.6-1) unstable; urgency=low
-
- * New upstream version.
- * debian/copyright: update version number, noticed by Lazarus Long
- .
- * debian/control (Depends): depend on makedev (>= 2.3.1-13) to ensure
- that /dev/urandom exists; reported by Steffen Markert
- . [#32076]
-
- -- James Troup Tue, 11 May 1999 21:06:27 +0100
-
-gnupg (0.9.5-1) unstable; urgency=low
-
- * New upstream version.
- * debian/control (Description): no tabs. [Lintian]
-
- -- James Troup Wed, 24 Mar 1999 22:37:40 +0000
-
-gnupg (0.9.4-1) unstable; urgency=low
-
- * New version.
- * debian/control: s/GNUPG/GnuPG/
-
- -- Werner Koch Mon, 8 Mar 1999 19:58:28 +0100
-
-gnupg (0.9.3-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Mon, 22 Feb 1999 22:55:04 +0000
-
-gnupg (0.9.2-1) unstable; urgency=low
-
- * New version.
- * debian/rules (build): Removed CFLAGS as the default is now sufficient.
- * debian/rules (clean): remove special handling cleanup in intl.
-
- -- Werner Koch Wed, 20 Jan 1999 21:23:11 +0100
-
-gnupg (0.9.1-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Sat, 9 Jan 1999 22:29:11 +0000
-
-gnupg (0.9.0-1) unstable; urgency=low
-
- * New upstream version.
- * g10/armor.c (armor_filter): add missing new line in comment string; as
- noticed by Stainless Steel Rat .
-
- -- James Troup Tue, 29 Dec 1998 20:22:43 +0000
-
-gnupg (0.4.5-1) unstable; urgency=low
-
- * New upstream version.
- * debian/rules (clean): force removal of intl/libintl.h which the
- Makefiles fail to remove properly.
-
- -- James Troup Tue, 8 Dec 1998 22:40:23 +0000
-
-gnupg (0.4.4-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Sat, 21 Nov 1998 01:34:29 +0000
-
-gnupg (0.4.3-1) unstable; urgency=low
-
- * New upstream version.
- * debian/README.Debian: new file; contains same information as is in the
- preinst. Suggested by Wichert Akkerman .
- * debian/rules (binary-arch): install `README.Debian'
- * debian/control (Standards-Version): updated to 2.5.0.0.
-
- -- James Troup Sun, 8 Nov 1998 19:08:12 +0000
-
-gnupg (0.4.2-1) unstable; urgency=low
-
- * New upstream version.
- * debian/preinst: improve message about the NEWS file which isn't
- actually installed when it's referred to, thanks to Martin Mitchell
- .
- * debian/rules (binary-arch): don't install the now non-existent `rfcs',
- but do install `OpenPGP'.
-
- -- James Troup Sun, 18 Oct 1998 22:48:34 +0100
-
-gnupg (0.4.1-1) unstable; urgency=low
-
- * New upstream version.
- * debian/rules (binary-arch): fix the gpgm manpage symlink now installed
- by `make install'.
-
- -- James Troup Sun, 11 Oct 1998 17:01:21 +0100
-
-gnupg (0.4.0-1) unstable; urgency=high
-
- * New upstream version. [#26717]
- * debian/copyright: tone down warning about alpha nature of gnupg.
- * debian/copyright: new maintainer address.
- * debian/control: update extended description.
- * debian/rules (binary-arch): install FAQ and all ChangeLogs.
- * debian/preinst: new; check for upgrade from (<= 0.3.2-1) and warn about
- incompatibilities in keyring format and offer to move old copy out of
- gpg out of the way for transition strategy and inform the user about
- the old copies of gnupg available on my web page.
- * debian/rules (binary-arch) install preinst.
- * debian/rules (binary-arch): don't depend on the test target as it is
- now partially interactive (tries to generate a key, which requires
- someone else to be using the computer).
-
- -- James Troup Thu, 8 Oct 1998 00:47:07 +0100
-
-gnupg (0.3.2-1) unstable; urgency=low
-
- * New upstream version.
- * debian/control (Maintainer): new address.
- * debian/copyright: updated list of changes.
-
- -- James Troup Thu, 9 Jul 1998 21:06:07 +0200
-
-gnupg (0.3.1-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Tue, 7 Jul 1998 00:26:21 +0200
-
-gnupg (0.3.0-2) unstable; urgency=low
-
- * Applied bug-fix patch from Werner.
-
- -- James Troup Fri, 26 Jun 1998 12:18:29 +0200
-
-gnupg (0.3.0-1) unstable; urgency=low
-
- * New upstream version.
- * debian/control: rewrote short and long description.
- * cipher/Makefile.am: link tiger with -lc.
- * debian/rules (binary-arch): strip loadable modules.
- * util/secmem.c (lock_pool): get rid of errant test code; fix from
- Werner Koch .
- * debian/rules (test): new target which runs gnupg's test suite.
- binary-arch depends on it, to ensure it's run whenever the package is
- built.
-
- -- James Troup Thu, 25 Jun 1998 16:04:57 +0200
-
-gnupg (0.2.19-1) unstable; urgency=low
-
- * New upstream version.
- * debian/control: Updated long description.
-
- -- James Troup Sat, 30 May 1998 12:12:35 +0200
-
-gnupg (0.2.18-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Sat, 16 May 1998 11:52:47 +0200
-
-gnupg (0.2.17-1) unstable; urgency=high
-
- * New upstream version.
- * debian/control (Standards-Version): updated to 2.4.1.0.
- * debian/control: tone down warning about alpha nature of gnupg, as per
- README.
- * debian/copyright: ditto.
-
- -- James Troup Mon, 4 May 1998 22:36:51 +0200
-
-gnupg (0.2.15-1) unstable; urgency=high
-
- * New upstream version.
-
- -- James Troup Fri, 10 Apr 1998 01:12:20 +0100
-
-gnupg (0.2.13-1) unstable; urgency=high
-
- * New upstream version.
-
- -- James Troup Wed, 11 Mar 1998 01:52:51 +0000
-
-gnupg (0.2.12-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Sat, 7 Mar 1998 13:52:40 +0000
-
-gnupg (0.2.11-1) unstable; urgency=low
-
- * New upstream version.
-
- -- James Troup Wed, 4 Mar 1998 01:32:12 +0000
-
-gnupg (0.2.10-1) unstable; urgency=low
-
- * New upstream version.
- * Name changed upstream.
-
- -- James Troup Mon, 2 Mar 1998 07:32:05 +0000
-
-g10 (0.2.7-1) unstable; urgency=low
-
- * Initial release.
-
- -- James Troup Fri, 20 Feb 1998 02:05:34 +0000
-
-Local variables:
-mode: debian-changelog
-End:
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 5b158daf5..000000000
--- a/debian/control
+++ /dev/null
@@ -1,24 +0,0 @@
-Source: gnupg
-Section: non-US
-Priority: optional
-Maintainer: James Troup
-Standards-Version: 3.1.1.1
-Build-Depends: gettext, libgdbmg1-dev, libz-dev
-
-Package: gnupg
-Architecture: any
-Depends: ${shlibs:Depends}, makedev (>= 2.3.1-13)
-Suggests: gnupg-doc
-Conflicts: gpg-rsa, gpg-rsaref, suidmanager (<< 0.50)
-Replaces: gpg-rsa, gpg-rsaref
-Provides: gpg-rsa, gpg-rsaref
-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.
- .
- GnuPG does not use use any patented algorithms so it cannot be
- compatible with PGP2 because it uses IDEA (which is patented
- worldwide) and RSA. RSA's patent expired on the 20th September 2000,
- and it is now included in GnuPG.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index e5d99f688..000000000
--- a/debian/copyright
+++ /dev/null
@@ -1,29 +0,0 @@
-This is Debian GNU's prepackaged version of GnuPG, a free PGP
-replacement.
-
-This package was put together by me, James Troup ,
-from the sources, which I obtained from
-ftp://ftp.gnupg.org/pub/gcrypt/gnupg/gnupg-1.0.5.tar.gz. The changes
-were minimal, namely:
-
-- adding support for the Debian package maintenance scheme, by adding
- various debian/* files.
-
-Program Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
-Modifications for Debian Copyright (C) 1998, 1999, 2000, 2001 James Troup.
-
-GnuPG is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version.
-
-GnuPG is distributed in the hope that it will be useful, but WITHOUT
-ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License with
-your Debian GNU system, in /usr/share/common-licenses/GPL, or with the
-Debian GNU gnupg source package as the file COPYING. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
-Boston, MA 02111-1307, USA.
diff --git a/debian/distfiles b/debian/distfiles
deleted file mode 100644
index f7f226104..000000000
--- a/debian/distfiles
+++ /dev/null
@@ -1,6 +0,0 @@
-README.Debian
-changelog
-control
-copyright
-preinst
-rules
diff --git a/debian/lintian.override b/debian/lintian.override
deleted file mode 100644
index c35ed27b3..000000000
--- a/debian/lintian.override
+++ /dev/null
@@ -1 +0,0 @@
-gnupg: setuid-binary usr/bin/gpg 4755 root/root
diff --git a/debian/preinst b/debian/preinst
deleted file mode 100644
index 607944c7c..000000000
--- a/debian/preinst
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
- upgrade|install)
- # Try to gracefully handle upgrades from a pre-0.3.3 version
-
- if [ ! -z $2 ]; then
- set +e
- dpkg --compare-versions $2 \<= 0.3.2-1
- result=$?
- set -e
- if [ $result = 0 ]; then
- cat < debian/tmp/usr/bin/lspgpot
- chmod 755 debian/tmp/usr/bin/lspgpot
- $(STRIP) --strip-unneeded debian/tmp/usr/lib/gnupg/*
- # In response to #53714... no idea if it's correct, will check with upstream
- mv debian/tmp/usr/share/locale/es_ES debian/tmp/usr/share/locale/es
- sed -e "s#/usr/local/#/usr/#" < debian/tmp/usr/share/man/man1/gpg.1 \
- > debian/tmp/usr/share/man/man1/gpg.1.new
- mv debian/tmp/usr/share/man/man1/gpg.1.new debian/tmp/usr/share/man/man1/gpg.1
- gzip -9v debian/tmp/usr/share/man/man1/*
- # Remove from /usr/share/gnupg that we install into /usr/share/doc/gnupg/
- rm debian/tmp/usr/share/gnupg/FAQ debian/tmp/usr/share/gnupg/faq.html
- install -d debian/tmp/usr/share/doc/gnupg/
- install -m 644 debian/changelog debian/tmp/usr/share/doc/gnupg/changelog.Debian
- install -m 644 debian/README.Debian README NEWS THANKS TODO doc/DETAILS \
- doc/FAQ doc/faq.html doc/OpenPGP debian/tmp/usr/share/doc/gnupg/
- for i in po util mpi cipher tools g10 checks include; do \
- install -m 644 $$i/ChangeLog debian/tmp/usr/share/doc/gnupg/changelog.$$i; done
- install -m 644 ChangeLog debian/tmp/usr/share/doc/gnupg/changelog.toplevel
- gzip -9v debian/tmp/usr/share/doc/gnupg/*
- ln -s changelog.g10.gz debian/tmp/usr/share/doc/gnupg/changelog.gz
- install -m 644 debian/copyright debian/tmp/usr/share/doc/gnupg/
- install -d debian/tmp/usr/share/lintian/overrides/
- install -m 644 debian/lintian.override debian/tmp/usr/share/lintian/overrides/gnupg
- dpkg-shlibdeps g10/gpg
- dpkg-gencontrol -isp
- chown -R root.root debian/tmp
- chmod -R go=rX debian/tmp
- dpkg --build debian/tmp ..
-
-define checkdir
- test -f g10/g10.c -a -f debian/rules
-endef
-
-# Below here is fairly generic really
-
-binary: binary-indep binary-arch
-
-checkroot:
- $(checkdir)
- test root = "`whoami`"
-
-.PHONY: binary binary-arch binary-indep clean checkroot