<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src/cmd/upas, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>upas: don't hardcode path for rc(1)</title>
<updated>2022-07-27T14:15:51+00:00</updated>
<author>
<name>Sören Tempel</name>
<email>soeren+git@soeren-tempel.net</email>
</author>
<published>2021-10-31T16:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=45124b23d284d1e205d830591007b7415440b70e'/>
<id>45124b23d284d1e205d830591007b7415440b70e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libthread: add threadmaybackground</title>
<updated>2020-12-30T05:12:14+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-12-30T05:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=b3a20a96eb2b91a5b0b8a8fb506e20a2fb50ebe8'/>
<id>b3a20a96eb2b91a5b0b8a8fb506e20a2fb50ebe8</id>
<content type='text'>
Programs that want to background themselves now need
to define threadmaybackground returning 1.
This avoids a confusing (to people and debuggers)
extra parent process for all the threaded programs
that will never want to background themselves.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Programs that want to background themselves now need
to define threadmaybackground returning 1.
This avoids a confusing (to people and debuggers)
extra parent process for all the threaded programs
that will never want to background themselves.
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial changes: whitespace and modes.</title>
<updated>2020-01-10T14:54:30+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2020-01-10T14:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=fa325e9b42b0bdfb48857d1958d9fb7ceac55151'/>
<id>fa325e9b42b0bdfb48857d1958d9fb7ceac55151</id>
<content type='text'>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>upas/nfs: fix null date when message is sent to plumber (#263)</title>
<updated>2019-09-19T17:10:09+00:00</updated>
<author>
<name>telephil</name>
<email>philippe.mechai@gmail.com</email>
</author>
<published>2019-09-19T17:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=9389de63d7b0dab99773511f48b2d303e3f957d7'/>
<id>9389de63d7b0dab99773511f48b2d303e3f957d7</id>
<content type='text'>
When fetching, messages are sent to plumber as soon as the ENVELOPE part is read.
    The date field of the message is sent when the INTERNALDATE part is read and
    there is no guarantee that this will be read before the ENVELOPE.
    This bug can be observed when using faces(1) which will retrieve messages with
    a null date and then always display a 'Jan 1' date instead of the correct one.
    The fix is to simply send the message to plumber after having read all parts,
    thus ensuring the message is complete.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When fetching, messages are sent to plumber as soon as the ENVELOPE part is read.
    The date field of the message is sent when the INTERNALDATE part is read and
    there is no guarantee that this will be read before the ENVELOPE.
    This bug can be observed when using faces(1) which will retrieve messages with
    a null date and then always display a 'Jan 1' date instead of the correct one.
    The fix is to simply send the message to plumber after having read all parts,
    thus ensuring the message is complete.</pre>
</div>
</content>
</entry>
<entry>
<title>upas/smtp: fix TLS connections (#163)</title>
<updated>2018-11-14T05:24:07+00:00</updated>
<author>
<name>Zach Scott</name>
<email>ethhics@gmail.com</email>
</author>
<published>2018-11-14T05:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=de43b1629d008aa6cdf4f6beb2b06e3859616a3e'/>
<id>de43b1629d008aa6cdf4f6beb2b06e3859616a3e</id>
<content type='text'>
Both `upas/nfs` and `upas/smtp` call the currently broken `tlsClient()`
from libsec. This commit copies a fix from upas/nfs into upas/smtp.

In `imapdial()`, upas/nfs replaces a process call for tlsClient with
`stunnel3` when not on Plan 9. upas/smtp calls tlsClient directly
as a function, so imapdial was copied into mxdial.c as `smtpdial()`,
and tlsClient+dial replaced with a call to smtpdial.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both `upas/nfs` and `upas/smtp` call the currently broken `tlsClient()`
from libsec. This commit copies a fix from upas/nfs into upas/smtp.

In `imapdial()`, upas/nfs replaces a process call for tlsClient with
`stunnel3` when not on Plan 9. upas/smtp calls tlsClient directly
as a function, so imapdial was copied into mxdial.c as `smtpdial()`,
and tlsClient+dial replaced with a call to smtpdial.</pre>
</div>
</content>
</entry>
<entry>
<title>upas/nfs: correctly quote IMAP LOGIN arguments</title>
<updated>2018-10-05T16:15:28+00:00</updated>
<author>
<name>Charles Collicutt</name>
<email>charles@collicutt.co.uk</email>
</author>
<published>2018-05-17T21:56:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=db27122d3942ebec4471c260403d87cdd6541add'/>
<id>db27122d3942ebec4471c260403d87cdd6541add</id>
<content type='text'>
According to RFC 3501 the arguments to the LOGIN command should be
quoted strings (or length prefixed string literals). Without quoting,
authentication to some IMAP servers (e.g. Dovecot) will fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to RFC 3501 the arguments to the LOGIN command should be
quoted strings (or length prefixed string literals). Without quoting,
authentication to some IMAP servers (e.g. Dovecot) will fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>upas/nfs: fix warnings</title>
<updated>2017-10-13T08:16:20+00:00</updated>
<author>
<name>David du Colombier</name>
<email>0intro@gmail.com</email>
</author>
<published>2017-10-13T08:16:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=a6a352886851eb0188b8c31e33933d4deb481d2e'/>
<id>a6a352886851eb0188b8c31e33933d4deb481d2e</id>
<content type='text'>
decode.c:146:8: warning: variable ‘argv’ set but not used
fs.c:953:47: warning: variable ‘reset’ set but not used
imap.c:348:6: warning: variable ‘prefix’ set but not used

Updates #114.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
decode.c:146:8: warning: variable ‘argv’ set but not used
fs.c:953:47: warning: variable ‘reset’ set but not used
imap.c:348:6: warning: variable ‘prefix’ set but not used

Updates #114.
</pre>
</div>
</content>
</entry>
<entry>
<title>upas/nfs: search for stunnele3 in $PATH</title>
<updated>2015-06-29T02:25:42+00:00</updated>
<author>
<name>Gleydson Soares</name>
<email>gsoares@gmail.com</email>
</author>
<published>2015-06-04T12:11:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=71de840f054e52a8a077b2333edc1f4243480359'/>
<id>71de840f054e52a8a077b2333edc1f4243480359</id>
<content type='text'>
Do not hardcode stunnel directory path, just make sure that is installed
in user '$PATH'. it is required for 'mailfs -t' TLS support, so printout
an error string if it was not found.

Tested with latest stunnel version 5.17 on OpenBSD and macosx.

% mailfs -t imap.gmail.com ; echo $?
0

Change-Id: Icbd507c7efa81ef2aa7aed37bec5f639b37526cb
Reviewed-on: https://plan9port-review.googlesource.com/1280
Reviewed-by: Russ Cox &lt;rsc@swtch.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not hardcode stunnel directory path, just make sure that is installed
in user '$PATH'. it is required for 'mailfs -t' TLS support, so printout
an error string if it was not found.

Tested with latest stunnel version 5.17 on OpenBSD and macosx.

% mailfs -t imap.gmail.com ; echo $?
0

Change-Id: Icbd507c7efa81ef2aa7aed37bec5f639b37526cb
Reviewed-on: https://plan9port-review.googlesource.com/1280
Reviewed-by: Russ Cox &lt;rsc@swtch.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>upas: fix nil pointer dereference</title>
<updated>2014-06-05T16:46:28+00:00</updated>
<author>
<name>David du Colombier</name>
<email>0intro@gmail.com</email>
</author>
<published>2014-06-05T16:46:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=32c6e78c6c4c13b63d8dc30aa395cfcc6e686c0a'/>
<id>32c6e78c6c4c13b63d8dc30aa395cfcc6e686c0a</id>
<content type='text'>
R=rsc
https://codereview.appspot.com/92650043
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=rsc
https://codereview.appspot.com/92650043
</pre>
</div>
</content>
</entry>
<entry>
<title>upas/common: rename aux to auxx</title>
<updated>2014-06-03T18:30:52+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2014-06-03T18:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=c99867c9e05dd31fce28ae16aad083e893514f5a'/>
<id>c99867c9e05dd31fce28ae16aad083e893514f5a</id>
<content type='text'>
TBR=rsc
https://codereview.appspot.com/107760043
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TBR=rsc
https://codereview.appspot.com/107760043
</pre>
</div>
</content>
</entry>
</feed>
