openbsd-ports/www/aria2/Makefile
gonzalo cee7a0f1a5 Update for Aria2 to 1.16.0:
* Enabled TCP_NODELAY
* Don't use AC_FUNC_MMAP
* Added --force-save option.
* Get the correct uploaded data size
* Made --http-no-cache false by default
* Fixed memory leak in AsyncNameResolver
* Fixed resource leak in XmlParser and GenericParser
* Reset iostream format state
* gnutls: Added more status checking when verifying peer
* Content-Disposition parser conforming to RFC 6266.
* Reworked download/upload statistics calculation
* Added --rpc-save-upload-metadata option
* Perform SSL/TLS handshake after checking whether connection is
  established
* Fixed bug that --enable-mmap won't work if MultiDiskAdaptor is used
* RPC over SSL/TLS transport
* aria2rpc: Added appendUri command
* Don't send Proxy-Connection header field
* Don't set SNI hostname if it does not include "." for GNUTLS
* Disable SSL/TLS compression with OpenSSL
* Pause download even if download is completed
* Use execlp() instead of execl()

Ok remi@ (ex-maintainer)
2012-12-06 15:04:15 +00:00

46 lines
1010 B
Makefile

# $OpenBSD: Makefile,v 1.20 2012/12/06 15:04:15 gonzalo Exp $
COMMENT = lightweight multi-protocol & multi-source download utility
DISTNAME = aria2-1.16.0
CATEGORIES = www
HOMEPAGE = http://aria2.sourceforge.net/
MAINTAINER = Gonzalo L. R. <gonzalo@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=aria2/}
MODULES = devel/gettext
LIB_DEPENDS = net/libcares
REGRESS_DEPENDS += devel/cppunit
WANTLIB += c cares crypto expat m sqlite3 ssl stdc++ 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 \
--without-libxml2
# Prevent gcc 4.2.1 from running out of memory.
.if ${MACHINE_ARCH:Mmips64*}
CFLAGS += -O0
.endif
REGRESS_FLAGS += LDFLAGS="-lcppunit"
.include <bsd.port.mk>