diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-09-12 07:49:20 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-09-12 07:49:20 +0000 |
commit | 63529a93af2f3704669daaace6cbf8532a635526 (patch) | |
tree | e9302350f0e6168b1173aded847c492663215fdc /net-analyzer | |
parent | Remove old. (diff) | |
download | historical-63529a93af2f3704669daaace6cbf8532a635526.tar.gz historical-63529a93af2f3704669daaace6cbf8532a635526.tar.bz2 historical-63529a93af2f3704669daaace6cbf8532a635526.zip |
Respect CFLAGS, add pkgconfig build dependency, remove unnecessary patch, and fix call to open. Remove old.
Package-Manager: portage-2.2.0_alpha55/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nessus-core/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/nessus-core/Manifest | 23 | ||||
-rw-r--r-- | net-analyzer/nessus-core/files/2.2.9-asneeded.patch | 16 | ||||
-rw-r--r-- | net-analyzer/nessus-core/files/nessus-core-2.2.9-open.patch | 11 | ||||
-rw-r--r-- | net-analyzer/nessus-core/files/nessus-core-2.3.1-gcc4.diff | 11 | ||||
-rw-r--r-- | net-analyzer/nessus-core/files/nessusd-r8 | 26 | ||||
-rw-r--r-- | net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild | 20 | ||||
-rw-r--r-- | net-analyzer/nessus-core/nessus-core-2.2.9.ebuild | 47 |
8 files changed, 43 insertions, 120 deletions
diff --git a/net-analyzer/nessus-core/ChangeLog b/net-analyzer/nessus-core/ChangeLog index a7b874ad29df..b28cdf8e4b2e 100644 --- a/net-analyzer/nessus-core/ChangeLog +++ b/net-analyzer/nessus-core/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/nessus-core # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/ChangeLog,v 1.116 2011/04/22 10:39:47 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/ChangeLog,v 1.117 2011/09/12 07:49:19 radhermit Exp $ + + 12 Sep 2011; Tim Harder <radhermit@gentoo.org> -files/2.2.9-asneeded.patch, + -nessus-core-2.2.9.ebuild, nessus-core-2.2.9-r1.ebuild, + +files/nessus-core-2.2.9-open.patch, -files/nessus-core-2.3.1-gcc4.diff, + -files/nessusd-r8: + Respect CFLAGS, add pkgconfig build dependency, remove unnecessary patch, and + fix call to open. Remove old. 22 Apr 2011; Justin Lecher <jlec@gentoo.org> +files/2.2.9-asneeded.patch, nessus-core-2.2.9-r1.ebuild: diff --git a/net-analyzer/nessus-core/Manifest b/net-analyzer/nessus-core/Manifest index 4f34e89d2eb5..dbab1c6c87c5 100644 --- a/net-analyzer/nessus-core/Manifest +++ b/net-analyzer/nessus-core/Manifest @@ -1,21 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 -AUX 2.2.9-asneeded.patch 490 RMD160 52d082ae22a4be3b0fac70052a170d8e663138c5 SHA1 286b4e2e90bac4867ea1ef7669182cb0ac352573 SHA256 5ec7c8f3e21e653884aa665eed5296ea6b56e3287c138117f9185db1cba0f1c6 AUX 2.2.9-crash.patch 418 RMD160 de57908f176d631c823e597fb75fc0f2cfc798be SHA1 c53e667f12ce6871b9dc1681395ecbbdf6d9287d SHA256 52a43e9d16005d2150f96885e0d91dc6992dc086288e7cf665d77d0ee7758baf AUX 2.2.9-gentoo.patch 1470 RMD160 4a21d14edba9690a01ff5bc9bf518498b2696280 SHA1 bc20beea692c649339f6e79dc22f0effe46eb481 SHA256 be28f8be6f36e5e7214c9053827d76a45bda40256a54ae6c8ce627914556ffbf -AUX nessus-core-2.3.1-gcc4.diff 325 RMD160 595f11acb9b5a83ecff75924f50b3de4c51526a0 SHA1 b7e089d1fa575287ef1b945077d938d0f1cdda3f SHA256 020a160721bcf23142f38b4fe8d914ae7cfae830b8dafaa654604091017363e1 +AUX nessus-core-2.2.9-open.patch 315 RMD160 aeda9a5c4d604830fd0b2b2c8eb9b64ee6ed4b0f SHA1 ed43e298c3eaf85d36a5bbf2208d6b56b2017a34 SHA256 4cbd5c0ce5ac27247cf4a9dead12b61c25ecaae7c5df117bac854e4ef886b381 AUX nessusd-r7 647 RMD160 35dffe93c92db49d5e32df848461813c7387d091 SHA1 7b5cd47b7251444fe80a6f98eeb72a72e8438ca0 SHA256 36ecfe6a2f71490e6123b1fbdae8a71cb3a24d503adb92ee50dd602b649b5262 -AUX nessusd-r8 655 RMD160 5aa32dccd94763954dff77dc55bdef711ff8a1b8 SHA1 703d74e2ee19ba7ab5e51618b6e3d4c6c35f6709 SHA256 634741d3cae1bec7a9eec6a0e04f086d71b5e13685e8c43a6583684ef01994fc DIST nessus-core-2.2.9.tar.gz 674390 RMD160 ba911192a78ee1c6ae1a5d64badff9d18ef666a8 SHA1 25385fd1cece40fd57e26afd42c88515b069c2ba SHA256 b725ace4ef619bc19b372eac9a60db7b083a3e155e11c65443618e52b56c847e -EBUILD nessus-core-2.2.9-r1.ebuild 1509 RMD160 bab0b82fb7f2714529d9932a9669aad3af823870 SHA1 8d196fb2fc513f95a40f69bb1259f098fbd7b067 SHA256 7220cbc2b33f417934b1325c7cfbe96011d8cdb115f9b08c59a00e847541d90f -EBUILD nessus-core-2.2.9.ebuild 1358 RMD160 78381fef8b45e5f9c78a2e8d58290238b36d83d4 SHA1 cb0e6de3f1c364cc194256b4df012d08c5066b5f SHA256 c7de3b480de2bb4679d3964b1055487345080135af4c316a95c2d1e0b030519a -MISC ChangeLog 17766 RMD160 8ff14bf9f04f3838d33c0cef5a730ece57d32636 SHA1 f595a5ef8adf9d7f9eefc4c753bd9af405a5c2f3 SHA256 e4507f42858701a04e784429e556c6734d843a56a6ceade6bfaa584ef7798309 +EBUILD nessus-core-2.2.9-r1.ebuild 1626 RMD160 b9bbd1fe0917dc2499c0e286c4ea840e457a2efe SHA1 eaf6cf4127be61fd1ec1a598a4d0285617f92473 SHA256 46c1a9429e99bdc1caa3c25dcee9d7fc1d15ad55c7ebd798bf7339401dad2098 +MISC ChangeLog 18116 RMD160 dd652819bd31db29f589a9bb491d428ba43c8525 SHA1 e592d547072d18acf0eea462d8dff10b19c6b4c2 SHA256 01a23b12a11c9683dca48b18f2944186e6802cc88ff74746cca9b0b1d2ddcd47 MISC metadata.xml 244 RMD160 dcd2bcdadd5f72b4674006adb8241495d91e23b7 SHA1 33de92ec7574e4f3d3b4c5bd0a368b42f80996be SHA256 ffab1a869f9dad1f7e917015ad31e5c00a2047997e76ba050a6898c71e11b991 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk2xIrgACgkQgAnW8HDreRZ+uQCfb9uo+KhJFeDZ8iucqBuEGGuZ -SyYAnjxTNFhDwOWUBDi5Xpm4ohVNEbfE -=o4Yj +iQEcBAEBCgAGBQJObbmFAAoJEEqz6FtPBkyj2yUH/RESlhaLCbt+TkJszUBlmnfd +egwAmaqwIadHoFsACaDJepFjKbt5In7zLlMzLZWRs/r52ocPfMS9IAAFGFvrZVUj +PEcswSvNda1leo87nEtLS2mcnPNeLNoK9MmDjSovXg7vTULiU8fNaeNVyPlrCQOO +924YNS+QBoodnYqHRm+XPeClP26VH/30eWIxuuUHy1xSkVW6IB1r7rgoWOHU1KrN +JfgbR7PNOlVTptTnaMMNan7kxlgQk9g7V6YLUjuVkXWn1Tg2dGmqRnVPUqogym34 +qIOsP85kuvy1G34+YsBTXj1s+TeKRYQz/95lhrrZOO+vLVucsmprmbtibEkyTO4= +=UlCb -----END PGP SIGNATURE----- diff --git a/net-analyzer/nessus-core/files/2.2.9-asneeded.patch b/net-analyzer/nessus-core/files/2.2.9-asneeded.patch deleted file mode 100644 index 581aba2c948d..000000000000 --- a/net-analyzer/nessus-core/files/2.2.9-asneeded.patch +++ /dev/null @@ -1,16 +0,0 @@ - nessusd/Makefile | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/nessusd/Makefile b/nessusd/Makefile -index 47a1e12..66641aa 100644 ---- a/nessusd/Makefile -+++ b/nessusd/Makefile -@@ -3,7 +3,7 @@ include ../nessus.tmpl - LIBS = `$(NASLCONFIG) --libs` `$(NESSUSCONFIG) --libs` \ - $(W_STATIC) $(W_DYNAMIC) \ - $(DL_LIB) \ -- $(COMPAT_LIB) $(LIBWRAP) -+ $(COMPAT_LIB) $(LIBWRAP) `pcap-config --libs` - NESSUS_INCLUDE=`sh ./cflags` - OBJS = auth.o \ - attack.o \ diff --git a/net-analyzer/nessus-core/files/nessus-core-2.2.9-open.patch b/net-analyzer/nessus-core/files/nessus-core-2.2.9-open.patch new file mode 100644 index 000000000000..fe60ede62b29 --- /dev/null +++ b/net-analyzer/nessus-core/files/nessus-core-2.2.9-open.patch @@ -0,0 +1,11 @@ +--- nessus-core/nessusd/detached.c.orig ++++ nessus-core/nessusd/detached.c +@@ -408,7 +408,7 @@ + char * target; + { + char * fname = detached_fname(globals); +- int f = open(fname, O_CREAT|O_WRONLY|O_TRUNC); ++ int f = open(fname, O_CREAT|O_WRONLY|O_TRUNC, 0600); + if(f >= 0) + { + write(f, target, strlen(target)); diff --git a/net-analyzer/nessus-core/files/nessus-core-2.3.1-gcc4.diff b/net-analyzer/nessus-core/files/nessus-core-2.3.1-gcc4.diff deleted file mode 100644 index 5d0447c216ed..000000000000 --- a/net-analyzer/nessus-core/files/nessus-core-2.3.1-gcc4.diff +++ /dev/null @@ -1,11 +0,0 @@ -diff --exclude='*~' --exclude='.*' -I '$Id:' -urN nessus-core.orig/nessus/comm.c nessus-core/nessus/comm.c ---- nessus-core.orig/nessus/comm.c 2005-05-15 09:36:41.000000000 -0400 -+++ nessus-core/nessus/comm.c 2005-05-15 09:37:48.000000000 -0400 -@@ -96,6 +96,7 @@ - limit = PBAR_MAX; - break; - default: -+ ; - } - } - diff --git a/net-analyzer/nessus-core/files/nessusd-r8 b/net-analyzer/nessus-core/files/nessusd-r8 deleted file mode 100644 index 63cb61db710b..000000000000 --- a/net-analyzer/nessus-core/files/nessusd-r8 +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/files/nessusd-r8,v 1.1 2006/02/04 14:57:30 vanquirius Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting nessusd" - start-stop-daemon --start --quiet --exec /usr/sbin/nessusd -- -D --quiet - eend $? -} - -stop() { - ebegin "Stop nessusd" - start-stop-daemon --stop --quiet --exec /usr/sbin/nessusd - einfo "Waiting for the environment to be sane" - while [ -n "$RUNNING" ] ; do - sleep 1 - RUNNING=$(ps aux | grep -m 1 nessusd: | grep -v grep) - done - sleep 3 - eend $? -} diff --git a/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild b/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild index 2992c83032ee..6cb11091bff0 100644 --- a/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild +++ b/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild,v 1.3 2011/04/22 10:39:47 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.2.9-r1.ebuild,v 1.4 2011/09/12 07:49:19 radhermit Exp $ EAPI="4" -inherit toolchain-funcs eutils +inherit toolchain-funcs eutils autotools DESCRIPTION="A remote security scanner for Linux (nessus-core)" HOMEPAGE="http://www.nessus.org/" @@ -15,13 +15,15 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="debug gtk prelude tcpd" -DEPEND=" +RDEPEND=" ~net-analyzer/nessus-libraries-${PV} ~net-analyzer/libnasl-${PV} tcpd? ( sys-apps/tcp-wrappers ) gtk? ( x11-libs/gtk+:2 ) prelude? ( dev-libs/libprelude ) !net-analyzer/nessus-client" +DEPEND="${RDEPEND} + dev-util/pkgconfig" S="${WORKDIR}"/${PN} @@ -32,10 +34,12 @@ src_prepare() { epatch \ "${FILESDIR}"/${PV}-gentoo.patch \ "${FILESDIR}"/${PV}-crash.patch \ - "${FILESDIR}"/${PV}-asneeded.patch - sed \ - -e "/^LDFLAGS/s:$:${LDFLAGS}:g" \ - -i nessus.tmpl.in + "${FILESDIR}"/${P}-open.patch + + sed -i -e "/^LDFLAGS/s:$:${LDFLAGS}:g" nessus.tmpl.in || die + sed -i -e 's:CFLAGS="-g"; ::' configure.in || die + + eautoreconf } src_configure() { @@ -58,5 +62,5 @@ src_install() { keepdir /var/lib/nessus/users # newer version is provided by nessus-libraries # should be fixed upstream in version 2.2.6 - rm "${D}"/usr/include/nessus/includes.h + rm "${ED}"/usr/include/nessus/includes.h } diff --git a/net-analyzer/nessus-core/nessus-core-2.2.9.ebuild b/net-analyzer/nessus-core/nessus-core-2.2.9.ebuild deleted file mode 100644 index 2f3252e6c5a0..000000000000 --- a/net-analyzer/nessus-core/nessus-core-2.2.9.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.2.9.ebuild,v 1.3 2007/04/28 18:57:39 tove Exp $ - -inherit toolchain-funcs eutils - -DESCRIPTION="A remote security scanner for Linux (nessus-core)" -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" -IUSE="X tcpd debug prelude" -DEPEND="=net-analyzer/nessus-libraries-${PV} - =net-analyzer/libnasl-${PV} - tcpd? ( sys-apps/tcp-wrappers ) - X? ( =x11-libs/gtk+-2* ) - prelude? ( dev-libs/libprelude ) - !net-analyzer/nessus-client" - -S="${WORKDIR}/${PN}" - -src_compile() { - - export CC="$(tc-getCC)" - econf `use_enable tcpd tcpwrappers` \ - `use_enable debug` \ - `use_enable X gtk` \ - || die "configure failed" - emake -j1 || die "emake failed" - -} - -src_install() { - make DESTDIR="${D}" \ - install || die "Install failed nessus-core" - cd "${S}" - dodoc README* UPGRADE_README CHANGES - dodoc doc/*.txt doc/ntp/* - newinitd "${FILESDIR}"/nessusd-r7 nessusd - keepdir /var/lib/nessus/logs - keepdir /var/lib/nessus/users - # newer version is provided by nessus-libraries - # should be fixed upstream in version 2.2.6 - rm "${D}"/usr/include/nessus/includes.h -} |