Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2009 09:16:51 +0300
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        Rainer Hurling <rhurlin@gwdg.de>, freebsd-ports@FreeBSD.org
Subject:   Re: Getting MASTER_SITES for sourceforge ports more easily
Message-ID:  <Bjngseb3osVLoQDmng7iYHzUzgw@7ANLw7WpNQUEViOFvqmcIRbmcl4>
In-Reply-To: <20091114040417.GA66462@hades.panopticon>
References:  <20091114040417.GA66462@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help

--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Sat, Nov 14, 2009 at 07:04:17AM +0300, Dmitry Marakasov wrote:
> Recently there have been at least two questions about a correct way
> of defining MASTER_SITES for SourceForge-hosted projects. Here's a
> way to make it a bit easier: it's a GreaseMonkey
> (https://addons.mozilla.org/en-US/firefox/addon/748) script that
> converts links on sourceforge pages to direct links.
> 
> http://userscripts.org/scripts/show/50136
> 
> With this, links like .../download will be changed to direct ones, which
> can be copypasted to SF/...

The attached shell script should produce the MASTER_SITE_SUBDIR for the
SF-hosted ports for each URL given in the command-line.
-- 
Eygene
 _                ___       _.--.   #
 \`.|\..----...-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' `         ,       __.--'      #  to read the on-line manual
 )/' _/     \   `-_,   /            #  while single-stepping the kernel.
 `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
     _.-'_./   {_.'   ; /           #    -- FreeBSD Developers handbook
    {_.-``-'         {_/            #

--mP3DRpeJDSE+ciuQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Bjngseb3osVLoQDmng7iYHzUzgw>