Date: Thu, 16 Jul 2015 10:52:00 +0100 From: Matthew Seaman <matthew@freebsd.org> To: Aristedes Maniatis <ari@ish.com.au>, Michael Gmelin <freebsd@grem.de>, freebsd-ports@freebsd.org Subject: Re: poudriere with custom packages Message-ID: <55A77EC0.5080208@freebsd.org> In-Reply-To: <55A77732.1060103@ish.com.au> References: <55A729C8.10301@ish.com.au> <55A758B3.2050502@FreeBSD.org> <20150716105916.45e23b9a@bsd64.grem.de> <55A77732.1060103@ish.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UJDJKVBXKTWceVmeNN8QqRKAI2FqBTSuA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 07/16/15 10:19, Aristedes Maniatis wrote: > It was pretty much magic, but I pulled apart some existing packages > and took a guess at most of it. >=20 > https://gist.github.com/ari/01eaae67d8c941ccaf68 >=20 > On the plus side this is a really simple package, nothing > complicated. Install a couple of files and a user. Yeah -- the key to making a custom pkg is generating the MANIFEST. Some of that can be dealt with by pkg already -- generating the list of files and their checksums, and so forth, but a lot of the metadata just needs to be written down somewhere for pkg to read. > Thanks for your two great ideas. I hadn't understood the trick to > adding a new ports category, so that makes it much easier if I want to > give up my json MANIFEST hack. Actually, you can add a Makefile.local at any level in the ports tree so you can not only add a local category, you can insert a local port into one of the existing categories or you can add Makefile-foo to an existing port. It's not just 'Makefile.local' either -- there are several variations on that so you can add things dependent on CPU architecture for example. Cheers, Matthew --UJDJKVBXKTWceVmeNN8QqRKAI2FqBTSuA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJVp37AAAoJEABRPxDgqeTn/tUP/3kKbc4jiWGc8WqmAFM1SMTV wTedYA6TvZj6zrLyN3mlOr2sTCTEj6NDtdwiehP0MKEihObSpb0t9bXnUFdo3mus TkfnHaqjQZyZrv6YINCZ2V5un8IrObZeuoSsLTaaExX0kO0Z4Nr7YHyxzQg5zH85 5dtQ1Swgl7UxfDlXcP15tq+sB5oXEA118Bf0zurUJ3dDE+2o12/YDdEgUMVuYbV5 QYzSxKnXARQUQKwZO7GBqYrTuWjQCVYx8wUVKUGRP6nqituWEOzlDfCzOHON+wpk mK+gLLQPmBmbpp1Qs+ukwRKB980bp7ctYEcQearUhriVj6kKPCslAdn+3Z8XrP7T STZbJJPb2kNfXc11i2HlBQxIQYEEzvqjyigMHjWu0kCKZQgHAVf6AJcqB8EQwdiN nXAPbY36/h8pHasZPj/i22d4kgLlnsjt5zftrlPc/+m+g8D3wlPpt9Dt+uh6JsQo /BSdzS6/+YwmKVpHZNYScNBqEjruF0bM1pbDnHGHG5yzs16dg/mVPS8KPvD2PwDN ZR20hIvoww0n1XjznWyFpCdXahJlwhcTdSmuan0S93k491xX7E0oEuE65ug26EzX rnpea1E2UJ/SV6643G6FRPV71HUAd50AN4J1mgSaNkCVfnFbmmorm3OzO816YUIU BIDdxYWg0GDH1qhJohZ7 =+92w -----END PGP SIGNATURE----- --UJDJKVBXKTWceVmeNN8QqRKAI2FqBTSuA--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55A77EC0.5080208>