pkgsrc/net/aria2/Makefile
bjs 84796f63b6 Update to aria2-0.15.3. Changes:
Added Turkish translation. Updated German and Russian translations.

  If an error occurred with a URI, remove identical URI from remaining
  URI list because it is likely that same error occurred in the end and it
  is waste of time.

  Added -lrt to LIBCARES_LIBS if -lrt is needed to link program with
  -lcares.

  Moved implementation to SimpleRandomizer.cc from SimpleRandomizer.h.
  Added return value of getpid() to argument of srand() to achieve more
  randomized value.

  Contact tracker frequently when the number of connections are 0 and
  download is not finished yet.

  Moved threshold values to UTPexExtensionMessage.

  Added _incoming member to Peer class and made it true if the peer
  initiated connection. Don't add those peer to UTPex message.
  If extended handshake is received, assign _incoming to false.

  Fixed infinite loop bug in FTP when SIZE command failed.

  Made files whose name ends with ".gz", ".tgz" not inflated by Content
  Encoding Decoder. Removed size threshold for turning off on the fly
  inflation because resulting file may or may not be inflated depending
  on the file size and I think it is not expected by users.
  This change fixes segmentation fault when Metalink file contains gzipped
  file and its filesize is provided.

  Fixed chunk checksum validation cannot detect trailing garbage data.
  BUG#2074141
2008-09-08 03:07:48 +00:00

46 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2008/09/08 03:07:48 bjs Exp $
#
DISTNAME= aria2c-0.15.3
PKGNAME= ${DISTNAME:S/+/./:S/2c-/2-/}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= bjs@NetBSD.org
HOMEPAGE= http://aria2.sourceforge.net/
COMMENT= Multi-threaded, multi-protocol, flexible download accelerator
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
CONFIGURE_ARGS+= --enable-bittorrent
CONFIGURE_ARGS+= --enable-metalink
CONFIGURE_ARGS+= --with-included-gettext=no
CONFIGURE_ARGS+= --with-libexpat
CONFIGURE_ARGS+= --without-libxml2
GCC_REQD+= 3.4
TEST_TARGET= check
USE_FEATURES= getopt_long snprintf
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
BUILDLINK_DEPMETHOD.cppunit?= build
BUILDLINK_API_DEPENDS.cppunit+= cppunit>=10.1.2
. include "../../devel/cppunit/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-xmltest
.endif
.include "options.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"