From owner-freebsd-ports@FreeBSD.ORG Sat Nov 14 06:16:54 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 324B3106568B for ; Sat, 14 Nov 2009 06:16:54 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id D6B908FC17 for ; Sat, 14 Nov 2009 06:16:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codelabs.ru; s=two; h=Date:From:To:Cc:Subject:Message-ID: Reply-To:References:MIME-Version:Content-Type:In-Reply-To: Sender; bh=0snmUjAcBvVILxl6EqiTz85uZ5iM79309xQxGNt8bEo=; b=FlPQG 5EMCf3ki9MiDjIRWve/1dXHZv4C2mJ7QlIToU3sbGbB2IlZGMdiVbBFWdroMy/1U GYnIG9mQjxUq4zMD7Iu9mXAxL8Itx3XHakXOwaIopfSf926bsWGu3v2JMCEFtGHi PP0ZAbQZ6WIQhc0jPC23Pe8aNeSFZtStm7zOXRzgRjgSpzwUpD0FtJZZ4JGfd/tJ gPwtPrVihTgO0GKuky2Y74C3QpVM0cvcxcUOVqUkc5WkPiZjal7VhNwMFGzsGhce mWqbsQ1ufl6E0XMe04KZbT318UmAa+aDFOhuYdVOeK+gHmPhlS43WrVQE1YawNWA lT7e4wCaRB/8ih90A== Received: from shadow.codelabs.ru (cdma-92-36-69-228.msk.skylink.ru [92.36.69.228]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1N9BwI-000NcU-9Y; Sat, 14 Nov 2009 09:16:52 +0300 Date: Sat, 14 Nov 2009 09:16:51 +0300 From: Eygene Ryabinkin To: Dmitry Marakasov Message-ID: References: <20091114040417.GA66462@hades.panopticon> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: <20091114040417.GA66462@hades.panopticon> Sender: rea-fbsd@codelabs.ru X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Rainer Hurling , freebsd-ports@FreeBSD.org Subject: Re: Getting MASTER_SITES for sourceforge ports more easily X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2009 06:16:54 -0000 --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--