Sisyphus repository
Last update: 21 april 2019 | SRPMs: 17658 | Visits: 13445950
en ru br
ALT Linux repos
S:1.29-alt1
5.0: 1.24-alt1
4.1: 1.24-alt1
4.0: 1.24-alt1

Group :: System/Kernel and hardware
RPM: ipvsadm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Summary: Utility to administer the Linux Virtual Server
Name: ipvsadm
Version: 1.24
Release: alt1
License: GPL
Url: http://www.LinuxVirtualServer.org/
Group: System/Kernel and hardware

Provides: %name-%version

Source0: http://www.LinuxVirtualServer.org/software/ipvsadm-%version.tar.gz
Source1: %name.init.alt
Patch0: ipvsadm-1.24-kernhdr-1.2.0.patch

%description
ipvsadm is a utility to administer the IP Virtual Server services
offered by the Linux kernel.

%prep
%setup -n %name-%version
%patch0 -p1

%build
CFLAGS="%optflags" make

%install
%__mkdir_p $RPM_BUILD_ROOT/{sbin,%_man8dir,%_initrddir,%_sysconfdir/sysconfig}
%makeinstall BUILD_ROOT=%buildroot MANDIR=%_mandir
%__install -pD -m755 %SOURCE1 %buildroot%_initrddir/%name
%__install -pD -m644 /dev/null %buildroot%_sysconfdir/sysconfig/%name

%files
%doc README
%ghost %config(noreplace,missingok) %_sysconfdir/sysconfig/%name
%config %_initrddir/ipvsadm
/sbin/ipvsadm*
%_man8dir/ipvsadm*

%post
%post_service ipvsadm

%preun
%preun_service ipvsadm

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin