[Midnightbsd-cvs] mports [18297] trunk/security/libotr: libotr 4.1.0

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Mar 24 08:30:05 EDT 2015


Revision: 18297
          http://svnweb.midnightbsd.org/mports/?rev=18297
Author:   laffer1
Date:     2015-03-24 08:30:04 -0400 (Tue, 24 Mar 2015)
Log Message:
-----------
libotr 4.1.0

Modified Paths:
--------------
    trunk/security/libotr/Makefile
    trunk/security/libotr/distinfo
    trunk/security/libotr/pkg-descr
    trunk/security/libotr/pkg-plist

Modified: trunk/security/libotr/Makefile
===================================================================
--- trunk/security/libotr/Makefile	2015-03-24 12:28:24 UTC (rev 18296)
+++ trunk/security/libotr/Makefile	2015-03-24 12:30:04 UTC (rev 18297)
@@ -1,44 +1,36 @@
 # $MidnightBSD$
 
 PORTNAME=	libotr
-PORTVERSION=	4.0.0
-CATEGORIES=	security
-MASTER_SITES=	http://www.cypherpunks.ca/otr/
+PORTVERSION=	4.1.0
+CATEGORIES=	security net-im net
+MASTER_SITES=	https://otr.cypherpunks.ca/ \
+		http://www.c-s.li/ports/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Portable OTR Messaging Library and toolkit
-LICENSE=	gpl2
 
-LIB_DEPENDS=	gpg-error.0:${PORTSDIR}/security/libgpg-error \
-		gcrypt:${PORTSDIR}/security/libgcrypt
+LICENSE=	lgpl2.1
 
-USE_GNOME=	pkgconfig
-USE_AUTOTOOLS=	autoconf libtool
+LIB_DEPENDS=	libgpg-error.so:${PORTSDIR}/security/libgpg-error \
+		libgcrypt.so:${PORTSDIR}/security/libgcrypt
+
+CONFLICTS=	libotr3-*
+
+GNU_CONFIGURE=	yes
+USES=		libtool pathfix cpe
 USE_LDCONFIG=	yes
-MAKE_JOBS_SAFE=	yes
+INSTALL_TARGET=	install-strip
+CPE_VENDOR=	cypherpunks
 
-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.options.mk>
 
+.if ${ARCH} == i386
+LDFLAGS+=	-lssp_nonshared
+.endif
+
 verify: checksum
 	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
 
-.include <bsd.port.pre.mk>
-
-post-patch:
-	@${REINPLACE_CMD} -e 's#^pkgconfigdir .*#pkgconfigdir = ${PREFIX}/libdata/pkgconfig#' \
-	    ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
-
-.if ${OSVERSION} >= 4016
-	@${REINPLACE_CMD} -e 's#OTR_CHECK_CFLAGS(.*stack-protector.*#dnl &#' \
-	    ${WRKSRC}/configure.ac
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: trunk/security/libotr/distinfo
===================================================================
--- trunk/security/libotr/distinfo	2015-03-24 12:28:24 UTC (rev 18296)
+++ trunk/security/libotr/distinfo	2015-03-24 12:30:04 UTC (rev 18297)
@@ -1,4 +1,4 @@
-SHA256 (libotr-4.0.0.tar.gz) = 3f911994409898e74527730745ef35ed75c352c695a1822a677a34b2cf0293b4
-SIZE (libotr-4.0.0.tar.gz) = 441441
-SHA256 (libotr-4.0.0.tar.gz.asc) = 577f6fb9fbc8a33f45c5495ce46d41e55af84da56a6530bf113c6ea8d19b5c3c
-SIZE (libotr-4.0.0.tar.gz.asc) = 190
+SHA256 (libotr-4.1.0.tar.gz) = 4fdb891940ec89d300190a98f69a9138248dcb8c8d337633fb981b8d0a9cd930
+SIZE (libotr-4.1.0.tar.gz) = 576771
+SHA256 (libotr-4.1.0.tar.gz.asc) = d77b093c282235977bbf8050a310f64f197e6ed05fb432b516e9e2dab272077b
+SIZE (libotr-4.1.0.tar.gz.asc) = 190

Modified: trunk/security/libotr/pkg-descr
===================================================================
--- trunk/security/libotr/pkg-descr	2015-03-24 12:28:24 UTC (rev 18296)
+++ trunk/security/libotr/pkg-descr	2015-03-24 12:30:04 UTC (rev 18297)
@@ -1,4 +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/
+WWW: https://otr.cypherpunks.ca/

Modified: trunk/security/libotr/pkg-plist
===================================================================
--- trunk/security/libotr/pkg-plist	2015-03-24 12:28:24 UTC (rev 18296)
+++ trunk/security/libotr/pkg-plist	2015-03-24 12:30:04 UTC (rev 18297)
@@ -21,9 +21,16 @@
 include/libotr/userstate.h
 include/libotr/version.h
 lib/libotr.a
-lib/libotr.la
 lib/libotr.so
 lib/libotr.so.5
+lib/libotr.so.5.1.0
 libdata/pkgconfig/libotr.pc
+man/man1/otr_mackey.1.gz
+man/man1/otr_modify.1.gz
+man/man1/otr_parse.1.gz
+man/man1/otr_readforge.1.gz
+man/man1/otr_remac.1.gz
+man/man1/otr_sesskeys.1.gz
+man/man1/otr_toolkit.1.gz
 share/aclocal/libotr.m4
- at dirrm include/libotr
+ at dir include/libotr



More information about the Midnightbsd-cvs mailing list