From owner-freebsd-ports@FreeBSD.ORG Wed Sep 3 19:13:05 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 78B3BDE2 for ; Wed, 3 Sep 2014 19:13:05 +0000 (UTC) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 348BE1792 for ; Wed, 3 Sep 2014 19:13:05 +0000 (UTC) Received: from [89.182.186.231] (helo=localhost) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1XPFzF-0001Gx-Ak for ports@FreeBSD.org; Wed, 03 Sep 2014 21:12:57 +0200 Date: Wed, 3 Sep 2014 21:12:56 +0200 From: Marcus von Appen To: ports@FreeBSD.org Subject: Re: [BRAINSTORMING] simplifying maintainer's life Message-ID: <20140903191256.GB1025@medusa.sysfault.org> Reply-To: Marcus von Appen Mail-Followup-To: ports@FreeBSD.org References: <20140903082538.GE63085@ivaldir.etoilebsd.net> <20140903145614.158f8e89@kalimero.tijl.coosemans.org> <20140903135029.GK63085@ivaldir.etoilebsd.net> <20140903165622.3bff54e0@kalimero.tijl.coosemans.org> <20140903150018.GL63085@ivaldir.etoilebsd.net> <5407649A.80500@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NDin8bjvE/0mNLFQ" Content-Disposition: inline In-Reply-To: <5407649A.80500@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Df-Sender: MTEyNTc0Mg== 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: Wed, 03 Sep 2014 19:13:05 -0000 --NDin8bjvE/0mNLFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On, Wed Sep 03, 2014, Bryan Drewery wrote: [...] > I really dislike plists as they are today. The argument that having them > makes it easy to see what the port installs is bogus. Many don't have > pkg-plist because they have PLIST_* or INFO or are missing DOCS/EXAMPLES > due to usage of *. Many, such as rubygems and python, have autoplist > already. I would like to provide 1 approved way to do autoplist, rather > than having the dozens of different implementations that we have today > in ports. [...] > I understand there is fear involved with not having a plist validate > everything. Consider that many other package systems do not require a > plist to start. [...] Seconded. In my opinion for 95% of all cases it sums up to: everything in the staging directory gets installed. We can use post-build or pre-install to clean up the staging directory where necessary, or even revert the plist meaning in the worst case, e.g. everything in ${EXCLUDE_INSTALL} is not to be installed, if necessary. It'd greatly reduce the maintenance efforts and ugly hacks (look at python.mk for an example) to work around the limitations of plist and upstream solutions. Cheers Marcus --NDin8bjvE/0mNLFQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQHaDgACgkQi68/ErJnpkclrwCgrjRIB7nVl9mHEgBQGK3+5JpV pcYAoM1g+wWco97LbaPiqH+SyaCkhJCP =JcOo -----END PGP SIGNATURE----- --NDin8bjvE/0mNLFQ--