Browse Source

sudo-1.9.7-1

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
c5b3fce09b
1 changed files with 9 additions and 5 deletions
  1. 9 5
      s/sudo/sudo-vl.spec

+ 9 - 5
s/sudo/sudo-vl.spec

@@ -1,7 +1,7 @@
 Summary: Allows command execution as root for specified users
 Summary(ja): スーパーユーザ権限でのコマンドの実行
 Name: sudo
-Version: 1.9.5p2
+Version: 1.9.7
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -9,13 +9,11 @@ Distribution: Vine Linux
 
 License: ISC-style
 URL: https://www.sudo.ws/sudo/
-# master is toooooooooooooooo slow.
 Source0: http://www.sudo.ws/sudo/dist/sudo-%{version}.tar.gz
-#Source0: http://core.ring.gr.jp/archives/misc/sudo/sudo-%{version}.tar.gz
 Source1: sudo-sudoers-vine
 
 # don't strip
-Patch1: sudo-1.6.7p5-strip.patch
+Patch1: sudo-1.9.7-strip.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: pam-devel
@@ -92,7 +90,9 @@ make %{?_smp_mflags}
 %install
 rm -rf %{buildroot}
 mkdir %{buildroot}
-make install DESTDIR="%{buildroot}" install_uid=`id -u` install_gid=`id -g` sudoers_uid=`id -u` sudoers_gid=`id -g`
+%make_install \
+	install_uid=`id -u` install_gid=`id -g` \
+	sudoers_uid=`id -u` sudoers_gid=`id -g`
 
 chmod 755 %{buildroot}%{_bindir}/* %{buildroot}%{_sbindir}/* 
 install -p -d -m 700 %{buildroot}/var/run/sudo
@@ -196,6 +196,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Jun 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.7-1
+- updated to 1.9.7.
+- updated Patch1.
+
 * Sat Jan 30 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.5p2-1
 - updated to 1.9.5p2.