Name: makuosan Version: 1.3.1 Release: 1%{?dist} Summary: Multicasts All-Kinds of Updating Operation for Servers on Administered Network Group: System Environment/Daemons License: GPL URL: http://lab.klab.org/wiki/Makuosan Source0: http://downloads.sourceforge.net/makuosan/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: initscripts Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig, /sbin/service Requires(postun): /sbin/service %description Makuosan(MAKUO for short) is a software which transfer files to multiple servers simultaneously using UDP multicast. (MAKUO consists of makuosan daemon and command line utility msync. The makuosan should be run on every server in a cluster. The makuo talk to makuosan daemon.) MAKUO has following features; * Scalability The time required to transfer files to multiple servers does not depend on the number of the target servers. It takes almost as same amount of time to transfer files to 20 servers as it does to 10 servers. However, it is desirable to use MAKUO among servers with similar performance, because transfer speed is limited by the slowest server. * Simultaneous update on every server. The makuosan transfers files simultaneously using IP multicast. Therefore, there should not be any out of sync server. * Simple configuration Each makuosan daemon maintains available server list by periodically checking existence of other makuosan daemons on different servers. The makuosan transfers files only to those servers where makuosan daemon is also alive. Therefore, it never stalls waiting for a dead server, or timeouts. %prep %setup -q %build %configure --prefix=/usr make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} # Init script install -Dp -m0755 support/makuosan.sysv %{buildroot}%{_initrddir}/makuosan # Default configs mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig cat <%{buildroot}/%{_sysconfdir}/sysconfig/%{name} # Base Directory (Necessity) BASE_DIR="" # Other PORT="5000" MCAST_ADDRESS="224.0.0.108" IP_ADDRESS="127.0.0.1" SOCKET="" LOGLEVEL="1" MAKUOSAN_USER="" MAKUOSAN_GROUP="" MAKUOSAN_GROUPS="" OPTIONS="" EOF %clean rm -rf %{buildroot} %post %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING INSTALL NEWS README %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %{_bindir}/msync %{_sbindir}/makuosan %{_initrddir}/makuosan %changelog * Mon Mar 30 2010 Masanobu Yasui - 1.3.1 * Mon Mar 1 2010 Masanobu Yasui - 1.3.0 * Mon Jun 16 2009 Masanobu Yasui - 1.2.2 * Mon Jun 16 2009 Masanobu Yasui - 1.2.1 * Mon May 25 2009 Masanobu Yasui - 1.2.0 * Thu Nov 6 2008 Naoya Nakazawa - 1.0.0 - Initial version