Date: Tue, 18 Dec 2007 11:05:11 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: ports@freebsd.org Cc: rpz@cse.wustl.edu, brooks@freebsd.org, amistry@am-productions.biz, gerrit.beine@gmx.de, lioux@freebsd.org Subject: Ports that use wget instead of fetch Message-ID: <868x3snwrs.fsf@ds4.des.no>
next in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable A quick survey of ports that use wget instead of fetch to get the distfile: audio/ventrilo-server/Makefile - needs POST, which fetch does not support biology/gmap/Makefile - distfile does not exist on master site, project web page also missing, unable to locate with Google devel/looks/Makefile - distfile does not exist on master site, but other ports using the same master site work fine with fetch devel/subclipse/Makefile - works fine with fetch sysutils/sge/Makefile - needs cookies, which fetch does not support textproc/javacc/Makefile - works fine with fetch x11/rxvt-devel/Makefile - both master site work fine with fetch, but one of them doesn't have the distfile; should use sourceforge instead x11/rxvt/Makefile - one master site (planetmirror.com) out of three is broken, the other two work fine; should use sourceforge instead I've attached a patch for the ports that I've been able to verify work correctly with fetch. I'd appreciate it if the maintainers of the remaining ports would add comments to the Makefile explaining why wget is necessary. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=wget-ports.diff Index: devel/subclipse/Makefile =================================================================== RCS file: /home/pcvs/ports/devel/subclipse/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- devel/subclipse/Makefile 27 Sep 2007 20:56:48 -0000 1.14 +++ devel/subclipse/Makefile 18 Dec 2007 09:34:44 -0000 @@ -16,7 +16,6 @@ COMMENT= A subversion plugin for the Eclipse IDE Framework RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse -FETCH_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget CONFLICTS= phpeclipse-[0-9]* @@ -33,15 +32,8 @@ plugins/${SUBCLIPSE}.mylyn_2.0.0 \ plugins/${SUBCLIPSE}.ui_${PORTVERSION} -WGET?= ${LOCALBASE}/bin/wget - .include <bsd.port.pre.mk> -do-fetch: -.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.zip) - ${WGET} -P${DISTDIR}/${DIST_SUBDIR} ${MASTER_SITES}/${DISTNAME}.zip -.endif - post-extract: .for f in ${SUBCLIPSEFILES} cd ${WRKSRC} \ Index: textproc/javacc/Makefile =================================================================== RCS file: /home/pcvs/ports/textproc/javacc/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- textproc/javacc/Makefile 29 Jun 2007 19:33:24 -0000 1.14 +++ textproc/javacc/Makefile 18 Dec 2007 09:52:01 -0000 @@ -15,13 +15,9 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Java parser generator and lexical analyzer -FETCH_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget - USE_JAVA= yes USE_ANT= yes DISABLE_SIZE= yes -FETCH_CMD= ${LOCALBASE}/bin/wget -FETCH_BEFORE_ARGS= --no-check-certificate WRKSRC= ${WRKDIR}/${PORTNAME} .include <bsd.port.pre.mk> Index: x11/rxvt-devel/Makefile =================================================================== RCS file: /home/pcvs/ports/x11/rxvt-devel/Makefile,v retrieving revision 1.81 diff -u -r1.81 Makefile --- x11/rxvt-devel/Makefile 19 May 2007 20:27:17 -0000 1.81 +++ x11/rxvt-devel/Makefile 18 Dec 2007 09:58:21 -0000 @@ -12,18 +12,12 @@ PORTVERSION= 2.7.10 PORTREVISION= 2 CATEGORIES+= x11 -MASTER_SITES= \ - http://slackware.osuosl.org/slackware_source/xap/rxvt/ \ - ftp://ftp.fu-berlin.de/unix/X11/terms/rxvt/%SUBDIR%/ -MASTER_SITE_SUBDIR= . old devel +MASTER_SITES= SF PKGNAMESUFFIX= -devel -DISTNAME= rxvt-${PORTVERSION} MAINTAINER= lioux@FreeBSD.org COMMENT= A low memory usage xterm replacement that supports color -FETCH_DEPENDS= wget:${PORTSDIR}/ftp/wget - USE_AUTOTOOLS= libtool:15 USE_PERL5_BUILD=yes USE_X_PREFIX= yes @@ -33,17 +27,9 @@ --with-xpm --enable-xpm-background --enable-transparency \ --enable-shared INSTALLS_SHLIB= yes -USE_BZIP2= yes MAN1= rxvt.1 -# fetch(1) is misbehaving with these MASTER_SITES -FETCH_CMD= ${LOCALBASE}/bin/wget -FETCH_REGET= 0 -DISABLE_SIZE= yes -FETCH_BEFORE_ARGS= -FETCH_AFTER_ARGS= - # disable backspace key .if defined(WITHOUT_BACKSPACE_KEY) CONFIGURE_ARGS+= --disable-backspace-key Index: x11/rxvt-devel/distinfo =================================================================== RCS file: /home/pcvs/ports/x11/rxvt-devel/distinfo,v retrieving revision 1.20 diff -u -r1.20 distinfo --- x11/rxvt-devel/distinfo 11 Nov 2005 06:06:13 -0000 1.20 +++ x11/rxvt-devel/distinfo 18 Dec 2007 09:58:31 -0000 @@ -1,3 +1,3 @@ -MD5 (rxvt-2.7.10.tar.bz2) = 00dd774ee6e4e06d5a060266d7bb92f5 -SHA256 (rxvt-2.7.10.tar.bz2) = 81df129839edd2b5d569396043676875814115d9398e0dce6397f54a447f2fba -SIZE (rxvt-2.7.10.tar.bz2) = 493199 +MD5 (rxvt-2.7.10.tar.gz) = 302c5c455e64047b02d1ef19ff749141 +SHA256 (rxvt-2.7.10.tar.gz) = 616ad56502820264e6933d07bc4eb752aa6940ec14add6e780ffccf15f38d449 +SIZE (rxvt-2.7.10.tar.gz) = 595073 Index: x11/rxvt/Makefile =================================================================== RCS file: /home/pcvs/ports/x11/rxvt/Makefile,v retrieving revision 1.62 diff -u -r1.62 Makefile --- x11/rxvt/Makefile 19 May 2007 20:27:16 -0000 1.62 +++ x11/rxvt/Makefile 18 Dec 2007 09:58:52 -0000 @@ -12,17 +12,11 @@ PORTVERSION= 2.6.4 PORTREVISION= 3 CATEGORIES+= x11 -MASTER_SITES= \ - http://public.planetmirror.com/pub/rxvt/%SUBDIR%/ \ - http://slackware.osuosl.org/slackware-8.1/source/xap/rxvt/ \ - ftp://ftp.fu-berlin.de/unix/X11/terms/rxvt/%SUBDIR%/ -MASTER_SITE_SUBDIR= . old devel +MASTER_SITES= SF MAINTAINER= lioux@FreeBSD.org COMMENT= A low memory usage xterm replacement that supports color -FETCH_DEPENDS= wget:${PORTSDIR}/ftp/wget - USE_X_PREFIX= yes USE_XPM= yes GNU_CONFIGURE= yes @@ -30,17 +24,9 @@ --with-xpm --enable-xpm-background --enable-transparency \ --with-xpm-includes=${X11BASE}/include/X11 \ --with-xpm-library=${X11BASE}/lib -USE_BZIP2= yes MAN1= rxvt.1 PLIST_FILES= bin/rxvt -# fetch(1) is misbehaving with these MASTER_SITES -FETCH_CMD= ${LOCALBASE}/bin/wget -FETCH_REGET= 0 -DISABLE_SIZE= yes -FETCH_BEFORE_ARGS= -FETCH_AFTER_ARGS= - # enable big5 support .if defined(WITH_BIG5) CONFIGURE_ARGS+= --enable-big5 Index: x11/rxvt/distinfo =================================================================== RCS file: /home/pcvs/ports/x11/rxvt/distinfo,v retrieving revision 1.17 diff -u -r1.17 distinfo --- x11/rxvt/distinfo 11 Nov 2005 06:06:13 -0000 1.17 +++ x11/rxvt/distinfo 18 Dec 2007 09:58:56 -0000 @@ -1,3 +1,3 @@ -MD5 (rxvt-2.6.4.tar.bz2) = 0f21182dbcf8f48087ef9980dafb8c35 -SHA256 (rxvt-2.6.4.tar.bz2) = 69910cbddbfabe00a0941a2c3dc74dd6b5c0db66f8e8b1773d55c322ba2e4938 -SIZE (rxvt-2.6.4.tar.bz2) = 252636 +MD5 (rxvt-2.6.4.tar.gz) = 6b33ae7724e5e669ab9b2e79ae9a7758 +SHA256 (rxvt-2.6.4.tar.gz) = af0b90bb4d563aafeabcb4c237bd66668740743531e025a70d61a32d214f2242 +SIZE (rxvt-2.6.4.tar.gz) = 307334 --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868x3snwrs.fsf>