package created using the webbuild interface [release 6.8.2-1mamba;Sat Jan 27 2024]
This commit is contained in:
parent
378f45e4b9
commit
6d164a8ad7
@ -1,2 +1,4 @@
|
|||||||
# opendoas
|
# opendoas
|
||||||
|
|
||||||
|
A minimal replacement for sudo forked and ported from OpenBSD.
|
||||||
|
|
||||||
|
52
opendoas.spec
Normal file
52
opendoas.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
Name: opendoas
|
||||||
|
Version: 6.8.2
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A minimal replacement for sudo forked and ported from OpenBSD
|
||||||
|
Group: Applications/Security
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: System/Tools
|
||||||
|
Source: https://github.com/Duncaen/OpenDoas.git/v%{version}/OpenDoas-%{version}.tar.bz2
|
||||||
|
License: ISC License
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libpam-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
A minimal replacement for sudo forked and ported from OpenBSD.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n OpenDoas-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
BINOWN=`id -u` \
|
||||||
|
BINGRP=`id -g` \
|
||||||
|
BINMODE=755 \
|
||||||
|
./configure \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--with-timestamp
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_pam_confdir}/doas
|
||||||
|
%attr(4755,root,root) %{_bindir}/doas
|
||||||
|
%{_mandir}/man1/doas.1*
|
||||||
|
%{_mandir}/man5/doas.conf.5*
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Jan 27 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.8.2-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user