forked from sflow/host-sflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hsflowd.spec
69 lines (60 loc) · 1.94 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
67
68
69
Summary: host sFlow daemon
Name: hsflowd
Version: 2.0.40
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: glibc >= 2.3.4
# 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} FEATURES=%{_FEATURES} install
%clean
rm -rf %{buildroot}
make clean
%files
%defattr(-,root,root,-)
/usr/sbin/hsflowd*
%config(noreplace) /etc/hsflowd.conf
%config(noreplace) /etc/dbus-1/system.d/net.sflow.hsflowd.conf
/etc/init.d/hsflowd
/lib/systemd/system/hsflowd.service
%doc README LICENSE INSTALL.Linux
/etc/hsflowd/modules/
%changelog
* Mon Dec 12 2016 nhm <neil.mckee@inmon.com>
- add dbus config file
* Wed Jul 20 2016 nhm <neil.mckee@inmon.com>
- add systemd service file
- remove sflowovsd (now an hsflowd module)
- remove automatic scheduling
* Fri Oct 08 2010 nhm <nhm@noodle.sf.inmon.com>
- move install from /usr/local/sbin to /usr/sbin
* Mon Aug 30 2010 nhm <nhm@noodle.sf.inmon.com>
- add sflowovsd
* Thu Jul 22 2010 nhm <nhm@chow.sf.inmon.com>
- use BuildRoot
* Fri Jul 09 2010 nhm <nhm@chow.sf.inmon.com>
- added post and preun, and require chkconfig
* Thu Feb 11 2010 nhm <nhm@chow.sf.inmon.com>
- Initial build.