]> git.pld-linux.org Git - packages/drbd.git/commitdiff
-brand new, anther one part for building fail-over clusters,
authorhunter <hunter@pld-linux.org>
Wed, 4 Jul 2001 02:43:04 +0000 (02:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
this can be called net-raid-1, NYF

Changed files:
    drbd.spec -> 1.1

drbd.spec [new file with mode: 0644]

diff --git a/drbd.spec b/drbd.spec
new file mode 100644 (file)
index 0000000..f82afc0
--- /dev/null
+++ b/drbd.spec
@@ -0,0 +1,79 @@
+Summary: drbd
+Summary(pl):  drbd- 
+Name:  drbd
+Version:       0.5.8
+Release:       0
+Copyright: GPL
+URL: http://complang.tuwien.ac.at/reisner/drbd/
+Group: Utilities
+Group(pl): Narzêdzia
+Source: %{name}-%{version}.tar.gz 
+BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _kernelversion  2.2.19
+
+%description
+heartbeat is a basic heartbeat subsystem for Linux-HA.
+It will run scripts at initialization, and when machines go up or down.
+This version will also perform IP address takeover using gratuitous ARPs.
+It works correctly for a 2-node configuration, and is extensible to larger
+configurations.
+
+
+It implements the following kinds of heartbeats:
+       - Bidirectional Serial Rings ("raw" serial ports)
+       - UDP/IP broadcast (ethernet, etc)
+       - Bidirectional Serial PPP/UDP Rings (using PPP)
+       - "ping" heartbeats (for routers, switches, etc.)
+          (to be used for breaking ties in 2-node systems)
+%description(pl)
+heartbeat jest podstawowym podsystemem dla systemów o podwy¿szonej dostêpno¶ci budowanych w oparciu o Linuxa. Zajmuje siê uruchamianiem skryptów podczas startu i zamykania systemu. Ta wersja pakietu pozwala na przejmowanie adresów IP. Oprogramowanie dzia³a poprawnie dla konfiguracji sk³adaj±cej siê z 2 hostów, mo¿na je równie¿ stosowaæ do bardziej skomplikowanych konfiguracji.
+
+%prep
+%setup -q -n %{name}
+%build
+# 
+%{__make}
+###########################################################
+%install
+###########################################################
+install -d  $RPM_BUILD_ROOT/usr/sbin
+#%{__make} install PREFIX=$RPM_BUILD_ROOT/
+#dir drbd
+install -d $RPM_BUILD_ROOT/lib/modules/%{_kernelversion}/block/
+install drbd/drbd.o $RPM_BUILD_ROOT/lib/modules/%{_kernelversion}/block/
+#dir user
+install user/drbdsetup $RPM_BUILD_ROOT/usr/sbin/
+#dir documentation
+install -d  $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
+cd documentation
+install drbd.conf.5  drbd.conf.sgml  drbdsetup.8  drbdsetup.sgml  manpage.links  manpage.refs $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
+###########################################################
+%files
+###########################################################
+/usr/sbin/drbdsetup
+/lib/modules/%{_kernelversion}/block/drbd.o
+#/usr/man/man8/*
+#/usr/man/man5/*
+%doc %{_defaultdocdir}/%{name}
+
+###########################################################
+%clean
+###########################################################
+rm -rf $RPM_BUILD_ROOT
+
+###########################################################
+%pre
+###########################################################
+#
+###########################################################
+#
+###########################################################
+%post
+/sbin/depmod
+###########################################################
+
+
+###########################################################
+%preun
+###########################################################
This page took 0.051081 seconds and 4 git commands to generate.