From acf828f813d80454e293e7cf0de12daefa3344c8 Mon Sep 17 00:00:00 2001
From: Alexey Dokuchaev <danfe@FreeBSD.org>
Date: Tue, 19 Apr 2005 09:14:11 +0000
Subject: Add libotr 2.0.1, the portable OTR Messaging Library and toolkit.

PR:		ports/79100
Submitted by:	Conor McDermottroe <ports(at)mcdermottroe.com>
---
 security/Makefile         |  1 +
 security/libotr/Makefile  | 32 ++++++++++++++++++++++++++++++++
 security/libotr/distinfo  |  2 ++
 security/libotr/pkg-descr |  4 ++++
 security/libotr/pkg-plist | 20 ++++++++++++++++++++
 5 files changed, 59 insertions(+)
 create mode 100644 security/libotr/Makefile
 create mode 100644 security/libotr/distinfo
 create mode 100644 security/libotr/pkg-descr
 create mode 100644 security/libotr/pkg-plist

diff --git a/security/Makefile b/security/Makefile
index b72a42aaa7e4..b1aa33ea3144 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -187,6 +187,7 @@
     SUBDIR += libksba
     SUBDIR += libmcrypt
     SUBDIR += libntlm
+    SUBDIR += libotr
     SUBDIR += libparanoia
     SUBDIR += libprelude
     SUBDIR += libsectok
diff --git a/security/libotr/Makefile b/security/libotr/Makefile
new file mode 100644
index 000000000000..f4a04add3b00
--- /dev/null
+++ b/security/libotr/Makefile
@@ -0,0 +1,32 @@
+# ex:ts=8
+# New ports collection makefile for:	libotr
+# Date created:				2005-03-20
+# Whom:					Conor McDermottroe <ports@mcdermottroe.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	libotr
+PORTVERSION=	2.0.1
+CATEGORIES=	security
+MASTER_SITES=	http://www.cypherpunks.ca/otr/
+
+MAINTAINER=	ports@mcdermottroe.com
+COMMENT=	The portable OTR Messaging Library and toolkit
+
+LIB_DEPENDS=	gpg-error:${PORTSDIR}/security/libgpg-error \
+		gcrypt:${PORTSDIR}/security/libgcrypt
+
+USE_AUTOCONF_VER=259
+USE_LIBTOOL_VER=15
+INSTALLS_SHLIB=	yes
+
+MAN1=		otr_toolkit.1
+MLINKS=		otr_toolkit.1 otr_parse.1 \
+		otr_toolkit.1 otr_sesskeys.1 \
+		otr_toolkit.1 otr_mackey.1 \
+		otr_toolkit.1 otr_readforge.1 \
+		otr_toolkit.1 otr_modify.1 \
+		otr_toolkit.1 otr_remac.1
+
+.include <bsd.port.mk>
diff --git a/security/libotr/distinfo b/security/libotr/distinfo
new file mode 100644
index 000000000000..5325f1be4d31
--- /dev/null
+++ b/security/libotr/distinfo
@@ -0,0 +1,2 @@
+MD5 (libotr-2.0.1.tar.gz) = 9b24fa1fef1ea5d2a245099a2ef0c5a5
+SIZE (libotr-2.0.1.tar.gz) = 370863
diff --git a/security/libotr/pkg-descr b/security/libotr/pkg-descr
new file mode 100644
index 000000000000..3b7c59820fab
--- /dev/null
+++ b/security/libotr/pkg-descr
@@ -0,0 +1,4 @@
+This is the library and toolkit for Off-the-Record Messaging used by
+the gaim-otr GAIM plugin.
+
+WWW: http://www.cypherpunks.ca/otr/
diff --git a/security/libotr/pkg-plist b/security/libotr/pkg-plist
new file mode 100644
index 000000000000..d4c4cd5f8885
--- /dev/null
+++ b/security/libotr/pkg-plist
@@ -0,0 +1,20 @@
+bin/otr_mackey
+bin/otr_modify
+bin/otr_parse
+bin/otr_readforge
+bin/otr_remac
+bin/otr_sesskeys
+include/libotr/b64.h
+include/libotr/context.h
+include/libotr/dh.h
+include/libotr/mem.h
+include/libotr/message.h
+include/libotr/privkey.h
+include/libotr/proto.h
+include/libotr/tlv.h
+include/libotr/userstate.h
+include/libotr/version.h
+lib/libotr.a
+lib/libotr.la
+lib/libotr.so
+lib/libotr.so.1
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0