diff options
author | Eldad Zack <eldad@gentoo.org> | 2005-03-20 10:53:13 +0000 |
---|---|---|
committer | Eldad Zack <eldad@gentoo.org> | 2005-03-20 10:53:13 +0000 |
commit | ad9ed63da41781f88db29b32b832903ff4565b07 (patch) | |
tree | 13330482f056e67dd365356bd33cc8106d1d1a89 /net-analyzer/nagios-nrpe | |
parent | bug 81947 (diff) | |
download | gentoo-2-ad9ed63da41781f88db29b32b832903ff4565b07.tar.gz gentoo-2-ad9ed63da41781f88db29b32b832903ff4565b07.tar.bz2 gentoo-2-ad9ed63da41781f88db29b32b832903ff4565b07.zip |
Generate the dh.h header file for better security
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer/nagios-nrpe')
-rw-r--r-- | net-analyzer/nagios-nrpe/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild | 4 | ||||
-rw-r--r-- | net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild | 9 |
3 files changed, 14 insertions, 6 deletions
diff --git a/net-analyzer/nagios-nrpe/ChangeLog b/net-analyzer/nagios-nrpe/ChangeLog index 23e90942c139..e976f7661f90 100644 --- a/net-analyzer/nagios-nrpe/ChangeLog +++ b/net-analyzer/nagios-nrpe/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/nagios-nrpe -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.17 2004/12/11 16:39:33 config Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/ChangeLog,v 1.18 2005/03/20 10:53:13 eldad Exp $ + + 20 Mar 2005; Eldad Zack <eldad@gentoo.org> nagios-nrpe-2.0.ebuild: + Generate the dh.h header file for better security. 11 Dec 2004; Benjamin Schindler <config@gentoo.org> nagios-nrpe-2.0.ebuild: diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild index 8c187583a2b3..771376d48310 100644 --- a/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild +++ b/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild,v 1.6 2004/06/24 22:08:41 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-1.8-r1.ebuild,v 1.7 2005/03/20 10:53:13 eldad Exp $ inherit eutils DESCRIPTION="Nagios $PV NRPE - Nagios Remote Plugin Executor" diff --git a/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild b/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild index 80b045bde586..affec459f92f 100644 --- a/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild +++ b/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild,v 1.8 2004/12/11 16:39:33 config Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-nrpe/nagios-nrpe-2.0.ebuild,v 1.9 2005/03/20 10:53:13 eldad Exp $ inherit eutils @@ -29,6 +29,11 @@ src_compile() { myconf="${myconf} `use_enable ssl`" + # Generate the dh.h header file for better security (2005 Mar 20 eldad) + if useq ssl ; then + openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > ${S}/src/dh.h + fi + ./configure ${myconf} \ --host=${CHOST} \ --prefix=/usr/nagios \ |