Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:testing
hsflowd
hsflowd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hsflowd.spec of Package hsflowd
# # spec file for package hsflowd # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _rpm_name host-sflow Summary: Host sFlow daemon Name: hsflowd Version: 2.0.17 Release: 0 License: SUSE-Freeware Group: System/Monitoring URL: http://sflow.net Source0: %{_rpm_name}-%{version}.tar.xz Source99: hsflowd-rpmlintrc Patch0: hsflowd-fix-setgroups.diff Patch1: hsflowd-obey-cflags.diff # 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 Requires: config(aaa_base) BuildRequires: libtool BuildRequires: pkg-config BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: libnfnetlink-devel BuildRequires: libpcap-devel BuildRequires: libvirt-devel BuildRequires: libxml2-devel BuildRequires: xen-devel BuildRequires: dbus-1-devel BuildRequires: libopenssl-devel BuildRequires: systemd-devel BuildRequires: pkgconfig(systemd) BuildRequires: config(aaa_base) %{?systemd_requires} %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. %package mod_dbus Summary: dbus support for the Host sFlow daemon Requires: %name = %version %description mod_dbus This packages provides dbus support for hsflowd %package mod_dnssd Summary: dnssd support for the Host sFlow daemon Requires: %name = %version %description mod_dnssd This packages provides dnssd support for hsflowd %package mod_docker Summary: docker support for the Host sFlow daemon Requires: docker Requires: iproute2 Requires: %name = %version %description mod_docker This packages provides docker support for hsflowd %package mod_eapi Summary: eapi support for the Host sFlow daemon Requires: %name = %version %description mod_eapi This packages provides eapi support for hsflowd %package mod_json Summary: json support for the Host sFlow daemon Requires: %name = %version %description mod_json This packages provides json support for hsflowd %package mod_kvm Summary: kvm support for the Host sFlow daemon Requires: %name = %version %description mod_kvm This packages provides kvm support for hsflowd %package mod_ovs Summary: openvswitch support for the Host sFlow daemon Provides: openvswitch Requires: %name = %version %description mod_ovs This packages provides openvswitch support for hsflowd %package mod_pcap Summary: pcap support for the Host sFlow daemon Requires: %name = %version %description mod_pcap This packages provides pcap support for hsflowd %package mod_systemd Summary: systemd support for the Host sFlow daemon Requires: %name = %version %description mod_systemd This packages provides systemd support for hsflowd %package mod_tcp Summary: tcp support for the Host sFlow daemon Requires: %name = %version %description mod_tcp This packages provides tcp support for hsflowd %package mod_xen Summary: xen support for the Host sFlow daemon Requires: %name = %version %description mod_xen This packages provides xen support for hsflowd %prep %setup -n %{_rpm_name}-%{version} %patch0 -p1 %patch1 -p1 %build #NFLOG #OPX OS10 make MODDIR=%{_libdir}/%{name} EXTRA_FLAGS="%{optflags}" FEATURES="HOST PCAP TCP DOCKER KVM XEN OVS DBUS SYSTEMD EAPI" %{?_smp_mflags} %install make INSTROOT=%{buildroot} BINDIR=%{_bindir} INITDIR=%{_initrddir} CONFDIR=%{_sysconfdir} MODDIR=%{_libdir}/%{name} SYSTEMDDIR=%{_unitdir} DBUSDIR=%{_sysconfdir}/dbus-1/system.d install # remove old init script as we now ship systemd service file rm %{buildroot}%{_initrddir}/hsflowd mkdir -p %{buildroot}%{_prefix}/sbin/ ln -s %{_prefix}/sbin/service %{buildroot}%{_prefix}/sbin/rchsflowd %clean rm -rf %{buildroot} %pre %service_add_pre hsflowd.service %post %service_add_post hsflowd.service /sbin/ldconfig %preun %service_del_preun hsflowd.service %postun %service_del_postun hsflowd.service /sbin/ldconfig %files %defattr(-,root,root,-) %{_bindir}/hsflowd %config %{_sysconfdir}/hsflowd.conf %config %{_sysconfdir}/dbus-1/system.d/net.sflow.hsflowd.conf %{_unitdir}/hsflowd.service %{_prefix}/sbin/rchsflowd %doc README INSTALL.Linux %license LICENSE %dir %{_libdir}/%{name} %files mod_xen %{_libdir}/%{name}/mod_xen.so %files mod_dbus %{_libdir}/%{name}/mod_dbus.so %files mod_dnssd %{_libdir}/%{name}/mod_dnssd.so %files mod_docker %{_libdir}/%{name}/mod_docker.so %files mod_eapi %{_libdir}/%{name}/mod_eapi.so %files mod_json %{_libdir}/%{name}/mod_json.so %files mod_kvm %{_libdir}/%{name}/mod_kvm.so %files mod_ovs %{_libdir}/%{name}/mod_ovs.so %files mod_pcap %{_libdir}/%{name}/mod_pcap.so %files mod_systemd %{_libdir}/%{name}/mod_systemd.so %files mod_tcp %{_libdir}/%{name}/mod_tcp.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor