2024-01-05 17:53:18 +01:00
|
|
|
Name: smbldap-tools
|
2024-02-04 12:32:12 +01:00
|
|
|
Version: 0.9.11
|
2024-01-05 17:53:18 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A set of perl scripts designed to manage user and group accounts stored in an LDAP directory
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-02-04 12:32:12 +01:00
|
|
|
URL: https://github.com/fumiyas/smbldap-tools
|
|
|
|
Source: https://github.com/fumiyas/smbldap-tools.git/v%{version}/smbldap-tools-%{version}.tar.bz2
|
2024-01-05 17:53:18 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-02-04 12:32:12 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-05 17:53:18 +01:00
|
|
|
BuildRequires: perl-Crypt-SmbHash
|
2024-02-04 12:32:12 +01:00
|
|
|
BuildRequires: perl-Encode
|
2024-01-05 17:53:18 +01:00
|
|
|
BuildRequires: perl-Net-LDAP
|
2024-02-04 12:32:12 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-05 17:53:18 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires(post):samba-server
|
|
|
|
Requires: samba-winbind
|
|
|
|
Requires: openldap-clients
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Smbldap-tools is a set of perl scripts designed to manage user and group accounts stored in an LDAP directory. They can be used both by users and administrators of Linux systems:
|
|
|
|
* administrators can perform users and groups management operations, in a way similar to the standard useradd or groupmod commands
|
|
|
|
* users can change their LDAP password from the command line and get/change personnal informations
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-02-04 12:32:12 +01:00
|
|
|
build/autogen.sh
|
2024-01-05 17:53:18 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/smbldap-tools
|
|
|
|
install -d -m0755 %{buildroot}%{_mandir}/man8
|
|
|
|
|
2024-02-04 12:32:12 +01:00
|
|
|
cp -a smbldap.conf %{buildroot}%{_sysconfdir}/smbldap-tools/smbldap.conf
|
|
|
|
cp -a smbldap_bind.conf %{buildroot}%{_sysconfdir}/smbldap-tools/smbldap_bind.conf
|
2024-01-05 17:53:18 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/smbldap-tools/smbldap.conf
|
|
|
|
%attr(600,root,root) %config(noreplace) %{_sysconfdir}/smbldap-tools/smbldap_bind.conf
|
|
|
|
%{_sbindir}/smbldap-*
|
|
|
|
%{perl_vendorlib}/smbldap_tools.pm
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-02-04 12:32:12 +01:00
|
|
|
* Sat Feb 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.11-1mamba
|
|
|
|
- update to 0.9.11
|
|
|
|
|
2024-01-05 17:53:18 +01:00
|
|
|
* Fri Jul 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.10-1mamba
|
|
|
|
- update to 0.9.10
|
|
|
|
- smbldap-tools-slapd.conf: added missing indexes
|
|
|
|
|
|
|
|
* Mon Apr 11 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-4mamba
|
|
|
|
- set scripts/logon.bat as default logon script
|
|
|
|
|
|
|
|
* Tue Mar 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-3mamba
|
|
|
|
- added patch to change minimum UID and GID from 1000 to 10000
|
|
|
|
|
|
|
|
* Thu Mar 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-2mamba
|
|
|
|
- support automatic configuration on first install
|
|
|
|
|
|
|
|
* Wed Mar 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-1mamba
|
|
|
|
- package created by autospec
|
|
|
|
smbldap-tools-0.9.6-fix_minUidGid.patch
|