Index: head/irc/hexchat/Makefile =================================================================== --- head/irc/hexchat/Makefile +++ head/irc/hexchat/Makefile @@ -2,9 +2,10 @@ # $FreeBSD$ PORTNAME= hexchat -PORTVERSION= 2.12.3 +PORTVERSION= 2.12.4 CATEGORIES= irc gnome ipv6 -MASTER_SITES= http://dl.hexchat.net/${PORTNAME}/ +MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/archive/ +DISTNAME= v${PORTVERSION} MAINTAINER= pkubaj@anongoth.pl COMMENT= IRC chat program with GTK and Text Frontend @@ -12,12 +13,15 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= devel/autoconf-archive>0:devel/autoconf-archive LIB_DEPENDS= libproxy.so:net/libproxy \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ libfreetype.so:print/freetype2 -USES= gmake desktop-file-utils libtool pkgconfig tar:xz ssl +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USES= autoreconf gmake desktop-file-utils libtool pkgconfig ssl USE_GNOME= cairo gtk20 intltool libxml2 USE_XORG= x11 GNU_CONFIGURE= yes @@ -36,7 +40,7 @@ PORTDOCS= * -OPTIONS_DEFINE= CA_BUNDLE CANBERRA DBUS DOAT DOCS FISHLIM LUA NLS NOTIFY \ +OPTIONS_DEFINE= CA_BUNDLE CANBERRA DBUS DOCS FISHLIM LUA NLS NOTIFY \ PERL PYTHON SOCKS TEXTFE OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS NOTIFY PERL PYTHON @@ -45,7 +49,6 @@ CA_BUNDLE_DESC= Include CA bundle for SSL verification CANBERRA_DESC= Audio support via Libcanberra -DOAT_DESC= Do At plugin FISHLIM_DESC= FiSHLiM plugin TEXTFE_DESC= Text frontend SOCKS_DESC= SOCKS proxy support, FORBIDDEN in FreeBSD 10+ @@ -56,7 +59,6 @@ DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib DBUS_CONFIGURE_ENABLE= dbus DBUS_USE= GNOME=gconf2 -DOAT_CONFIGURE_ENABLE= doat FISHLIM_CONFIGURE_ENABLE=fishlim LUA_CONFIGURE_ENABLE= lua LUA_USES= lua Index: head/irc/hexchat/distinfo =================================================================== --- head/irc/hexchat/distinfo +++ head/irc/hexchat/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1477276791 -SHA256 (hexchat-2.12.3.tar.xz) = 6f2b22372c7a9ed8ffab817079638e8f4178f5f8ba63c89cb3baa01be614f2ba -SIZE (hexchat-2.12.3.tar.xz) = 1577736 +TIMESTAMP = 1481549280 +SHA256 (v2.12.4.tar.gz) = eb9ebe45b1c9e39543517b48d63caa2f2736e82a8dbbd1da96132070752f8084 +SIZE (v2.12.4.tar.gz) = 2780008 Index: head/irc/hexchat/files/patch-src__common__server.c =================================================================== --- head/irc/hexchat/files/patch-src__common__server.c +++ head/irc/hexchat/files/patch-src__common__server.c @@ -1,11 +1,11 @@ ---- src/common/server.c.orig 2014-11-25 18:42:31.000000000 +0100 -+++ src/common/server.c 2015-05-21 15:48:24.162789182 +0200 -@@ -875,7 +875,7 @@ +--- src/common/server.c.orig 2016-12-10 14:30:51 UTC ++++ src/common/server.c +@@ -743,7 +743,7 @@ server_connect_success (server *serv) /* it'll be a memory leak, if connection isn't terminated by server_cleanup() */ serv->ssl = _SSL_socket (serv->ctx, serv->sok); - if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, NULL))) -+ if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, %%CA_BUNDLE%%))) ++ if ((err = _SSL_set_verify (serv->ctx, ssl_cb_verify, "/usr/local/share/certs/ca-root-nss.crt"))) { EMIT_SIGNAL (XP_TE_CONNFAIL, serv->server_session, err, NULL, NULL, NULL, 0); Index: head/irc/hexchat/files/patch-src__common__ssl.c =================================================================== --- head/irc/hexchat/files/patch-src__common__ssl.c +++ head/irc/hexchat/files/patch-src__common__ssl.c @@ -1,6 +1,6 @@ ---- src/common/ssl.c.orig 2014-11-25 18:42:31.000000000 +0100 -+++ src/common/ssl.c 2015-05-21 15:58:31.403630733 +0200 -@@ -320,7 +320,7 @@ +--- src/common/ssl.c.orig 2016-12-10 14:30:51 UTC ++++ src/common/ssl.c +@@ -328,7 +328,7 @@ _SSL_set_verify (SSL_CTX *ctx, void *ver __SSL_fill_err_buf ("SSL_CTX_set_default_verify_paths"); return (err_buf); } @@ -9,7 +9,7 @@ if (cacert) { if (!SSL_CTX_load_verify_locations (ctx, cacert, NULL)) -@@ -329,7 +329,7 @@ +@@ -337,7 +337,7 @@ _SSL_set_verify (SSL_CTX *ctx, void *ver return (err_buf); } } Index: head/irc/hexchat/pkg-plist =================================================================== --- head/irc/hexchat/pkg-plist +++ head/irc/hexchat/pkg-plist @@ -2,7 +2,6 @@ %%TEXTFE%%bin/hexchat-text include/hexchat-plugin.h lib/hexchat/plugins/checksum.so -%%DOAT%%lib/hexchat/plugins/doat.so %%FISHLIM%%lib/hexchat/plugins/fishlim.so %%PERL%%lib/hexchat/plugins/perl.so %%PYTHON%%lib/hexchat/plugins/python.so