2024-01-05 21:57:27 +01:00
|
|
|
Name: drbd-utils
|
2024-01-05 21:57:27 +01:00
|
|
|
Version: 9.21.1
|
2024-01-05 21:57:27 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: RAID 1 over TCP/IP for Linux utilities
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://linbit.com/drbd/
|
2024-01-05 21:57:27 +01:00
|
|
|
Source: https://pkg.linbit.com//downloads/drbd/utils/drbd-utils-%{version}.tar.gz
|
2024-01-05 21:57:27 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 21:57:27 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 21:57:27 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
License: GPL
|
|
|
|
Provides: drbd
|
|
|
|
Obsoletes: drbd <= 8.4.3
|
|
|
|
|
|
|
|
%description
|
|
|
|
Drbd is a block device which is designed to build high availability clusters by providing a virtual shared device which keeps disks in nodes synchronised using TCP/IP.
|
|
|
|
This simulates RAID 1 but avoiding the use of uncommon hardware (shared SCSI buses or Fibre Channel). It is currently limited to fail-over HA clusters.
|
|
|
|
This package contains the programs that will control the drbd kernel module.
|
|
|
|
You will need a clustering service (such as heartbeat) to fully implement it.
|
|
|
|
|
2024-01-05 21:57:27 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 21:57:27 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-utils \
|
|
|
|
--without-km \
|
|
|
|
--with-udev \
|
|
|
|
--with-xen \
|
|
|
|
--with-pacemaker \
|
|
|
|
--with-heartbeat \
|
|
|
|
--with-rgmanager \
|
|
|
|
--with-bashcompletion \
|
|
|
|
--with-distro=generic \
|
|
|
|
--with-initscripttype=systemd
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
2024-01-05 21:57:27 +01:00
|
|
|
|
|
|
|
mv %{buildroot}/lib/drbd/* %{buildroot}%{_prefix}/lib/drbd/
|
|
|
|
|
2024-01-05 21:57:27 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun drbd
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post drbd
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart drbd
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/drbd.conf
|
|
|
|
%{_sysconfdir}/drbd.d/global_common.conf
|
|
|
|
%{_sysconfdir}/ha.d/resource.d/drbdupper
|
|
|
|
%{_sysconfdir}/bash_completion.d/drbdadm
|
|
|
|
%{_sysconfdir}/xen/scripts/block-drbd
|
|
|
|
%{_sysconfdir}/ha.d/resource.d/drbddisk
|
|
|
|
%{_sysconfdir}/multipath/conf.d/drbd.conf
|
2024-01-05 21:57:27 +01:00
|
|
|
%{_sbindir}/drbd*
|
2024-01-05 21:57:27 +01:00
|
|
|
%{_unitdir}/drbd.service
|
2024-01-05 21:57:27 +01:00
|
|
|
%{_unitdir}/drbd-lvchange@.service
|
|
|
|
%{_unitdir}/drbd-promote@.service
|
|
|
|
%{_unitdir}/drbd-reconfigure-suspend-or-error@.service
|
2024-01-05 21:57:27 +01:00
|
|
|
%{_unitdir}/drbd-demote-or-escalate@.service
|
2024-01-05 21:57:27 +01:00
|
|
|
%{_unitdir}/drbd-services@.target
|
|
|
|
%{_unitdir}/drbd-wait-promotable@.service
|
|
|
|
%{_unitdir}/drbd@.service
|
|
|
|
%{_unitdir}/drbd@.target
|
|
|
|
%{_unitdir}/ocf.ra@.service
|
2024-01-05 21:57:27 +01:00
|
|
|
%dir %{_prefix}/lib/drbd/
|
|
|
|
%{_prefix}/lib/drbd/*
|
|
|
|
%dir %{_prefix}/lib/ocf/resource.d/linbit
|
|
|
|
%{_prefix}/lib/ocf/resource.d/linbit/*
|
|
|
|
%{_tmpfilesdir}/drbd.conf
|
|
|
|
%{_udevrulesdir}/65-drbd.rules
|
|
|
|
%{_datadir}/cluster/drbd.metadata
|
|
|
|
%{_datadir}/cluster/drbd.sh
|
2024-01-05 21:57:27 +01:00
|
|
|
%{_mandir}/man5/drbd.conf*.5*
|
|
|
|
%{_mandir}/man7/drbd*.7*
|
|
|
|
%{_mandir}/man7/ocf*.7*
|
2024-01-05 21:57:27 +01:00
|
|
|
%{_mandir}/man8/drbd*.8*
|
|
|
|
%{_mandir}/ja/man5/drbd.conf*5*
|
|
|
|
%{_mandir}/ja/man8/drbd*8*
|
2024-01-05 21:57:27 +01:00
|
|
|
%doc COPYING
|
2024-01-05 21:57:27 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:57:27 +01:00
|
|
|
* Wed May 25 2022 Automatic Build System <autodist@mambasoft.it> 9.21.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:57:27 +01:00
|
|
|
* Fri Apr 29 2022 Automatic Build System <autodist@mambasoft.it> 9.21.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:57:27 +01:00
|
|
|
* Tue Feb 08 2022 Automatic Build System <autodist@mambasoft.it> 9.20.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:57:27 +01:00
|
|
|
* Fri Jan 14 2022 Automatic Build System <autodist@mambasoft.it> 9.20.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:57:27 +01:00
|
|
|
* Wed Dec 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 9.19.1-1mamba
|
|
|
|
- update to 9.19.1
|
|
|
|
|
2024-01-05 21:57:27 +01:00
|
|
|
* Wed Jun 23 2021 Automatic Build System <autodist@mambasoft.it> 9.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:57:27 +01:00
|
|
|
* Sun May 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 9.17.0-1mamba
|
|
|
|
- update to 9.17.0
|
|
|
|
|
|
|
|
* Fri Sep 13 2013 Automatic Build System <autodist@mambasoft.it> 8.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 8.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 8.3.9-2mamba
|
|
|
|
- disabled kernel module build (module was added upstream by 2.6.35)
|
|
|
|
|
|
|
|
* Tue Nov 02 2010 Automatic Build System <autodist@mambasoft.it> 8.3.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 8.3.8-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 8.3.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jan 23 2010 Automatic Build System <autodist@mambasoft.it> 8.3.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2.6-1mamba
|
|
|
|
- update to 8.2.6
|
|
|
|
|
|
|
|
* Wed Mar 08 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.17-1qilnx
|
|
|
|
- update to version 0.7.17 by autospec
|
|
|
|
|
|
|
|
* Thu Apr 21 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.10-1qilnx
|
|
|
|
- update to version 0.7.10 by autospec
|
|
|
|
|
|
|
|
* Thu May 13 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.12-6qilnx
|
|
|
|
- specfile modified: the drbd kernel module is now in the kernels packages
|
|
|
|
|
|
|
|
* Wed May 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-5qilnx
|
|
|
|
- added an initscript patch to avoid a no terminal fatal error
|
|
|
|
|
|
|
|
* Tue May 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-4qilnx
|
|
|
|
- fixed datadisk symlink
|
|
|
|
|
|
|
|
* Tue May 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-3qilnx
|
|
|
|
- added datadisk resource file for ha
|
|
|
|
|
|
|
|
* Tue May 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-2qilnx
|
|
|
|
- fixed post scripts
|
|
|
|
- build a standard kernel (should be build in future for all kernel versions)
|
|
|
|
|
|
|
|
* Tue May 11 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.12-1qilnx
|
|
|
|
- fist build
|