forked from pool/fscrypt
- add fscrypt pam configuration
- drop pam-specs from main package OBS-URL: https://build.opensuse.org/package/show/filesystems/fscrypt?expand=0&rev=17
This commit is contained in:
parent
29ad280644
commit
3b73b5887c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 13:58:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add fscrypt pam configuration
|
||||
- drop pam-specs from main package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 07:27:28 UTC 2023 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
|
1
fscrypt.pam
Normal file
1
fscrypt.pam
Normal file
@ -0,0 +1 @@
|
||||
auth required pam_unix.so
|
@ -25,6 +25,7 @@ Group: System/Base
|
||||
URL: https://github.com/google/fscrypt
|
||||
Source: https://github.com/google/fscrypt/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: %name.pam
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: m4
|
||||
BuildRequires: pam-devel
|
||||
@ -60,18 +61,19 @@ This package holds the pam module for fscrypt.
|
||||
|
||||
%install
|
||||
%make_install %{make_args}
|
||||
chmod a-x %{buildroot}%{_datadir}/pam-configs/fscrypt
|
||||
# not needed on SUSE
|
||||
rm -rvf %{buildroot}%{_datadir}/pam-configs
|
||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/%{name}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/fscrypt
|
||||
%dir %{_datadir}/pam-configs/
|
||||
%{_datadir}/pam-configs/fscrypt
|
||||
%{_datadir}/bash-completion/completions/fscrypt
|
||||
|
||||
%files -n pam-fscrypt
|
||||
%license LICENSE
|
||||
%{_pam_moduledir}/pam_fscrypt.so
|
||||
%{_sysconfdir}/pam.d/%{name}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user