summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-01-09 16:06:59 +0100
committerWerner Koch <wk@gnupg.org>1999-01-09 16:06:59 +0100
commit002b1a8632d2c2795deb4682ba6db8be120db9b4 (patch)
tree33a0e8c96550f24d9aa1747b05a9f471f975e7a7 /debian
parentSee ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner Koch (diff)
downloadgnupg2-002b1a8632d2c2795deb4682ba6db8be120db9b4.tar.xz
gnupg2-002b1a8632d2c2795deb4682ba6db8be120db9b4.zip
See ChangeLog: Sat Jan 9 16:02:23 CET 1999 Werner Koch
Diffstat (limited to 'debian')
-rw-r--r--debian/README.Debian16
-rw-r--r--debian/changelog166
-rw-r--r--debian/control23
-rw-r--r--debian/copyright30
-rw-r--r--debian/distfiles7
-rw-r--r--debian/preinst47
-rw-r--r--debian/rules72
7 files changed, 361 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 000000000..f59643715
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,16 @@
+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:
+
+ <URL:http://james.nocrew.org/gnupg/>
+
+--
+James Troup <james@nocrew.org>, Bradford, UK
+Sun, 8 Nov 1998 19:11:40 +0000
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..f8f9eebd8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,166 @@
+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 <ratinox@peorth.gweep.net>.
+
+ -- James Troup <james@nocrew.org> 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 <james@nocrew.org> Tue, 8 Dec 1998 22:40:23 +0000
+
+gnupg (0.4.4-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- James Troup <james@nocrew.org> 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 <wichert@cs.leidenuniv.nl>.
+ * debian/rules (binary-arch): install `README.Debian'
+ * debian/control (Standards-Version): updated to 2.5.0.0.
+
+ -- James Troup <james@nocrew.org> 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
+ <martin@debian.org>.
+ * debian/rules (binary-arch): don't install the now non-existent `rfcs',
+ but do install `OpenPGP'.
+
+ -- James Troup <james@nocrew.org> 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 <james@nocrew.org> 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
+ incompatabilites in keyring format and offer to move old copy out of
+ gpg out of the way for transistion 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 <james@nocrew.org> 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 <james@nocrew.org> Thu, 9 Jul 1998 21:06:07 +0200
+
+gnupg (0.3.1-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- James Troup <james@nocrew.org> Tue, 7 Jul 1998 00:26:21 +0200
+
+gnupg (0.3.0-2) unstable; urgency=low
+
+ * Applied bug-fix patch from Werner.
+
+ -- James Troup <jjtroup@comp.brad.ac.uk> 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 <wk@isil.d.shuttle.de>.
+ * 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 <jjtroup@comp.brad.ac.uk> 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 <jjtroup@comp.brad.ac.uk> Sat, 30 May 1998 12:12:35 +0200
+
+gnupg (0.2.18-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- James Troup <J.J.Troup@comp.brad.ac.uk> 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 <jjtroup@comp.brad.ac.uk> Mon, 4 May 1998 22:36:51 +0200
+
+gnupg (0.2.15-1) unstable; urgency=high
+
+ * New upstream version.
+
+ -- James Troup <jjtroup@comp.brad.ac.uk> Fri, 10 Apr 1998 01:12:20 +0100
+
+gnupg (0.2.13-1) unstable; urgency=high
+
+ * New upstream version.
+
+ -- James Troup <jjtroup@comp.brad.ac.uk> Wed, 11 Mar 1998 01:52:51 +0000
+
+gnupg (0.2.12-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- James Troup <jjtroup@comp.brad.ac.uk> Sat, 7 Mar 1998 13:52:40 +0000
+
+gnupg (0.2.11-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- James Troup <jjtroup@comp.brad.ac.uk> Wed, 4 Mar 1998 01:32:12 +0000
+
+gnupg (0.2.10-1) unstable; urgency=low
+
+ * New upstream version.
+ * Name changed upstream.
+
+ -- James Troup <jjtroup@comp.brad.ac.uk> Mon, 2 Mar 1998 07:32:05 +0000
+
+g10 (0.2.7-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- James Troup <jjtroup@comp.brad.ac.uk> Fri, 20 Feb 1998 02:05:34 +0000
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..1c5f906e9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: gnupg
+Section: utils
+Priority: optional
+Maintainer: James Troup <james@nocrew.org>
+Standards-Version: 2.5.0.0
+
+Package: gnupg
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: GNU privacy guard - a free PGP replacement.
+ GNUPG is the GNU encryption and signing tool. As you can see from the
+ version number, the program may have some bugs and some features may not
+ work at all.
+ .
+ Due to the fact that GNUPG does not use use any patented algorithm,
+ it cannot be compatible to old PGP versions, because those use
+ IDEA (which is worldwide patented) and RSA (which is patented in
+ the United States until Sep 20, 2000).
+ .
+ GNUPG is in almost all aspects compatible with other OpenPGP
+ implementations. The default algorithms are DSA and ELGamal.
+ Symmetric algorithms are: Blowfish and CAST5, Digest algorithms are
+ MD5, RIPEMD160, SHA1 and TIGER/192.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000000000..bf1042084
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+This is Debian/GNU Linux's prepackaged version of GNUPG, a free PGP
+replacement. As you can see from the version number, the program may
+have some bugs and some features may not work at all.
+
+This package was put together by me, James Troup
+<james@nocrew.org>, from the sources, which I obtained from
+ftp://ftp.guug.de/pub/gcrypt/gnupg-0.9.0.tar.gz. The changes were
+minimal, namely:
+
+- adding support for the Debian package maintenance scheme, by adding
+ various debian/* files.
+
+Program Copyright (C) 1997, 1998 Werner Koch (dd9jn).
+Modifications for Debian Copyright (C) 1998 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/Linux system, in /usr/doc/copyright/GPL, or with the
+Debian GNU/Linux 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
new file mode 100644
index 000000000..df6fac50c
--- /dev/null
+++ b/debian/distfiles
@@ -0,0 +1,7 @@
+README.Debian
+changelog
+control
+copyright
+distfiles
+preinst
+rules
diff --git a/debian/preinst b/debian/preinst
new file mode 100644
index 000000000..8369e2013
--- /dev/null
+++ b/debian/preinst
@@ -0,0 +1,47 @@
+#!/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 <<EOF
+Due to a bug in the way secret keys were encrypted in versions prior
+to 0.3.3, this version of gnupg is not backwards compatible with $2
+which you have (had) installed on your system.
+
+There is an upgrade strategy (see /usr/doc/gnupg/NEWS.gz after this
+version is installed), but it requires an old copy of the gpg and gpgm
+EOF
+ echo -n "binaries; shall I make copies of them for you (Y/n)? "
+ read answer
+ if [ ! "$answer" = "n" -a ! "$answer" = "N" ]; then
+ cp /usr/bin/gpg /usr/bin/gpg.old
+ cp /usr/bin/gpgm /usr/bin/gpgm.old
+ echo "Okay, done. The old versions are /usr/bin/gpg*.old"
+ else
+ echo "Okay, I haven't made backups."
+ fi;
+ cat <<EOF
+
+If at any stage you need a pre-0.3.3 gnupg, you can find source and
+binaries for i386, m68k, alpha, powerpc and hurd-i386 at
+
+ http://james.nocrew.org/gnupg/
+
+Press return to continue
+EOF
+ read foo
+ fi;
+ fi;
+ ;;
+ abort-upgrade)
+ ;;
+esac
diff --git a/debian/rules b/debian/rules
new file mode 100644
index 000000000..aa074754f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,72 @@
+#!/usr/bin/make -f
+# debian/rules file - for GNUPG (0.9.0)
+# Based on sample debian/rules file - for GNU Hello (1.3).
+# Copyright 1994,1995 by Ian Jackson.
+# Copyright 1998 James Troup
+# I hereby give you perpetual unlimited permission to copy,
+# modify and relicense this file, provided that you do not remove
+# my name from the file itself. (I assert my moral right of
+# paternity under the Copyright, Designs and Patents Act 1988.)
+# This file may have to be extensively modified
+
+build:
+ $(checkdir)
+ ./configure --prefix=/usr --with-included-gettext
+ $(MAKE) CFLAGS="-O2 -g -Wall"
+ touch build
+
+test: build
+ $(checkdir)
+ make -C checks check || exit 127
+ touch test
+
+clean:
+ $(checkdir)
+ -rm -f build
+ -$(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
+ -rm -rf debian/tmp debian/*~ debian/files* debian/substvars
+ # Cruft not removed by `make clean'
+ -rm -f intl/libintl.h
+
+binary-indep:
+
+binary-arch: checkroot build # test
+ $(checkdir)
+ -rm -rf debian/tmp
+ install -d debian/tmp/DEBIAN/
+ install -m 755 debian/preinst debian/tmp/DEBIAN/preinst
+ $(MAKE) prefix=`pwd`/debian/tmp/usr install
+ rm debian/tmp/usr/man/man1/gpgm.1
+ gzip -9v debian/tmp/usr/man/man1/*
+ ln -s gpg.1.gz debian/tmp/usr/man/man1/gpgm.1.gz
+ strip debian/tmp/usr/bin/*
+ strip --strip-unneeded debian/tmp/usr/lib/gnupg/*
+ install -d debian/tmp/usr/doc/gnupg/
+ install -m 644 debian/changelog debian/tmp/usr/doc/gnupg/changelog.Debian
+ install -m 644 debian/README.Debian README NEWS THANKS TODO doc/DETAILS \
+ doc/FAQ doc/OpenPGP debian/tmp/usr/doc/gnupg/
+ for i in po util mpi cipher tools g10 checks include; do \
+ install -m 644 $$i/ChangeLog debian/tmp/usr/doc/gnupg/changelog.$$i; done
+ install -m 644 ChangeLog debian/tmp/usr/doc/gnupg/changelog.toplevel
+ gzip -9v debian/tmp/usr/doc/gnupg/*
+ ln -s changelog.g10.gz debian/tmp/usr/doc/gnupg/changelog.gz
+ install -m 644 debian/copyright debian/tmp/usr/doc/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