summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat/libotr/DESCR19
-rw-r--r--chat/libotr/Makefile16
-rw-r--r--chat/libotr/PLIST27
-rw-r--r--chat/libotr/buildlink3.mk19
-rw-r--r--chat/libotr/distinfo5
5 files changed, 86 insertions, 0 deletions
diff --git a/chat/libotr/DESCR b/chat/libotr/DESCR
new file mode 100644
index 00000000000..2edcb0894ee
--- /dev/null
+++ b/chat/libotr/DESCR
@@ -0,0 +1,19 @@
+This is the portable OTR Messaging Library, as well as the toolkit to
+help you forge messages.
+
+Off-the-Record (OTR) Messaging allows you to have private
+conversations over instant messaging by providing:
+
+Encryption
+ No one else can read your instant messages.
+Authentication
+ You are assured the correspondent is who you think it is.
+Deniability
+ The messages you send do not have digital signatures that are
+ checkable by a third party. Anyone can forge messages after a
+ conversation to make them look like they came from you. However,
+ during a conversation, your correspondent is assured the messages
+ he sees are authentic and unmodified.
+Perfect forward secrecy
+ If you lose control of your private keys, no previous conversation
+ is compromised.
diff --git a/chat/libotr/Makefile b/chat/libotr/Makefile
new file mode 100644
index 00000000000..6d5cc004a07
--- /dev/null
+++ b/chat/libotr/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/24 21:24:12 nathanw Exp $
+
+DISTNAME= libotr-2.0.1
+CATEGORIES= chat security
+MASTER_SITES= http://www.cypherpunks.ca/otr/
+
+MAINTAINER= nathanw@NetBSD.org
+HOMEPAGE= http://www.cypherpunks.ca/otr/
+COMMENT= Library for Off-The-Record encrypted messaging
+
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-pic
+
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/libotr/PLIST b/chat/libotr/PLIST
new file mode 100644
index 00000000000..b9ee140b525
--- /dev/null
+++ b/chat/libotr/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/24 21:24:13 nathanw Exp $
+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.la
+man/man1/otr_mackey.1
+man/man1/otr_modify.1
+man/man1/otr_parse.1
+man/man1/otr_readforge.1
+man/man1/otr_remac.1
+man/man1/otr_sesskeys.1
+man/man1/otr_toolkit.1
+share/aclocal/libotr.m4
+@dirrm include/libotr
diff --git a/chat/libotr/buildlink3.mk b/chat/libotr/buildlink3.mk
new file mode 100644
index 00000000000..32b685b6cac
--- /dev/null
+++ b/chat/libotr/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/03/24 21:24:13 nathanw Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBOTR_BUILDLINK3_MK:= ${LIBOTR_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libotr
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibotr}
+BUILDLINK_PACKAGES+= libotr
+
+.if !empty(LIBOTR_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libotr+= libotr>=2.0.1
+BUILDLINK_PKGSRCDIR.libotr?= ../../security/libotr
+BUILDLINK_DEPMETHOD.libotr?= build
+.endif # LIBOTR_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/chat/libotr/distinfo b/chat/libotr/distinfo
new file mode 100644
index 00000000000..77a4291dfb6
--- /dev/null
+++ b/chat/libotr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/24 21:24:12 nathanw Exp $
+
+SHA1 (libotr-2.0.1.tar.gz) = 92c7c3452ea5d5acf31807b734e93fafcbb0d6eb
+RMD160 (libotr-2.0.1.tar.gz) = e32a75db355fef01705865d298a82a5f93b1634e
+Size (libotr-2.0.1.tar.gz) = 370863 bytes