Date: Sat, 25 Mar 2017 18:14:08 +0100 From: Dominic Fandrey <kamikaze@bsdforen.de> To: ports@freebsd.org Subject: [CFT] pkg-plist generator Message-ID: <20170325181408.8feb700e5ed82aa47546e3c7@bsdforen.de>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170325181408.8feb700e5ed82aa47546e3c7>