Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jun 2014 17:37:25 +0200
From:      Torsten Zuehlsdorff <mailinglists@toco-domains.de>
To:        "A.J. 'Fonz' van Werven" <freebsd@skysmurf.nl>
Cc:        mexas@bris.ac.uk, freebsd-ports@freebsd.org
Subject:   Re: drop maintainership of 6 ports
Message-ID:  <538F3D35.3080704@toco-domains.de>
In-Reply-To: <20140604152540.GA46545@spectrum.skysmurf.nl>
References:  <201406021058.s52AwBLS000753@mech-cluster241.men.bris.ac.uk> <538DC1B1.3030408@toco-domains.de> <20140603130359.GA38526@spectrum.skysmurf.nl> <538F2C43.1080006@toco-domains.de> <20140604152540.GA46545@spectrum.skysmurf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04.06.2014 17:25, A.J. 'Fonz' van Werven wrote:
> Torsten Zuehlsdorff wrote:
>>> 3. If you can, mirror the distfile and add your site to MASTER_SITES.
>>
>> I could easily mirror the distfile. But i'm unsure where to add the entry.
>> There is an entry MASTER_SITE_NETLIB in /usr/ports/Mk/bsd.sites.mk, which
>> definies the url for the distfiles. But if i understand correctly, the
>> MASTER_SITES listed there provide every file from Netlib, not just the
>> single distfile.
>>
>> So how could i add my mirror http://ports.toco-domains.de/fdfpp.tgz to the
>> port?
>
> Just add it to the port's Makefile (/usr/ports/devel/fpp/Makefile).
>
> It currently says:
> MASTER_SITES=   NL
> MASTER_SITE_SUBDIR=     fortran
>
> Make that:
> MASTER_SITES=   NL/fortran/ \
>                  http://ports.toco-domains.de/
>
> Note that the use of MASTER_SITE_SUBDIR is, well, maybe technically not
> deprecated, but no longer necessary either and in this case it's actually
> inconvenient, so get rid of that.

Okay, i changed it this way. :)

> You can test the mirror by temporarily removing the NL bit, making it
> MASTER_SITES=   http://ports.toco-domains.de/
> and doing
> # cd /usr/ports/devel/fpp
> # make distclean
> # make fetch
>
> It should then fetch the distfile from your mirror (note that it will try
> distcache.FreeBSD.org next if it fails). If it works, you can add the NL
> bit back in.

This worked :)

> Hope this helps,

Yes, it does. Thank you very much. I've submitted the PR with the patch 
for the maintainer update a minute ago.

Thank you very much!

Greetings,
Torsten



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