simon-git: putty (pre-0.77): Jacob Nevins

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu May 19 11:05:11 BST 2022


TL;DR:
  868d3097 Minimally document how to install.
  97b3db34 Add missing HAVE_SETRESGID to cmake.h.
  92881f20 Define OMIT_UTMP if there's no utmpx.h.
  d163b37c Squash NDEBUG for RelWithDebInfo build type too.
  e45c6b76 Restore advice about making pterm set[ug]id.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: pre-0.77
Committer:      Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:           2022-05-19 11:05:10

commit 868d309779df118001e8c173f367aa1dba957014
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=868d309779df118001e8c173f367aa1dba957014;hp=787c358d373bbef8383b385770747b1a6a4ab3ca
Author: Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:   Wed May 18 18:46:40 2022 +0100

    Minimally document how to install.

 README | 4 ++++
 1 file changed, 4 insertions(+)

commit 97b3db34b2fb94c68ed723fa363a16d4e41d77f6
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=97b3db34b2fb94c68ed723fa363a16d4e41d77f6;hp=868d309779df118001e8c173f367aa1dba957014
Author: Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:   Wed May 18 18:47:01 2022 +0100

    Add missing HAVE_SETRESGID to cmake.h.
    
    Without this, we were always falling back to the setuid()/setgid()
    privilege-dropping code in the utmp helper.

 cmake/cmake.h.in | 1 +
 1 file changed, 1 insertion(+)

commit 92881f2066c03175f91e1ccc2ad687a10f867293
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=92881f2066c03175f91e1ccc2ad687a10f867293;hp=97b3db34b2fb94c68ed723fa363a16d4e41d77f6
Author: Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:   Wed May 18 18:48:28 2022 +0100

    Define OMIT_UTMP if there's no utmpx.h.
    
    Without this, the build of e.g. psusan would fail on systems without
    that header (such as Termux on Android).
    
    This is similar to how things were pre-cmake, but not identical. We used
    to treat lack of updwtmpx() as a reason to OMIT_UTMP (as of f0dfa73982),
    but usage of that function got conditionalised in c19e7215dd, so I
    haven't restored that exclusion.

 cmake/cmake.h.in           | 1 +
 cmake/platforms/unix.cmake | 7 +++++++
 unix/pty.c                 | 2 ++
 3 files changed, 10 insertions(+)

commit d163b37cafc46ab24412e4cf92d14f54e2aa97a6
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=d163b37cafc46ab24412e4cf92d14f54e2aa97a6;hp=92881f2066c03175f91e1ccc2ad687a10f867293
Author: Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:   Wed May 18 18:57:45 2022 +0100

    Squash NDEBUG for RelWithDebInfo build type too.

 cmake/setup.cmake | 2 ++
 1 file changed, 2 insertions(+)

commit e45c6b76dad062e1e2c492524f2c05e27913b382
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=e45c6b76dad062e1e2c492524f2c05e27913b382;hp=d163b37cafc46ab24412e4cf92d14f54e2aa97a6
Author: Jacob Nevins <jacobn at chiark.greenend.org.uk>
Date:   Thu May 19 10:52:56 2022 +0100

    Restore advice about making pterm set[ug]id.
    
    cmake doesn't have convincing facilities for doing this in its install
    step, so the new advice is to do it manually (we've provided no
    equivalent to the autotools --enable-setuid or --enable-setgid options,
    nor UTMP_USER/GROUP).

 README | 10 ++++++++++
 1 file changed, 10 insertions(+)



More information about the tartarus-commits mailing list