Permalink
Browse files

configure support.

  • Loading branch information...
kazu-yamamoto committed Feb 19, 2010
1 parent 90c0a0e commit 5677a4a17dbf416e7fad7dbfb93f4d9f8a500c76
Showing with 1,234 additions and 32 deletions.
  1. +4 −0 CHANGES
  2. +14 −8 Makefile → Makefile.in
  3. +19 −2 README
  4. +0 −3 armor.c
  5. +10 −0 config.h.in
  6. +1,144 −0 configure
  7. +20 −0 configure.in
  8. +0 −1 keys.c
  9. +0 −1 packet.c
  10. +1 −6 pgpdump.c
  11. +14 −0 pgpdump.h
  12. +0 −1 signature.c
  13. +0 −1 subfunc.c
  14. +0 −1 tagfuncs.c
  15. +1 −2 types.c
  16. +7 −6 uncomp.c
View
@@ -1,5 +1,9 @@
Change Log
+0.04 2000/10/18
+
+* configure support.
+
0.03 2000/08/27
* Uncompress support.
View
@@ -1,6 +1,11 @@
-# comment out unless you have zlib.
-DEFS = -DHAVE_ZLIB
-LIBS = -lz
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+LIBS = @LIBS@
+
+CFLAGS = -O -Wall
+RM = rm -f
+INSTALL = install -c -m 555
INCS = pgpdump.h
SRCS = pgpdump.c types.c tagfuncs.c packet.c subfunc.c signature.c keys.c \
@@ -9,12 +14,11 @@ OBJS = pgpdump.o types.o tagfuncs.o packet.o subfunc.o signature.o keys.o \
armor.o uncomp.o
PROG = pgpdump
-CFLAGS = -O -Wall
-BINDIR = /usr/local/bin
-RM = rm -f
+CNF = config.h config.status config.cache config.log
+MKF = Makefile
.c.o:
- $(CC) -c $(CFLAGS) $(DEFS) $<
+ $(CC) -c $(CFLAGS) $<
all: $(PROG)
@@ -24,5 +28,7 @@ $(PROG): $(OBJS)
clean:
$(RM) $(OBJS) $(PROG)
+distclean:
+ $(RM) $(OBJS) $(PROG) $(CNF) $(MKF)
install:
- install -c -m 555 $(PROG) $(BINDIR)
+ $(INSTALL) $(PROG) $(bindir)
View
21 README
@@ -1,8 +1,10 @@
pgpdump: a PGP packet visualizer
Kazu Yamamoto <kazu@iijlab.net>
+ October 18, 2000
- August 27, 1998
+
+ <Overview>
"pgpdump" is a PGP packet visualizer which displays the packet format
of OpenPGP (RFC 2440) and PGP version 2 (RFC 1991).
@@ -32,6 +34,19 @@ Here is an example:
DSA s(157 bits) - ...
-> hash(160 bits)
+
+ <Installation>
+
+Take the following steps to install "pgpdump".
+
+ % ./configure
+ % make
+ % su
+ # make install
+
+
+ <Usage>
+
To know how to use pgpdump, type "pgpdump -h".
Some examples are stored in the "data" directory. Also, you can
@@ -58,6 +73,8 @@ following options(see src/pgp/{keydb/pgpPrefs.c,utils/pgpConf.c}):
Also, try GNUPG which is an excellent alternative of PGP version 5.
Its options are easy-to-understand.
-Bugs:
+
+ <Bugs>
+
- Some sub-packets for the signature packet have not been
implemented yet.
View
@@ -2,9 +2,6 @@
* armor.c
*/
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
#include "pgpdump.h"
#define YES 1
View
@@ -0,0 +1,10 @@
+/* config.h.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Define if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define if you have the z library (-lz). */
+#undef HAVE_LIBZ
Oops, something went wrong.

0 comments on commit 5677a4a

Please sign in to comment.