summaryrefslogtreecommitdiffstats
path: root/security/tea-total
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-01-12 10:52:01 +0000
committerobrien <obrien@FreeBSD.org>2001-01-12 10:52:01 +0000
commit342d0415479e690958b1560e954529d943187cd8 (patch)
tree20ebc8c043ec15e37d383b36ceb05df35fb61c8e /security/tea-total
parent7b173c73704f54955090f0ccafe782632e91ae55 (diff)
downloadFreeBSD-ports-342d0415479e690958b1560e954529d943187cd8.zip
FreeBSD-ports-342d0415479e690958b1560e954529d943187cd8.tar.gz
Update to version 0.4.
Diffstat (limited to 'security/tea-total')
-rw-r--r--security/tea-total/Makefile6
-rw-r--r--security/tea-total/distinfo2
-rw-r--r--security/tea-total/files/patch-Makefile36
-rw-r--r--security/tea-total/files/patch-arch.h13
-rw-r--r--security/tea-total/files/patch-config.inc10
-rw-r--r--security/tea-total/files/patch-heap.c6
-rw-r--r--security/tea-total/files/patch-huffman.c6
-rw-r--r--security/tea-total/pkg-plist4
8 files changed, 68 insertions, 15 deletions
diff --git a/security/tea-total/Makefile b/security/tea-total/Makefile
index 03b9213..c0dcced 100644
--- a/security/tea-total/Makefile
+++ b/security/tea-total/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= tea-total
-PORTVERSION= 0.1
+PORTVERSION= 0.4
CATEGORIES= security
MASTER_SITES= ftp://ftp.linuxhacker.org/pub/tea-total/ \
http://www.linuxhacker.org/tea-total/
@@ -17,7 +17,7 @@ MAINTAINER= obrien@FreeBSD.org
# code is not 64-bit clean...
ONLY_FOR_ARCHS= i386
-post-install:
- cd ${WRKSRC} ; ${INSTALL_PROGRAM} tea tea-keygen untea ${PREFIX}/bin
+USE_GMAKE= yes
+MAN1= teatotal.1 tea.1 untea.1 tea-kgen.1
.include <bsd.port.mk>
diff --git a/security/tea-total/distinfo b/security/tea-total/distinfo
index 753f942..ccff058 100644
--- a/security/tea-total/distinfo
+++ b/security/tea-total/distinfo
@@ -1 +1 @@
-MD5 (tea-total-0.1.tar.gz) = 9990cdd53a619cc1cc19b6afa16c38cc
+MD5 (tea-total-0.4.tar.gz) = 702a83ad861e74f64bf0fa7a353c85a2
diff --git a/security/tea-total/files/patch-Makefile b/security/tea-total/files/patch-Makefile
index 8e7ace9..9d773c2 100644
--- a/security/tea-total/files/patch-Makefile
+++ b/security/tea-total/files/patch-Makefile
@@ -1,10 +1,26 @@
---- Makefile.orig Thu Dec 14 14:40:37 2000
-+++ Makefile Tue Dec 19 10:49:35 2000
-@@ -1 +1 @@
--CC = gcc
-+#CC = gcc
-@@ -5,2 +5,2 @@
--MD5SUM = md5sum
--CFLAGS = -O3 -Wall
-+MD5SUM ?= /sbin/md5 -r
-+CFLAGS += -Wall
+--- Makefile.orig Tue Jan 2 05:04:34 2001
++++ Makefile Fri Jan 12 02:18:24 2001
+@@ -1,5 +1,5 @@
+ include config.inc
+
+-CC = $(CROSS_PREFIX)gcc
++#CC = $(CROSS_PREFIX)gcc
+ CP = cp -f
+ RM = rm -f
+@@ -9,5 +9,5 @@
+ MKDIR = mkdir -p
+ CMP = cmp
+-CFLAGS = -O2 -Wall -DARCH_$(ARCH)
++CFLAGS += -O2 -Wall -DARCH_$(ARCH)
+ LDFLAGS =
+ BINDIR = $(PREFIX)/bin
+@@ -27,4 +27,9 @@
+ MANDIR = $(PREFIX)/share/man/man1
+ RANDOM_DEVICE = \"/dev/srandom\"
++else
++ifeq ($(ARCH), FREEBSD)
++MANDIR = $(PREFIX)/man/man1
++RANDOM_DEVICE = \"/dev/random\"
++endif
+ endif
+ endif
diff --git a/security/tea-total/files/patch-arch.h b/security/tea-total/files/patch-arch.h
new file mode 100644
index 0000000..1c995d0
--- /dev/null
+++ b/security/tea-total/files/patch-arch.h
@@ -0,0 +1,13 @@
+--- arch.h.orig Fri Jan 12 02:20:52 2001
++++ arch.h Fri Jan 12 02:24:00 2001
+@@ -11,6 +11,9 @@
+
++#if defined(ARCH_OPENBSD) || defined(ARCH_FREEBSD)
+ #if defined(ARCH_OPENBSD)
+-
+ #include <machine/types.h>
+ #include <machine/endian.h>
++#else
++#include <sys/inttypes.h>
++#endif
+ typedef uint32_t u32;
diff --git a/security/tea-total/files/patch-config.inc b/security/tea-total/files/patch-config.inc
new file mode 100644
index 0000000..9a4bc1c
--- /dev/null
+++ b/security/tea-total/files/patch-config.inc
@@ -0,0 +1,10 @@
+--- config.inc.orig Tue Jan 2 05:09:08 2001
++++ config.inc Fri Jan 12 02:19:15 2001
+@@ -2,5 +2,6 @@
+ # LINUX should hopefully work for all recent versions of Linux (but not ELKS).
+-ARCH = LINUX
++# ARCH = LINUX
+ # OPENBSD may work for other BSDs. Please let me know if it does.
+ # ARCH = OPENBSD
++ARCH = FREEBSD
+ # ARCH = DJGPP
diff --git a/security/tea-total/files/patch-heap.c b/security/tea-total/files/patch-heap.c
new file mode 100644
index 0000000..c258786
--- /dev/null
+++ b/security/tea-total/files/patch-heap.c
@@ -0,0 +1,6 @@
+--- heap.c.orig Fri Dec 29 16:16:55 2000
++++ heap.c Fri Jan 12 02:26:58 2001
+@@ -45,2 +45,3 @@
+
++#include <sys/types.h>
+ #include <stdlib.h>
diff --git a/security/tea-total/files/patch-huffman.c b/security/tea-total/files/patch-huffman.c
new file mode 100644
index 0000000..8304d17
--- /dev/null
+++ b/security/tea-total/files/patch-huffman.c
@@ -0,0 +1,6 @@
+--- huffman.c.orig Fri Dec 29 16:17:17 2000
++++ huffman.c Fri Jan 12 02:26:23 2001
+@@ -11,2 +11,3 @@
+
++#include <sys/types.h>
+ #include <stdlib.h>
diff --git a/security/tea-total/pkg-plist b/security/tea-total/pkg-plist
index d69c2dc..d9a4312 100644
--- a/security/tea-total/pkg-plist
+++ b/security/tea-total/pkg-plist
@@ -1,3 +1,5 @@
+@comment $FreeBSD$
+bin/teatotal
bin/tea
-bin/tea-keygen
+bin/tea-kgen
bin/untea
OpenPOWER on IntegriCloud