Browse code

ipvsamd: new package

Virtual Server administration tools.
Might be useful for docker swarm case.

Change-Id: I298ad074efabf313082f7e699e66afa8d5adfb24
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1678
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: suezzelur <anishs@vmware.com>

Alexey Makhalov authored on 2016/11/13 13:29:52
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,38 @@
0
+Summary:       Linux Virtual Server administration
1
+Name:          ipvsadm
2
+Version:       1.28
3
+Release:       1%{?dist}
4
+License:       GPLv2
5
+URL:           http://www.kernel.org/
6
+Group:         System Environment/tools
7
+Vendor:        VMware, Inc.
8
+Distribution:  Photon
9
+Source0:       https://www.kernel.org/pub/linux/utils/kernel/ipvsadm/%{name}-%{version}.tar.xz
10
+%define sha1 ipvsadm=29ec32cdbd77fbf31ea52306c93986ec7c88ca57
11
+BuildRequires: which popt-devel libnl-devel
12
+Requires:      popt libnl
13
+%description
14
+Ipvsadm is  used  to set up, maintain or inspect the virtual server table in
15
+the Linux kernel.
16
+
17
+%prep
18
+%setup -q
19
+
20
+%build
21
+make
22
+
23
+%install
24
+make install BUILD_ROOT=%{buildroot} MANDIR=%{_mandir}
25
+
26
+%clean
27
+rm -rf %{buildroot}/*
28
+
29
+%files
30
+%defattr(-,root,root)
31
+%{_sysconfdir}/*
32
+/sbin/*
33
+%{_mandir}/*
34
+
35
+%changelog
36
+*   Fri Nov 11 2016 Alexey Makhalov <amakhalov@vmware.com> 1.28-1
37
+-   Initial build. First version
... ...
@@ -76,6 +76,7 @@
76 76
         "unixODBC",
77 77
         "dmidecode",
78 78
         "iperf",
79
+	"ipvsadm",
79 80
         "distrib-compat",
80 81
         "crash",
81 82
         "systemtap",