ports/146339: www/aria2: update to 1.9.2
Frederic Perrin
frederic.perrin at resel.fr
Wed May 5 19:00:15 UTC 2010
>Number: 146339
>Category: ports
>Synopsis: www/aria2: update to 1.9.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed May 05 19:00:14 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Frederic Perrin
>Release: FreeBSD 8.0-RELEASE-p2 i386
>Organization:
Reseau des eleves
>Environment:
System: FreeBSD perso.fperrin.net 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Aria2 in the port tree is arather old 1.5.0 version. I updated it
to 1.9.2.
I let in place the OSVERSION check, even though I couldn't test
whether the port is still broken on this version.
Note that there is a potential problem with the download URL, because
of the /latest part. I mailed (without answer yet) the upsteam
author about a more permanent address.
>How-To-Repeat:
>Fix:
Please apply the attached patch to the current www/aria2 port.
Thanks!
--- aria2-1.9.2.patch begins here ---
diff -ru /usr/ports/www/aria2/Makefile aria2-1.9.2_1/Makefile
--- /usr/ports/www/aria2/Makefile 2010-05-05 20:31:45.000000000 +0200
+++ aria2-1.9.2_1/Makefile 2010-05-02 00:26:54.000000000 +0200
@@ -6,44 +6,59 @@
#
PORTNAME= aria2
-DISTVERSION= 1.5.0
+DISTVERSION= 1.9.2
CATEGORIES= www
-MASTER_SITES= SF/${PORTNAME}/stable/archives/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/stable/latest/
DISTNAME= ${PORTNAME}-${DISTVERSION}
MAINTAINER= miwi at FreeBSD.org
COMMENT= Yet another download tool
-CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-openssl \
- --with-libxml2 --without-gnutls --without-libares \
- --without-libcares --program-transform-name=""
+CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-libxml2 \
+ --without-gnutls --with-openssl --with-openssl-prefix=/usr \
+ --without-libcares --with-libz --enable-bittorrent \
+ --enable-metalink --disable-epoll --enable-threads=pth
USE_BZIP2= yes
USE_GNOME= gnomehack libxml2
USE_GETTEXT= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
+
.ifdef WITHOUT_NLS
CONFIGURE_ARGS+= --disable-nls
.else
-LINGUAS= bg ca da de es en at boldquot en at quot el fi fr he hu id it ja nl nn pl pt_BR ru sv \
- sk sr th tr uk vi zh_CN zh_TW
+LINGUAS= bg ca da de el en at boldquot en at quot es fi fr he hu id it ja \
+ nl nn pl pt pt_BR ru sk sr sv th tr uk vi zh_CN zh_TW
.endif
+
PLIST_FILES= bin/aria2c \
- ${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2.mo|}
+ ${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2.mo|} \
+ share/doc/aria2/README \
+ share/doc/aria2/README.html \
+ share/doc/aria2/aria2c.1.html \
+ share/doc/aria2/xmlrpc/aria2mon \
+ share/doc/aria2/xmlrpc/aria2rpc \
+ share/doc/aria2/xmlrpc/README.txt
+
+PLIST_DIRS= share/doc/aria2/xmlrpc \
+ share/doc/aria2
+
MAN1= aria2c.1
+OPTIONS= SQLITE "Support for Firefox cookies" Off
+
.include <bsd.port.pre.mk>
+.if defined(WITH_SQLITE)
+CONFIGURE_ARGS+= --with-sqlite3
+LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
+.else
+CONFIGURE_ARGS+= --without-sqlite3
+.endif
+
.if ${OSVERSION} < 700000
BROKEN= Does not compile on FreeBSD 6.X
.endif
-post-patch:
- @${REINPLACE_CMD} -e '/^install-data-am:/s|install-dist_docDATA||'\
- ${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
-
-post-configure:
- @${REINPLACE_CMD} -e '/SETMODE/d' ${WRKSRC}/config.h
-
.include <bsd.port.post.mk>
diff -ru /usr/ports/www/aria2/distinfo aria2-1.9.2_1/distinfo
--- /usr/ports/www/aria2/distinfo 2010-05-05 20:31:45.000000000 +0200
+++ aria2-1.9.2_1/distinfo 2010-05-02 00:26:54.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (aria2-1.5.0.tar.bz2) = dea3acf0d9dc860151e9058420b80299
-SHA256 (aria2-1.5.0.tar.bz2) = 19b5787fad05641fa9ac8239da6587f32ec7b53d4d99ac9677154c637ddefc47
-SIZE (aria2-1.5.0.tar.bz2) = 1290587
+MD5 (aria2-1.9.2.tar.bz2) = 70ba78851ea62d2f694fb65160d884ad
+SHA256 (aria2-1.9.2.tar.bz2) = 55badcb348804fb39db6082e29270cd29a59d090cef77570bf4909c2dc911371
+SIZE (aria2-1.9.2.tar.bz2) = 1440547
--- aria2-1.9.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list