Re: Free software replacements for PGP and SSH (was: Re: are md5sums mandatory for all packages?)
Joel Klecker writes:
> Regarding "Re: Free software replacements for PGP and SSH (was: R" of 03:17
> AM -0800 1997-12-21, Hamish Moffatt wrote:
> >On Sat, Dec 20, 1997 at 06:44:31PM -0800, Joel Klecker wrote:
> >> The PGP replacement is called G10, and the web page for that is at
> >> <http://www.d.shuttle.de/isil/g10.html>.
> >> Here is the status from the web page:
> >Sounds good, although it didn't get anywhere near compiling
> >on my libc6 system unfortunately. Different errors again
> >on a solaris-2.5 system I just tried.
>
> I just tried on a FreeBSD 2.1.7 system, it failed there too (mpicalc failed
> to link). I don't expect much for such an early release though.
There's a patch in the list archives, I compiled g10 with it in my libc6
machines and it seems to work: I signed a file and verified the signature
with unmodified and modified original. That's all dpkg requires, right?
BTW, the author uses Debian 1.3!
This the patch I used (slightly modified):
diff -ru g10-0.0.0/g10/openfile.c g10-0.0.0.libc6/g10/openfile.c
--- g10-0.0.0/g10/openfile.c Sat Dec 20 19:16:17 1997
+++ g10-0.0.0.libc6/g10/openfile.c Sun Dec 21 23:59:21 1997
@@ -24,6 +24,7 @@
#include <string.h>
#include <assert.h>
#include <unistd.h>
+#include <errno.h>
#include "util.h"
#include "memory.h"
#include "ttyio.h"
diff -ru g10-0.0.0/include/types.h g10-0.0.0.libc6/include/types.h
--- g10-0.0.0/include/types.h Thu Dec 18 12:46:28 1997
+++ g10-0.0.0.libc6/include/types.h Sun Dec 21 23:55:20 1997
@@ -23,7 +23,11 @@
#ifdef __linux__
/* FIXME: add stuff to configure to detect for typedefs */
- #include <linux/types.h>
+ #if __GLIBC__ >= 2
+ #include <sys/types.h>
+ #else
+ #include <linux/types.h>
+ #endif
#define HAVE_ULONG_TYPEDEF
#define HAVE_USHORT_TYPEDEF
#endif
-Topi
Reply to: