Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 13:49:23 +0000 (UTC)
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363153 - in head/irc/irssi-otr: . files
Message-ID:  <201407281349.s6SDnNFi065128@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ashish
Date: Mon Jul 28 13:49:23 2014
New Revision: 363153
URL: http://svnweb.freebsd.org/changeset/ports/363153
QAT: https://qat.redports.org/buildarchive/r363153/

Log:
  - Update to 1.0.0
  - Depend on security/libotr, instead of security/libotr3
  - Fix WWW link in pkg-descr
  
  PR:		192026
  Submitted by:	Lawrence Chen <beastie at tardisi.com>

Added:
  head/irc/irssi-otr/files/patch-configure.ac   (contents, props changed)
  head/irc/irssi-otr/files/patch-help_Makefile.am   (contents, props changed)
  head/irc/irssi-otr/files/patch-src_Makefile.am   (contents, props changed)
Deleted:
  head/irc/irssi-otr/files/patch-CMakeLists.txt
Modified:
  head/irc/irssi-otr/Makefile
  head/irc/irssi-otr/distinfo
  head/irc/irssi-otr/pkg-descr

Modified: head/irc/irssi-otr/Makefile
==============================================================================
--- head/irc/irssi-otr/Makefile	Mon Jul 28 13:41:55 2014	(r363152)
+++ head/irc/irssi-otr/Makefile	Mon Jul 28 13:49:23 2014	(r363153)
@@ -2,30 +2,38 @@
 # $FreeBSD$
 
 PORTNAME=	irssi-otr
-PORTVERSION=	0.3
-PORTREVISION=	9
+PORTVERSION=	1.0.0
 CATEGORIES=	irc
-MASTER_SITES=	ftp://download.tuxfamily.org/${MASTER_SITE_SUBDIR}/
-MASTER_SITE_SUBDIR=	irssiotr
+MASTER_SITES=	GH
 
 MAINTAINER=	ashish@FreeBSD.org
 COMMENT=	Plugin for irssi for Off-the-Record (OTR) messaging
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 BUILD_DEPENDS=	${LOCALBASE}/include/irssi/src/common.h:${PORTSDIR}/irc/irssi \
 		${LOCALBASE}/bin/libgcrypt-config:${PORTSDIR}/security/libgcrypt
-LIB_DEPENDS=	libotr.so.2:${PORTSDIR}/security/libotr3 \
+LIB_DEPENDS=	libotr.so:${PORTSDIR}/security/libotr \
 		libgcrypt.so:${PORTSDIR}/security/libgcrypt
 RUN_DEPENDS=	irssi:${PORTSDIR}/irc/irssi
 
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-USES=		cmake pkgconfig
+USES=		pkgconfig
 USE_LDCONFIG=	yes
 USE_GNOME=	glib20
+USE_GITHUB=	yes
+GH_ACCOUNT=	cryptodotis
+GH_PROJECT=	${PORTNAME}
+GH_COMMIT=	f4ecd19
+GH_TAGNAME=	v${PORTVERSION}
+
+USE_AUTOTOOLS=	autoconf aclocal libtoolize automake
+ACLOCAL_ARGS=	-I config
+AUTOMAKE_ARGS=	--add-missing --no-force
+
+CONFIGURE_ARGS=	--prefix=${LOCALBASE} --with-libotr-inc-prefix=${LOCALBASE}/include
 
 PLIST_FILES=	lib/irssi/modules/libotr.so \
-		%%DOCSDIR%%/LICENSE %%DOCSDIR%%/README
-PLIST_DIRS=	%%DOCSDIR%%
+		share/irssi/help/otr
 
 .include <bsd.port.mk>

Modified: head/irc/irssi-otr/distinfo
==============================================================================
--- head/irc/irssi-otr/distinfo	Mon Jul 28 13:41:55 2014	(r363152)
+++ head/irc/irssi-otr/distinfo	Mon Jul 28 13:49:23 2014	(r363153)
@@ -1,2 +1,2 @@
-SHA256 (irssi-otr-0.3.tar.gz) = 816cb13794c0efa33ee1618a4e926b3f1c3587c675ad3cc44b4f8de3b1b2c60e
-SIZE (irssi-otr-0.3.tar.gz) = 33514
+SHA256 (irssi-otr-1.0.0.tar.gz) = e9ab8f170b83b7bfb6d693e39fdbe59e4b98749253ec30988e41e9dc4fb21cd7
+SIZE (irssi-otr-1.0.0.tar.gz) = 39494

Added: head/irc/irssi-otr/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/irssi-otr/files/patch-configure.ac	Mon Jul 28 13:49:23 2014	(r363153)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2014-02-12 18:50:45.000000000 -0600
++++ configure.ac	2014-07-21 17:07:58.763319403 -0500
+@@ -71,7 +71,7 @@
+ 
+ # Hardcoded here since irssi only searches in $HOME/.irssi/modules or this path
+ # which is unfortunate...
+-IRSSI_MODULE_DIR="/usr/lib/irssi/modules"
++IRSSI_MODULE_DIR="/usr/local/lib/irssi/modules"
+ AC_SUBST(IRSSI_MODULE_DIR)
+ 
+ AC_CONFIG_FILES([

Added: head/irc/irssi-otr/files/patch-help_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/irssi-otr/files/patch-help_Makefile.am	Mon Jul 28 13:49:23 2014	(r363153)
@@ -0,0 +1,10 @@
+--- help/Makefile.am.orig	2014-02-12 18:50:45.000000000 -0600
++++ help/Makefile.am	2014-07-21 17:08:26.543319563 -0500
+@@ -1,6 +1,6 @@
+ # The day Irssi will be able to check in $(prefix), this will change. Until
+ # then, it's hardcoded.
+-helpdir = /usr/share/irssi/help
++helpdir = /usr/local/share/irssi/help
+ help_DATA = otr
+ 
+ EXTRA_DIST = otr

Added: head/irc/irssi-otr/files/patch-src_Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/irssi-otr/files/patch-src_Makefile.am	Mon Jul 28 13:49:23 2014	(r363153)
@@ -0,0 +1,10 @@
+--- src/Makefile.am.orig	2014-02-12 18:50:45.000000000 -0600
++++ src/Makefile.am	2014-07-21 16:43:34.653319339 -0500
+@@ -1,6 +1,6 @@
+ AM_CFLAGS = $(LIBOTR_CFLAGS) $(LIBGCRYPT_CFLAGS) $(PACKAGE_FLAGS)
+ 
+-IRSSI_DIST=/usr/include/irssi
++IRSSI_DIST=/usr/local/include/irssi
+ IRSSI_INCLUDE = -I$(IRSSI_DIST) \
+ 				-I$(IRSSI_DIST)/src \
+ 				-I$(IRSSI_DIST)/src/fe-common/core \

Modified: head/irc/irssi-otr/pkg-descr
==============================================================================
--- head/irc/irssi-otr/pkg-descr	Mon Jul 28 13:41:55 2014	(r363152)
+++ head/irc/irssi-otr/pkg-descr	Mon Jul 28 13:49:23 2014	(r363153)
@@ -1,4 +1,4 @@
 irssi-otr provides Off-the-Record Messaging (OTR) support for
 the irssi Internet Relay Chat (IRC) client.
 
-WWW:	http://irssi-otr.tuxfamily.org/
+WWW: https://github.com/cryptodotis/irssi-otr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407281349.s6SDnNFi065128>