diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/nessus-client | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/nessus-client')
-rw-r--r-- | net-analyzer/nessus-client/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/nessus-client/files/nessus-client-1.0.2-make.patch | 74 | ||||
-rw-r--r-- | net-analyzer/nessus-client/metadata.xml | 5 | ||||
-rw-r--r-- | net-analyzer/nessus-client/nessus-client-1.0.2-r1.ebuild | 57 |
4 files changed, 138 insertions, 0 deletions
diff --git a/net-analyzer/nessus-client/Manifest b/net-analyzer/nessus-client/Manifest new file mode 100644 index 000000000000..b149f66dc6ce --- /dev/null +++ b/net-analyzer/nessus-client/Manifest @@ -0,0 +1,2 @@ +DIST NessusClient-1.0.2.tar.gz 2058324 RMD160 e641d060fc1c4aaecdc75b3b18d8d6c3e4320c40 SHA1 bed8d5ac52f1e224cb41192a1a6b8cc568398bfb SHA256 e9c26c2cefce3e0e3eade69199272fcbf2e9c1bd19d51ae8f8d73b0e82aee1af +DIST nessus-client.png.bz2 10043 RMD160 9d1af8ec4533da24e282ad3168fc29dd1fb9845c SHA1 71a09d8cc82336b0036dd318953a4d90e8d5b523 SHA256 857de50872354058de10fee0bd2bbc2a59e6ec56d75ccfd331847cf16142ce4c diff --git a/net-analyzer/nessus-client/files/nessus-client-1.0.2-make.patch b/net-analyzer/nessus-client/files/nessus-client-1.0.2-make.patch new file mode 100644 index 000000000000..a233449b14ad --- /dev/null +++ b/net-analyzer/nessus-client/files/nessus-client-1.0.2-make.patch @@ -0,0 +1,74 @@ +--- a/Makefile 2006-12-23 15:27:39.000000000 +0100 ++++ b/Makefile 2010-08-23 01:12:51.000000000 +0200 +@@ -2,8 +2,10 @@ + + ALLDEPS = nessus.tmpl + +-all: libnessus-client client sslstuff +- ++all: ++ $(MAKE) -C libnessus ++ $(MAKE) -C nessus ++ $(MAKE) -C ssl + + nessus.tmpl: nessus.tmpl.in configure VERSION + $(SHELL) configure $(CONFIGURE_ARGS) +@@ -21,20 +23,17 @@ + $(INSTALL) -m $(CLIENTMODE) nessusclient-mkcert $(DESTDIR)${bindir} + $(INSTALL) -m $(CLIENTMODE) ssl/nessusclient-mkrand $(DESTDIR)${bindir} + +-sslstuff: +- cd ssl && $(MAKE) +- + install-man: + @echo installing man pages ... + @test -d $(DESTDIR)${mandir}/man1 || $(INSTALL_DIR) $(DESTDIR)${mandir}/man1 + @test -d $(DESTDIR)${mandir}/man8 || $(INSTALL_DIR) $(DESTDIR)${mandir}/man8 + @test -d $(DESTDIR)${datadir}/doc/ || $(INSTALL_DIR) $(DESTDIR)${datadir}/doc/ +- @test -d $(DESTDIR)${datadir}/doc/NessusClient || $(INSTALL_DIR) $(DESTDIR)${datadir}/doc/NessusClient ++ @test -d $(NESSUS_DOCDIR) || $(INSTALL_DIR) $(NESSUS_DOCDIR) + + $(INSTALL) -c -m 0444 ${MAN_NESSUS_1} $(DESTDIR)${mandir}/man1/NessusClient.1 + $(INSTALL) -c -m 0444 doc/nessusclient-mkcert.1 $(DESTDIR)${mandir}/man1/nessusclient-mkcert.1 + $(INSTALL) -c -m 0444 doc/nessusclient-mkrand.1 $(DESTDIR)${mandir}/man1/nessusclient-mkrand.1 +- $(INSTALL) -c -m 0444 doc/NessusClient_UserGuide.pdf $(DESTDIR)${datadir}/doc/NessusClient/NessusClient_UserGuide.pdf ++ $(INSTALL) -c -m 0444 doc/NessusClient_UserGuide.pdf $(NESSUS_DOCDIR)/NessusClient_UserGuide.pdf + + win32: ${MAN_NESSUS_1} + $(MANROFF) ${MAN_NESSUS_1} > doc/NessusClient.1.cat +@@ -45,23 +44,15 @@ + @echo ' --------------------------------------------------------------' + @echo + +-client-install : client ++client-install : nessus + test -d $(DESTDIR)${bindir} || $(INSTALL_DIR) -m 755 $(DESTDIR)${bindir} + $(INSTALL) -m $(CLIENTMODE) ${make_bindir}/NessusClient $(DESTDIR)${bindir} + +-client : +- cd nessus && $(MAKE) +- +-libnessus-client: +- cd libnessus && $(MAKE) +- +- + doc : $(MAN_NESSUS_1) + + $(MAN_NESSUS_1) : $(MAN_NESSUS_1).in + @sed -e 's?@NESSUSD_CONFDIR@?${NESSUSD_CONFDIR}?g;s?@NESSUSD_DATADIR@?${NESSUSD_DATADIR}?g;s?@NESSUSD_PLUGINS@?${NESSUSD_PLUGINS}?g;' $(MAN_NESSUS_1).in >$(MAN_NESSUS_1) + +- + clean: + cd nessus && $(MAKE) clean + cd libnessus && $(MAKE) clean +--- a/ssl/Makefile 2006-09-12 23:41:31.000000000 +0200 ++++ b/ssl/Makefile 2010-08-23 01:16:51.000000000 +0200 +@@ -6,7 +6,7 @@ + all : nessusclient-mkrand + + nessusclient-mkrand: $(OBJS) +- $(CC) $(OBJS) -o nessusclient-mkrand -lm ++ $(CC) $(LDFLAGS) $(OBJS) -o nessusclient-mkrand -lm + + nessusclient-mkrand.o: nessusclient-mkrand.c + $(CC) $(CFLAGS) -c nessusclient-mkrand.c diff --git a/net-analyzer/nessus-client/metadata.xml b/net-analyzer/nessus-client/metadata.xml new file mode 100644 index 000000000000..03aa50bab7e3 --- /dev/null +++ b/net-analyzer/nessus-client/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>netmon</herd> +</pkgmetadata> diff --git a/net-analyzer/nessus-client/nessus-client-1.0.2-r1.ebuild b/net-analyzer/nessus-client/nessus-client-1.0.2-r1.ebuild new file mode 100644 index 000000000000..16577ef520da --- /dev/null +++ b/net-analyzer/nessus-client/nessus-client-1.0.2-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils toolchain-funcs + +MY_PN=NessusClient +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A client for the Nessus vulnerability scanner" +HOMEPAGE="http://www.nessus.org/" +SRC_URI="mirror://gentoo/${MY_P}.tar.gz + mirror://gentoo/nessus-client.png.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="doc" + +RDEPEND="!net-analyzer/nessus-core + dev-libs/openssl + >=x11-libs/gtk+-2.8.8:2" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-text/htmldoc )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-make.patch + sed -i \ + -e "/NESSUS_DOCDIR/s|/doc/NessusClient|/doc/${PF}|g" \ + nessus.tmpl.in || die +} + +src_configure() { + tc-export CC + econf +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc CHANGES README_SSL VERSION + + doicon "${WORKDIR}"/${PN}.png + make_desktop_entry NessusClient "Nessus Client" nessus-client "Network" +} + +pkg_postinst() { + if ! use doc; then + elog "If you do not have documentation installed, nessus-client" + elog "will complain. To install documentation, please emerge with" + elog "the doc useflag set. Beware that it will emerge app-text/htmldoc," + elog "a big package." + fi +} |