SHA256
1
0
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:
Dirk Mueller 2023-02-15 14:01:42 +00:00 committed by Git OBS Bridge
parent 29ad280644
commit 3b73b5887c
3 changed files with 12 additions and 3 deletions

View File

@ -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
View File

@ -0,0 +1 @@
auth required pam_unix.so

View File

@ -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