Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1d77d5df6 |
||
|
|
6a693bfe23 | ||
|
|
fdc59a3ba2 |
3 changed files with 13 additions and 12 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -28,3 +28,6 @@
|
||||||
/sudo-1.9.5p1.tar.gz
|
/sudo-1.9.5p1.tar.gz
|
||||||
/sudo-1.9.5p2.tar.gz
|
/sudo-1.9.5p2.tar.gz
|
||||||
/sudo-1.9.8p2.tar.gz
|
/sudo-1.9.8p2.tar.gz
|
||||||
|
/sudo-1.9.11p3.tar.gz
|
||||||
|
/sudo-1.9.12p2.tar.gz
|
||||||
|
/sudo-1.9.13p2.tar.gz
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (sudo-1.9.8p2.tar.gz) = 899b252e8c219226f658dff3dd34c97b07d42004998b45175b4c0c4de42a6bf9f909598e99b4056fa1171e63378e203854b0f8608b0f5c1b00e9d3677818f6d3
|
SHA512 (sudo-1.9.13p2.tar.gz) = b3015a114fd518afd644c9934f2461046f1116506723217603af1a952bdb436689761b4d009dfe32b725bad2e0ebcaf19db72febfaa63895ba004256fea12bef
|
||||||
|
|
|
||||||
20
sudo.spec
20
sudo.spec
|
|
@ -1,21 +1,20 @@
|
||||||
|
|
||||||
# comment out if no extra version
|
# comment out if no extra version
|
||||||
%global extraver p2
|
%global extraver p2
|
||||||
|
|
||||||
Summary: Allows restricted root access for specified users
|
Summary: Allows restricted root access for specified users
|
||||||
Name: sudo
|
Name: sudo
|
||||||
Version: 1.9.8
|
Version: 1.9.13
|
||||||
# remove -b 3 after rebase !!!
|
# remove -b 3 after rebase !!!
|
||||||
# use "-p -e % {?extraver}" when beta
|
# use "-p -e % {?extraver}" when beta
|
||||||
# use "-e % {?extraver}"" when patch version
|
# use "-e % {?extraver}"" when patch version
|
||||||
# use nothing special when normal version
|
# use nothing special when normal version
|
||||||
Release: %autorelease -e %{?extraver} -b 3
|
Release: %autorelease -e %{?extraver}
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: https://www.sudo.ws
|
URL: https://www.sudo.ws
|
||||||
Source0: %{url}/dist/%{name}-%{version}%{?extraver}.tar.gz
|
Source0: %{url}/dist/%{name}-%{version}%{?extraver}.tar.gz
|
||||||
Source1: sudoers
|
Source1: sudoers
|
||||||
Requires: pam
|
Requires: pam
|
||||||
Recommends: nano
|
Recommends: system-default-editor
|
||||||
Recommends: %{name}-python-plugin%{?_isa} = %{version}-%{release}
|
Recommends: %{name}-python-plugin%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|
@ -90,7 +89,7 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
||||||
--sbindir=%{_sbindir} \
|
--sbindir=%{_sbindir} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--docdir=%{_pkgdocdir} \
|
--docdir=%{_pkgdocdir} \
|
||||||
--enable-openssl \
|
--enable-openssl \
|
||||||
--disable-root-mailer \
|
--disable-root-mailer \
|
||||||
--disable-intercept \
|
--disable-intercept \
|
||||||
--with-logging=syslog \
|
--with-logging=syslog \
|
||||||
|
|
@ -104,8 +103,8 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
|
||||||
--with-ldap \
|
--with-ldap \
|
||||||
--with-selinux \
|
--with-selinux \
|
||||||
--with-passprompt="[sudo] password for %p: " \
|
--with-passprompt="[sudo] password for %p: " \
|
||||||
--enable-python \
|
--enable-python \
|
||||||
--enable-zlib=system \
|
--enable-zlib=system \
|
||||||
--with-linux-audit \
|
--with-linux-audit \
|
||||||
--with-sssd
|
--with-sssd
|
||||||
# --without-kerb5 \
|
# --without-kerb5 \
|
||||||
|
|
@ -194,7 +193,6 @@ EOF
|
||||||
%attr(0644,root,root) %{_libexecdir}/sudo/sudoers.so
|
%attr(0644,root,root) %{_libexecdir}/sudo/sudoers.so
|
||||||
%attr(0644,root,root) %{_libexecdir}/sudo/audit_json.so
|
%attr(0644,root,root) %{_libexecdir}/sudo/audit_json.so
|
||||||
%attr(0644,root,root) %{_libexecdir}/sudo/group_file.so
|
%attr(0644,root,root) %{_libexecdir}/sudo/group_file.so
|
||||||
%attr(0644,root,root) %{_libexecdir}/sudo/sample_approval.so
|
|
||||||
%attr(0644,root,root) %{_libexecdir}/sudo/system_group.so
|
%attr(0644,root,root) %{_libexecdir}/sudo/system_group.so
|
||||||
%attr(0644,root,root) %{_libexecdir}/sudo/libsudo_util.so.?.?.?
|
%attr(0644,root,root) %{_libexecdir}/sudo/libsudo_util.so.?.?.?
|
||||||
%{_libexecdir}/sudo/libsudo_util.so.?
|
%{_libexecdir}/sudo/libsudo_util.so.?
|
||||||
|
|
@ -211,13 +209,13 @@ EOF
|
||||||
%dir %{_pkgdocdir}/
|
%dir %{_pkgdocdir}/
|
||||||
%{_pkgdocdir}/*
|
%{_pkgdocdir}/*
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license doc/LICENSE
|
%license LICENSE.md
|
||||||
%exclude %{_pkgdocdir}/ChangeLog
|
%exclude %{_pkgdocdir}/ChangeLog
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc plugins/sample/sample_plugin.c
|
%doc plugins/sample/sample_plugin.c
|
||||||
%{_includedir}/sudo_plugin.h
|
%{_includedir}/sudo_plugin.h
|
||||||
%{_mandir}/man8/sudo_plugin.8*
|
%{_mandir}/man5/sudo_plugin.5*
|
||||||
|
|
||||||
%files logsrvd
|
%files logsrvd
|
||||||
%attr(0640,root,root) %config(noreplace) /etc/sudo_logsrvd.conf
|
%attr(0640,root,root) %config(noreplace) /etc/sudo_logsrvd.conf
|
||||||
|
|
@ -229,7 +227,7 @@ EOF
|
||||||
%{_mandir}/man8/sudo_sendlog.8.gz
|
%{_mandir}/man8/sudo_sendlog.8.gz
|
||||||
|
|
||||||
%files python-plugin
|
%files python-plugin
|
||||||
%{_mandir}/man8/sudo_plugin_python.8.gz
|
%{_mandir}/man5/sudo_plugin_python.5.gz
|
||||||
%attr(0644,root,root) %{_libexecdir}/sudo/python_plugin.so
|
%attr(0644,root,root) %{_libexecdir}/sudo/python_plugin.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue