From owner-freebsd-ports@freebsd.org Sat Mar 25 17:15:40 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00A5FD1C841 for ; Sat, 25 Mar 2017 17:15:40 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E35161B29 for ; Sat, 25 Mar 2017 17:15:39 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: by mailman.ysv.freebsd.org (Postfix) id E2B1BD1C840; Sat, 25 Mar 2017 17:15:39 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E254AD1C83F for ; Sat, 25 Mar 2017 17:15:39 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from bsdforen.de (bsdforen.de [82.193.243.115]) by mx1.freebsd.org (Postfix) with ESMTP id ADF6D1B28 for ; Sat, 25 Mar 2017 17:15:39 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from localhost (HSI-KBW-46-223-128-31.hsi.kabel-badenwuerttemberg.de [46.223.128.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bsdforen.de (Postfix) with ESMTPSA id 1ED1B325F9 for ; Sat, 25 Mar 2017 18:15:31 +0100 (CET) Date: Sat, 25 Mar 2017 18:14:08 +0100 From: Dominic Fandrey To: ports@freebsd.org Subject: [CFT] pkg-plist generator Message-Id: <20170325181408.8feb700e5ed82aa47546e3c7@bsdforen.de> X-Mailer: Sylpheed 3.5.1 Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA512"; boundary="Signature=_Sat__25_Mar_2017_18_14_09_+0100_WpXLrN.7FX6DAkDK" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2017 17:15:40 -0000 --Signature=_Sat__25_Mar_2017_18_14_09_+0100_WpXLrN.7FX6DAkDK Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Since February I have been working on a pkg-plist generator that understands and handles options. I believe it is now ready for public testing as a part of my bsda2 script collection: https://github.com/lonkamikaze/bsda2/releases/tag/0.2.0-rc1 Testing all combinations of options would mean performing 2^n (n being the number of options) build/stage cycles. I.e. it is a feat only applicable to the smallest, most simple ports. My concession to that fact is that I assume that options do not affect which files other options install. The makeplist script runs one build/stage cycle for each option to determine which files are installed by it. You can grab the tar ball, unpack it and run the script right from where you are: % bsda2-0.2.0-rc1/src/makeplist origin/port To read the manual without installing run: % man bsda2-0.2.0-rc1/man/makeplist.8 Skip ahead to the EXAMPLES section. --=20 A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?=20 --Signature=_Sat__25_Mar_2017_18_14_09_+0100_WpXLrN.7FX6DAkDK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7itIcQ0L9FrvYLxWuv85xwbkOMgFAljWpWFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF MkI0ODcxMEQwQkY0NUFFRjYwQkM1NkJBRkYzOUM3MDZFNDM4QzgACgkQuv85xwbk OMhssA/+OHzbMElf4fIN5h+MrgIjfgJFunMTFMCT4ympL05FaPfK+jrQQYCaoHjD 5+0nG0k3sEXnxoZzytXo5tlMapsinophwfq1uMgm895uLvhPhLYTbM+TrT8sSuPa R6RhRkeWSvTBxG1E2DjiMKaohqkthIa3+ERVT0NoV50DqW3VHvAZqN3IN2nipJj/ cTmmbkgWsB3ssN6LCIiqruhkhiY0CzqP0Lg2sIjvTAYHjqfK27fI9wDmXgyE1zeD 5DzOEgQLZKy9/svNYcc+qy513V6rJECk3BGasVw74VGXNtzk3PCQ3HuJHsKUjaAq zzgFYrw+s/hqLh+l5RS0brLJg1UF2x4KHoYJNVA3OQ2dtu4Ozmo/hGNZuLtRYP3W bD5UVF+wjryPqB+mQmrNYNUNvYzZBuwI9G1Fxgn6VooUq3V7avW1dA7gOv/VAryx sRBfAxL1yxWoTw8C4bdEygStgJrVbTS6i8eYr3LLI54yjFNXz6fn725gYFH15oQY TsgWBOVRWNBLCALKypiw8eue1YrKqfWPW3jspCVXkWg7L1/bPHXBuTfPieO7+PJ3 5QQRDQfslvekt2L5xvel60kGGQArXFqa38bZ+O2m56qTKczesAhmtql5vTwlxChu FJ7TZf3oe73Yy5CBWwyKf1Vr27P14WRPGPbZIUYGvwZQKVIVUmI= =XSDO -----END PGP SIGNATURE----- --Signature=_Sat__25_Mar_2017_18_14_09_+0100_WpXLrN.7FX6DAkDK--