From delphij@FreeBSD.org  Tue Apr 15 19:47:33 2008
Return-Path: <delphij@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 86A121065673
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Apr 2008 19:47:33 +0000 (UTC)
	(envelope-from delphij@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 746948FC18;
	Tue, 15 Apr 2008 19:47:33 +0000 (UTC)
	(envelope-from delphij@FreeBSD.org)
Received: from freefall.freebsd.org (delphij@localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3FJlXop067447;
	Tue, 15 Apr 2008 19:47:33 GMT
	(envelope-from delphij@freefall.freebsd.org)
Received: (from delphij@localhost)
	by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3FJlXNX067446;
	Tue, 15 Apr 2008 19:47:33 GMT
	(envelope-from delphij)
Message-Id: <200804151947.m3FJlXNX067446@freefall.freebsd.org>
Date: Tue, 15 Apr 2008 19:47:33 GMT
From: Xin LI <delphij@freebsd.org>
Reply-To: Xin LI <delphij@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: prudhvikrishna@gmail.com
Subject: [PATCH] Update ftp/axel to 1.1
X-Send-Pr-Version: 3.113
X-GNATS-Notify: prudhvikrishna@gmail.com

>Number:         122802
>Category:       ports
>Synopsis:       [PATCH] Update ftp/axel to 1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 15 19:50:03 UTC 2008
>Closed-Date:    Wed Apr 16 03:26:01 UTC 2008
>Last-Modified:  Wed Apr 16 03:30:01 UTC 2008
>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@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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Apr 15 19:50:13 UTC 2008 
Responsible-Changed-Why:  
beech@ wants this category PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122802 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Apr 15 19:50:16 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122802 
Responsible-Changed-From-To: beech->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Tue Apr 15 19:54:51 UTC 2008 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=122802 

From: "Prudhvi Krishna" <prudhvikrishna@gmail.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/122802: [PATCH] Update ftp/axel to 1.1
Date: Tue, 15 Apr 2008 19:56:46 -0500

 Hi all,
 
 I approve this patch.
 
 Thank You.
 
 On Tue, Apr 15, 2008 at 9:50 PM, Edwin Groothuis <edwin@freebsd.org> wrote:
 > Maintainer of ftp/axel,
 >
 >  Please note that PR ports/122802 has just been submitted.
 >
 >  If it contains a patch for an upgrade, an enhancement or a bug fix
 >  you agree on, reply to this email stating that you approve the patch
 >  and a committer will take care of it.
 >
 >  The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/122802
 >
 >  --
 >  Edwin Groothuis via the GNATS Auto Assign Tool
 >  edwin@FreeBSD.org
 >
State-Changed-From-To: feedback->closed 
State-Changed-By: delphij 
State-Changed-When: Wed Apr 16 03:25:45 UTC 2008 
State-Changed-Why:  
Committed after maintainer approval. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122802 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/122802: commit references a PR
Date: Wed, 16 Apr 2008 03:25:08 +0000 (UTC)

 delphij     2008-04-16 03:24:59 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ftp/axel             Makefile distinfo pkg-descr pkg-plist 
   Log:
   Update to 1.1; while I'm there, OPTIONize NLS and DEBUG, and
   reflect the new home.
   
   PR:             ports/122802
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.25      +24 -5     ports/ftp/axel/Makefile
   1.10      +3 -3      ports/ftp/axel/distinfo
   1.4       +1 -1      ports/ftp/axel/pkg-descr
   1.5       +2 -2      ports/ftp/axel/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
