From owner-freebsd-ports@freebsd.org Mon Apr 4 08:01:49 2016 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 BD31CB0209F for ; Mon, 4 Apr 2016 08:01:49 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4AC381E85 for ; Mon, 4 Apr 2016 08:01:48 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 09C0F96B5 for ; Mon, 4 Apr 2016 08:01:45 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/09C0F96B5; dkim=none; dkim-atps=neutral Subject: Re: gentoo's package.provided equivalent? To: freebsd-ports@freebsd.org References: <4b65ec30864d548eaa7efde0c3dd01cf.squirrel@mail.kazanfieldhockey.ru> <57021A41.40703@toco-domains.de> From: Matthew Seaman Message-ID: <57021F68.6090800@FreeBSD.org> Date: Mon, 4 Apr 2016 09:01:44 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <57021A41.40703@toco-domains.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r15pDpwgVP0HX0uOQ1gPQbej9EfaC8l0T" X-Virus-Scanned: clamav-milter 0.99.1 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2016 08:01:49 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --r15pDpwgVP0HX0uOQ1gPQbej9EfaC8l0T Content-Type: multipart/mixed; boundary="M8U1tjNFqFDeFI44KfLUBhnnCmlnCffAK" From: Matthew Seaman To: freebsd-ports@freebsd.org Message-ID: <57021F68.6090800@FreeBSD.org> Subject: Re: gentoo's package.provided equivalent? References: <4b65ec30864d548eaa7efde0c3dd01cf.squirrel@mail.kazanfieldhockey.ru> <57021A41.40703@toco-domains.de> In-Reply-To: <57021A41.40703@toco-domains.de> --M8U1tjNFqFDeFI44KfLUBhnnCmlnCffAK Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 04/04/2016 08:39, Torsten Zuehlsdorff wrote: > If you want to register a port build from source, but not from portstre= e > have a look at pkg-register or: > $ pkg help register >=20 > I have no experience with it, but this just seems to fit your request. In theory, you can use pkg-register(8) to create a package out of any arbitrary set of files. However, no one seems to be doing that on any great scale -- which probably means that the process is too complicated, or that the documentation is severely lacking, or maybe that it's just too awkward compared to using ports/pkgs, and that the ports apparently covers just about everything that you'ld need to do? I could be wrong though -- the only example I know of creating ad-hoc packages outside the ports, is by Dag-Erling: https://blog.des.no/2013/08/creating-pkgng-packages-without-ports/ https://blog.des.no/2013/08/pkgng-without-ports-addenda/ (Those are a few years old now, so the details may need to be updated, but the concept is still valid.) Cheers, Matthew --M8U1tjNFqFDeFI44KfLUBhnnCmlnCffAK-- --r15pDpwgVP0HX0uOQ1gPQbej9EfaC8l0T Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJXAh9oXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATThgP/1qw5qq9UQTJbRaQr+F5E1/M v2L7HYVhskXV5gr/jWnrwe7wzLOtNt6NCHT2OGZZOg0xiyy9brPK+FofC2MhVDOW p91OZyEcsRSj5nQYYSus0/TRkdN+yCRq7ryb4np+R5KkS346MDZufUx34gQBdNsD G0LLbvqHuiLjUFZA6rub2IHWt5CmwfwRw+UAt0M3yeZIOwDZYL0bbVVCR2lmRsjm uH01PpJtsiceefFbVvtrQma7zWzstCVNH6N5WIbt1FjK4UsiSu7pJVz+EXmWYZuI MAaC7q8u+KjB0PQXNt7gIYlBa+SrMKVz9mlSeRxHo1k40Z/6SWNVS2y+Bv3Tj+Bu YpTzJUyNX23lDoUX3w5WgDwloSnWd1U5oGdLdubRnydbJql0Y36ASqr0dNsnZteJ SFiSLLqyEPAS1U+2doegLkXqMClXrayoEVmjdZtj7UcjfZWSY+W3OlQfn44B+Qb2 WMOXgDFprS+Nqbm6wbuoyxI5gX72T1GUtSA/FxAeG3MwXhum+Y9LqObM+K/oTvhe KbqPk2LxolrS2kc+IeTccRsXqussZnC3gh73RT8fIYObNoV5JOrHni0P75ymCxKz zKc6I+ZDlQJT9YIxDNmmrISP6tCeC8eVwj0BGVZqDiKM6ResP4+dGL9PZWfgpvAQ vxcFRYtlEbxH0HhCjLL+ =0W0E -----END PGP SIGNATURE----- --r15pDpwgVP0HX0uOQ1gPQbej9EfaC8l0T--