|
|
e96fd1 |
%define version 47
|
|
|
e96fd1 |
# disable the dependecy extractor, it would add
|
|
|
e96fd1 |
# Require: /usr/share/migrationtools/migrate_common.ph
|
|
|
e96fd1 |
%global __perl_requires /usr/bin/tail -n 0
|
|
|
e96fd1 |
|
|
|
e96fd1 |
Name: migrationtools
|
|
|
e96fd1 |
Version: %{version}
|
|
|
e96fd1 |
Release: 14%{?dist}
|
|
|
e96fd1 |
Summary: Migration scripts for LDAP
|
|
|
e96fd1 |
|
|
|
e96fd1 |
Group: System Environment/Daemons
|
|
|
e96fd1 |
License: BSD
|
|
|
e96fd1 |
URL: http://www.padl.com/OSS/MigrationTools.html
|
|
|
e96fd1 |
Source0: http://www.padl.com/download/MigrationTools-%{version}.tar.gz
|
|
|
e96fd1 |
Source1: migration-tools.txt
|
|
|
e96fd1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e96fd1 |
BuildArch: noarch
|
|
|
e96fd1 |
Requires: perl, ldif2ldbm
|
|
|
e96fd1 |
|
|
|
e96fd1 |
Patch1: MigrationTools-38-instdir.patch
|
|
|
e96fd1 |
Patch2: MigrationTools-36-mktemp.patch
|
|
|
e96fd1 |
Patch3: MigrationTools-27-simple.patch
|
|
|
e96fd1 |
Patch4: MigrationTools-26-suffix.patch
|
|
|
e96fd1 |
Patch5: MigrationTools-46-schema.patch
|
|
|
e96fd1 |
Patch6: MigrationTools-45-noaliases.patch
|
|
|
e96fd1 |
Patch7: MigrationTools-46-ddp.patch
|
|
|
e96fd1 |
Patch8: MigrationTools-46-unique-hosts.patch
|
|
|
e96fd1 |
Patch9: MigrationTools-46-shadow-numbers.patch
|
|
|
e96fd1 |
Patch10: MigrationTools-46-gen-one-domain.patch
|
|
|
e96fd1 |
Patch11: MigrationTools-47-hosts.patch
|
|
|
e96fd1 |
|
|
|
e96fd1 |
%description
|
|
|
e96fd1 |
The MigrationTools are a set of Perl scripts for migrating users, groups,
|
|
|
e96fd1 |
aliases, hosts, netgroups, networks, protocols, RPCs, and services from
|
|
|
e96fd1 |
existing nameservices (flat files, NIS, and NetInfo) to LDAP.
|
|
|
e96fd1 |
|
|
|
e96fd1 |
%prep
|
|
|
e96fd1 |
%setup -q -n MigrationTools-47
|
|
|
e96fd1 |
|
|
|
e96fd1 |
%patch1 -p1
|
|
|
e96fd1 |
%patch2 -p1
|
|
|
e96fd1 |
%patch3 -p1
|
|
|
e96fd1 |
%patch4 -p1
|
|
|
e96fd1 |
%patch5 -p1
|
|
|
e96fd1 |
%patch6 -p1
|
|
|
e96fd1 |
%patch7 -p1
|
|
|
e96fd1 |
%patch8 -p1
|
|
|
e96fd1 |
%patch9 -p1
|
|
|
e96fd1 |
%patch10 -p1
|
|
|
e96fd1 |
%patch11 -p1
|
|
|
e96fd1 |
|
|
|
e96fd1 |
%build
|
|
|
e96fd1 |
# nothing to build
|
|
|
e96fd1 |
cp %SOURCE1 .
|
|
|
e96fd1 |
|
|
|
e96fd1 |
%install
|
|
|
e96fd1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
e96fd1 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}
|
|
|
e96fd1 |
install -m 755 migrate_* $RPM_BUILD_ROOT/%{_datadir}/%{name}
|
|
|
e96fd1 |
|
|
|
e96fd1 |
%clean
|
|
|
e96fd1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
e96fd1 |
|
|
|
e96fd1 |
%files
|
|
|
e96fd1 |
%defattr(-,root,root,-)
|
|
|
e96fd1 |
%attr(0755,root,root) %dir /%{_datadir}/%{name}
|
|
|
e96fd1 |
%attr(0644,root,root) /%{_datadir}/%{name}/*.ph
|
|
|
e96fd1 |
%attr(0755,root,root) /%{_datadir}/%{name}/*.pl
|
|
|
e96fd1 |
%attr(0755,root,root) /%{_datadir}/%{name}/*.sh
|
|
|
e96fd1 |
%doc README
|
|
|
e96fd1 |
%doc migration-tools.txt
|
|
|
e96fd1 |
|
|
|
e96fd1 |
%changelog
|
|
|
e96fd1 |
* Thu Aug 8 2013 <jsafrane@redhat.com> - 47-14
|
|
|
e96fd1 |
- Fixed importing /etc/hosts and /etc/services, duplicate entries
|
|
|
e96fd1 |
are now skipped. (#916623)
|
|
|
e96fd1 |
- Added missing patches.
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 47-13
|
|
|
e96fd1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e96fd1 |
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 47-12
|
|
|
e96fd1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Mon Feb 20 2012 Jan Safranek <jsafrane@redhat.com> - 47-11
|
|
|
e96fd1 |
- re-added support for Fedora DS (when it provides ldif2ldbm)
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 47-10
|
|
|
e96fd1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Tue Nov 8 2011 Jan Safranek <jsafrane@redhat.com> - 47-9
|
|
|
e96fd1 |
- Removed dependency on ldif2ldbm, nothing in Fedora provides it now
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 47-8
|
|
|
e96fd1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Mon Feb 22 2010 Jan Safranek <jsafrane@redhat.com> 47-7
|
|
|
e96fd1 |
- Spec file cleanup
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Mon Feb 15 2010 Jan Safranek <jsafrane@redhat.com> 47-6
|
|
|
e96fd1 |
- Fixed package compilation problems (#565151)
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Wed Nov 11 2009 Jan Safranek <jsafrane@redhat.com> 47-5
|
|
|
e96fd1 |
- Removed unnecesary file dependency (#533968)
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 47-4
|
|
|
e96fd1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 47-3
|
|
|
e96fd1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Fri Aug 29 2008 Jan Safranek <jsafrane@redhat.com> 47-2
|
|
|
e96fd1 |
- added support for Fedora DS (when it provides ldif2ldbm)
|
|
|
e96fd1 |
- rediffed all patches to get rid of patch fuzz
|
|
|
e96fd1 |
|
|
|
e96fd1 |
* Thu Feb 28 2008 Jan Safranek <jsafrane@redhat.com> 47-1
|
|
|
e96fd1 |
- package carved out of openldap-servers
|
|
|
e96fd1 |
|