Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
snmptt
> snmptt.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File snmptt.spec of Package snmptt (Revision 6)
Currently displaying revision
6
,
show latest
Summary: SNMP Trap Translator Name: snmptt Version: 1.3 Release: 1 License: GNU GPL Group: Productivity/Networking/Other Source0: snmptt_%{version}.tar.bz2 Source1: snmptt.init-suse Source2: snmptrapd.init-suse URL: http://www.snmptt.org/ Buildroot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch Requires: perl, perl(SNMP), perl(Time::HiRes), perl(Config::IniFiles) %description SNMPTT (SNMP Trap Translator) is an SNMP trap handler written in Perl for use with the Net-SNMP / UCD-SNMP snmptrapd program. %prep %setup -q -n %{name}_%{version} %build %install %{__install} -d -m0755 %{buildroot}%{_sbindir} %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/init.d %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/snmp %{__install} -d -m0755 %{buildroot}%{_var}/spool/snmptt %{__install} -m0755 snmptt %{buildroot}%{_sbindir}/ %{__install} -m0755 snmpttconvert %{buildroot}%{_sbindir}/ %{__install} -m0755 snmpttconvertmib %{buildroot}%{_sbindir}/ %{__install} -m0755 snmptthandler %{buildroot}%{_sbindir}/ %{__install} -m0640 snmptt.ini %{buildroot}%{_sysconfdir}/snmp %{__install} -m 744 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/snmptt ln -sf ../../etc/init.d/snmptt $RPM_BUILD_ROOT/usr/sbin/rcsnmptt %{__install} -m 744 %{SOURCE2} %{buildroot}%{_sysconfdir}/init.d/snmptrapd ln -sf ../../etc/init.d/snmptrapd $RPM_BUILD_ROOT/usr/sbin/rcsnmptrapd chmod -x snmptt-net-snmp-test %clean %{__rm} -rf $RPM_BUILD_ROOT %preun %{stop_on_removal snmptrapd} %{stop_on_removal snmptt} %post %{fillup_and_insserv snmptrapd} %{fillup_and_insserv snmptt} %postun %insserv_cleanup %files %defattr(-,root,root) %doc docs/ examples contrib/ snmptt-net-snmp-test sample-trap BUGS COPYING ChangeLog README %dir %{_var}/spool/snmptt %{_sbindir}/rcsnmptt %{_sbindir}/rcsnmptrapd %dir %{_sysconfdir}/snmp %config(noreplace) %{_sysconfdir}/snmp/snmptt.ini %{_sysconfdir}/init.d/snmptt %{_sysconfdir}/init.d/snmptrapd %{_sbindir}/snmptt %{_sbindir}/snmpttconvert %{_sbindir}/snmpttconvertmib %{_sbindir}/snmptthandler %changelog * Sun Aug 07 2011 Carsten Schoene <cs@linux-administrator.com> - 1.3-1 - update to release 1.3 * Sat Jul 18 2009 Carsten Schoene <cs@linux-administrator.com> - 1.2-1 - update to release 1.2 - changed some macros and filelist * Mon Jun 26 2006 Ciro Iriarte <ciriarte@personal.com.py> - 1.1-1.cyrus - Paquete inicial para sles9. * Mon Jun 21 2004 Wil Cooley <wcooley@nakedape.cc> - 0.9-3.nac.0.0 - Include required spool dir. * Mon Jun 21 2004 Wil Cooley <wcooley@nakedape.cc> - 0.9-2.nac.0.0 - Change to depend only on perl-meta dependency, rather than trying to guess the right "edition" of SNMP. * Mon May 31 2004 Wil Cooley <wcooley@nakedape.cc> - 0.9-1.nac.0.0 - Initial package creation.