[packages/pam-pam_mount] - updated description and dependencies
qboosh
qboosh at pld-linux.org
Wed Dec 2 19:09:12 CET 2026
commit e0079ec381641d1838f291a77c898730ec39618e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Dec 2 19:09:21 2026 +0100
- updated description and dependencies
pam-pam_mount.spec | 92 ++++++++++++++++++++++--------------------------------
1 file changed, 38 insertions(+), 54 deletions(-)
---
diff --git a/pam-pam_mount.spec b/pam-pam_mount.spec
index 0cab3bd..cd09c4d 100644
--- a/pam-pam_mount.spec
+++ b/pam-pam_mount.spec
@@ -1,7 +1,3 @@
-# TODO
-# - man -l pam_mount.8 | perl -pe 's/.\cH//g' >pam_mount.txt;
-# man: invalid option -- 'l'
-# man, version 1.6f
%define modulename pam_mount
Summary: A PAM module that can mount remote volumes for a user session
Summary(pl.UTF-8): Moduł PAM, pozwalający montować zdalne zasoby na czas sesji użytkownika
@@ -17,10 +13,9 @@ URL: https://inai.de/projects/pam_mount/
BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: cryptsetup-devel >= 1.1.2
-BuildRequires: glib2-devel
-BuildRequires: libHX-devel >= 3.12.1
+BuildRequires: libHX-devel >= 4.28
BuildRequires: libmount-devel >= 2.20
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2
BuildRequires: libxml2-devel >= 1:2.6
BuildRequires: openssl-devel >= 0.9.8
BuildRequires: pam-devel
@@ -28,59 +23,48 @@ BuildRequires: pcre2-8-devel
BuildRequires: pkgconfig
BuildRequires: tar >= 1:1.22
BuildRequires: xz >= 1:4.999.7
-BuildRequires: zlib-devel
-Obsoletes: pam_mount
+Requires: libcryptmount%{?_isa} = %{version}-%{release}
+Requires: libmount%{?_isa} >= 2.20
+Requires: libxml2%{?_isa} >= 1:2.6
+Obsoletes: pam_mount < 0.5.17
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-This module is aimed to environments with SMB (Samba or Windows NT)
-and/or NCP (Netware or Mars-NWE) servers that Unix users want or need
-to access, and some users have / every user has private volumes in
-that servers. The module also supports mounting home directories using
-loopback encrypted filesystems (see also
-http://www.tldp.org/HOWTO/Loopback-Encrypted-Filesystem-HOWTO.html).
- - Every user can access his/her own volumes
- - The user needs to type the password just once (at login) (*)
+This module is aimed to environments with central file servers that a
+user wishes to mount on login and unmount on logout. The module also
+supports mounting local filesystems of any kind the normal mount
+utility supports, with extra code to make sure certain volumes are set
+up properly because often they need more than just a mount call, such
+as encrypted volumes. This includes SMB/CIFS, FUSE, dm-crypt and LUKS.
+ - Users can define their own list of volumes
+ - The user needs to type the password just once (at login)
- The mouting process is transparent to the users
- - There is no need to keep the login passwords in any additional file
- - The volumes are unmount upon logout, so it saves system resources,
- avoiding the need of listing every every possibly useful remote volume
- in /etc/fstab or in an automount/supermount config file. This is also
- necessary for securing encrypted filesystems.
-
-(*) Obviously, the user password in the Unix system and in the remote
-servers must be the same ;)
-
-Pam_mount "understands" SMB, NCP, and encrypted loopback volumes, but
-this can be extended very easily.
+ - No stored passwords
+ - The volumes are unmounted on logout, freeing system resources and
+ not leaving data exposed.
%description -l pl.UTF-8
-Przeznaczeniem tego modułu są środowiska z protokołem SMB (Samba lub
-Windows NT) i/lub NCP (Netware lub Mars-NWE), w których użytkownicy
-chcą lub potrzebują indywidualnych zasobów. Moduł ten wspiera także
-montowanie katalogów domowych z zaszyfrowanych systemów plików przy
-użyciu loopbacka (zobacz także:
-http://www.tldp.org/HOWTO/Loopback-Encrypted-Filesystem-HOWTO.html).
- - każdy użytkownik ma dostęp do swoich zasobów
- - użytkownik musi wpisać swoje hasło tylko raz (przy logowaniu) (*)
+Przeznaczeniem tego modułu są środowiska z centralnymi serwerami
+plików, które użytkownik może chcieć montować przy logowaniu i
+odmontowywać przy wylogowaniu. Moduł obsługuje też montowanie
+lokalnych systemów plików dowolnego rodzaju, obsługiwanych przez
+zwykłe narzędzie mount, z dodatkowym kodem zapewniającym, że wolumeny
+zostaną właściwie skonfigurowane, gdy wymagają czegoś więcej niż
+wywyłanie mount, jak na przykład wolumeny zaszyfrowane. Obejmuje
+to SMB/CIFS, FUSE, dm-crypt i LUKS.
+ - każdy użytkownik może definiować swoją listę wolumenów
+ - użytkownik musi wpisać swoje hasło tylko raz (przy logowaniu)
- proces montowania jest niewidzialny dla użytkownika
- - nie ma potrzeby trzymania hasła i loginu w żadnym dodatkowym pliku
- - katalogi są odmontowywane podczas wylogowania, co oszczędza zasoby
- systemowe, zabezpiecza przed koniecznością umieszczenia każdego
- potrzebnego zdalnego zasobu w /etc/fstab lub w konfiguracji
- automounta/supermounta. Jest to także konieczne do zabezpieczenia
- zaszyfrowanych systemów plików.
-
-(*) Oczywiście hasło na lokalnym i zdalnym systemie musi być
-identyczne ;)
-
-pam_mount "rozumie" SMB, NCP oraz zaszyfrowane systemy plików po
-loopbacku, ale może być rozszerzony w prosty sposób.
+ - nie ma zapisanych haseł
+ - katalogi są odmontowywane podczas wylogowania, co zwalnia zasoby i
+ nie pozostawia dostępnych danych.
%package -n libcryptmount
Summary: libcryptmount library
Summary(pl.UTF-8): Biblioteka libcryptmount
Group: Libraries
+Requires: cryptsetup-libs%{?_isa} >= 1.1.2
+Requires: libHX%{?_isa} >= 4.28
%description -n libcryptmount
libcryptmount library.
@@ -92,8 +76,8 @@ Biblioteka libcryptmount
Summary: Header files for libcryptmount library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libcryptmount
Group: Development/Libraries
-Requires: libcryptmount = %{version}-%{release}
-Requires: libHX-devel >= 3.12.1
+Requires: libcryptmount%{?_isa} = %{version}-%{release}
+Requires: libHX-devel%{?_isa} >= 4.28
%description -n libcryptmount-devel
Header files for libcryptmount library.
@@ -140,7 +124,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc doc/{bugs.rst,faq.txt,news.rst,options.txt,todo.txt}
-%attr(755,root,root) /%{_lib}/security/pam_mount.so
+/%{_lib}/security/pam_mount.so
%config(noreplace) %verify(not md5 mtime size) /etc/security/pam_mount.conf.xml
%attr(755,root,root) %{_bindir}/mount.crypt
%attr(755,root,root) %{_sbindir}/mount.crypt
@@ -170,11 +154,11 @@ rm -rf $RPM_BUILD_ROOT
%files -n libcryptmount
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libcryptmount.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libcryptmount.so.0
+%{_libdir}/libcryptmount.so.*.*.*
+%ghost %{_libdir}/libcryptmount.so.0
%files -n libcryptmount-devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libcryptmount.so
+%{_libdir}/libcryptmount.so
%{_includedir}/libcryptmount.h
%{_pkgconfigdir}/libcryptmount.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pam-pam_mount.git/commitdiff/e0079ec381641d1838f291a77c898730ec39618e
More information about the pld-cvs-commit
mailing list