wok diff openvas-libraries/receipt @ rev 22975
updated jsoncpp (1.8.4 -> 1.9.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 29 15:32:23 2020 +0100 (2020-02-29) |
parents | 2f171f8462dd |
children | bd7510903310 |
line diff
1.1 --- a/openvas-libraries/receipt Sat Feb 01 18:47:18 2020 +0100 1.2 +++ b/openvas-libraries/receipt Sat Feb 29 15:32:23 2020 +0100 1.3 @@ -17,14 +17,16 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - sed -i 's/.*gnutls_transport_set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' misc/network.c 1.8 + sed 's/.*set_lowat.*/#if GNUTLS_VERSION_NUMBER < 0x020c00\n&\n#endif/' \ 1.9 + -i misc/network.c 1.10 + 1.11 # gnutls_connection_end_t depredicated for gnutls >= 3.0.18 1.12 - sed -i 's/gnutls_connection_end_t/unsigned int/' misc/openvas_server.h misc/openvas_server.c 1.13 + sed -i 's/gnutls_connection_end_t/unsigned int/' misc/openvas_server.? 1.14 1.15 # Update for bison 3 1.16 - sed -i -e 's|naslerror(|naslerror(naslctxt *parm, |' \ 1.17 - -e 's|pure_parser|pure-parser\n%parse-param {naslctxt * parm}\n%lex-param {naslctxt * parm}|' \ 1.18 - nasl/nasl_grammar.y 1.19 + sed -e 's|_parser$|-parser\n%parse-param {naslctxt * parm}\n%lex-param {naslctxt * parm}|' \ 1.20 + -e 's|naslerror(|&naslctxt *parm, |' -i nasl/nasl_grammar.y 1.21 + 1.22 ./configure --prefix=/usr --localstatedir=/var \ 1.23 --mandir=/usr/share/man \ 1.24 $CONFIGURE_ARGS &&