aboutsummaryrefslogtreecommitdiffstats
path: root/security/libotr3
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-09-08 14:50:14 +0800
committerdougb <dougb@FreeBSD.org>2012-09-08 14:50:14 +0800
commitb307fb05622187692b1d7d0f3eff404fd94da938 (patch)
treeea693b3f80b95e6723f3ae23489b62daa993a554 /security/libotr3
parentfa23d985b15cc49a8514d989694f675255ac0437 (diff)
downloadfreebsd-ports-gnome-b307fb05622187692b1d7d0f3eff404fd94da938.tar.gz
freebsd-ports-gnome-b307fb05622187692b1d7d0f3eff404fd94da938.tar.zst
freebsd-ports-gnome-b307fb05622187692b1d7d0f3eff404fd94da938.zip
Copy libotr to libotr3 so that ports that still rely on the old,
incompatible version can continue uninterrupted until they upgrade.
Diffstat (limited to 'security/libotr3')
-rw-r--r--security/libotr3/Makefile46
-rw-r--r--security/libotr3/distinfo4
-rw-r--r--security/libotr3/pkg-descr4
-rw-r--r--security/libotr3/pkg-plist27
4 files changed, 81 insertions, 0 deletions
diff --git a/security/libotr3/Makefile b/security/libotr3/Makefile
new file mode 100644
index 000000000000..9e97e19406fb
--- /dev/null
+++ b/security/libotr3/Makefile
@@ -0,0 +1,46 @@
+# ex:ts=8
+# New ports collection makefile for: libotr
+# Date created: 2005-03-20
+# Whom: Conor McDermottroe <ports@mcdermottroe.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libotr
+PORTVERSION= 3.2.1
+# Please do not bump PORTREVISION for this port unless you have
+# confirmed via testing that it is necessary
+PORTREVISION= 0
+CATEGORIES= security
+MASTER_SITES= http://www.cypherpunks.ca/otr/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= dougb@FreeBSD.org
+COMMENT= The portable OTR Messaging Library and toolkit
+
+BUILD_DEPENDS= pkgconf>0:${PORTSDIR}/devel/pkgconf
+LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error \
+ gcrypt:${PORTSDIR}/security/libgcrypt
+
+MAKE_JOBS_SAFE= yes
+
+USE_AUTOTOOLS= autoconf libtool
+USE_LDCONFIG= 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
+
+verify: checksum
+ gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
+
+post-patch:
+ @${REINPLACE_CMD} -e 's#^pkgconfigdir .*#pkgconfigdir = ${PREFIX}/libdata/pkgconfig#' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
+
+.include <bsd.port.mk>
diff --git a/security/libotr3/distinfo b/security/libotr3/distinfo
new file mode 100644
index 000000000000..b1af629e7a25
--- /dev/null
+++ b/security/libotr3/distinfo
@@ -0,0 +1,4 @@
+SHA256 (libotr-3.2.1.tar.gz) = d428eaa584984baa09450cca07742e0ac8fc62401f3a1c556e3025023369cdf4
+SIZE (libotr-3.2.1.tar.gz) = 414684
+SHA256 (libotr-3.2.1.tar.gz.asc) = 8ec08871018ce41bb4f631f5672daeaab72e9ea1b8913b3ddad22b9672a5e2b4
+SIZE (libotr-3.2.1.tar.gz.asc) = 190
diff --git a/security/libotr3/pkg-descr b/security/libotr3/pkg-descr
new file mode 100644
index 000000000000..695d5c127782
--- /dev/null
+++ b/security/libotr3/pkg-descr
@@ -0,0 +1,4 @@
+This is the library and toolkit for Off-the-Record Messaging used by
+the pidgin-otr plugin.
+
+WWW: http://www.cypherpunks.ca/otr/
diff --git a/security/libotr3/pkg-plist b/security/libotr3/pkg-plist
new file mode 100644
index 000000000000..27c9ced871fc
--- /dev/null
+++ b/security/libotr3/pkg-plist
@@ -0,0 +1,27 @@
+bin/otr_mackey
+bin/otr_modify
+bin/otr_parse
+bin/otr_readforge
+bin/otr_remac
+bin/otr_sesskeys
+include/libotr/auth.h
+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/privkey-t.h
+include/libotr/proto.h
+include/libotr/serial.h
+include/libotr/sm.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.4
+libdata/pkgconfig/libotr.pc
+share/aclocal/libotr.m4
+@dirrm include/libotr