Update for aria2 to 1.18.5.

Initial update from me, with tweaks by juanfra@

Ok juanfra@
This commit is contained in:
gonzalo 2014-04-19 01:26:30 +00:00
parent 0a2231cb52
commit 73516f9099
4 changed files with 17 additions and 24 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.25 2013/05/30 12:16:05 gonzalo Exp $
# $OpenBSD: Makefile,v 1.26 2014/04/19 01:26:30 gonzalo Exp $
COMMENT = lightweight multi-protocol & multi-source download utility
DISTNAME = aria2-1.17.1
DISTNAME = aria2-1.18.5
CATEGORIES = www
HOMEPAGE = http://aria2.sourceforge.net/
@ -12,24 +12,30 @@ PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=aria2/}
MODULES = devel/gettext
MODULES = devel/gettext \
gcc4
MODGCC4_ARCHS = *
MODGCC4_LANGS = c c++
LIB_DEPENDS = net/libcares
TEST_DEPENDS += devel/cppunit
BUILD_DEPENDS = devel/m4 \
devel/cppunit
WANTLIB += c cares crypto expat m sqlite3 ssl stdc++ z
TEST_DEPENDS = ${BUILD_DEPENDS}
WANTLIB += c cares crypto expat m sqlite3 ssl z
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS += --with-sqlite3 \
--with-openssl \
--without-gnutls \
--with-libz \
--with-libcares \
--with-libexpat \
--with-openssl \
--without-gnutls \
--without-libxml2
# Prevent gcc 4.2.1 from running out of memory.
@ -37,6 +43,4 @@ CONFIGURE_ARGS += --with-sqlite3 \
CFLAGS += -O0
.endif
TEST_FLAGS += LDFLAGS="-lcppunit"
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (aria2-1.17.1.tar.gz) = xjWUPhmoorxccUheItKNidCyqrUEUQEdG7uT+jx7OkQ=
SIZE (aria2-1.17.1.tar.gz) = 3536527
SHA256 (aria2-1.18.5.tar.gz) = VgtRiBaap1szy7Yujwc2F5dR1SlVldkJRzcNfVrJlcQ=
SIZE (aria2-1.18.5.tar.gz) = 3417791

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-src_HttpRequestCommand_cc,v 1.1 2013/05/30 12:16:05 gonzalo Exp $
--- src/HttpRequestCommand.cc.orig Wed May 29 10:13:04 2013
+++ src/HttpRequestCommand.cc Wed May 29 10:13:52 2013
@@ -198,7 +198,7 @@ bool HttpRequestCommand::executeInternal() {
getDownloadEngine()->getCookieStorage(),
getDownloadEngine()->getAuthConfigFactory(),
proxyRequest_,
- endOffset));
+ 0/*endOffset*/));
httpConnection_->sendRequest(httpRequest);
}
}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.9 2013/05/30 12:16:05 gonzalo Exp $
@comment $OpenBSD: PLIST,v 1.10 2014/04/19 01:26:30 gonzalo Exp $
@bin bin/aria2c
@man man/man1/aria2c.1
man/pt/
@ -9,6 +9,7 @@ man/ru/man1/
@man man/ru/man1/aria2c.1
share/doc/aria2/
share/doc/aria2/README
share/doc/aria2/README.html
share/doc/aria2/README.rst
share/doc/aria2/bash_completion/
share/doc/aria2/bash_completion/README.txt