From owner-freebsd-ports@FreeBSD.ORG Fri Sep 5 08:19:17 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EEEBAF7B for ; Fri, 5 Sep 2014 08:19:16 +0000 (UTC) Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84B0F1C70 for ; Fri, 5 Sep 2014 08:19:16 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u56so11432114wes.30 for ; Fri, 05 Sep 2014 01:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=lDK8Q0AuYMijHBCum6Eau0SBvZswpb2MNQKsBumyrEQ=; b=lsPtRJJ67UfzELY9YSVoYG1GpB0oB2YhVeT5K4CWsGZDhs4DPdMvPFNjNzQL6flALK bPtoIvMg8Y12r8GRp/ynCKhNXiqGljFXOHzrrwEe9VTxh7l9eE74EPxOV2sF5aGVx+Hp BMeXQOaoj0bUTT5MG76L7vTwY/0w8WyYhJDwueCDNMq8Lihc+ubfeidD5w0w/BDjzkpZ ry/0u99FbY1aE5m3QoWRWUWa/fSZH/K3C7QRWeB+R1vkqN+Md2P9P/sI2M9k+RjynFmG 0FyNOjQ6tMQerPh8NeVkH6WVZUjpg+iA2UJJ3sB24HpG18+DFlHRzEUXTic4IquBdTTH C10g== X-Received: by 10.180.189.14 with SMTP id ge14mr802472wic.36.1409905154357; Fri, 05 Sep 2014 01:19:14 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id w2sm1152002wia.11.2014.09.05.01.19.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Sep 2014 01:19:13 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 5 Sep 2014 10:19:11 +0200 From: Baptiste Daroussin To: ports@freebsd.org Subject: First step (Re: [BRAINSTORMING] simplifying maintainer's life) Message-ID: <20140905081911.GB25840@ivaldir.etoilebsd.net> References: <20140903082538.GE63085@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <20140903082538.GE63085@ivaldir.etoilebsd.net> User-Agent: Mutt/1.5.23 (2014-03-12) 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: Fri, 05 Sep 2014 08:19:17 -0000 --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline After the discussion that happened here is what I think we should do If no stong objections are raised thise this will happen in pkg 1.3.8 - Ignore mtree in packages - Automatically handle directory removal for any directory under PREFIX - Introduce @dir (in fact already there) for directories with special care: * empty directories * directories with special credential (@dir(user,group,mode)) - Consider directories out of PREFIX as special hence needing to be listed with @dir @dirrmtry and @dirrm will be considered changed into aliases for @dir but remain for compatibility (with a warning if DEVELOPER_MODE is set) - the possibility to accept regular plist entry as directories will be in but disable by default, allowing vendors to rely on it if they do want but leaving the ports tree not accepting them (that clarifies a lot what the the plist for maintainers) - automatic plist is postponed for later as there is no concensus and it will require lots of work to be able to provide a minimum set on fonctionnality that are important for maintainers: * having some sort of pkg filesearch to find what do provide a given file/header * being able to store what is the expected normal content of the package so a builder can raise an error is something goes wrong (this can become really tricky, given all possible options and so on) Other proposals are not rejected at all, there was sure interesting ones with nice design proposed, but that will be too intrusive for pkg 1.3.x as designed regards, Bapt --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQJcf8ACgkQ8kTtMUmk6EwFUgCdFom7BvCUBzTv1Rr31dWXRnZF peAAoIEU7lg2+0WAwDFrFATDT1VIeDMz =jsZy -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9--