Import axel-1.0b

Axel does the same thing any other accelerator does: it opens more than
one HTTP/FTP connection per download and each connection transfers its
own, separate, part of the file.
[...]

from Girish Venkatachalam <girish1729 at gmail dot com> with some tweaks
This commit is contained in:
ajacoutot 2008-04-01 12:52:00 +00:00
parent ffefbd4fb2
commit 42590dfc4f
4 changed files with 63 additions and 0 deletions

40
net/axel/Makefile Normal file
View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/01 12:52:00 ajacoutot Exp $
COMMENT= tiny download accelerator
DISTNAME= axel-1.0b
CATEGORIES= net
HOMEPAGE= http://wilmer.gaast.net/main.php/axel.html
MAINTAINER= Girish Venkatachalam <girish1729@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://wilmer.gaast.net/downloads/
WANTLIB= c pthread
MODULES= devel/gettext
USE_GMAKE= Yes
NO_REGRESS= Yes
CONFIGURE_STYLE=simple
CONFIGURE_ARGS= --prefix=${PREFIX} \
--etcdir=${SYSCONFDIR} \
--mandir=${PREFIX}/man \
--i18n=1
MAKE_FLAGS= CC=${CC} \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LFLAGS="-L${LOCALBASE}/lib -pthread -lintl -liconv"
FAKE_FLAGS= ETCDIR=${PREFIX}/share/examples/axel
pre-configure:
@perl -pi -e 's,/etc,${SYSCONFDIR},g' ${WRKSRC}/axel.1
.include <bsd.port.mk>

5
net/axel/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (axel-1.0b.tar.gz) = Z52hm0dXD33f8eeVjV35fw==
RMD160 (axel-1.0b.tar.gz) = l+EbbvX/v2CtLTnfEGpC5oAUQ1k=
SHA1 (axel-1.0b.tar.gz) = ucmku4asX/1Tl0ryEe2/rvwYIYM=
SHA256 (axel-1.0b.tar.gz) = ysUVlJMh+lON65qyIdIz9yL7w7gtf3t8NNZEHLcdetQ=
SIZE (axel-1.0b.tar.gz) = 43293

10
net/axel/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
Axel does the same thing any other accelerator does: it opens more than
one HTTP/FTP connection per download and each connection transfers its
own, separate, part of the file.
Be forewarned that some FTP operators don't like it when you do this.
You may either specify a list of mirrors to use or tell the program to
search for mirrors.
Axel puts all the data in the right file, in the right order, at
download time. Axel is console-based and uses few system resources.

8
net/axel/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/01 12:52:00 ajacoutot Exp $
bin/axel
@man man/man1/axel.1
share/examples/axel/
share/examples/axel/axelrc
@sample ${SYSCONFDIR}/axelrc
share/locale/de/LC_MESSAGES/axel.mo
share/locale/nl/LC_MESSAGES/axel.mo