From owner-freebsd-ports@freebsd.org Fri Feb 12 07:52:55 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E04B8546F78 for ; Fri, 12 Feb 2021 07:52:55 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DcQhl5h7Fz4YjY; Fri, 12 Feb 2021 07:52:55 +0000 (UTC) (envelope-from se@freebsd.org) Received: from Stefans-MacBook-Pro-449.fritz.box (p200300cd5f0ef9004ca589541ec18b5d.dip0.t-ipconnect.de [IPv6:2003:cd:5f0e:f900:4ca5:8954:1ec1:8b5d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 1AB902FB8D; Fri, 12 Feb 2021 07:52:55 +0000 (UTC) (envelope-from se@freebsd.org) To: Shawn Webb Cc: Chris , freebsd-ports@freebsd.org, "Patrick M. Hausen" References: <20210211162625.k55tncjs2yjpw5jt@mutt-hbsd> <9C536D5D-6D0B-45FA-8DBF-F3FC51BC0551@punkt.de> <20210211171206.7dcplood437oqmfc@mutt-hbsd> From: Stefan Esser Subject: Re: Creating port from pre-built package Message-ID: <47ac4706-e6a6-4576-6174-e03db87d9cb3@freebsd.org> Date: Fri, 12 Feb 2021 08:52:53 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210211171206.7dcplood437oqmfc@mutt-hbsd> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6F1AsRIbYlN2kHsJrnBk7MvKU9JaGzeF7" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2021 07:52:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6F1AsRIbYlN2kHsJrnBk7MvKU9JaGzeF7 Content-Type: multipart/mixed; boundary="ZGN5cg4q2ThpRg8yKaBX10EaZpdpOvMAE"; protected-headers="v1" From: Stefan Esser To: Shawn Webb Cc: Chris , freebsd-ports@freebsd.org, "Patrick M. Hausen" Message-ID: <47ac4706-e6a6-4576-6174-e03db87d9cb3@freebsd.org> Subject: Re: Creating port from pre-built package References: <20210211162625.k55tncjs2yjpw5jt@mutt-hbsd> <9C536D5D-6D0B-45FA-8DBF-F3FC51BC0551@punkt.de> <20210211171206.7dcplood437oqmfc@mutt-hbsd> In-Reply-To: <20210211171206.7dcplood437oqmfc@mutt-hbsd> --ZGN5cg4q2ThpRg8yKaBX10EaZpdpOvMAE Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Am 11.02.21 um 18:12 schrieb Shawn Webb: > On Thu, Feb 11, 2021 at 06:09:52PM +0100, Patrick M. Hausen wrote: >> Hi all, >> >>> Am 11.02.2021 um 18:03 schrieb Chris : >>> >>> On 2021-02-11 08:26, Shawn Webb wrote: >>>> Hey all, >>>> The Splunk universal forwarder for FreeBSD is distributed as a packa= ge >>>> tarball that you can use `pkg add` on. I'm in a position where I'd >>>> like to create a port of the package so that I can automate certain >>>> tasks. >>> Reverse engineer a package? I think that will violate the NDA you >>> signed. ;-) >>> >>> Really. Unless the package is simply a wrapper of a binary blob. You'= ll >>> need to *build* the port, as part of the package creation process. >>> That is, unless I've *completely* misunderstood your intent here. :-)= >> >> The binary package is provided by the software manufacturer without >> source code. >> >> Still one might want to have a port available so one can put the port >> in poudriere and have it available in one's own package repo. >> >=20 > Right, I'm not aiming to recompile the software. I'm looking to simply > create a new package.txz with the pre-built artifacts included. Adding to the previous mail on how a FreeBSD port might be used to install this binary package: Be sure to be allowed to re-package the binary distribution that you want to use in this port. The license may explicitly forbid the distribution of derived works of any kind. Do also set the LICENSE and specifically the LICENSE_PERMS variable in the port's Makefile to indicate whether the FreeBSD package that will be built from this port may be created, distributed, possibly also sold. Regards, STefan --ZGN5cg4q2ThpRg8yKaBX10EaZpdpOvMAE-- --6F1AsRIbYlN2kHsJrnBk7MvKU9JaGzeF7 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmAmM9UFAwAAAAAACgkQR+u171r99US4 gwf/YGWXAZWtHRfAaF++x35bHkeRpgMLmScGbPLcmLrCsvQ5LsEKJDOtXBRUlZqYp/5aR2CmJTyx bWMMG+Lzsv9ZIYPKlJjxb7BS4Em2eVXUxXEJb5nATJt79uMGi48kGLodtkQhXlI1dnWQVSRpa66p /aj3aF3yEpPzv5+1jgY1mfW5CQ8BZGlOy1CNfRu1KgUi9vfZ3+2WtN7sAJ5PsxRHFqxHcGtwqw8U tIaOb4PfoSc82aP8fCia10NryuYJq9dUJjFSyVe1mY08tqmoxXSvGvc9KM8SKrS7FdM61dTa+7qh YriqY5x9T2/oxtxGoNdfor7tE4OLYURh5OZQo+VxCQ== =42m3 -----END PGP SIGNATURE----- --6F1AsRIbYlN2kHsJrnBk7MvKU9JaGzeF7--