* Dmitry Marakasov (amd...@amdmi3.ru) wrote: Here's the patch I propose.
Unfortunately, there's no way to guess MASTER_SITE_SUBDIR (examples: http://sunet.dl.sourceforge.net/project/maxima/Maxima-source/5.19.0-source/maxima-5.19.0.tar.gz http://sunet.dl.sourceforge.net/project/lam/LAM/2.7.0/ldap-account-manager-2.7.0.tar.gz ) so for SFNEW it should be always set in the port. I'm also thinking of writing to SF (their change also breaks at least portscout). We may also consider switching to following redirects in fetch. --- bsd.sites.mk.patch begins here --- Index: bsd.sites.mk =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/Mk/bsd.sites.mk,v retrieving revision 1.478 diff -u -r1.478 bsd.sites.mk --- bsd.sites.mk 11 Aug 2009 06:58:24 -0000 1.478 +++ bsd.sites.mk 11 Aug 2009 15:36:25 -0000 @@ -1172,12 +1172,20 @@ .endif .if !defined(IGNORE_MASTER_SITE_SOURCEFORGE) -.for mirror in superb-east nchc kent easynews ufpr mesh heanet # garr +.for mirror in garr superb-east nchc kent easynews ufpr mesh heanet MASTER_SITE_SOURCEFORGE+= \ http://${mirror}.dl.sourceforge.net/sourceforge/%SUBDIR%/ .endfor .endif +# new SourceForge url scheme +.if !defined(IGNORE_MASTER_SITE_SOURCEFORGE_NEW) +.for mirror in garr superb-east nchc kent easynews ufpr mesh heanet +MASTER_SITE_SOURCEFORGE_NEW+= \ + http://${mirror}.dl.sourceforge.net/project/%SUBDIR%/ +.endfor +.endif + # official sf.net mirrors that don't mirror all projects, check # http://prdownloads.sourceforge.net/%SUBDIR%/ .if !defined(IGNORE_MASTER_SITE_SOURCEFORGE_EXTENDED) @@ -1494,7 +1502,7 @@ # Macro magic MASTER_SITES_ABBREVS= CPAN:PERL_CPAN SF:SOURCEFORGE SFE:SOURCEFORGE_EXTENDED \ - SFJP:SOURCEFORGE_JP RF:RUBYFORGE + SFNEW:SOURCEFORGE_NEW SFJP:SOURCEFORGE_JP RF:RUBYFORGE MASTER_SITES_SUBDIRS= \ APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \ BERLIOS:${PORTNAME:L} \ --- bsd.sites.mk.patch ends here --- -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ru http://www.amdmi3.ru _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"