From owner-freebsd-ports@freebsd.org Tue Jul 18 15:22:34 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 C4751D7FACB for ; Tue, 18 Jul 2017 15:22:34 +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 CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 50E7771F71 for ; Tue, 18 Jul 2017 15:22:33 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (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 D633381BC for ; Tue, 18 Jul 2017 15:22:24 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/D633381BC; dkim=none; dkim-atps=neutral Subject: Re: github repo to port connection To: freebsd-ports@freebsd.org References: <20170718135446.GJ39925@home.opsec.eu> <20170718135602.GK39925@home.opsec.eu> <20170718140600.GL39925@home.opsec.eu> From: Matthew Seaman Message-ID: <02836954-770a-45ac-529e-006172a2fef8@freebsd.org> Date: Tue, 18 Jul 2017 16:22:17 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="B3RjmKHxXFBLET8d9J5EelaIMtGiBmd6e" 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: Tue, 18 Jul 2017 15:22:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --B3RjmKHxXFBLET8d9J5EelaIMtGiBmd6e Content-Type: multipart/mixed; boundary="tkEbXDLQku5VIkSm2hO4nkf6s7rM13IOo"; protected-headers="v1" From: Matthew Seaman To: freebsd-ports@freebsd.org Message-ID: <02836954-770a-45ac-529e-006172a2fef8@freebsd.org> Subject: Re: github repo to port connection References: <20170718135446.GJ39925@home.opsec.eu> <20170718135602.GK39925@home.opsec.eu> <20170718140600.GL39925@home.opsec.eu> In-Reply-To: --tkEbXDLQku5VIkSm2hO4nkf6s7rM13IOo Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 07/18/17 15:11, Athanasios Douitsis wrote: > Indeed, so instead of constructing the .shar, it is customary for the > maintainer to point the ports committer to the repo. Excellent. >=20 > Many many thanks, that helps a lot. >=20 Uh... the way this generally works is: To create a brand new port, raise a PR and attach a .shar file to it. It is also permissible nowadays to send in a diff. To update an existing port to a new version, raise a PR and attach a diff to it. For updating an existing port, it's always a diff. The best way to generate a diff is to check the ports tree out of SVN, then edit the port in question in-place without trying to commit any changes -- remember to 'svn add file' or 'svn rm file' if you're adding or removing entire files. Then you can generate the diff easily by 'svn diff' Fo routine maintenance of a simple port of something from GitHub, it is usually a matter of updating PORTVERSION, running 'make makesum' to pull down the new distfile and update distinfo, then running some test builds and fixing up any local patches (if needed) or updating the pkg-plist (again, only if needed). Cheers, Matthew --tkEbXDLQku5VIkSm2hO4nkf6s7rM13IOo-- --B3RjmKHxXFBLET8d9J5EelaIMtGiBmd6e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlluJ6kACgkQAFE/EOCp 5OeKABAAp4FfZjytVwpIN9DTmo1CJXEq/OfR1JTjXbDlmkYi63kDiOoXRHosFmjT xSgZR7IKProUfx2jOobgG0GTL75PVg85Og3XblIaIIHCG2yh4w7NwBtzzw4rtTDI l72vOmupgFp7qpDN9YBYxSOXh4HqPYE5y/oFy5oSrS9mWUCbbLOraRhaM8SqH6L1 9Mfp+wcK16mIPSjdy0LEwOzV2Lci57XBKelYbABts1WehYLqaX1rE91hnmigpjdU VHGmjRwF+u9oeVNyK4BHbwI6MF5d0i8R2q7/TWkTu+PMNPPIujq18jhLFcqgztFp +NXFF4GYa4AKzRVSSznSOOnp+Tcbn3u+NEBQ/LFfRb1BlHvUXezrWkZqv4v6zt+j kLY0sSOZ0rvW0kE0kO7Vmb6c/hOLwk0ulefJ/rz/JmETofRFMNDMjvVkkmRR3Rc9 QsGf9sVzHSe5KngxHMI9tj5TdgfqSBz3ZTBm+lI0U+uiU/4dzrouGpWr9e4cZfci 402NJzw2Qr/IaxTLmSKa41l7rdYpgT++RS8L9TUDyMzxfv61C/7fSHnDGCZ2gnXT QFjhG/DPPmsB2CXBz4z4n+PTrg7VQTDuH1sovyz+jlQWTiduYBkpJvGTtY19ntod 5bxO83zuKtswHzuXRRWMs19FYcjYTQruJJgYf2u0PHiTV399Ngo= =/bPW -----END PGP SIGNATURE----- --B3RjmKHxXFBLET8d9J5EelaIMtGiBmd6e--