From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 21 12:30:20 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DE8116A4CE for ; Tue, 21 Dec 2004 12:30:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C33D43D39 for ; Tue, 21 Dec 2004 12:30:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBLCUJYd025560 for ; Tue, 21 Dec 2004 12:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBLCUJDn025557; Tue, 21 Dec 2004 12:30:19 GMT (envelope-from gnats) Resent-Date: Tue, 21 Dec 2004 12:30:19 GMT Resent-Message-Id: <200412211230.iBLCUJDn025557@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Conor McDermottroe Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5854516A4CE for ; Tue, 21 Dec 2004 12:21:45 +0000 (GMT) Received: from ns1.irishbroadband.ie (ns1.irishbroadband.ie [62.231.32.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63D243D3F for ; Tue, 21 Dec 2004 12:21:44 +0000 (GMT) (envelope-from conor@mcdermottroe.com) Received: from mcdermc.mcdermottroe.com (unknown [62.231.57.138]) by ns1.irishbroadband.ie (Postfix) with ESMTP id C94A612FCAF for ; Tue, 21 Dec 2004 12:21:42 +0000 (GMT) Received: by mcdermc.mcdermottroe.com (Postfix, from userid 1001) id 5C58C21F6; Tue, 21 Dec 2004 12:21:42 +0000 (GMT) Message-Id: <20041221122142.5C58C21F6@mcdermc.mcdermottroe.com> Date: Tue, 21 Dec 2004 12:21:42 +0000 (GMT) From: Conor McDermottroe To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/75352: [NEW PORT] security/gaim-otr Off The record plugin for GAIM X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Conor McDermottroe List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 12:30:20 -0000 >Number: 75352 >Category: ports >Synopsis: [NEW PORT] security/gaim-otr Off The record plugin for GAIM >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Dec 21 12:30:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Conor McDermottroe >Release: FreeBSD 5.2.1-RELEASE-p9 i386 >Organization: >Environment: System: FreeBSD oxygen.office.edgespace.net. 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #7: Fri Aug 20 23:02:52 IST 2004 root@mcdermc:/usr/obj/usr/src/sys/MCDERMC i386 >Description: 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. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/security/gaim-otr # /usr/ports/security/gaim-otr/Makefile # /usr/ports/security/gaim-otr/distinfo # /usr/ports/security/gaim-otr/pkg-descr # /usr/ports/security/gaim-otr/pkg-plist # /usr/ports/security/gaim-otr/files # /usr/ports/security/gaim-otr/files/patch-Makefile # /usr/ports/security/gaim-otr/files/patch-libotr-Makefile # /usr/ports/security/gaim-otr/files/patch-libotr-privkey # /usr/ports/security/gaim-otr/files/patch-gaim-otr-Makefile # /usr/ports/security/gaim-otr/files/patch-libotr-context # /usr/ports/security/gaim-otr/files/patch-tools-Makefile # echo c - /usr/ports/security/gaim-otr mkdir -p /usr/ports/security/gaim-otr > /dev/null 2>&1 echo x - /usr/ports/security/gaim-otr/Makefile sed 's/^X//' >/usr/ports/security/gaim-otr/Makefile << 'END-of-/usr/ports/security/gaim-otr/Makefile' X# New ports collection makefile for: gaim-otr X# Date created: 2004-12-17 X# Whom: Conor McDermottroe X# X# $FreeBSD$ X# X XPORTNAME= otr XPORTVERSION= 1.0.1 XCATEGORIES= security net XMASTER_SITES= http://www.cypherpunks.ca/otr/ XPKGNAMEPREFIX= gaim- XDISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} X XMAINTAINER= ports@mcdermottroe.com XCOMMENT= Allows deniable private conversations using GAIM X XBUILD_DEPENDS= ${X11BASE}/include/gaim/config.h:${PORTSDIR}/net/gaim \ X pkg-config:${PORTSDIR}/devel/pkgconfig XRUN_DEPENDS= gaim:${PORTSDIR}/net/gaim XLIB_DEPENDS= gpg-error:${PORTSDIR}/security/libgpg-error \ X gcrypt:${PORTSDIR}/security/libgcrypt X XUSE_X_PREFIX= yes XUSE_GMAKE= yes XUSE_GNOME= glib20 gtk20 XUSE_REINPLACE= yes X XMAN1= otr_toolkit.1 XMLINKS= otr_toolkit.1 otr_parse.1 \ X otr_toolkit.1 otr_sesskeys.1 \ X otr_toolkit.1 otr_mackey.1 \ X otr_toolkit.1 otr_readforge.1 \ X otr_toolkit.1 otr_modify.1 \ X otr_toolkit.1 otr_remac.1 X Xpost-patch: X ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ X ${WRKSRC}/gaim-otr/Makefile \ X ${WRKSRC}/libotr/Makefile \ X ${WRKSRC}/tools/Makefile X ${REINPLACE_CMD} -e "s|%%X11BASE%%|${X11BASE}|g" \ X ${WRKSRC}/gaim-otr/Makefile X Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/gaim-otr.so ${PREFIX}/lib/gaim X ${INSTALL_MAN} ${WRKSRC}/tools/otr_toolkit.1 ${PREFIX}/man/man1 X. for P in otr_parse otr_sesskeys otr_mackey otr_readforge otr_modify otr_remac X ${INSTALL_PROGRAM} ${WRKSRC}/${P} ${PREFIX}/bin X. endfor X X.include END-of-/usr/ports/security/gaim-otr/Makefile echo x - /usr/ports/security/gaim-otr/distinfo sed 's/^X//' >/usr/ports/security/gaim-otr/distinfo << 'END-of-/usr/ports/security/gaim-otr/distinfo' XMD5 (gaim-otr-1.0.1.tar.gz) = efc22af7c4a17448da75419bbaeb80d6 XSIZE (gaim-otr-1.0.1.tar.gz) = 76536 END-of-/usr/ports/security/gaim-otr/distinfo echo x - /usr/ports/security/gaim-otr/pkg-descr sed 's/^X//' >/usr/ports/security/gaim-otr/pkg-descr << 'END-of-/usr/ports/security/gaim-otr/pkg-descr' XOff-the-Record (OTR) Messaging allows you to have private Xconversations over instant messaging by providing: X X* Encryption X No one else can read your instant messages. X* Authentication X You are assured the correspondent is who you think it is. X* Deniability X The messages you send do not have digital signatures that X are checkable by a third party. Anyone can forge messages X after a conversation to make them look like they came from X you. However, during a conversation, your correspondent is X assured the messages he sees are authentic and unmodified. X* Perfect forward secrecy X If you lose control of your private keys, no previous X conversation is compromised. X XWWW: http://www.cypherpunks.ca/otr/ END-of-/usr/ports/security/gaim-otr/pkg-descr echo x - /usr/ports/security/gaim-otr/pkg-plist sed 's/^X//' >/usr/ports/security/gaim-otr/pkg-plist << 'END-of-/usr/ports/security/gaim-otr/pkg-plist' Xlib/gaim/gaim-otr.so Xbin/otr_parse Xbin/otr_sesskeys Xbin/otr_mackey Xbin/otr_readforge Xbin/otr_modify Xbin/otr_remac END-of-/usr/ports/security/gaim-otr/pkg-plist echo c - /usr/ports/security/gaim-otr/files mkdir -p /usr/ports/security/gaim-otr/files > /dev/null 2>&1 echo x - /usr/ports/security/gaim-otr/files/patch-Makefile sed 's/^X//' >/usr/ports/security/gaim-otr/files/patch-Makefile << 'END-of-/usr/ports/security/gaim-otr/files/patch-Makefile' X--- Makefile.bak Fri Dec 17 16:19:08 2004 X+++ Makefile Fri Dec 17 16:19:16 2004 X@@ -1,4 +1,4 @@ X all install clean distclean: X- make -C libotr $@ X- make -C gaim-otr $@ X- make -C tools $@ X+ gmake -C libotr $@ X+ gmake -C gaim-otr $@ X+ gmake -C tools $@ END-of-/usr/ports/security/gaim-otr/files/patch-Makefile echo x - /usr/ports/security/gaim-otr/files/patch-libotr-Makefile sed 's/^X//' >/usr/ports/security/gaim-otr/files/patch-libotr-Makefile << 'END-of-/usr/ports/security/gaim-otr/files/patch-libotr-Makefile' X--- libotr/Makefile.bak Fri Dec 17 16:31:14 2004 X+++ libotr/Makefile Fri Dec 17 16:31:53 2004 X@@ -1,5 +1,5 @@ X CC ?= gcc X-override CFLAGS += -g -Wall -fPIC X+CFLAGS += -g -Wall -fPIC -I %%LOCALBASE%%/include X LDFLAGS ?= -lgcrypt -g X X all: libotr.a END-of-/usr/ports/security/gaim-otr/files/patch-libotr-Makefile echo x - /usr/ports/security/gaim-otr/files/patch-libotr-privkey sed 's/^X//' >/usr/ports/security/gaim-otr/files/patch-libotr-privkey << 'END-of-/usr/ports/security/gaim-otr/files/patch-libotr-privkey' X--- libotr/privkey.c.bak Fri Dec 17 16:24:41 2004 X+++ libotr/privkey.c Fri Dec 17 16:24:54 2004 X@@ -24,7 +24,7 @@ X #include X X /* libgcrypt headers */ X-#include "gcrypt.h" X+#include X X /* libotr headers */ X #include "proto.h" END-of-/usr/ports/security/gaim-otr/files/patch-libotr-privkey echo x - /usr/ports/security/gaim-otr/files/patch-gaim-otr-Makefile sed 's/^X//' >/usr/ports/security/gaim-otr/files/patch-gaim-otr-Makefile << 'END-of-/usr/ports/security/gaim-otr/files/patch-gaim-otr-Makefile' X--- gaim-otr/Makefile.bak Fri Dec 17 17:11:49 2004 X+++ gaim-otr/Makefile Fri Dec 17 17:12:57 2004 X@@ -1,5 +1,5 @@ X # Replace this with the path to the GAIM headers X-GAIM_SOURCE ?= /usr/include/gaim X+GAIM_SOURCE ?= %%X11BASE%%/include/gaim X X # If you don't have pkg-config, put the appropriate -I entry on the next line X GTK_HDRS ?= `pkg-config --cflags glib-2.0 gtk+-2.0` X@@ -19,10 +19,10 @@ X all: $(TARGET) X X $(TARGET): otr-plugin.o ui.o dialogs.o $(LIBOTR_DIR)/libotr.a X- $(CC) -g -shared -module -avoid-version $^ -o $@ -lgcrypt X+ $(CC) -g -shared -module -avoid-version -L %%LOCALBASE%%/lib $^ -o $@ -lgcrypt X X $(LIBOTR_DIR)/libotr.a: FORCE X- make -C $(LIBOTR_DIR) libotr.a X+ gmake -C $(LIBOTR_DIR) libotr.a X X install: all X install -d $(INSTALLDIR) END-of-/usr/ports/security/gaim-otr/files/patch-gaim-otr-Makefile echo x - /usr/ports/security/gaim-otr/files/patch-libotr-context sed 's/^X//' >/usr/ports/security/gaim-otr/files/patch-libotr-context << 'END-of-/usr/ports/security/gaim-otr/files/patch-libotr-context' X--- libotr/context.h.bak Fri Dec 17 17:14:42 2004 X+++ libotr/context.h Fri Dec 17 17:14:53 2004 X@@ -20,7 +20,7 @@ X #ifndef __CONTEXT_H__ X #define __CONTEXT_H__ X X-#include "gcrypt.h" X+#include X #include "dh.h" X X typedef enum { END-of-/usr/ports/security/gaim-otr/files/patch-libotr-context echo x - /usr/ports/security/gaim-otr/files/patch-tools-Makefile sed 's/^X//' >/usr/ports/security/gaim-otr/files/patch-tools-Makefile << 'END-of-/usr/ports/security/gaim-otr/files/patch-tools-Makefile' X--- tools/Makefile.bak Fri Dec 17 17:18:13 2004 X+++ tools/Makefile Fri Dec 17 17:20:57 2004 X@@ -9,7 +9,7 @@ X INSTALLMANDIR = $(DESTDIR)/usr/share/man/man1 X X CC ?= gcc X-override CFLAGS += -g -Wall -I$(LIBOTR_DIR) -fPIC X+override CFLAGS += -g -Wall -I$(LIBOTR_DIR) -I%%LOCALBASE%%/include -L%%LOCALBASE%%/lib -fPIC X X TARGETS = $(TARGET_DIR)/otr_parse \ X $(TARGET_DIR)/otr_sesskeys \ X@@ -21,25 +21,25 @@ X all: $(TARGETS) X X $(TARGET_DIR)/otr_parse: otr_parse.o readotr.o parse.o sha1hmac.o $(LIBOTR_DIR)/libotr.a X- $(CC) -g $^ -o $@ -lgcrypt X+ $(CC) $(CFLAGS) $^ -o $@ -lgcrypt X X $(TARGET_DIR)/otr_sesskeys: otr_sesskeys.o sesskeys.o parse.o sha1hmac.o $(LIBOTR_DIR)/libotr.a X- $(CC) -g $^ -o $@ -lgcrypt X+ $(CC) $(CFLAGS) $^ -o $@ -lgcrypt X X $(TARGET_DIR)/otr_mackey: otr_mackey.o sesskeys.o parse.o sha1hmac.o $(LIBOTR_DIR)/libotr.a X- $(CC) -g $^ -o $@ -lgcrypt X+ $(CC) $(CFLAGS) $^ -o $@ -lgcrypt X X $(TARGET_DIR)/otr_readforge: otr_readforge.o readotr.o sesskeys.o parse.o sha1hmac.o aes.o ctrmode.o $(LIBOTR_DIR)/libotr.a X- $(CC) -g $^ -o $@ -lgcrypt X+ $(CC) $(CFLAGS) $^ -o $@ -lgcrypt X X $(TARGET_DIR)/otr_modify: otr_modify.o readotr.o parse.o sha1hmac.o $(LIBOTR_DIR)/libotr.a X- $(CC) -g $^ -o $@ -lgcrypt X+ $(CC) $(CFLAGS) $^ -o $@ -lgcrypt X X $(TARGET_DIR)/otr_remac: otr_remac.o parse.o sha1hmac.o $(LIBOTR_DIR)/libotr.a X- $(CC) -g $^ -o $@ -lgcrypt X+ $(CC) $(CFLAGS) $^ -o $@ -lgcrypt X X $(LIBOTR_DIR)/libotr.a: FORCE X- make -C $(LIBOTR_DIR) libotr.a X+ gmake -C $(LIBOTR_DIR) libotr.a X X install: all X install -d $(INSTALLBINDIR) END-of-/usr/ports/security/gaim-otr/files/patch-tools-Makefile exit >Release-Note: >Audit-Trail: >Unformatted: