Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 10:38:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308521 - in head/www/aria2: . files
Message-ID:  <201212091038.qB9AcmXj033459@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Dec  9 10:38:47 2012
New Revision: 308521
URL: http://svnweb.freebsd.org/changeset/ports/308521

Log:
  - Update to 1.16.0
  - Cleanup Makefile header
  
  Changes:	http://sourceforge.net/projects/aria2/files/stable/aria2-1.16.0/README.rst/view
  Feature safe:	yes

Added:
  head/www/aria2/files/
  head/www/aria2/files/patch-src-LibsslTLSContext.cc   (contents, props changed)
Modified:
  head/www/aria2/Makefile
  head/www/aria2/distinfo

Modified: head/www/aria2/Makefile
==============================================================================
--- head/www/aria2/Makefile	Sun Dec  9 10:35:49 2012	(r308520)
+++ head/www/aria2/Makefile	Sun Dec  9 10:38:47 2012	(r308521)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	aria2
-# Date created:		1 May 2006
-# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	aria2
-PORTVERSION=	1.15.2
+PORTVERSION=	1.16.0
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
 
@@ -52,9 +48,16 @@ PLIST_DIRS=	%%DOCSDIR%%/xmlrpc \
 .if ${PORT_OPTIONS:MNLS}
 CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE}
 USE_GETTEXT=	yes
-LANGS=		ar bg ca da de el en@boldquot en@quot es fi fr he hu id it ja \
-		ko nl nn pl pt pt_BR ru sk sr sv th tr uk vi zh_CN zh_TW
-PLIST_FILES+=	${LANGS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2.mo|}
+LANGS=		en@boldquot en@quot fil kk oc zh_HK
+LANGS_MTREE=	ar bg bn ca da de el es fa fi fr he hr hu id it ja ko ms nb nl \
+		nn pl pt pt_BR ro ru sk sr sv th tr uk vi zh_CN zh_TW
+.for lang in ${LANGS} ${LANGS_MTREE}
+PLIST_FILES+=	share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
+.endfor
+.for lang in ${LANGS}
+PLIST_DIRSTRY+=	share/locale/${lang}/LC_MESSAGES \
+		share/locale/${lang}
+.endfor
 .else
 CONFIGURE_ARGS+=--disable-nls
 .endif

Modified: head/www/aria2/distinfo
==============================================================================
--- head/www/aria2/distinfo	Sun Dec  9 10:35:49 2012	(r308520)
+++ head/www/aria2/distinfo	Sun Dec  9 10:38:47 2012	(r308521)
@@ -1,2 +1,2 @@
-SHA256 (aria2-1.15.2.tar.bz2) = 6400431f4248f7a779ae8216ec2711b56ad7481fc659f06db1f22ed97b260836
-SIZE (aria2-1.15.2.tar.bz2) = 2043212
+SHA256 (aria2-1.16.0.tar.bz2) = 3d5760f5aa43b5d1199e373f93d704bd38f973706edd3b1661cc4ebe3fed0f1e
+SIZE (aria2-1.16.0.tar.bz2) = 2062545

Added: head/www/aria2/files/patch-src-LibsslTLSContext.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/aria2/files/patch-src-LibsslTLSContext.cc	Sun Dec  9 10:38:47 2012	(r308521)
@@ -0,0 +1,15 @@
+--- src/LibsslTLSContext.cc.orig	2012-12-01 22:52:46.000000000 +0800
++++ src/LibsslTLSContext.cc	2012-12-09 00:35:46.456524052 +0800
+@@ -57,8 +57,12 @@
+                      ERR_error_string(ERR_get_error(), 0)));
+   }
+   // Disable SSLv2 and enable all workarounds for buggy servers
++  #ifdef SSL_OP_NO_COMPRESSION
+   SSL_CTX_set_options(sslCtx_, SSL_OP_ALL|SSL_OP_NO_SSLv2|
+                       SSL_OP_NO_COMPRESSION);
++  #else
++  SSL_CTX_set_options(sslCtx_, SSL_OP_ALL|SSL_OP_NO_SSLv2);
++  #endif
+   SSL_CTX_set_mode(sslCtx_, SSL_MODE_AUTO_RETRY);
+   SSL_CTX_set_mode(sslCtx_, SSL_MODE_ENABLE_PARTIAL_WRITE);
+   #ifdef SSL_MODE_RELEASE_BUFFERS



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