2008-08-21 03:14:30 +00:00
|
|
|
#
|
2014-03-12 18:07:56 +00:00
|
|
|
# spec file for package pam_csync
|
2008-08-21 03:14:30 +00:00
|
|
|
#
|
2022-08-03 07:51:56 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2008-08-21 03:14:30 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-06-10 09:05:47 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-08-21 03:14:30 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-08-03 07:51:56 +00:00
|
|
|
%if !%{defined _pam_moduledir}
|
|
|
|
%define _pam_moduledir /%{_lib}/security
|
|
|
|
%endif
|
2008-08-21 03:14:30 +00:00
|
|
|
Name: pam_csync
|
2020-06-10 09:05:47 +00:00
|
|
|
Version: 0.43.0
|
2014-03-12 18:07:56 +00:00
|
|
|
Release: 0
|
2008-08-21 03:14:30 +00:00
|
|
|
Summary: A PAM module for roaming home directories
|
2020-06-10 09:05:47 +00:00
|
|
|
License: GPL-2.0-or-later
|
2014-03-12 18:07:56 +00:00
|
|
|
Group: System/Libraries
|
2022-08-03 07:51:56 +00:00
|
|
|
URL: https://www.csync.org/
|
2020-06-10 10:02:40 +00:00
|
|
|
Source0: https://gitlab.com/csync/pam_csync/-/archive/%{version}/%{name}-%{version}.tar.gz
|
2010-02-04 10:59:40 +00:00
|
|
|
Source1: baselibs.conf
|
2014-03-12 18:07:56 +00:00
|
|
|
# PATCH-FIX-UPSTREAM 0002-Update-FSF-address.patch
|
|
|
|
Patch2: 0002-Update-FSF-address.patch
|
2022-08-03 07:51:56 +00:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: libcsync-devel
|
|
|
|
BuildRequires: libiniparser-devel
|
|
|
|
BuildRequires: pam-devel
|
2008-08-21 03:14:30 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is a PAM module to provide roaming home directories for a user
|
|
|
|
session. The authentication module verifies the identity of a user and
|
|
|
|
triggers a synchronization with the server on the first login and the
|
|
|
|
last logout.
|
|
|
|
|
|
|
|
%prep
|
2020-06-10 09:05:47 +00:00
|
|
|
%autosetup -p1
|
2008-08-21 03:14:30 +00:00
|
|
|
|
|
|
|
%build
|
2022-08-03 07:51:56 +00:00
|
|
|
%cmake -DPAM_MODULE_INSTALL_DIR=%{_pam_moduledir}
|
2020-06-10 09:05:47 +00:00
|
|
|
%cmake_build
|
2008-08-21 03:14:30 +00:00
|
|
|
|
|
|
|
%install
|
2020-06-10 09:05:47 +00:00
|
|
|
%cmake_install
|
2008-08-21 03:14:30 +00:00
|
|
|
|
|
|
|
%files
|
2020-06-10 09:05:47 +00:00
|
|
|
%doc FAQ README
|
|
|
|
%license COPYING
|
2022-08-03 07:51:56 +00:00
|
|
|
%{_pam_moduledir}/pam_csync.so
|
2008-08-21 03:14:30 +00:00
|
|
|
%dir %{_sysconfdir}/security
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/pam_csync.conf
|
|
|
|
%{_mandir}/man?/pam_csync.*
|
|
|
|
|
|
|
|
%changelog
|