From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54790) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXueT-00016t-W9 for guix-patches@gnu.org; Thu, 21 Nov 2019 17:10:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXueL-0005dT-G6 for guix-patches@gnu.org; Thu, 21 Nov 2019 17:10:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44621) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXueI-0005aN-Qm for guix-patches@gnu.org; Thu, 21 Nov 2019 17:10:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iXueI-0004LV-K0 for guix-patches@gnu.org; Thu, 21 Nov 2019 17:10:02 -0500 Subject: [bug#38286] [PATCH] gnu: Add netcat-openbsd. Resent-Message-ID: Mime-Version: 1.0 Message-Id: <8e0a1df0-2df6-4efe-b8e5-02cf468ab8d9@www.fastmail.com> In-Reply-To: <550ee09b-7126-4acd-87ab-4e3a77cb346c@www.fastmail.com> References: <3dfac477-b081-49f4-86b3-2c142bb39f6b@www.fastmail.com> <87blt5k336.fsf@gnu.org> <20191121101755.GD15074@E5400> <550ee09b-7126-4acd-87ab-4e3a77cb346c@www.fastmail.com> Date: Thu, 21 Nov 2019 22:09:26 +0000 From: "Alex Griffin" Content-Type: multipart/mixed; boundary=75eb7f0477564f9698cf9620b03dda96 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 38286@debbugs.gnu.org --75eb7f0477564f9698cf9620b03dda96 Content-Type: text/plain Sorry, one last revision. There was no point in adding PREFIX=out since the Makefile doesn't install the software. Also, may as well include the example scripts since they're right there in the Debian repo. -- Alex Griffin On Thu, Nov 21, 2019, at 9:49 PM, Alex Griffin wrote: > On Thu, Nov 21, 2019, at 10:17 AM, Efraim Flashner wrote: > > Here is Debian's packaging repo for netcat-openbsd with their patches > > applied: https://salsa.debian.org/debian/netcat-openbsd/tree/debian/1.203-2 > > Thanks, I was able to simplify the package a lot by fetching that repo > instead! The revised patch is attached. > > -- > Alex Griffin > > Attachments: > * 0001-gnu-Add-netcat-openbsd.patch --75eb7f0477564f9698cf9620b03dda96 Content-Disposition: attachment;filename="0001-gnu-Add-netcat-openbsd.patch" Content-Type: text/x-patch; name="0001-gnu-Add-netcat-openbsd.patch" Content-Transfer-Encoding: BASE64 RnJvbSA4YmRkOTc1ODc2MzI1MmEwNjA3OTcwMjcyOGI4ZDJhY2U1NmZhYzBkIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4IEdyaWZmaW4gPGFAYWpncmYuY29tPgpEYXRl OiBUdWUsIDE5IE5vdiAyMDE5IDE5OjU5OjMyIC0wNjAwClN1YmplY3Q6IFtQQVRDSF0gZ251 OiBBZGQgbmV0Y2F0LW9wZW5ic2QuCgoqIGdudS9wYWNrYWdlcy9hZG1pbi5zY20gKG5ldGNh dC1vcGVuYnNkKTogTmV3IHZhcmlhYmxlLgotLS0KIGdudS9wYWNrYWdlcy9hZG1pbi5zY20g fCA1OCArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysKIDEgZmls ZSBjaGFuZ2VkLCA1OCBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2Vz L2FkbWluLnNjbSBiL2dudS9wYWNrYWdlcy9hZG1pbi5zY20KaW5kZXggNzYxYjI2YThkNi4u ZDRjZjNiNmFhZiAxMDA2NDQKLS0tIGEvZ251L3BhY2thZ2VzL2FkbWluLnNjbQorKysgYi9n bnUvcGFja2FnZXMvYWRtaW4uc2NtCkBAIC0yNyw2IC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CBzdWl0ZQorICAgICAgICM6 bWFrZS1mbGFncworICAgICAgIChsaXN0ICJDQz1nY2MiCisgICAgICAgICAgICAgKHN0cmlu Zy1hcHBlbmQgIkNGTEFHUz0tSSIgKGFzc29jLXJlZiAlYnVpbGQtaW5wdXRzICJsaWJic2Qi KSAiL2luY2x1ZGUiKQorICAgICAgICAgICAgICJMREZMQUdTPS1sYnNkIikKKyAgICAgICAj OnBoYXNlcworICAgICAgIChtb2RpZnktcGhhc2VzICVzdGFuZGFyZC1waGFzZXMKKyAgICAg ICAgIChkZWxldGUgJ2NvbmZpZ3VyZSkKKyAgICAgICAgIChhZGQtYmVmb3JlICdidWlsZCAn cGF0Y2gKKyAgICAgICAgICAgKGxhbWJkYSBfCisgICAgICAgICAgICAgKHNldGVudiAiUVVJ TFRfUEFUQ0hFUyIgImRlYmlhbi9wYXRjaGVzIikKKyAgICAgICAgICAgICAoaW52b2tlICJx dWlsdCIgInB1c2giICItYSIpCisgICAgICAgICAgICAgI3QpKQorICAgICAgICAgKHJlcGxh Y2UgJ2luc3RhbGwKKyAgICAgICAgICAgKGxhbWJkYSogKCM6a2V5IG91dHB1dHMgIzphbGxv dy1vdGhlci1rZXlzKQorICAgICAgICAgICAgIChsZXQqICgob3V0IChhc3NvYy1yZWYgb3V0 cHV0cyAib3V0IikpCisgICAgICAgICAgICAgICAgICAgIChiaW4gKHN0cmluZy1hcHBlbmQg b3V0ICIvYmluIikpCisgICAgICAgICAgICAgICAgICAgIChkb2MgKHN0cmluZy1hcHBlbmQg b3V0ICIvc2hhcmUvZG9jL25ldGNhdC1vcGVuYnNkLSIgLHZlcnNpb24pKQorICAgICAgICAg ICAgICAgICAgICAobWFuIChzdHJpbmctYXBwZW5kIG91dCAiL3NoYXJlL21hbi9tYW4xIikp KQorICAgICAgICAgICAgICAgKGluc3RhbGwtZmlsZSAibmMiIGJpbikKKyAgICAgICAgICAg ICAgIChpbnN0YWxsLWZpbGUgIm5jLjEiIG1hbikKKyAgICAgICAgICA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