diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /net-analyzer/libnasl | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'net-analyzer/libnasl')
-rw-r--r-- | net-analyzer/libnasl/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/libnasl/files/libnasl-2.2.9-bison3.patch | 29 | ||||
-rw-r--r-- | net-analyzer/libnasl/files/libnasl-2.2.9-gentoo.patch | 29 | ||||
-rw-r--r-- | net-analyzer/libnasl/files/libnasl-2.2.9-openssl-1.patch | 45 | ||||
-rw-r--r-- | net-analyzer/libnasl/libnasl-2.2.9-r1.ebuild | 54 | ||||
-rw-r--r-- | net-analyzer/libnasl/metadata.xml | 8 |
6 files changed, 0 insertions, 171 deletions
diff --git a/net-analyzer/libnasl/Manifest b/net-analyzer/libnasl/Manifest deleted file mode 100644 index 7dfb12b3b389..000000000000 --- a/net-analyzer/libnasl/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX libnasl-2.2.9-bison3.patch 596 BLAKE2B 12c2cfff4bb2cdc17da3334a167d4e41e56bd797d016e705a8fa6f0f956aaee95e1f662956782fca8ab31f6ca4f8175e812ecf056a31e9302c04537b9c6e091e SHA512 29d03681ffac9b050ff8bc5aa5641c70ebfd6523810e22941e7b262bb1591e3c2d59b3c863725e9dd5ff696ad1a5f2d2b573784607022afd62d33fcaee5822c4 -AUX libnasl-2.2.9-gentoo.patch 929 BLAKE2B 2380164d26990f7e8f2e6e262d01ec424cb42821206da5d55ce04757fec2b1f834cf7f276007fafc4c586f7bcd811ba785a9c1fbf8ab693c3ad7971bb82e5d50 SHA512 7d4fe54240b771f30f1b80e35be828868428ad24b3654aedb91ef5da42f2bde379347a4730e71f04edb373ab9d7a6be981769eef7aa3514d4275177391f7290f -AUX libnasl-2.2.9-openssl-1.patch 844 BLAKE2B 9bd26f9fcade0c58a541b60ca94868e6670e90acfc299b4c79334f8dae20a3cefa551cb9dc5a21c68e5a79f8535c3f7aeef214ec58b69dc779f540313b9ebb0f SHA512 d39c7d89166aa2274dead9378e5b8c763672830aaa7ae7ee9166137aa984aa9d2497ebdfaf6312356c78c95404a763e3b6b9ab58a460cc1bfc8a9c8d1db8590e -DIST libnasl-2.2.9.tar.gz 366960 BLAKE2B 4d5b5259c6bd1184d2bdf8f72a0e1f327666150f7d943c0343560d8ff0596819db10437f714c5fb7440afadf947492112c667bf224248f994be474ceb87243d9 SHA512 74a637d39f0d61c9e0f692d3a6754000ef635690a61b05c88608fd5bbee438ce720597babe25af80bccd4fca52f22531b3fc913820a13147c179f8a16c034e03 -EBUILD libnasl-2.2.9-r1.ebuild 983 BLAKE2B 908633cc36ffa9e9a12b04288fac481d3a76885769d44b7c6739430233d871a24f0d881170405babdcda706801f74665f093afb6064fbbd47bcbd0e58ceb542a SHA512 bb8dbde665776d6bd0df74e532c8553638c5114bb7d5bfdd7c6c162474b9c911fe1d465a2834fce18ae671b6a628996fa87d0329dbc5f53cbb846cd9d8a9dc33 -MISC metadata.xml 276 BLAKE2B e21811549278e73aa9a14acfe242fd022106a39ac1300caa00615772d7f54d08a433052659a271f9ac0d453c7776fc2b9e8d86e6d3f637817c214174dde52cb2 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250 diff --git a/net-analyzer/libnasl/files/libnasl-2.2.9-bison3.patch b/net-analyzer/libnasl/files/libnasl-2.2.9-bison3.patch deleted file mode 100644 index 91f91fa38e09..000000000000 --- a/net-analyzer/libnasl/files/libnasl-2.2.9-bison3.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/nasl/nasl_grammar.y -+++ b/nasl/nasl_grammar.y -@@ -1,4 +1,6 @@ --%pure_parser -+%pure-parser -+%parse-param {naslctxt * parm} -+%lex-param {naslctxt * parm} - %expect 1 - %{ - /* Nessus Attack Scripting Language version 2 -@@ -31,7 +33,7 @@ - #include "nasl_lex_ctxt.h" - #include "nasl_debug.h" - --static void naslerror(const char *); -+static void naslerror(naslctxt *, const char *); - #define YYERROR_VERBOSE - %} - -@@ -465,8 +467,7 @@ - #include <stdio.h> - #include <stdlib.h> - --static void --naslerror(const char *s) -+static void naslerror(naslctxt *parm, const char *s) - { - fputs(s, stderr); - } diff --git a/net-analyzer/libnasl/files/libnasl-2.2.9-gentoo.patch b/net-analyzer/libnasl/files/libnasl-2.2.9-gentoo.patch deleted file mode 100644 index c82f76d60016..000000000000 --- a/net-analyzer/libnasl/files/libnasl-2.2.9-gentoo.patch +++ /dev/null @@ -1,29 +0,0 @@ -index 860653d..82bdf2f 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,7 +1,7 @@ - include nasl.tmpl - - all: -- cd nasl && ${MAKE} -+ ${MAKE} -C nasl - - nasl.tmpl: nasl.tmpl.in configure - $(SHELL) configure $(CONFIGURE_ARGS) ---- a/nasl/Makefile -+++ b/nasl/Makefile -@@ -97,11 +97,11 @@ cflags : - @echo "echo \"$(NESSUS_CFLAGS) $(include) $(DEFS) \"" > cflags - @chmod +x cflags - --nasl : cflags $(OBJS) nasl.c -- $(CC) $(CFLAGS) $(NESSUS_INCLUDE) $(include) -o nasl -DVERSION=\"$(VERSION)\" nasl.c $(OBJS) $(NESSUS_LIBS) -+nasl : cflags $(OBJS) nasl.c libnasl.la -+ $(CC) $(CFLAGS) $(LDFLAGS) $(NESSUS_INCLUDE) $(include) -o nasl -DVERSION=\"$(VERSION)\" nasl.c $(OBJS) $(NESSUS_LIBS) - - libnasl.la : cflags $(OBJS) -- $(COMPILE) $(NESSUS_LIBS) -o libnasl.la $(LO_OBJS) -rpath ${libdir} \ -+ $(COMPILE) $(NESSUS_LIBS) $(LDFLAGS) -o libnasl.la $(LO_OBJS) -rpath ${libdir} \ - -version-info ${PACKAGE_VERSION} - - install : libnasl.la nasl diff --git a/net-analyzer/libnasl/files/libnasl-2.2.9-openssl-1.patch b/net-analyzer/libnasl/files/libnasl-2.2.9-openssl-1.patch deleted file mode 100644 index fc3b38be4c2e..000000000000 --- a/net-analyzer/libnasl/files/libnasl-2.2.9-openssl-1.patch +++ /dev/null @@ -1,45 +0,0 @@ -http://bugs.gentoo.org/326545 - ---- a/nasl/nasl_crypto.c -+++ b/nasl/nasl_crypto.c -@@ -22,7 +22,9 @@ - */ - #include <includes.h> - #ifdef HAVE_SSL -+#ifdef HAVE_OPENSSL_MD2_H - #include <openssl/md2.h> -+#endif - #include <openssl/md4.h> - #include <openssl/md5.h> - #include <openssl/ripemd.h> -@@ -45,6 +47,7 @@ - - - /*-------------------[ Std. HASH ]-------------------------------------*/ -+#ifdef HAVE_OPENSSL_MD2_H - tree_cell * nasl_md2(lex_ctxt * lexic) - { - char * data = get_str_var_by_num(lexic, 0); -@@ -63,6 +66,7 @@ - retc->size = MD2_DIGEST_LENGTH; - return retc; - } -+#endif - - tree_cell * nasl_md4(lex_ctxt * lexic) - { -@@ -192,12 +196,12 @@ - return retc; - } - -- -+#ifdef HAVE_OPENSSL_MD2_H - tree_cell * nasl_hmac_md2(lex_ctxt * lexic) - { - return nasl_hmac(lexic, EVP_md2()); - } -- -+#endif - - tree_cell * nasl_hmac_md5(lex_ctxt * lexic) - { diff --git a/net-analyzer/libnasl/libnasl-2.2.9-r1.ebuild b/net-analyzer/libnasl/libnasl-2.2.9-r1.ebuild deleted file mode 100644 index 497332220f40..000000000000 --- a/net-analyzer/libnasl/libnasl-2.2.9-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils toolchain-funcs - -DESCRIPTION="A remote security scanner for Linux (libnasl)" -HOMEPAGE="http://www.nessus.org/" -SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux" -IUSE="static-libs" - -RDEPEND=" - ~net-analyzer/nessus-libraries-${PV} -" -DEPEND=" - ${RDEPEND} - sys-devel/bison -" - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-openssl-1.patch \ - "${FILESDIR}"/${P}-gentoo.patch \ - "${FILESDIR}"/${P}-bison3.patch - - sed \ - -e "/^LDFLAGS/s:$:${LDFLAGS}:g" \ - -i nasl.tmpl.in || die - - tc-export CC -} - -src_configure() { - econf \ - $(use_enable static-libs static) \ - --enable-shared -} - -src_compile() { - # emake fails for >= -j2. bug #16471. - emake -C nasl cflags - emake -} - -src_install() { - default - prune_libtool_files -} diff --git a/net-analyzer/libnasl/metadata.xml b/net-analyzer/libnasl/metadata.xml deleted file mode 100644 index 74c2baebb4ec..000000000000 --- a/net-analyzer/libnasl/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>netmon@gentoo.org</email> - <name>Gentoo network monitoring and analysis project</name> -</maintainer> -</pkgmetadata> |