74f8cac1f2
21 Oct 2014: - Release 4.1.0 - Modernized autoconf build system - Use constant-time comparisons where needed - Use gcrypt secure memory allocation - Correctly reject attempts to fragment a message into too many pieces - Fix a missing opdata when sending message fragments - Don't lose the first user message when REQUIRE_ENCRYPTION is set - Fix some memory leaks - Correctly check for children contexts' state when forgetting a context - API Changes: - Added API functions otrl_context_find_recent_instance and otrl_context_find_recent_secure_instance.
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2014/10/21 11:46:31 gdt Exp $
|
|
|
|
VERSION= 4.1.0
|
|
DISTNAME= libotr-${VERSION}
|
|
PKGNAME= libotr-${VERSION}
|
|
CATEGORIES= chat security
|
|
MASTER_SITES= http://www.cypherpunks.ca/otr/
|
|
|
|
MAINTAINER= nathanw@NetBSD.org
|
|
# also gdt@NetBSD.org
|
|
HOMEPAGE= http://www.cypherpunks.ca/otr/
|
|
COMMENT= Library for Off-The-Record encrypted messaging
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
# Work around rc tarballs that unpack to bare version.
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-pic
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
# There's an apparent bug in gcc 4.1.3 on i386 (as shipped in
|
|
# netbsd-5). With -O2 and the stack protector (SSP) feature, the
|
|
# function otrl_auth_handle_revealsig is badly miscompiled.
|
|
|
|
#Not apparently relevant, but makes -S output easier to follow.
|
|
#CFLAGS+= -ggdb
|
|
#A way to avoid the bug.
|
|
#CFLAGS+= -O1
|
|
|
|
# Avoid optimization/SSP bug.
|
|
CONFIGURE_ARGS+= --disable-gcc-hardening
|
|
|
|
# This seems irrelevant, but was on the list to check, and thus is
|
|
# left as a hint to others.
|
|
#CONFIGURE_ARGS+= --disable-linker-hardening
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|