Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:SUSEInfra:Tools
zabbix-snmp-trap-receiver
zabbix-snmp-trap-receiver.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zabbix-snmp-trap-receiver.spec of Package zabbix-snmp-trap-receiver
# # spec file for package zabbix-snmp-trap-receiver # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define file zabbix_trap_receiver.pl Name: zabbix-snmp-trap-receiver Version: 6.0.25 Release: 0 Summary: Zabbix SNMP Trap Receiver License: GPL-2.0-or-later Group: System/Monitoring URL: https://git.zabbix.com/projects/ZBX/repos/zabbix/raw/misc/snmptrap/zabbix_trap_receiver.pl Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/raw/misc/snmptrap/zabbix_trap_receiver.pl?at=refs%2Ftags%2F6.0.25#/%{file} Patch0: use.patch BuildRequires: perl(NetSNMP::TrapReceiver) Requires: perl(NetSNMP::TrapReceiver) # the individual -<db> packages are to facilitate upstream RPMs which all contain the "zabbix" group individually using post groupadd calls Requires: ( zabbix-proxy or zabbix-proxy-mysql or zabbix-proxy-postgresql or zabbix-proxy-sqlite3 ) BuildRequires: zabbix-proxy-mysql BuildArch: noarch %description This is an embedded perl SNMP trapper receiver designed for sending data to the server. The receiver will pass the received SNMP traps to a Zabbix server or proxy running on the same machine. Please configure the server/proxy accordingly. %prep sed -e '1s/env //' -e 's?/tmp?%{_sharedstatedir}/traps?' %{SOURCE0} > %{file} %autopatch -p1 %build %install install -vm 0755 -d %{buildroot}%{_libexecdir}/zabbix install -vm 0750 -d %{buildroot}%{_sharedstatedir}/traps install -vm 0755 %{file} %{buildroot}%{_libexecdir}/zabbix %files %attr(0755,root,zabbix) %dir %{_libexecdir}/zabbix %attr(0755,root,zabbix) %dir %{_sharedstatedir}/traps %{_libexecdir}/zabbix/zabbix_trap_receiver.pl %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