From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net From: Richard Miller <9fans@hamnavoe.com> Date: Mon, 27 Oct 2014 09:19:54 +0000 In-Reply-To: <20141026235213.67c14be1@zinc.9fans.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] tlsClient: tls: local invalid x509/rsa certificate Topicbox-Message-UUID: 20aeb314-ead9-11e9-9d60-3106f5b1d025 > A patch(1) (/n/sources/patch) can't be applied automatically > without modifying patch/apply. Actually it can, thanks to the magic of bind(1): cpu% 9fs sources cpu% PATCH=libsec-x509-sha256rsa cpu% mkdir -p $home/patch/$PATCH cpu% bind -bc $home/patch/$PATCH /n/sources/patch/$PATCH cpu% patch/apply $PATCH merge...backup...copy... to update sources: update /sys/src/libsec/port/x509.c cpu% ls -l /sys/src/libsec/port/x509.c --rw-rw-r-- M 9996 sys sys 54387 Oct 27 09:15 /sys/src/libsec/port/x509.c