* [PR PATCH] sudo: update to 1.9.4.
@ 2020-12-12 12:55 ailiop-git
2020-12-17 18:06 ` [PR PATCH] [Closed]: " ahesford
0 siblings, 1 reply; 2+ messages in thread
From: ailiop-git @ 2020-12-12 12:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
There is a new pull request by ailiop-git against master on the void-packages repository
https://github.com/ailiop-git/void-packages sudo
https://github.com/void-linux/void-packages/pull/27109
sudo: update to 1.9.4.
A patch file from https://github.com/void-linux/void-packages/pull/27109.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sudo-27109.patch --]
[-- Type: text/x-diff, Size: 3262 bytes --]
From d5c270944166379796b0b1bed1331fd35ac4a52b Mon Sep 17 00:00:00 2001
From: Anthony Iliopoulos <ailiop@altatus.com>
Date: Sat, 12 Dec 2020 13:54:58 +0100
Subject: [PATCH] sudo: update to 1.9.4.
---
...en-configured-using-without-sendmail.patch | 48 +++++++++++++++++++
srcpkgs/sudo/template | 4 +-
2 files changed, 50 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/sudo/patches/0001-Fix-build-when-configured-using-without-sendmail.patch
diff --git a/srcpkgs/sudo/patches/0001-Fix-build-when-configured-using-without-sendmail.patch b/srcpkgs/sudo/patches/0001-Fix-build-when-configured-using-without-sendmail.patch
new file mode 100644
index 00000000000..bcc80136b31
--- /dev/null
+++ b/srcpkgs/sudo/patches/0001-Fix-build-when-configured-using-without-sendmail.patch
@@ -0,0 +1,48 @@
+From e22817e3abfee6fee779ab0b2d312d48323abb56 Mon Sep 17 00:00:00 2001
+From: "Todd C. Miller" <Todd.Miller@sudo.ws>
+Date: Mon, 30 Nov 2020 13:18:12 -0700
+Subject: [PATCH] Fix build when configured using --without-sendmail Bug #947
+
+---
+ lib/eventlog/eventlog.c | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git lib/eventlog/eventlog.c lib/eventlog/eventlog.c
+index 8b190b7ce..ae97fdea9 100644
+--- lib/eventlog/eventlog.c
++++ lib/eventlog/eventlog.c
+@@ -78,7 +78,7 @@
+ static FILE *eventlog_stub_open_log(int type, const char *logfile);
+ static void eventlog_stub_close_log(int type, FILE *fp);
+
+-/* Eventlog config settings */
++/* Eventlog config settings (default values). */
+ static struct eventlog_config evl_conf = {
+ EVLOG_NONE, /* type */
+ EVLOG_SUDO, /* format */
+@@ -91,7 +91,11 @@ static struct eventlog_config evl_conf = {
+ false, /* omit_hostname */
+ _PATH_SUDO_LOGFILE, /* logpath */
+ "%h %e %T", /* time_fmt */
++#ifdef _PATH_SUDO_SENDMAIL
+ _PATH_SUDO_SENDMAIL, /* mailerpath */
++#else
++ NULL, /* mailerpath (disabled) */
++#endif
+ "-t", /* mailerflags */
+ NULL, /* mailfrom */
+ MAILTO, /* mailto */
+@@ -1436,8 +1440,10 @@ eventlog_setconf(struct eventlog_config *conf)
+ evl_conf.logpath = _PATH_SUDO_LOGFILE;
+ if (evl_conf.time_fmt == NULL)
+ evl_conf.time_fmt = "%h %e %T";
++#ifdef _PATH_SUDO_SENDMAIL
+ if (evl_conf.mailerpath == NULL)
+ evl_conf.mailerpath = _PATH_SUDO_SENDMAIL;
++#endif
+ if (evl_conf.mailerflags == NULL)
+ evl_conf.mailerflags = "-t";
+ if (evl_conf.mailto == NULL)
+--
+2.29.2
+
diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template
index 2622133bf7d..d1286b8727b 100644
--- a/srcpkgs/sudo/template
+++ b/srcpkgs/sudo/template
@@ -1,6 +1,6 @@
# Template file for 'sudo'
pkgname=sudo
-version=1.9.3p1
+version=1.9.4
revision=1
build_style=gnu-configure
configure_args="--with-ignore-dot --with-insults=disabled --with-all-insults --with-env-editor
@@ -15,7 +15,7 @@ license="ISC"
homepage="https://www.sudo.ws/"
changelog="https://www.sudo.ws/repos/sudo/raw-file/tip/NEWS"
distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz"
-checksum=dcb9de53e45e1c39042074b847f5e0d8ae1890725dd6a9d9101a81569e6eb49e
+checksum=8b91bd2cc73af18a06a01406e38d154b837107be759f72e89cefeaa94e1103f0
conf_files="/etc/pam.d/sudo /etc/sudoers"
lib32disabled=yes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-17 18:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-12 12:55 [PR PATCH] sudo: update to 1.9.4 ailiop-git
2020-12-17 18:06 ` [PR PATCH] [Closed]: " ahesford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).