aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorcs <cs@FreeBSD.org>2013-10-27 05:36:26 +0800
committercs <cs@FreeBSD.org>2013-10-27 05:36:26 +0800
commit45dbe9d80538b040aeb39bd62e90e415f8d3c90b (patch)
tree008b89543e4b4ade1d6ba1e41edd46cf48535101 /security
parentcaff1dc99efadb32c4364e9dbad833acb280e12b (diff)
downloadfreebsd-ports-gnome-45dbe9d80538b040aeb39bd62e90e415f8d3c90b.tar.gz
freebsd-ports-gnome-45dbe9d80538b040aeb39bd62e90e415f8d3c90b.tar.zst
freebsd-ports-gnome-45dbe9d80538b040aeb39bd62e90e415f8d3c90b.zip
- security/libotr: update to new LIB_DEPENDS, adjust conflicts
- security/libotr3: update to new LIB_DEPENDS, adjust conflicts, add staging support
Diffstat (limited to 'security')
-rw-r--r--security/libotr/Makefile8
-rw-r--r--security/libotr3/Makefile23
-rw-r--r--security/libotr3/pkg-descr2
-rw-r--r--security/libotr3/pkg-plist7
4 files changed, 21 insertions, 19 deletions
diff --git a/security/libotr/Makefile b/security/libotr/Makefile
index e28247f1b6ee..a425a7a284f5 100644
--- a/security/libotr/Makefile
+++ b/security/libotr/Makefile
@@ -14,11 +14,13 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= cs@FreeBSD.org
COMMENT= Portable OTR Messaging Library and toolkit
+LICENSE= LGPL21
+
BUILD_DEPENDS= pkgconf>0:${PORTSDIR}/devel/pkgconf
-LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error \
- gcrypt:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS= libgpg-error.so:${PORTSDIR}/security/libgpg-error \
+ libgcrypt.so:${PORTSDIR}/security/libgcrypt
-CONFLICTS= libotr-3.*
+CONFLICTS= libotr3-*
USE_AUTOTOOLS= autoconf libtool
USE_LDCONFIG= yes
diff --git a/security/libotr3/Makefile b/security/libotr3/Makefile
index 52632b584a25..ea852f26aca5 100644
--- a/security/libotr3/Makefile
+++ b/security/libotr3/Makefile
@@ -6,36 +6,29 @@ PORTVERSION= 3.2.1
# confirmed via testing that it is necessary
PORTREVISION= 1
CATEGORIES= security net-im net
-MASTER_SITES= http://www.cypherpunks.ca/otr/
+MASTER_SITES= http://www.c-s.li/ports/ \
+ https://otr.cypherpunks.ca/
+PKGNAMESUFFIX= 3
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= cs@FreeBSD.org
COMMENT= 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
+LICENSE= LGPL21
+BUILD_DEPENDS= pkgconf:${PORTSDIR}/devel/pkgconf
+LIB_DEPENDS= libgpg-error.so:${PORTSDIR}/security/libgpg-error \
+ libgcrypt.so:${PORTSDIR}/security/libgcrypt
-NO_LATEST_LINK= yes
-CONFLICTS= libotr-4.*
+CONFLICTS= libotr-*
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
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's#^pkgconfigdir .*#pkgconfigdir = ${PREFIX}/libdata/pkgconfig#' \
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.am
diff --git a/security/libotr3/pkg-descr b/security/libotr3/pkg-descr
index 695d5c127782..6aca00c402a7 100644
--- a/security/libotr3/pkg-descr
+++ b/security/libotr3/pkg-descr
@@ -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/
diff --git a/security/libotr3/pkg-plist b/security/libotr3/pkg-plist
index 27c9ced871fc..a4e3c4b23ec0 100644
--- a/security/libotr3/pkg-plist
+++ b/security/libotr3/pkg-plist
@@ -23,5 +23,12 @@ lib/libotr.la
lib/libotr.so
lib/libotr.so.4
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
@dirrm include/libotr