[Midnightbsd-cvs] CVS Commit: mports/www: add aria2.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Aug 11 19:30:03 EDT 2007


Log Message:
-----------
add aria2.  Downloading can be fun.

Modified Files:
--------------
    mports/www:
        Makefile (r1.52 -> r1.53)

Added Files:
-----------
    mports/www/aria2:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
    mports/www/aria2/files:
        patch-Makefile.in (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/Makefile,v
retrieving revision 1.52
retrieving revision 1.53
diff -Lwww/Makefile -Lwww/Makefile -u -r1.52 -r1.53
--- www/Makefile
+++ www/Makefile
@@ -6,6 +6,7 @@
     SUBDIR += apache20
     SUBDIR += apache22
     SUBDIR += analog
+    SUBDIR += aria2
     SUBDIR += awstats
     SUBDIR += bookmarkbridge
     SUBDIR += bozohttpd
--- /dev/null
+++ www/aria2/pkg-descr
@@ -0,0 +1,19 @@
+aria2 has segmented downloading engine in its core. It therefore, it
+can download files a lot faster than ordinary browsers. Currently it
+has following features:
+* HTTP/HTTPS GET support
+* HTTP Proxy support
+* HTTP BASIC authentication support
+* HTTP Proxy authentication support
+* FTP support (active, passive mode)
+* FTP through HTTP proxy (GET command or tunneling)
+* Segmented download
+* Cookie support (currently aria2 ignores "expires")
+* It can run as a daemon process
+* BitTorrent protocol support with fast extension
+* Selective download in multi-file torrent
+* Metalink version 3.0 support (HTTP/FTP/BitTorrent)
+* Limiting download/upload speed
+
+WWW: http://aria2.sourceforge.net/
+Author: Tatsuhiro Tsujikawa <tujikawa at users dot sourceforge dot net>
--- /dev/null
+++ www/aria2/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for:	aria2
+# Date created:		1 May 2006
+# Whom:			Andrew Pantyukhin <infofarmer at FreeBSD.org>
+#
+# $MidnightBSD: mports/www/aria2/Makefile,v 1.1 2007/08/11 23:30:01 laffer1 Exp $
+# $FreeBSD: ports/www/aria2/Makefile,v 1.27 2007/08/09 17:09:00 sat Exp $
+#
+
+PORTNAME=	aria2
+DISTVERSION=	0.11.2
+CATEGORIES=	www
+MASTER_SITES=	SFE
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Another download tool with metalinks support
+
+LICENSE=	gpl2
+
+CONFIGURE_ARGS=	--with-libintl-prefix=${LOCALBASE} --with-openssl \
+		--with-libxml2 --without-gnutls --without-libares --without-libcares \
+		--program-transform-name="" --prefix=${PREFIX}
+
+USE_BZIP2=	yes
+USE_GNOME=	gnomehack libxml2
+USE_GETTEXT=	yes
+GNU_CONFIGURE=	yes
+PLIST_FILES=	bin/aria2c \
+		share/locale/de/LC_MESSAGES/aria2c.mo \
+		share/locale/ja/LC_MESSAGES/aria2c.mo \
+		share/locale/ru/LC_MESSAGES/aria2c.mo
+#MAN1=		aria2c.1
+
+post-configure:
+	@${REINPLACE_CMD} -e '/SETMODE/d' ${WRKSRC}/config.h
+
+post-install:
+	@${CP} ${WRKSRC}/doc/aria2c.1 ${FAKEDIR}/usr/local/man/man1/
+
+.include <bsd.port.mk>
--- /dev/null
+++ www/aria2/distinfo
@@ -0,0 +1,3 @@
+MD5 (aria2-0.11.2.tar.bz2) = 4b58849f0bf7f2abab1675ce2e8958ec
+SHA256 (aria2-0.11.2.tar.bz2) = 428ce78c182a335a3c847f84f7f1c3e528438754775f3b93ea9a4a8a63ebaef7
+SIZE (aria2-0.11.2.tar.bz2) = 503629
--- /dev/null
+++ www/aria2/files/patch-Makefile.in
@@ -0,0 +1,16 @@
+--- Makefile.in.orig	Fri Aug 10 18:01:03 2007
++++ Makefile.in	Fri Aug 10 18:03:02 2007
+@@ -233,11 +233,11 @@
+ libexecdir = @libexecdir@
+ localedir = @localedir@
+ localstatedir = @localstatedir@
+-mandir = @mandir@
++mandir = ${DESTDIR}@mandir@
+ mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+ pdfdir = @pdfdir@
+-prefix = @prefix@
++prefix = ${PREFIX}
+ program_transform_name = @program_transform_name@
+ psdir = @psdir@
+ sbindir = @sbindir@


More information about the Midnightbsd-cvs mailing list