forked from pool/net-snmp
f65cfba6e6
- Properly conditionalize the py2 build - Add patch from Fedora to support natively systemd: * net-snmp-5.7.2-systemd.patch - Drop the check phase as whole 90% of the tests fail it makes more sense to run them somewhere localy - Take systemd service files from fedora to replace sysV scripts - Also convert the sysconfig files to match fedora ones, they get bit more terse but it works seamlessly with systemd - Format with spec-cleaner - Drop sle11 support as it fails to build anyway for ages - Rename python packages to be python-%{name} with obsoletes * Use new singlespec macros * Add patch converting the py files to python3/2 compat mode net-snmp-python3.patch - Run full autoreconf instead of partial - Build with threads by building few targets first OBS-URL: https://build.opensuse.org/request/show/569248 OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-snmp?expand=0&rev=7
14 lines
316 B
Desktop File
14 lines
316 B
Desktop File
[Unit]
|
|
Description=Simple Network Management Protocol (SNMP) Trap Daemon.
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
Environment=OPTIONS="-Lsd"
|
|
EnvironmentFile=-/etc/sysconfig/snmptrapd
|
|
ExecStart=/usr/sbin/snmptrapd $OPTIONS -f
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|