[Midnightbsd-cvs] mports [16910] trunk/www/aria2/pkg-plist: aria 1.18

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 7 09:59:04 EDT 2014


Revision: 16910
          http://svnweb.midnightbsd.org/mports/?rev=16910
Author:   laffer1
Date:     2014-09-07 09:59:03 -0400 (Sun, 07 Sep 2014)
Log Message:
-----------
aria 1.18

Modified Paths:
--------------
    trunk/www/aria2/Makefile
    trunk/www/aria2/distinfo
    trunk/www/aria2/pkg-descr

Added Paths:
-----------
    trunk/www/aria2/files/
    trunk/www/aria2/files/patch-src-DownloadEngine.cc
    trunk/www/aria2/pkg-plist

Property Changed:
----------------
    trunk/www/aria2/pkg-descr

Modified: trunk/www/aria2/Makefile
===================================================================
--- trunk/www/aria2/Makefile	2014-09-07 13:55:36 UTC (rev 16909)
+++ trunk/www/aria2/Makefile	2014-09-07 13:59:03 UTC (rev 16910)
@@ -1,62 +1,54 @@
 # $MidnightBSD$
 
 PORTNAME=	aria2
-PORTVERSION=	1.14.1
+PORTVERSION=	1.18.7
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/stable/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Yet another download tool
+
 LICENSE=	gpl2
 
-CONFIGURE_ARGS=	--with-libintl-prefix=${LOCALBASE} --with-openssl \
-		--with-libxml2 --without-gnutls --without-libares \
-		--without-libcares --program-transform-name="" \
-		--with-libz --enable-bittorrent --with-sqlite3 \
-		--enable-metalink --disable-epoll --enable-threads=pth
+OPTIONS_DEFINE=	CA_BUNDLE DOCS NLS SQLITE
+OPTIONS_DEFAULT=SQLITE
+OPTIONS_SUB=	yes
+CA_BUNDLE_DESC=	Use CA bundle from Mozilla Project
 
-USE_BZIP2=	yes
-USE_GNOME=	gnomehack libxml2
-USE_GETTEXT=	yes
+CONFIGURE_ARGS=	--disable-epoll --enable-bittorrent --enable-libaria2 \
+		--enable-metalink --enable-shared --enable-static \
+		--enable-threads=posix --with-disk-cache=${ARIA2_DISK_CACHE} \
+		--with-libxml2 --with-libz --with-openssl --without-gnutls \
+		--without-libcares --without-libexpat --without-libgcrypt \
+		--without-libgmp --without-libnettle
+CONFIGURE_ENV=	OPENSSL_CFLAGS=-I${OPENSSLINC} \
+		OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \
+		ZLIB_CFLAGS=-I${INCLUDEDIR} \
+		ZLIB_LIBS="-L${LIBDIR} -lz" \
+		ac_cv_path_RST2HTML=no
 GNU_CONFIGURE=	yes
-MAKE_JOBS_SAFE=	yes
+USE_CXXSTD=	c++11
+USE_GNOME=	libxml2
+USE_LDCONFIG=	yes
+USE_OPENSSL=	yes
+USES=		compiler:c++11-lib libtool pathfix pkgconfig tar:xz
 
-.ifdef WITHOUT_NLS
-CONFIGURE_ARGS+=	--disable-nls
-.else
-LINGUAS=	ar bg ca da de el en at boldquot en at quot es fi fr he hu id it ko ja \
-		nl nn pl pt pt_BR ru sk sr sv th tr uk vi zh_CN zh_TW
-.endif
+PORTDOCS=	*
 
-PLIST_FILES=	bin/aria2c \
-		${LINGUAS:S|^|share/locale/|:S|$|/LC_MESSAGES/aria2.mo|} \
-		share/doc/aria2/bash_completion/README.txt \
-		share/doc/aria2/bash_completion/aria2c \
-		share/doc/aria2/xmlrpc/aria2mon \
-		share/doc/aria2/xmlrpc/aria2rpc \
-		share/doc/aria2/xmlrpc/README.txt \
-		share/doc/aria2/ru/aria2c.1.html \
-		share/doc/aria2/ru/aria2c.1.asciidoc
+CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle
+CA_BUNDLE_CONFIGURE_ON=	--with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
+CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+NLS_CONFIGURE_OFF=	--disable-nls
+NLS_CONFIGURE_ON=	--with-libintl-prefix=${LOCALBASE}
+NLS_USES=		gettext
+SQLITE_CONFIGURE_OFF=	--without-sqlite3
+SQLITE_CONFIGURE_ON=	--with-sqlite3=/usr
 
-PLIST_DIRS=	share/doc/aria2/bash_completion \
-		share/doc/aria2/xmlrpc \
-		share/doc/aria2/ru \
-		share/doc/aria2
+ARIA2_DISK_CACHE?=	16M
 
-MANLANG=	"" ru
-MAN1=		aria2c.1
-
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 3000
-BROKEN=		Does not compile on MidnightBSD 0.2
-.endif
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaria2.so.0.0.0
 
-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>

Modified: trunk/www/aria2/distinfo
===================================================================
--- trunk/www/aria2/distinfo	2014-09-07 13:55:36 UTC (rev 16909)
+++ trunk/www/aria2/distinfo	2014-09-07 13:59:03 UTC (rev 16910)
@@ -1,3 +1,2 @@
-SHA256 (aria2-1.14.1.tar.bz2) = a436ffaa9fd678a498d2599f00b3885cdc4eda13953dcf715c9ac4ff95b61ab1
-RMD160 (aria2-1.14.1.tar.bz2) = e4daa218df0776a144421a1f04eb71c410ff7917
-SIZE (aria2-1.14.1.tar.bz2) = 1636900
+SHA256 (aria2-1.18.7.tar.xz) = 7944336efdfc82892802bec304698448e8d27b30f30496576716e8b93ebfff98
+SIZE (aria2-1.18.7.tar.xz) = 1361044

Added: trunk/www/aria2/files/patch-src-DownloadEngine.cc
===================================================================
--- trunk/www/aria2/files/patch-src-DownloadEngine.cc	                        (rev 0)
+++ trunk/www/aria2/files/patch-src-DownloadEngine.cc	2014-09-07 13:59:03 UTC (rev 16910)
@@ -0,0 +1,10 @@
+--- src/DownloadEngine.cc.orig	2014-07-22 22:33:38.000000000 +0800
++++ src/DownloadEngine.cc	2014-07-24 02:58:37.228676022 +0800
+@@ -37,6 +37,7 @@
+ #include <signal.h>
+ 
+ #include <cstring>
++#include <cstdlib>
+ #include <cerrno>
+ #include <algorithm>
+ #include <numeric>

Modified: trunk/www/aria2/pkg-descr
===================================================================
--- trunk/www/aria2/pkg-descr	2014-09-07 13:55:36 UTC (rev 16909)
+++ trunk/www/aria2/pkg-descr	2014-09-07 13:59:03 UTC (rev 16910)
@@ -1,19 +1,24 @@
-aria2 has a segmented downloading engine in its core. 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
+aria2 is a lightweight multi-protocol & multi-source command-line download
+utility. It supports HTTP/HTTPS, FTP, BitTorrent and Metalink. aria2 can be
+manipulated via built-in JSON-RPC and XML-RPC interfaces. Its features include:
+- Multi-Connection Download.
+  aria2 can download a file from multiple sources/protocols and tries to utilize
+  your maximum download bandwidth. Really speeds up your download experience.
+- Lightweight.
+  aria2 doesn't require much memory and CPU time. The physical memory usage is
+  typically 4MiB (normal HTTP/FTP downloads) to 9MiB (BitTorrent downloads). CPU
+  usage in BitTorrent with download speed of 2.8MiB/sec is around 6%.
+- Fully Featured BitTorrent Client.
+  All features you want in BitTorrent client are available: DHT, PEX,
+  Encryption, Magnet URI, Web-Seeding, Selective Downloads and Local Peer
+  Discovery.
+- Metalink Enabled.
+  aria2 supports The Metalink Download Description Format (aka Metalink v4),
+  Metalink version 3 and Metalink/HTTP. Metalink offers the file verification,
+  HTTP/FTP/BitTorrent integration and the various configurations for language,
+  location, OS, etc.
+- Remote Control.
+  aria2 supports RPC interface to control the aria2 process. The supported
+  interfaces are JSON-RPC (over HTTP and WebSocket) and XML-RPC.
 
 WWW: http://aria2.sourceforge.net/
-Author: Tatsuhiro Tsujikawa <tujikawa at users dot sourceforge dot net>


Property changes on: trunk/www/aria2/pkg-descr
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Added: trunk/www/aria2/pkg-plist
===================================================================
--- trunk/www/aria2/pkg-plist	                        (rev 0)
+++ trunk/www/aria2/pkg-plist	2014-09-07 13:59:03 UTC (rev 16910)
@@ -0,0 +1,65 @@
+bin/aria2c
+include/aria2/aria2.h
+lib/libaria2.a
+lib/libaria2.so
+lib/libaria2.so.0
+lib/libaria2.so.0.0.0
+libdata/pkgconfig/libaria2.pc
+man/man1/aria2c.1.gz
+man/pt/man1/aria2c.1.gz
+man/ru/man1/aria2c.1.gz
+%%NLS%%share/locale/ar/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/bn/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/da/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/de/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/el/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/en at boldquot/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/en at quot/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/es/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/fa/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/fil/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/he/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/id/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/it/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/kk/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/ms/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/oc/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/th/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/zh_HK/LC_MESSAGES/aria2.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/aria2.mo
+%%NLS%%@dirrmtry share/locale/zh_HK/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/zh_HK
+%%NLS%%@dirrmtry share/locale/oc/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/oc
+%%NLS%%@dirrmtry share/locale/kk/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/kk
+%%NLS%%@dirrmtry share/locale/fil/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/fil
+ at dirrmtry man/ru/man1
+ at dirrmtry man/ru
+ at dirrmtry man/pt/man1
+ at dirrmtry man/pt
+ at dirrmtry include/aria2



More information about the Midnightbsd-cvs mailing list