From 6d164a8ad784504f002ca1ebfec7be3027b39668 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 27 Jan 2024 20:18:51 +0100 Subject: [PATCH] package created using the webbuild interface [release 6.8.2-1mamba;Sat Jan 27 2024] --- README.md | 2 ++ opendoas.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 opendoas.spec diff --git a/README.md b/README.md index d54e52d..dab42d2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # opendoas +A minimal replacement for sudo forked and ported from OpenBSD. + diff --git a/opendoas.spec b/opendoas.spec new file mode 100644 index 0000000..7c16c13 --- /dev/null +++ b/opendoas.spec @@ -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 +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 6.8.2-1mamba +- package created using the webbuild interface