From owner-freebsd-ports@FreeBSD.ORG Mon Nov 3 22:18:01 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50808616 for ; Mon, 3 Nov 2014 22:18:01 +0000 (UTC) Received: from mail-in-10.arcor-online.net (mail-in-10.arcor-online.net [151.189.21.50]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 03C51273 for ; Mon, 3 Nov 2014 22:18:00 +0000 (UTC) Received: from mail-in-18-z2.arcor-online.net (mail-in-18-z2.arcor-online.net [151.189.8.35]) by mx.arcor.de (Postfix) with ESMTP id 42ED62D64C0 for ; Mon, 3 Nov 2014 22:46:30 +0100 (CET) Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mail-in-18-z2.arcor-online.net (Postfix) with ESMTP id 3D03C33B4D0 for ; Mon, 3 Nov 2014 22:46:30 +0100 (CET) X-Greylist: Passed host: 188.105.83.166 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 29BC29BE13 Received: from lorvorc.mips.inka.de (dslb-188-105-083-166.188.105.pools.vodafone-ip.de [188.105.83.166]) by mail-in-14.arcor-online.net (Postfix) with ESMTPS id 29BC29BE13 for ; Mon, 3 Nov 2014 22:46:30 +0100 (CET) Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.9/8.14.7) with ESMTP id sA3LkTEL078843 for ; Mon, 3 Nov 2014 22:46:29 +0100 (CET) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.14.9/8.14.9/Submit) id sA3LkTaH078842 for freebsd-ports@freebsd.org; Mon, 3 Nov 2014 22:46:29 +0100 (CET) (envelope-from news) To: freebsd-ports@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.ports Subject: Re: Reducing the size of the ports tree (brainstorm v2) Date: Mon, 3 Nov 2014 21:46:29 +0000 (UTC) Lines: 23 Message-ID: References: <20141031185621.GC15967@ivaldir.etoilebsd.net> <20141101000723.782768a3@kalimero.tijl.coosemans.org> X-Trace: lorvorc.mips.inka.de 1415051189 78601 ::1 (3 Nov 2014 21:46:29 GMT) X-Complaints-To: usenet@mips.inka.de User-Agent: slrn/1.0.1 (FreeBSD) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2014 22:18:01 -0000 On 2014-10-31, Tijl Coosemans 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