forked from sflow/host-sflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hsflowd.spec
67 lines (57 loc) · 1.92 KB
/
hsflowd.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Summary: host sFlow daemon
Name: hsflowd
Version: 2.0.6
Release: 1
License: http://sflow.net/license.html
Group: Applications/Internet
URL: http://sflow.net
Source0: %{name}-%{version}-%{release}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
%define debug_package %{nil}
# minimize requirements - some modules included here may have additional requirements
# that are not captured here, but they do not have to be enabled (dynamic loaded) for
# the program to run.
AutoReqProv: no
Requires: ld-linux-x86-64.so.2()(64bit),libc.so.6(GLIBC_2.3.4)(64bit),libdl.so.2()(64bit),libm.so.6()(64bit),libpthread.so.0()(64bit),libresolv.so.2()(64bit)
# for rpm backwards compatibility
%define _binary_payload w9.gzdio
%define _binary_filedigest_algorithm 1
%description
This program implements the host sFlow(R) standard - sending
key performance metrics to an sFlow collector to enable
highly-scalable monitoring of all critical resources in
the network. If Open VSwitch is present, will also control
the Open VSwitch sFlow configuration.
%prep
%setup -n %{name}-%{version}-%{release}
%build
make FEATURES=%{_FEATURES}
%install
rm -rf %{buildroot}
make INSTROOT=%{buildroot} install
%clean
rm -rf %{buildroot}
make clean
%files
%defattr(-,root,root,-)
/usr/sbin/hsflowd
%config(noreplace) /etc/hsflowd.conf
/etc/init.d/hsflowd
/lib/systemd/system/hsflowd.service
%doc README LICENSE INSTALL.Linux
/etc/hsflowd/modules/
%changelog
* Wed Jul 20 2016 nhm <[email protected]>
- add systemd service file
- remove sflowovsd (now an hsflowd module)
- remove automatic scheduling
* Fri Oct 08 2010 nhm <[email protected]>
- move install from /usr/local/sbin to /usr/sbin
* Mon Aug 30 2010 nhm <[email protected]>
- add sflowovsd
* Thu Jul 22 2010 nhm <[email protected]>
- use BuildRoot
* Fri Jul 09 2010 nhm <[email protected]>
- added post and preun, and require chkconfig
* Thu Feb 11 2010 nhm <[email protected]>
- Initial build.