forked from pool/fscrypt
Accepting request 1065972 from filesystems
- add fscrypt pam configuration - drop pam-specs from main package OBS-URL: https://build.opensuse.org/request/show/1065972 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fscrypt?expand=0&rev=3
This commit is contained in:
commit
b45405fdf5
@ -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>
|
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
|
URL: https://github.com/google/fscrypt
|
||||||
Source: https://github.com/google/fscrypt/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/google/fscrypt/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: vendor.tar.xz
|
Source1: vendor.tar.xz
|
||||||
|
Source2: %name.pam
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: m4
|
BuildRequires: m4
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
@ -60,18 +61,19 @@ This package holds the pam module for fscrypt.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install %{make_args}
|
%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
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/fscrypt
|
%{_bindir}/fscrypt
|
||||||
%dir %{_datadir}/pam-configs/
|
|
||||||
%{_datadir}/pam-configs/fscrypt
|
|
||||||
%{_datadir}/bash-completion/completions/fscrypt
|
%{_datadir}/bash-completion/completions/fscrypt
|
||||||
|
|
||||||
%files -n pam-fscrypt
|
%files -n pam-fscrypt
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_pam_moduledir}/pam_fscrypt.so
|
%{_pam_moduledir}/pam_fscrypt.so
|
||||||
|
%{_sysconfdir}/pam.d/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user