[Midnightbsd-cvs] mports [22383] trunk/www/aria2: aria 2 1.31.0

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 18 11:30:33 EDT 2017


Revision: 22383
          http://svnweb.midnightbsd.org/mports/?rev=22383
Author:   laffer1
Date:     2017-03-18 11:30:33 -0400 (Sat, 18 Mar 2017)
Log Message:
-----------
aria 2 1.31.0

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

Modified: trunk/www/aria2/Makefile
===================================================================
--- trunk/www/aria2/Makefile	2017-03-18 14:54:49 UTC (rev 22382)
+++ trunk/www/aria2/Makefile	2017-03-18 15:30:33 UTC (rev 22383)
@@ -1,19 +1,23 @@
 # $MidnightBSD$
 
 PORTNAME=	aria2
-PORTVERSION=	1.20.0
+PORTVERSION=	1.31.0
+PORTREVISION=	1
 CATEGORIES=	www
-MASTER_SITES=	https://github.com/tatsuhiro-t/${PORTNAME}/releases/download/release-${PORTVERSION}/
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/release-${PORTVERSION}/ \
+		FREEBSD_LOCAL/sunpoet
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Yet another download tool
 
 LICENSE=	gpl2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-OPTIONS_DEFINE=	CA_BUNDLE DOCS NLS SQLITE
+OPTIONS_DEFINE=	CA_BUNDLE DOCS NLS SQLITE SSH2
 OPTIONS_DEFAULT=SQLITE
 OPTIONS_SUB=	yes
 CA_BUNDLE_DESC=	Use CA bundle from Mozilla Project
+SSH2_DESC=	SSH2 protocol support
 
 CONFIGURE_ARGS=	--disable-epoll --enable-bittorrent --enable-libaria2 \
 		--enable-metalink --enable-shared --enable-ssl --enable-static \
@@ -25,8 +29,6 @@
 		--without-libnettle --without-libuv
 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
 INSTALL_TARGET=	install-strip
@@ -41,19 +43,20 @@
 
 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
+CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
 NLS_CONFIGURE_OFF=	--disable-nls --without-libintl-prefix
 NLS_CONFIGURE_ON=	--with-libintl-prefix=${LOCALBASE}
 NLS_LDFLAGS=		-lintl
-NLS_USES=		gettext
-SQLITE_CONFIGURE_OFF=	--without-sqlite3
-SQLITE_CONFIGURE_ON=	--with-sqlite3=/usr
+NLS_USES=		gettext localbase
+SQLITE_CONFIGURE_WITH=	sqlite3
+SQLITE_USES=		sqlite
+SSH2_CONFIGURE_WITH=	libssh2
+SSH2_LIB_DEPENDS=	libssh2.so:security/libssh2
 
 ARIA2_DISK_CACHE?=	16M
 
-.include <bsd.port.pre.mk>
-
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaria2.so.0.0.0
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
+	${INSTALL_DATA} ${WRKSRC}/doc/bash_completion/aria2c ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: trunk/www/aria2/distinfo
===================================================================
--- trunk/www/aria2/distinfo	2017-03-18 14:54:49 UTC (rev 22382)
+++ trunk/www/aria2/distinfo	2017-03-18 15:30:33 UTC (rev 22383)
@@ -1,2 +1,3 @@
-SHA256 (aria2-1.20.0.tar.xz) = bf96344b6fee3aada0881ca008b077ea2c5dd820e8f8d693329481ecc7ff8fd0
-SIZE (aria2-1.20.0.tar.xz) = 1410880
+TIMESTAMP = 1485033823
+SHA256 (aria2-1.31.0.tar.xz) = 7b85619048b23406f241e38a5b1b8b0bc2cae9e80fd117810c2a71ecca813f8c
+SIZE (aria2-1.31.0.tar.xz) = 1501388

Modified: trunk/www/aria2/pkg-descr
===================================================================
--- trunk/www/aria2/pkg-descr	2017-03-18 14:54:49 UTC (rev 22382)
+++ trunk/www/aria2/pkg-descr	2017-03-18 15:30:33 UTC (rev 22383)
@@ -21,4 +21,4 @@
   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/
+WWW: https://aria2.github.io/

Modified: trunk/www/aria2/pkg-plist
===================================================================
--- trunk/www/aria2/pkg-plist	2017-03-18 14:54:49 UTC (rev 22382)
+++ trunk/www/aria2/pkg-plist	2017-03-18 15:30:33 UTC (rev 22383)
@@ -1,4 +1,5 @@
 bin/aria2c
+etc/bash_completion.d/aria2c
 include/aria2/aria2.h
 lib/libaria2.a
 lib/libaria2.so



More information about the Midnightbsd-cvs mailing list