net-snmp: add v5.9.1 (#28268)

This commit is contained in:
Glenn Horton-Smith 2022-01-17 05:51:15 -06:00 committed by GitHub
parent f5a2f693dc
commit 58fd0d859a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,9 @@ class NetSnmp(AutotoolsPackage):
"""A SNMP application library, tools and daemon."""
homepage = "http://www.net-snmp.org/"
url = "https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9/net-snmp-5.9.tar.gz"
url = "https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.1/net-snmp-5.9.1.tar.gz/download"
version('5.9.1', sha256='eb7fd4a44de6cddbffd9a92a85ad1309e5c1054fb9d5a7dd93079c8953f48c3f')
version('5.9', sha256='04303a66f85d6d8b16d3cc53bde50428877c82ab524e17591dfceaeb94df6071')
depends_on('perl-extutils-makemaker')
@ -20,3 +21,6 @@ class NetSnmp(AutotoolsPackage):
def configure_args(self):
args = ['--with-defaults', 'LIBS=-ltinfo']
return args
def install(self, spec, prefix):
make('install', parallel=False)