[Midnightbsd-cvs] mports [19270] trunk/www/aria2: aria2 1.19.0
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Jun 1 18:47:32 EDT 2015
Revision: 19270
http://svnweb.midnightbsd.org/mports/?rev=19270
Author: laffer1
Date: 2015-06-01 18:47:31 -0400 (Mon, 01 Jun 2015)
Log Message:
-----------
aria2 1.19.0
Modified Paths:
--------------
trunk/www/aria2/Makefile
trunk/www/aria2/distinfo
trunk/www/aria2/files/patch-src-DownloadEngine.cc
trunk/www/aria2/pkg-plist
Added Paths:
-----------
trunk/www/aria2/files/aria2.in
trunk/www/aria2/files/patch-src-LibsslTLSContext.cc
Modified: trunk/www/aria2/Makefile
===================================================================
--- trunk/www/aria2/Makefile 2015-05-31 15:59:53 UTC (rev 19269)
+++ trunk/www/aria2/Makefile 2015-06-01 22:47:31 UTC (rev 19270)
@@ -1,7 +1,7 @@
# $MidnightBSD$
PORTNAME= aria2
-PORTVERSION= 1.18.7
+PORTVERSION= 1.19.0
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
@@ -16,11 +16,13 @@
CA_BUNDLE_DESC= Use CA bundle from Mozilla Project
CONFIGURE_ARGS= --disable-epoll --enable-bittorrent --enable-libaria2 \
- --enable-metalink --enable-shared --enable-static \
- --enable-threads=posix --with-disk-cache=${ARIA2_DISK_CACHE} \
- --with-libxml2 --with-libz --with-openssl --without-gnutls \
- --without-libcares --without-libexpat --without-libgcrypt \
- --without-libgmp --without-libnettle
+ --enable-metalink --enable-shared --enable-ssl --enable-static \
+ --enable-threads=posix --enable-websocket \
+ --with-disk-cache=${ARIA2_DISK_CACHE} \
+ --with-libxml2 --with-libz --with-openssl \
+ --without-appletls --without-gnutls --without-libcares \
+ --without-libexpat --without-libgcrypt --without-libgmp \
+ --without-libnettle --without-libuv
CONFIGURE_ENV= OPENSSL_CFLAGS=-I${OPENSSLINC} \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \
ZLIB_CFLAGS=-I${INCLUDEDIR} \
@@ -27,10 +29,12 @@
ZLIB_LIBS="-L${LIBDIR} -lz" \
ac_cv_path_RST2HTML=no
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
USE_CXXSTD= c++11
USE_GNOME= libxml2
USE_LDCONFIG= yes
USE_OPENSSL= yes
+USE_RC_SUBR= ${PORTNAME}
USES= compiler:c++11-lib libtool pathfix pkgconfig tar:xz
PORTDOCS= *
Modified: trunk/www/aria2/distinfo
===================================================================
--- trunk/www/aria2/distinfo 2015-05-31 15:59:53 UTC (rev 19269)
+++ trunk/www/aria2/distinfo 2015-06-01 22:47:31 UTC (rev 19270)
@@ -1,2 +1,2 @@
-SHA256 (aria2-1.18.7.tar.xz) = 7944336efdfc82892802bec304698448e8d27b30f30496576716e8b93ebfff98
-SIZE (aria2-1.18.7.tar.xz) = 1361044
+SHA256 (aria2-1.19.0.tar.xz) = e2ea59fc2351951a50408561a43fb4d7f0afeab5b606f0cdbfe2be745575a476
+SIZE (aria2-1.19.0.tar.xz) = 1376952
Added: trunk/www/aria2/files/aria2.in
===================================================================
--- trunk/www/aria2/files/aria2.in (rev 0)
+++ trunk/www/aria2/files/aria2.in 2015-06-01 22:47:31 UTC (rev 19270)
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# $FreeBSD: head/www/aria2/files/aria2.in 372266 2014-11-07 14:23:50Z zi $
+# $MidnightBSD$
+
+# PROVIDE: aria2
+# REQUIRE: NETWORKING
+# KEYWORD: shutdown
+
+#
+# Add the following lines to /etc/rc.conf to enable aria2:
+#
+# aria2_enable="YES"
+#
+# You can define flags for aria2 running. See aria2c(1) for details.
+#
+
+. /etc/rc.subr
+
+name=aria2
+rcvar=aria2_enable
+
+command=%%PREFIX%%/bin/aria2c
+
+# read configuration and set defaults
+load_rc_config $name
+aria2_enable=${aria2_enable:-"NO"}
+aria2_config=${aria2_config:-"%%PREFIX%%/etc/aria2.conf"}
+aria2_flags=${aria2_flags:-""}
+aria2_user=${aria2_user:-"nobody"}
+aria2_group=${aria2_group:-"nobody"}
+
+required_files=${aria2_config}
+command_args="-D --conf-path=${aria2_config} ${aria2_flags}"
+
+run_rc_command "$1"
Property changes on: trunk/www/aria2/files/aria2.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/www/aria2/files/patch-src-DownloadEngine.cc
===================================================================
--- trunk/www/aria2/files/patch-src-DownloadEngine.cc 2015-05-31 15:59:53 UTC (rev 19269)
+++ trunk/www/aria2/files/patch-src-DownloadEngine.cc 2015-06-01 22:47:31 UTC (rev 19270)
@@ -1,5 +1,5 @@
---- src/DownloadEngine.cc.orig 2014-07-22 22:33:38.000000000 +0800
-+++ src/DownloadEngine.cc 2014-07-24 02:58:37.228676022 +0800
+--- src/DownloadEngine.cc.orig 2014-07-22 14:33:38 UTC
++++ src/DownloadEngine.cc
@@ -37,6 +37,7 @@
#include <signal.h>
Added: trunk/www/aria2/files/patch-src-LibsslTLSContext.cc
===================================================================
--- trunk/www/aria2/files/patch-src-LibsslTLSContext.cc (rev 0)
+++ trunk/www/aria2/files/patch-src-LibsslTLSContext.cc 2015-06-01 22:47:31 UTC (rev 19270)
@@ -0,0 +1,23 @@
+--- src/LibsslTLSContext.cc.orig 2015-02-23 14:34:01 UTC
++++ src/LibsslTLSContext.cc
+@@ -103,14 +103,20 @@ OpenSSLTLSContext::OpenSSLTLSContext(TLS
+
+ long ver_opts = 0;
+ switch(minVer) {
++#ifdef SSL_OP_NO_TLSv1_1
+ case TLS_PROTO_TLS12:
+ ver_opts |= SSL_OP_NO_TLSv1_1;
++#endif // SSL_OP_NO_TLSv1_1
+ // fall through
++#ifdef SSL_OP_NO_TLSv1
+ case TLS_PROTO_TLS11:
+ ver_opts |= SSL_OP_NO_TLSv1;
++#endif // SSL_OP_NO_TLSv1
+ // fall through
++#ifdef SSL_OP_NO_SSLv3
+ case TLS_PROTO_TLS10:
+ ver_opts |= SSL_OP_NO_SSLv3;
++#endif // SSL_OP_NO_SSLv3
+ default:
+ break;
+ };
Property changes on: trunk/www/aria2/files/patch-src-LibsslTLSContext.cc
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/www/aria2/pkg-plist
===================================================================
--- trunk/www/aria2/pkg-plist 2015-05-31 15:59:53 UTC (rev 19269)
+++ trunk/www/aria2/pkg-plist 2015-06-01 22:47:31 UTC (rev 19270)
@@ -50,16 +50,3 @@
%%NLS%%share/locale/zh_CN/LC_MESSAGES/aria2.mo
%%NLS%%share/locale/zh_HK/LC_MESSAGES/aria2.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/aria2.mo
-%%NLS%%@dirrmtry share/locale/zh_HK/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/zh_HK
-%%NLS%%@dirrmtry share/locale/oc/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/oc
-%%NLS%%@dirrmtry share/locale/kk/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/kk
-%%NLS%%@dirrmtry share/locale/fil/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/fil
- at dirrmtry man/ru/man1
- at dirrmtry man/ru
- at dirrmtry man/pt/man1
- at dirrmtry man/pt
- at dirrmtry include/aria2
More information about the Midnightbsd-cvs
mailing list