aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-15 19:03:50 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-15 19:03:50 +0800
commit8bf5a888770af8f4b3bcd6e5979ea9766eb9f787 (patch)
treed27c4bba4b8407c1bec989752f2687523d95b00f
parentaaa38b5b286e86e8b13cb056c05d4e471780e0fa (diff)
downloadfreebsd-ports-gnome-8bf5a888770af8f4b3bcd6e5979ea9766eb9f787.tar.gz
freebsd-ports-gnome-8bf5a888770af8f4b3bcd6e5979ea9766eb9f787.tar.zst
freebsd-ports-gnome-8bf5a888770af8f4b3bcd6e5979ea9766eb9f787.zip
- Update to 1.18.1
- Add settable variable ARIA2_DISK_CACHE for disk cache size (defaults to 16M) Changes: http://sourceforge.net/projects/aria2/files/stable/aria2-1.18.1/README.rst/view
-rw-r--r--www/aria2/Makefile12
-rw-r--r--www/aria2/distinfo4
2 files changed, 10 insertions, 6 deletions
diff --git a/www/aria2/Makefile b/www/aria2/Makefile
index 5f96bc0c8601..60002b5fedb2 100644
--- a/www/aria2/Makefile
+++ b/www/aria2/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= aria2
-PORTVERSION= 1.17.1
+PORTVERSION= 1.18.1
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
@@ -17,18 +17,20 @@ OPTIONS_SUB= yes
CA_BUNDLE_DESC= Use CA bundle from Mozilla Project
CONFIGURE_ARGS= --disable-epoll --enable-bittorrent --enable-metalink \
- --enable-shared --enable-threads=posix --with-libz \
- --with-libxml2 --with-openssl --without-gnutls \
+ --enable-shared --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
CONFIGURE_ENV= OPENSSL_CFLAGS=-I${OPENSSLINC} OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" \
ZLIB_CFLAGS=-I${INCLUDEDIR} ZLIB_LIBS="-L${LIBDIR} -lz" \
ac_cv_path_RST2HTML=no
GNU_CONFIGURE= yes
+USE_CXXSTD= c++11
USE_GNOME= libxml2
USE_OPENSSL= yes
USE_XZ= yes
-USES= pathfix pkgconfig
+USES= compiler:c++11-lang pathfix pkgconfig
CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle
CA_BUNDLE_CONFIGURE_ON= --with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
@@ -40,6 +42,8 @@ SQLITE_CONFIGURE_OFF= --without-sqlite3
SQLITE_CONFIGURE_ON= --with-sqlite3
SQLITE_USE= SQLITE=yes
+ARIA2_DISK_CACHE?= 16M
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
diff --git a/www/aria2/distinfo b/www/aria2/distinfo
index f7db8b03fda0..4e89da5cd5eb 100644
--- a/www/aria2/distinfo
+++ b/www/aria2/distinfo
@@ -1,2 +1,2 @@
-SHA256 (aria2-1.17.1.tar.xz) = 7e18cf15afa17cf725c2ab4338751bc165e33d41917a4af9927da0855298efc0
-SIZE (aria2-1.17.1.tar.xz) = 1450440
+SHA256 (aria2-1.18.1.tar.xz) = 14179cec7d476204faa52c4220fd8332a1036edd2c16fa3a9a29fd5d8b763968
+SIZE (aria2-1.18.1.tar.xz) = 1326632