summaryrefslogtreecommitdiff
path: root/net/aria2
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-10-10 01:56:38 +0000
committerbjs <bjs@pkgsrc.org>2008-10-10 01:56:38 +0000
commit58f70c7d2466251ba801c62fa2baed0ece242b5e (patch)
treee55d305d062fc92a9f801a5eb2246232752afeb7 /net/aria2
parent00082818facd9c14efbc79d1958b663bd3d0bb34 (diff)
downloadpkgsrc-58f70c7d2466251ba801c62fa2baed0ece242b5e.tar.gz
Update to aria2-0.16.0. Lots of bug fixes, improved help text,
plus firefox3 cookie support. This option requires sqlite3, though the firefox3 option also enables this functionality.
Diffstat (limited to 'net/aria2')
-rw-r--r--net/aria2/Makefile4
-rw-r--r--net/aria2/distinfo8
-rw-r--r--net/aria2/options.mk27
3 files changed, 29 insertions, 10 deletions
diff --git a/net/aria2/Makefile b/net/aria2/Makefile
index 08b91bab9e4..6e2d58446e8 100644
--- a/net/aria2/Makefile
+++ b/net/aria2/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2008/09/08 03:07:48 bjs Exp $
+# $NetBSD: Makefile,v 1.15 2008/10/10 01:56:38 bjs Exp $
#
-DISTNAME= aria2c-0.15.3
+DISTNAME= aria2c-0.16.0
PKGNAME= ${DISTNAME:S/+/./:S/2c-/2-/}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/}
diff --git a/net/aria2/distinfo b/net/aria2/distinfo
index f41e75cc717..5a19227f643 100644
--- a/net/aria2/distinfo
+++ b/net/aria2/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2008/09/08 03:07:48 bjs Exp $
+$NetBSD: distinfo,v 1.13 2008/10/10 01:56:38 bjs Exp $
-SHA1 (aria2c-0.15.3.tar.bz2) = 4548d9ae2e571d9bc8fc9de0e42f7d028a3dbdac
-RMD160 (aria2c-0.15.3.tar.bz2) = 550e36c1750c92c802f4f08eb0fd97ed40c759b2
-Size (aria2c-0.15.3.tar.bz2) = 1044973 bytes
+SHA1 (aria2c-0.16.0.tar.bz2) = c2b2c3154b992cc1f3a8ebf56e48fc11ff3c47e0
+RMD160 (aria2c-0.16.0.tar.bz2) = 391d6e0ac19884fa6c44eda423fa21ed6471c423
+Size (aria2c-0.16.0.tar.bz2) = 1082673 bytes
diff --git a/net/aria2/options.mk b/net/aria2/options.mk
index ad1d455b50d..32ff3bd0f95 100644
--- a/net/aria2/options.mk
+++ b/net/aria2/options.mk
@@ -1,10 +1,12 @@
-# $NetBSD: options.mk,v 1.5 2008/04/16 00:09:39 bjs Exp $
+# $NetBSD: options.mk,v 1.6 2008/10/10 01:56:38 bjs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.aria2
PKG_OPTIONS_GROUP.ssl= gnutls ssl
PKG_OPTIONS_GROUP.asyncns= ares cares
PKG_OPTIONS_REQUIRED_GROUPS= ssl asyncns
+
+PKG_SUPPORTED_OPTIONS= sqlite firefox3
PKG_SUGGESTED_OPTIONS= ssl cares
###
### XXX Remove this in the future [2008-04-15 bjs]
@@ -17,19 +19,36 @@ PKG_OPTIONS_DEPRECATED_WARNINGS+=\
.endif
.include "../../mk/bsd.options.mk"
-
+###
+### SSL/TLS implementation
+###
.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --with-openssl
-CONFIGURE_ARGS+= --without-gnutls
+CONFIGURE_ARGS+= --with-gnutls=no
. include "../../security/openssl/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-gnutls
-CONFIGURE_ARGS+= --without-openssl
+CONFIGURE_ARGS+= --with-openssl=no
. include "../../security/gnutls/buildlink3.mk"
.endif
+###
+### asynchronous resolver library.
+###
.if !empty(PKG_OPTIONS:Mcares)
+CONFIGURE_ARGS+= --with-libares=no
CONFIGURE_ARGS+= --with-libcares-prefix=${BUILDLINK_PREFIX.libcares:Q}
. include "../../net/libcares/buildlink3.mk"
.elif !empty(PKG_OPTIONS:Mares)
+CONFIGURE_ARGS+= --with-libcares=no
CONFIGURE_ARGS+= --with-libares-prefix=${BUILDLINK_PREFIX.libares:Q}
.endif
+###
+### firefox3 cookie support via sqlite3
+###
+.if !empty(PKG_OPTIONS:Mfirefox3) || !empty(PKG_OPTIONS:Msqlite)
+CONFIGURE_ARGS+= --with-sqlite3
+CONFIGURE_ARGS+= --with-sqlite3-prefix=${BUILDLINK_PREFIX.sqlite:Q}
+. include "../../databases/sqlite3/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --with-sqlite3=no
+.endif