summaryrefslogtreecommitdiff
path: root/security/libtcpa/patches
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-02-22 01:40:04 +0000
committerschmonz <schmonz@pkgsrc.org>2004-02-22 01:40:04 +0000
commita34744d49cc56b495e896c2486bbd8b3bb9ea27c (patch)
tree3b71243a7d2f4cb155c81aa786e19b9232872c66 /security/libtcpa/patches
parent27fcce29a499f38e0b0a136a434d554d3e42ebec (diff)
downloadpkgsrc-a34744d49cc56b495e896c2486bbd8b3bb9ea27c.tar.gz
Initial import of libtcpa-1.1b, a library and example programs for
the TCPA chip described in IBM Global Security Analysis Lab's article "Take Control of TCPA" in the August 2003 issue of Linux Journal. For this package to be useful, you need a computer with a TCPA chip, and support for the chip in your kernel. An unofficial NetBSD TCPA driver and instructions can be found here: http://www.citi.umich.edu/u/rwash/projects/trusted/netbsd.html I don't have a TCPA chip with which to verify the functionality of this package. Thanks to Soren Jacobsen for bringing me up to speed on modern pkgsrc conventions, and to Rick Wash for his recent presentation at my local ACM chapter on TCPA and "Trusted Computing".
Diffstat (limited to 'security/libtcpa/patches')
-rw-r--r--security/libtcpa/patches/patch-aa12
-rw-r--r--security/libtcpa/patches/patch-ab17
-rw-r--r--security/libtcpa/patches/patch-ac12
3 files changed, 41 insertions, 0 deletions
diff --git a/security/libtcpa/patches/patch-aa b/security/libtcpa/patches/patch-aa
new file mode 100644
index 00000000000..1777ef2597b
--- /dev/null
+++ b/security/libtcpa/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/02/22 01:40:04 schmonz Exp $
+
+--- examples/Makefile.orig Mon May 19 15:35:20 2003
++++ examples/Makefile
+@@ -1,6 +1,4 @@
+-AR = ar
+-RM = rm
+-CC = gcc -I../libtcpa -DTPMLOG=NULL
++CC := ${CC} -I../libtcpa -DTPMLOG=NULL
+ LIBS = ../libtcpa/libtcpa.a -lcrypto
+
+ all: tcpa_demo takeown createkey loadkey evictkey signfile \
diff --git a/security/libtcpa/patches/patch-ab b/security/libtcpa/patches/patch-ab
new file mode 100644
index 00000000000..29f46981a38
--- /dev/null
+++ b/security/libtcpa/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/02/22 01:40:04 schmonz Exp $
+
+--- libtcpa/Makefile.orig Sat Apr 19 22:02:42 2003
++++ libtcpa/Makefile
+@@ -1,10 +1,8 @@
+-AR = ar
+-RM = rm
+-CC = gcc -g -Wall -I.
++CC := ${CC} -g -Wall -I.
+ OBJS = tcpa.o transmit.o owner.o oiaposap.o hmac.o buildbuff.o keys.o seal.o \
+ pcrs.o signature.o
+
+-libtcpa.a:$(OBJS)
++all:$(OBJS)
+ $(AR) rv libtcpa.a $(OBJS)
+
+ tcpa.o: tcpa.c tcpa.h
diff --git a/security/libtcpa/patches/patch-ac b/security/libtcpa/patches/patch-ac
new file mode 100644
index 00000000000..9b20b3192c9
--- /dev/null
+++ b/security/libtcpa/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/02/22 01:40:04 schmonz Exp $
+
+--- libtcpa/buildbuff.c.orig Thu Jul 10 13:32:54 2003
++++ libtcpa/buildbuff.c
+@@ -8,6 +8,7 @@
+ #include <string.h>
+ #include <stdarg.h>
+ #include <netinet/in.h>
++#include <sys/types.h>
+
+ /****************************************************************************/
+ /* */