Date: Mon, 3 Nov 2014 21:46:29 +0000 (UTC) From: Christian Weisgerber <naddy@mips.inka.de> To: freebsd-ports@freebsd.org Subject: Re: Reducing the size of the ports tree (brainstorm v2) Message-ID: <slrnm5fttl.2co8.naddy@lorvorc.mips.inka.de> References: <20141031185621.GC15967@ivaldir.etoilebsd.net> <20141101000723.782768a3@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-10-31, Tijl Coosemans <tijl@FreeBSD.org> wrote: > For distinfo I was thinking about something like this in the Makefile: > > DIST_FILES= FOO BAR > > FOO_FILE= foo-1.0 > FOO_SITES= http://www.example.com/foo/ > FOO_SIZE= 12345 > FOO_SHA256= 0123456789abcdef..... This is where OpenBSD's sha256(1)'s support for checksums in base64 notation would come in handy. > Then for ports with a single distfile named after PORTNAME (the large > majority), the above would reduce to: [...] > Also, if BAR_SITES is the same as FOO_SITES you can use somthing like > BAR_SITES=${FOO_SITES} of course. Well, as long as "make makesum" does the right thing... -- Christian "naddy" Weisgerber naddy@mips.inka.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnm5fttl.2co8.naddy>