ports/122802: [PATCH] Update ftp/axel to 1.1

Xin LI delphij at FreeBSD.org
Tue Apr 15 19:50:03 UTC 2008


>Number:         122802
>Category:       ports
>Synopsis:       [PATCH] Update ftp/axel to 1.1
>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:   Tue Apr 15 19:50:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD freefall.freebsd.org 7.0-STABLE FreeBSD 7.0-STABLE #34: Sat Apr 12 11:52:18 UTC 2008 simon at freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386


>Description:
	This patchset updates axel to 1.1, while I'm there, make it possible to
build non-NLS version as well as debug version of the application.
>How-To-Repeat:
>Fix:


--- axel.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/ftp/axel/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile	23 Jul 2007 09:35:51 -0000	1.24
+++ Makefile	15 Apr 2008 19:44:00 -0000
@@ -7,23 +7,42 @@
 #
 
 PORTNAME=	axel
-PORTVERSION=	1.0b
-PORTREVISION=	0
+PORTVERSION=	1.1
 CATEGORIES=	ftp
-MASTER_SITES=	http://wilmer.gaast.net/downloads/
+MASTER_SITES=	${MASTER_SITE_GENTOO} \
+		http://alioth.debian.org/frs/download.php/2287/
+MASTER_SITE_SUBDIR=	distfiles
 
 MAINTAINER=	prudhvikrishna at gmail.com
 COMMENT=	A download accelerator
 
-USE_GETTEXT=	yes
 USE_GMAKE=	yes
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${MANPREFIX}/man --i18n=1
 
+OPTIONS=	NLS	"I18N support"		on	\
+		DEBUG	"Debugging support"	off
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT=	yes
+USE_ICONV=	yes
+PLIST_SUB+=	NLS=""
+CONFIGURE_ARGS+=--i18n=1
+.else
+PLIST_SUB+=	NLS="@comment "
+CONFIGURE_ARGS+=--i18n=0
+.endif
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--debug=1 --strip=0
+.endif
+
 MAN1=		axel.1
 
 post-configure:
 	@${REINPLACE_CMD} -e 's,-O3,${CFLAGS},; s|gcc|${CC}|; \
 		s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/ftp/axel/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo	24 Nov 2005 16:27:22 -0000	1.9
+++ distinfo	15 Apr 2008 19:18:55 -0000
@@ -1,3 +1,3 @@
-MD5 (axel-1.0b.tar.gz) = 679da19b47570f7ddff1e7958d5df97f
-SHA256 (axel-1.0b.tar.gz) = cac515949321fa538deb9ab221d233f722fbc3b82d7f7b7c34d6441cb71d7ad4
-SIZE (axel-1.0b.tar.gz) = 43293
+MD5 (axel-1.1.tar.gz) = 4991b6ed3c2808c6951c8b1e0a276ce7
+SHA256 (axel-1.1.tar.gz) = 398ea22b9805e563c3f703377ae6fedd4e339e6702f0f2af11ac7a8180d3eb43
+SIZE (axel-1.1.tar.gz) = 45650
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/ftp/axel/pkg-descr,v
retrieving revision 1.3
diff -u -p -r1.3 pkg-descr
--- pkg-descr	20 Jul 2005 04:42:02 -0000	1.3
+++ pkg-descr	15 Apr 2008 19:22:22 -0000
@@ -2,4 +2,4 @@ Axel tries to accelerate downloads by op
 server (possibly to different servers). Because of its size it might also
 be useful as a wget replacement on bootdisks and other small systems.
 
-WWW: http://wilmer.gaast.net/main.php/axel.html
+WWW: http://axel.alioth.debian.org/
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/ftp/axel/pkg-plist,v
retrieving revision 1.4
diff -u -p -r1.4 pkg-plist
--- pkg-plist	20 Nov 2001 12:36:28 -0000	1.4
+++ pkg-plist	15 Apr 2008 19:38:06 -0000
@@ -1,4 +1,4 @@
 bin/axel
 etc/axelrc
-share/locale/de/LC_MESSAGES/axel.mo
-share/locale/nl/LC_MESSAGES/axel.mo
+%%NLS%%share/locale/de/LC_MESSAGES/axel.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/axel.mo
--- axel.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list