ports/140611: [patch] ftp/axel: update to 2.4
Cristiano Rolim Pereira
cristianorolim at hotmail.com
Mon Nov 16 21:40:01 UTC 2009
>Number: 140611
>Category: ports
>Synopsis: [patch] ftp/axel: update to 2.4
>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: Mon Nov 16 21:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Cristiano Rolim Pereira
>Release: 7.2-RELEASE-p4
>Organization:
>Environment:
FreeBSD bsd7.casa 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 08:22:32 UTC 2009 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
- Update to 2.4
- Add Backup Mirror
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN ../axel.orig/Makefile ./Makefile
--- ../axel.orig/Makefile 2009-07-13 18:40:49.000000000 -0300
+++ ./Makefile 2009-11-16 19:17:33.000000000 -0200
@@ -7,11 +7,11 @@
#
PORTNAME= axel
-PORTVERSION= 2.3
+PORTVERSION= 2.4
CATEGORIES= ftp
-MASTER_SITES= http://alioth.debian.org/frs/download.php/2717/ \
- http://mirror.mcx2.org/
-MASTER_SITE_SUBDIR= distfiles
+MASTER_SITES= https://alioth.debian.org/frs/download.php/3015/ \
+ ftp://ftp.linuxforum.hu/mirrors/frugalware/pub/frugalware/frugalware-testing/source/apps-extra/axel/ \
+ http://cvs.fedoraproject.org/repo/pkgs/axel/axel-2.4.tar.gz/a2a762fce0c96781965c8f9786a3d09d/
MAINTAINER= prudhvi-krishna-bsd at surapaneni.in
COMMENT= A download accelerator
@@ -40,13 +40,10 @@
.endif
MAN1= axel.1
+MANLANG= "" zh_CN
post-configure:
@${REINPLACE_CMD} -e 's|gcc|${CC}|; \
s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings
- @${REINPLACE_CMD} -e '37,38d' \
- -e 's|cn|CN|g' ${WRKSRC}/Makefile
- ${MV} ${WRKSRC}/zh_cn.po ${WRKSRC}/zh_CN.po
- @${ECHO} 'CFLAGS+=${CFLAGS}' >> ${WRKSRC}/Makefile.settings
.include <bsd.port.post.mk>
diff -ruN ../axel.orig/distinfo ./distinfo
--- ../axel.orig/distinfo 2009-03-15 17:47:30.000000000 -0300
+++ ./distinfo 2009-11-16 01:23:05.000000000 -0200
@@ -1,3 +1,3 @@
-MD5 (axel-2.3.tar.gz) = 6f49813ffc1dd10829d74b73712cb5ed
-SHA256 (axel-2.3.tar.gz) = 2d1ae1b86feedbbee659a3146d611ce9f6ba5796ccde05a587a440fd33493661
-SIZE (axel-2.3.tar.gz) = 50589
+MD5 (axel-2.4.tar.gz) = a2a762fce0c96781965c8f9786a3d09d
+SHA256 (axel-2.4.tar.gz) = 359a57ab4e354bcb6075430d977c59d33eb3e2f1415a811948fa8ae657ca8036
+SIZE (axel-2.4.tar.gz) = 50704
diff -ruN ../axel.orig/files/patch-aa ./files/patch-aa
--- ../axel.orig/files/patch-aa 2003-06-25 14:17:08.000000000 -0300
+++ ./files/patch-aa 1969-12-31 21:00:00.000000000 -0300
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/ftp/axel/files/patch-aa,v 1.2 2003/06/25 17:17:08 naddy Exp $
-
---- configure.orig Wed Jan 23 02:03:07 2002
-+++ configure Wed Jun 25 18:58:36 2003
-@@ -19,7 +19,7 @@
- arch=`uname -s`
-
- while [ -n "$1" ]; do
-- e="`expr "$1" : '--\(.*=.*\)'`"
-+ e=`expr "X$1" : 'X--\(.*=.*\)'`
- if [ -z "$e" ]; then
- cat<<EOF
- Axel configure
diff -ruN ../axel.orig/files/patch-configure ./files/patch-configure
--- ../axel.orig/files/patch-configure 1969-12-31 21:00:00.000000000 -0300
+++ ./files/patch-configure 2009-11-16 18:25:55.000000000 -0200
@@ -0,0 +1,11 @@
+--- configure.orig 2009-04-27 11:19:03.000000000 -0300
++++ configure 2009-11-16 18:21:17.000000000 -0200
+@@ -20,7 +20,7 @@
+ arch=`uname -s`
+
+ while [ -n "$1" ]; do
+- e="`expr "$1" : '--\(.*=.*\)'`"
++ e=`expr "X$1" : 'X--\(.*=.*\)'`
+ if [ -z "$e" ]; then
+ cat<<EOF
+ Axel configure
diff -ruN ../axel.orig/pkg-plist ./pkg-plist
--- ../axel.orig/pkg-plist 2009-03-15 17:47:30.000000000 -0300
+++ ./pkg-plist 2009-11-16 18:58:40.000000000 -0200
@@ -4,3 +4,5 @@
%%NLS%%share/locale/nl/LC_MESSAGES/axel.mo
%%NLS%%share/locale/ru/LC_MESSAGES/axel.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/axel.mo
+ at dirrmtry man/zh_CN/man1
+ at dirrmtry man/zh_CN
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list