diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/nessus-plugins |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/nessus-plugins')
-rw-r--r-- | net-analyzer/nessus-plugins/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/nessus-plugins/files/2.2.9-gentoo.patch | 58 | ||||
-rw-r--r-- | net-analyzer/nessus-plugins/metadata.xml | 9 | ||||
-rw-r--r-- | net-analyzer/nessus-plugins/nessus-plugins-2.2.9-r1.ebuild | 35 |
4 files changed, 108 insertions, 0 deletions
diff --git a/net-analyzer/nessus-plugins/Manifest b/net-analyzer/nessus-plugins/Manifest new file mode 100644 index 000000000000..812fa10bfd1c --- /dev/null +++ b/net-analyzer/nessus-plugins/Manifest @@ -0,0 +1,6 @@ +AUX 2.2.9-gentoo.patch 2518 SHA256 d074164ba0382b3bd93e8c5814a41e802944cea9f5f94466e8946d43c215fc2b SHA512 a2d3e17691085a83946bc0ab92eb606bb90d8b325fead9704c935598a2487c5bc73022802aaa98f6056647a3cec8a3d111bcffc7db270cc82590911f27e48894 WHIRLPOOL 67f364a8418a82dbc21589c6e30bae2766cf22e14454ffb31000a062a8e5c7e5f5072771fa571d84c7b3389da46edfbd420b0978a0278e5bd451ea8791b509ae +DIST nessus-plugins-GPL-2.2.9.tar.gz 1064740 SHA256 126b98173647113946a69ea5e3896cfd92261571d507b37febbdb269c632d395 SHA512 b76a77be29409bca00fb014ae8e35878283e5d8adccef570da08b65df760f46438ef0392c4435366831b4bc456715f7af9c0ad5e20dd5554f1e4b8c9e8791b04 WHIRLPOOL 1da74217ca8fa9e8cedb56656c1b72d0a5993cafc2114d06de19938571fbd7e9654dd62135847936ae8305152b0f4fc02fc9385b19c59f014695075258e46314 +EBUILD nessus-plugins-2.2.9-r1.ebuild 776 SHA256 b0fad9a4d6c0e4dc2c3a87f57601998dd52ea5bbd9f4a12851fa56c540c6d237 SHA512 64704f03dd5d8abb2b8adcc0ac5c58b0ea00239e3868d7a41fe1f0e09a2d155392d304ef9a15517b5f3da72ec798d68053a6e956eb2042783d5edc7016ded683 WHIRLPOOL a1311873b9ffa89562b70bffe074dbd2ffebc02c9a3c4f4057715c4c34fa2f1487ee8aefa335c213c6427e285ec2875086c7c306bd3ae199ac34f93ebf53e1d4 +MISC ChangeLog 2633 SHA256 ed5821e32c76d804d96933178e5c69e7a0ac3a9359e202808a0aaef1225e94d5 SHA512 6a1665e6c00c309b393e4249eb80780e824277a52236bbd095b6283d94548803925f98e749bcfc3b9770f41f0afd2b396a6fde712e12450c1d0fface4bf5ba4a WHIRLPOOL 860c9d7f9c87912402594f5681569501b907b527c6b484b038aec770100b948053abb13d013338a8ebd58cc5960175325c3ecde33884a77dbbd78103ba38e8d4 +MISC ChangeLog-2015 11251 SHA256 d6e3d01e1757299bcbd067c89ae8dd5ab9b382096bcc40442f4782dacf33c59b SHA512 b4f89322aca676c63e73e97ccdf06c136f50e2f8663c6234eaa9f2974c852db2bf051ef7d70077e03db21d8c3466b3161ba935e520f887e5e190c74067394806 WHIRLPOOL 6ee26f418c396bf01dbe3402b18899310495c2c5a88aa7f0941cfac16a00573b69e6c90c1ee0618a4d4da0c2e027d79201c77594ce8f0e553629aadfbbd3358a +MISC metadata.xml 364 SHA256 ac4ccd3a561fa46c5f292c2777e8fb793bfe95a8e0a72e7b94d5a5e502eb35f6 SHA512 8a5cf6ab17a5c3a117fad6efa89c0b0d193ed91a0e6d4fb08c14641f275a2fade7088cc35ef2ccb55df3dd02456b1ebbc9ca4d7e5ada78526036986b7d0c4dc2 WHIRLPOOL 937d6c68fdad3b9fb1415e03c3641cedd1d79012ab4c423f2666d8004b95253754faa5aedc1c85ea489134cdeb31364956d4296b62ad0222d62e2a0f5e4e2476 diff --git a/net-analyzer/nessus-plugins/files/2.2.9-gentoo.patch b/net-analyzer/nessus-plugins/files/2.2.9-gentoo.patch new file mode 100644 index 000000000000..39366844382f --- /dev/null +++ b/net-analyzer/nessus-plugins/files/2.2.9-gentoo.patch @@ -0,0 +1,58 @@ + plugins/find_service/Makefile | 2 +- + plugins/nessus_tcp_scanner/Makefile | 2 +- + plugins/ssl_ciphers/Makefile | 2 +- + plugins/synscan/Makefile | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/plugins/find_service/Makefile b/plugins/find_service/Makefile +index f4fd8e3..12e62a3 100644 +--- a/plugins/find_service/Makefile ++++ b/plugins/find_service/Makefile +@@ -5,7 +5,7 @@ PLUGNAME=find_service + all : $(PLUGNAME).nes + $(PLUGNAME).nes : $(PLUGNAME).c + $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c +- $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \ ++ $(LIBTOOL) $(CC) $(LDFLAGS) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \ + -rpath $(rootdir)/bin/plugins + ../install_plug $(PLUGNAME) $(rootdir) + clean : +diff --git a/plugins/nessus_tcp_scanner/Makefile b/plugins/nessus_tcp_scanner/Makefile +index 8cf6c6d..7a27495 100644 +--- a/plugins/nessus_tcp_scanner/Makefile ++++ b/plugins/nessus_tcp_scanner/Makefile +@@ -8,7 +8,7 @@ PLUGNAME=nessus_tcp_scanner + all : $(PLUGNAME).nes + $(PLUGNAME).nes : $(PLUGNAME).c + $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c +- $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) -lm $(LIBUTIL) \ ++ $(LIBTOOL) $(CC) $(LDFLAGS) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) -lm $(LIBUTIL) \ + -rpath $(rootdir)/bin/plugins + ../install_plug $(PLUGNAME) $(rootdir) + clean : +diff --git a/plugins/ssl_ciphers/Makefile b/plugins/ssl_ciphers/Makefile +index dc10e64..1747745 100644 +--- a/plugins/ssl_ciphers/Makefile ++++ b/plugins/ssl_ciphers/Makefile +@@ -5,7 +5,7 @@ PLUGNAME=ssl_ciphers + all : $(PLUGNAME).nes + $(PLUGNAME).nes : $(PLUGNAME).c + $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c +- $(LIBTOOL) $(CC) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \ ++ $(LIBTOOL) $(CC) $(LDFLAGS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \ + -rpath $(rootdir)/bin/plugins + ../install_plug $(PLUGNAME) $(rootdir) + clean : +diff --git a/plugins/synscan/Makefile b/plugins/synscan/Makefile +index 16aefa1..c434b92 100644 +--- a/plugins/synscan/Makefile ++++ b/plugins/synscan/Makefile +@@ -5,7 +5,7 @@ PLUGNAME=synscan + all : $(PLUGNAME).nes + $(PLUGNAME).nes : $(PLUGNAME).c + $(LIBTOOL) $(CC) $(DEFS) $(include) -c $(PLUGNAME).c +- $(LIBTOOL) $(CC) $(DEFS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \ ++ $(LIBTOOL) $(CC) $(DEFS) $(LDFLAGS) -o lib$(PLUGNAME).la $(PLUGNAME).lo $(LIBS) \ + -rpath $(rootdir)/bin/plugins + ../install_plug $(PLUGNAME) $(rootdir) + clean : diff --git a/net-analyzer/nessus-plugins/metadata.xml b/net-analyzer/nessus-plugins/metadata.xml new file mode 100644 index 000000000000..3c5a6082eb8f --- /dev/null +++ b/net-analyzer/nessus-plugins/metadata.xml @@ -0,0 +1,9 @@ +<?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> +<longdescription>A remote security scanner for Linux (nessus-plugins)</longdescription> +</pkgmetadata> diff --git a/net-analyzer/nessus-plugins/nessus-plugins-2.2.9-r1.ebuild b/net-analyzer/nessus-plugins/nessus-plugins-2.2.9-r1.ebuild new file mode 100644 index 000000000000..1bf4d4933b7a --- /dev/null +++ b/net-analyzer/nessus-plugins/nessus-plugins-2.2.9-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 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 (nessus-plugins)" +HOMEPAGE="http://www.nessus.org/" +SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/nessus-plugins-GPL-${PV}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="libressl" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ~net-analyzer/nessus-core-${PV} + ~net-analyzer/nessus-libraries-${PV} + net-libs/libpcap" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${PN} + +src_prepare() { + tc-export CC + epatch "${FILESDIR}"/${PV}-gentoo.patch +} + +src_install() { + default + dodoc docs/*.txt +} |