Commit graph

266 commits

Author SHA1 Message Date
Python Maint
73b278971b Rebuilt for Python 3.15.0b4 ABI change 2026-07-22 10:20:34 +02:00
Fedora Release Engineering
94bd1bdd14 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 07:07:38 +00:00
Yaakov Selkowitz
181500c8c5 Rebuilt for openssl 4.0 2026-06-17 09:26:53 -04:00
Alejandro López
57e7e6c702 Merge #39 Four fixes for rawhide 2026-06-15 11:27:24 +00:00
Alejandro López
0d1368ebc7 Removed some unneeded build-time dependencies 2026-06-15 11:05:17 +02:00
Alejandro López
eee5e53316 - Resolves: rhbz#2379016 - don't recommend sudo-python-plugins 2026-06-15 11:05:17 +02:00
Yaakov Selkowitz
a0305f8c5e Rebuilt for openssl 4.0 2026-06-12 19:51:23 -04:00
Python Maint
e2cab26d87 Rebuilt for Python 3.15 2026-06-03 17:49:58 +02:00
Pavol Žáčik
9cd9faa3f9 Add OpenSSL 4.0 compatibility patch 2026-05-11 15:26:15 +02:00
Alejandro López
90256816a8 Fix CVE-2026-35535
- Resolves: rhbz#2458153
2026-04-14 10:30:12 +02:00
Fedora Release Engineering
ad282010f2 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 18:36:37 +00:00
Alejandro López
2ead99a2b1 Rebase to 1.9.17p2
- sudo-1.9.17p2 is available
  Resolves: rhbz#2383665
2025-10-21 10:16:55 +02:00
Fedora Release Engineering
81e84c1f06 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 18:50:05 +00:00
f78ef048db Merge #29 Move yum/dnf protection removal config file under /usr 2025-07-17 18:36:52 +00:00
1899e2aa8d
Drop '-std=gnu17' from CFLAGS, as C23 builds fine now
This was introduced in commit e2e397029e
for an older version of sudo that was FTBFS for GCC 15 defaulting to C23.

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-07-07 13:15:19 +02:00
04179b5417
Re-apply changes from commit e2e397029e
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-07-05 12:22:08 +02:00
9641cbaa6b
Rebase to sudo 1.9.17p1
- sudo-1_9_16p2 is available
    Resolves: rhbz#2309626
    - sudo: LPE via host option
    Resolves: CVE-2025-32462
    - Properly apply system buildflags
    - Use new build macros, drop unneeded %%defattr

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-07-05 12:13:06 +02:00
Python Maint
aa37372f8a Rebuilt for Python 3.14 2025-06-02 20:53:02 +02:00
770b8e2647 Move yum/dnf protection removal config file under /usr
https://github.com/uapi-group/specifications/issues/76

Actually, add a new file under /usr, but keep the old file in /etc
because it's still needed for dnf. The new file in the new location
is useful because it means that we get the correct behaviour even when
/etc is emptied (on systems with new dnf version).

dnf5 reads the new location:
https://github.com/rpm-software-management/dnf5/issues/1107
https://github.com/rpm-software-management/dnf5/pull/1110
2025-03-12 07:34:49 +00:00
Yaakov Selkowitz
e2e397029e Fix build with GCC 15
GCC 15 defaults to C23, which changes the interpretation of function
declarations without parameters to be `void` rather than of an unknown
number and type (as in K&R).  The sudoers plugin relies on the older
behaviour for its hook functions.
2025-02-26 12:59:14 -05:00
Fedora Release Engineering
ac16a17374 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 11:50:30 +00:00
Fedora Release Engineering
f568249113 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 06:36:47 +00:00
Python Maint
47db28a693 Rebuilt for Python 3.13 2024-06-07 09:11:33 +02:00
Adam Williamson
545c191f72 Backport upstream fix for tests with Python 3.13+ 2024-05-02 23:09:47 -07:00
Yaakov Selkowitz
df275faead Avoid sendmail build dependency
sudo should be compatible with any MTA, any of which in Fedora provide
/usr/sbin/sendmail, and is used at build time only to determine its
location.  Instead of generalizing the build requirement (e.g. for RHEL
10 which includes only postfix), we can just tell sudo its location
during configure, in which case it is not needed at all to build.

However, doing so uncovered that systemd's presence was being relied
upon without being specified.  This too can be avoided by using the
macros to define the proper tmpfiles location during configure.
2024-02-08 16:46:56 -05:00
Radovan Sroka
462f43c97a Rabase to 1.9.15p5
- sudo-1_9_15p5 is available
Resolves: rhbz#2248505
- TRIAGE CVE-2023-42465 sudo: Targeted Corruption of Register and Stack
Variables
Resolves: rhbz#2255569

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2024-01-24 11:05:13 +01:00
Yaakov Selkowitz
da01b87507 Rebase to 1.9.14p3
- sudo-1_9_14p2 is available
Resolves: rhbz#2175672
- sudo fails to build with Python 3.12: FAILED: testcase check_example_group_plugin_is_able_to_debug()
Resolves: rhbz#2186412

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2023-07-24 22:08:49 -04:00
Fedora Release Engineering
347c83287d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 02:42:07 +00:00
Leigh Scott
328503ded5 Rebuilt for Python 3.12 2023-07-06 14:20:50 +01:00
Radovan Sroka
06544f1ab2
- migrated to SPDX license
Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2023-06-20 15:00:57 +02:00
Python Maint
85dfa5defb Rebuilt for Python 3.12 2023-06-13 20:59:29 +02:00
Florian Weimer
025901c345 Port configure script to C99
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2023-04-26 12:08:16 +02:00
Radovan Sroka
8d3c03b4da
Rebase to sudo 1.9.13p2
- sudo-1.9.13p2 is available
Resolves: rhbz#2169840
- sudo: double free with per-command chroot sudoers rules
Resolves: CVE-2023-27320

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2023-03-01 17:45:33 +01:00
Radovan Sroka
61dacac7f9 Rebase to sudo 1.9.12p2
- sudo-1.9.12p2 is available
Resolves: rhbz#2137775
- sudo: arbitrary file write with privileges of the RunAs user
Resolves: CVE-2023-22809

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2023-01-19 14:19:32 +01:00
Fedora Release Engineering
e56d19d93d Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 09:34:59 +00:00
Radovan Sroka
d9475dd3d9 Update to 1.9.11p3
Resolves: rhbz#2047541
Resolves: rhbz#2062150

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2022-06-22 15:57:57 +02:00
Python Maint
7a172559a3 Rebuilt for Python 3.11 2022-06-13 15:38:33 +02:00
Matthew Miller
4a2b9f551b recommend system-default-editor instead of nano specifically 2022-06-06 12:54:31 -04:00
Fedora Release Engineering
23fd9b0822 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 01:48:40 +00:00
Radovan Sroka
c3febb3692
Rebuild. previously built with wrong version
Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2021-10-06 19:17:44 +02:00
Radovan Sroka
206108fe35
Set up update workflow with %autorelease macro
- removed stri patch that was not relevant

- intercept feature is not compatible with selinux rbac support so we
  do not build it anymore

Signed-off-by: Radovan Sroka <rsroka@redhat.com>
2021-10-06 17:15:52 +02:00
Matthew Miller
b9a4f24d95 rhbz#1328973 -- make nano the default with fallback to vim and vi in that order
and make nano the "Recommends" instead of vim-minimal.
2021-10-03 16:18:20 -04:00
Matthew Miller
bf29ad1a05 Update to 1.9.8p2, and include new sudo_intercept.so 2021-10-03 15:51:02 -04:00
Sahana Prasad
9c56ac9403 Rebuilt with OpenSSL 3.0.0 2021-09-14 19:15:57 +02:00
Matthew Miller
f02ed1c65e enable rpmautospec (https://docs.pagure.org/Fedora-Infra.rpmautospec/) 2021-08-25 11:03:18 -04:00
Matthew Miller
d2dc2ddaf7 drop obsolete requirement for post script that doesn't exist anymore (thanks @scfc)
remove commented-out lines from prior PR
2021-08-07 12:50:43 -04:00
Matthew Miller
442af28d89 - drop obsolete requirement for post script that doesn't exist anymore
(thanks @scfc)
- remove commented-out lines from prior PR
2021-08-07 12:49:06 -04:00
Matthew Miller
dd1363faa3 update sources file for previous PR 2021-08-07 12:43:08 -04:00
Peter Czanik
d8c0683b91 - update to 1.9.7p2
- follow up path change in strip patch
- added --enable-zlib=system configure parameter, so sudo uses system zlib,
  autoconf is no more needed

Signed-off-by: Peter Czanik <peter@czanik.hu>
2021-08-05 08:25:56 +02:00
Fedora Release Engineering
e9983f0902 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 18:25:32 +00:00