gnu: net-snmp: Update to 5.9.3.
* gnu/packages/networking.scm (net-snmp): Update to 5.9.3. [source]: Don't explicitly return #t from the snippet. [arguments]: Likewise for phases.
This commit is contained in:
parent
2ac922a8ec
commit
cbcda3965e
1 changed files with 5 additions and 8 deletions
|
@ -3179,20 +3179,19 @@ Features:
|
||||||
(define-public net-snmp
|
(define-public net-snmp
|
||||||
(package
|
(package
|
||||||
(name "net-snmp")
|
(name "net-snmp")
|
||||||
(version "5.9.1")
|
(version "5.9.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/net-snmp/net-snmp/"
|
(uri (string-append "mirror://sourceforge/net-snmp/net-snmp/"
|
||||||
version "/net-snmp-" version ".tar.gz"))
|
version "/net-snmp-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0gwcyi9qk707jgfsgmdr9w2w3r892fnqaam9v7zxpkg69njd8zzb"))
|
"02pgl89s8qll5zhdp61rbn6vpl084gx55bjb1cqg3wqvgsdz55r0"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
;; Drop bundled libraries.
|
;; Drop bundled libraries.
|
||||||
(delete-file-recursively "snmplib/openssl")
|
(delete-file-recursively "snmplib/openssl")))))
|
||||||
#t))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "test"
|
`(#:test-target "test"
|
||||||
|
@ -3222,8 +3221,7 @@ Features:
|
||||||
;; These tests require network access.
|
;; These tests require network access.
|
||||||
(for-each delete-file
|
(for-each delete-file
|
||||||
'("testing/fulltests/default/T070com2sec_simple"
|
'("testing/fulltests/default/T070com2sec_simple"
|
||||||
"testing/fulltests/default/T071com2sec6_simple"))
|
"testing/fulltests/default/T071com2sec6_simple"))))
|
||||||
#t))
|
|
||||||
(add-after 'unpack 'patch-Makefile.PL
|
(add-after 'unpack 'patch-Makefile.PL
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* "Makefile.in"
|
(substitute* "Makefile.in"
|
||||||
|
@ -3231,8 +3229,7 @@ Features:
|
||||||
(string-append "Makefile.PL PREFIX="
|
(string-append "Makefile.PL PREFIX="
|
||||||
(assoc-ref outputs "out")
|
(assoc-ref outputs "out")
|
||||||
" INSTALLDIRS=site" " NO_PERLLOCAL=1"
|
" INSTALLDIRS=site" " NO_PERLLOCAL=1"
|
||||||
" -NET")))
|
" -NET"))))))))
|
||||||
#t)))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list libnl ncurses ; for the ‘apps’
|
(list libnl ncurses ; for the ‘apps’
|
||||||
openssl perl))
|
openssl perl))
|
||||||
|
|
Reference in a new issue