Browse code

add ipvsadm

Change-Id: Ie0d790a622e2f30802239ba2c0679345a06f1581
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3843
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

Priyesh Padmavilasomb authored on 2017/09/23 02:55:26
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,40 @@
0
+Summary:       Linux Virtual Server administration
1
+Name:          ipvsadm
2
+Version:       1.29
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=d51539fd23f19cf12e1c4d5611dd1050e5d3046a
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
+*   Tue Mar 28 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.29-1
37
+-   Upgrading to version 1.29
38
+*   Fri Nov 11 2016 Alexey Makhalov <amakhalov@vmware.com> 1.28-1
39
+-   Initial build. First version