diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-12-09 18:38:47 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-12-09 18:38:47 +0800 |
commit | 331d0e5cb78476739077de24bc8de6c17c72bdd7 (patch) | |
tree | b469a07391f22a077bc1e07b15dc3e8131e79336 /www/aria2 | |
parent | 25e3a41e881c906241812c5e9735e3ed263851ee (diff) | |
download | freebsd-ports-gnome-331d0e5cb78476739077de24bc8de6c17c72bdd7.tar.gz freebsd-ports-gnome-331d0e5cb78476739077de24bc8de6c17c72bdd7.tar.zst freebsd-ports-gnome-331d0e5cb78476739077de24bc8de6c17c72bdd7.zip |
- 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
Diffstat (limited to 'www/aria2')
-rw-r--r-- | www/aria2/Makefile | 21 | ||||
-rw-r--r-- | www/aria2/distinfo | 4 | ||||
-rw-r--r-- | www/aria2/files/patch-src-LibsslTLSContext.cc | 15 |
3 files changed, 29 insertions, 11 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile index 8a488aed81f5..423eb2b5f08c 100644 --- a/www/aria2/Makefile +++ b/www/aria2/Makefile @@ -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 diff --git a/www/aria2/distinfo b/www/aria2/distinfo index 12d272cbccf0..f22fb768d5e7 100644 --- a/www/aria2/distinfo +++ b/www/aria2/distinfo @@ -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 diff --git a/www/aria2/files/patch-src-LibsslTLSContext.cc b/www/aria2/files/patch-src-LibsslTLSContext.cc new file mode 100644 index 000000000000..ba0326bf41d9 --- /dev/null +++ b/www/aria2/files/patch-src-LibsslTLSContext.cc @@ -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 |