From 7bc814775ce18b8790c7c914cb4c8b36b6523d5e Mon Sep 17 00:00:00 2001
From: Eldad Zack <eldad@gentoo.org>
Date: Mon, 12 Jul 2004 12:05:08 +0000
Subject: tidy ; x86 stable

---
 net-analyzer/ucd-snmp/ChangeLog                |  8 +++++++-
 net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild | 12 +++++++++---
 2 files changed, 16 insertions(+), 4 deletions(-)

(limited to 'net-analyzer/ucd-snmp')

diff --git a/net-analyzer/ucd-snmp/ChangeLog b/net-analyzer/ucd-snmp/ChangeLog
index b25826a2cedd..9d292ca31a53 100644
--- a/net-analyzer/ucd-snmp/ChangeLog
+++ b/net-analyzer/ucd-snmp/ChangeLog
@@ -1,6 +1,12 @@
 # ChangeLog for net-analyzer/ucd-snmp
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ChangeLog,v 1.26 2004/07/11 10:52:37 eldad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ChangeLog,v 1.27 2004/07/12 12:05:08 eldad Exp $
+
+  12 Jul 2004; Eldad Zack <eldad@gentoo.org> ucd-snmp-4.2.6-r2.ebuild:
+  Marked x86 stable
+
+  12 Jul 2004; Eldad Zack <eldad@gentoo.org> ucd-snmp-4.2.6-r2.ebuild:
+  Changed 'use_enable -ssl' to '! use ssl' if statement.
 
   11 Jul 2004; Eldad Zack <eldad@gentoo.org> ucd-snmp-4.2.6-r1.ebuild:
   Tidy
diff --git a/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild b/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild
index b39b5a12bb80..80aca1c59821 100644
--- a/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild
+++ b/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild,v 1.10 2004/07/01 20:28:12 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ucd-snmp/ucd-snmp-4.2.6-r2.ebuild,v 1.11 2004/07/12 12:05:08 eldad Exp $
 
 inherit flag-o-matic eutils
 
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/net-snmp/${P}.tar.gz"
 
 LICENSE="as-is"
 SLOT="0"
-KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~hppa alpha ppc64 s390"
+KEYWORDS="x86 ~amd64 ~ppc ~sparc ~hppa alpha ppc64 s390"
 IUSE="ssl ipv6 tcpd"
 
 PROVIDE="virtual/snmp"
@@ -39,10 +39,16 @@ src_unpack() {
 
 src_compile() {
 	local myconf
-	myconf="${myconf} `use_with ssl openssl` `use_enable -ssl internal-md5`"
+	myconf="${myconf} `use_with ssl openssl`"
 	myconf="${myconf} `use_with tcpd libwrap`"
 	myconf="${myconf} `use_enable ipv6`"
 
+	if ! use ssl; then
+		myconf="${myconf} --enable-internal-md5"
+	else
+		myconf="${myconf} --disable-internal-md5"
+	fi
+
 	if use ssl && has_version '=dev-libs/openssl-0.9.6*' ; then
 		einfo "Found openssl version 0.9.6: adding extra flags."
 		append-flags "-DSTRUCT_DES_KS_STRUCT_HAS_WEAK_KEY"
-- 
cgit v1.2.3-65-gdbad