From patchwork Fri Jul 14 18:15:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 788710 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x8LVR1zkqz9s78 for ; Sat, 15 Jul 2017 04:16:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="iEbSZD+S"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8A8018912F; Fri, 14 Jul 2017 18:16:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e9WaMdmsl30L; Fri, 14 Jul 2017 18:16:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 0CE55890ED; Fri, 14 Jul 2017 18:16:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 00C321BFA4B for ; Fri, 14 Jul 2017 18:16:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F08718A3E2 for ; Fri, 14 Jul 2017 18:16:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rFM7bH6-ICoS for ; Fri, 14 Jul 2017 18:16:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io0-f170.google.com (mail-io0-f170.google.com [209.85.223.170]) by hemlock.osuosl.org (Postfix) with ESMTPS id 577048A3DD for ; Fri, 14 Jul 2017 18:16:05 +0000 (UTC) Received: by mail-io0-f170.google.com with SMTP id r36so18538193ioi.1 for ; Fri, 14 Jul 2017 11:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=M5N5Ir5o53k6ex9AAGaikDIEmP5yrrsHWiAri3nDvkQ=; b=iEbSZD+Sl9CT4kP5d7XmGsA/Sf/Qid1JJx9Sco0pKkt9AKGjKSwqsv7px+Tq+Pa3sF tPeJ3YR2wihkEJUOVvQaldIrj/INlVXLsaUOmhE4dDj3PSl1UCs2BW3EVFIU742SP1SR yILD/y1iFGQEq+LrQzhuItyfW75XrBzp1Qj/66go19cZZi7FQHXVvV4vfPO4J9VKQHdH LE8mAUoIacocSKXWH5oEgEtZPYaqkyJwEubVqEIFELUtwOaGtTNRrYmTUXTIevygYERO lOAUGCOzLPEu16edbY35HJlKMCqFk3BT0pj6qk70qAIgHlsalbxHgKNdTvDRDkxDCKOi OFSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=M5N5Ir5o53k6ex9AAGaikDIEmP5yrrsHWiAri3nDvkQ=; b=elcXRBbRu1mppCvawprxbe4DSfVdHHZ1PI+nJVAThA1BGddnnfJ+T32acibhtQY8le vQfwL5Adzpq/hLKuZYwnhsLiEYKFbMyktjX6NqPZkTF7r5KUZLzb5CfST66IYnSR5lnA Ca4HJ/hWWqgYX6duzSpT6YQRUWCM0PSmSiNttaAirSvpBXX22Sdre1ZMAMW/6l4EoUqr /euV9NcMP+ZZTRN/GUD8pO51aGo9kN+S9JRQ9Z9e//V5j5TEk5SCqD4qrafS8ezLh0e9 j+w8vRrdXn5qMHA+l2NxdxGqWEnGyqmtGexJY0PjXoSQriUrJgA2z5QfqOuwOAdJI2Bz KZMA== X-Gm-Message-State: AIVw110YgFUC1fky/KiJ6vQUIpgTfTV8g5dvf508f06R/CNmSkqNUuC0 t+CFoUfho3sH6dKNHdg= X-Received: by 10.107.178.13 with SMTP id b13mr9114107iof.148.1500056164574; Fri, 14 Jul 2017 11:16:04 -0700 (PDT) Received: from localhost.localdomain (mail.codeblue.com. [65.183.183.198]) by smtp.gmail.com with ESMTPSA id u201sm1550305ita.16.2017.07.14.11.16.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Jul 2017 11:16:04 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Fri, 14 Jul 2017 14:15:30 -0400 Message-Id: <20170714181537.17479-8-aduskett@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170714181537.17479-1-aduskett@gmail.com> References: <20170714181537.17479-1-aduskett@gmail.com> Cc: Adam Duskett Subject: [Buildroot] [PATCH 08/15] snmppp: support libressl X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Adam Duskett --- package/snmppp/Config.in | 2 +- package/snmppp/snmppp.mk | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package/snmppp/Config.in b/package/snmppp/Config.in index 8d284673b..fb3119177 100644 --- a/package/snmppp/Config.in +++ b/package/snmppp/Config.in @@ -21,7 +21,7 @@ config BR2_PACKAGE_SNMPPP_LOGGING config BR2_PACKAGE_SNMPPP_SNMPV3 bool "enable SNMPv3" default y - select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBRESSL help Enable optional support for SNMP++. This selects OpenSSL. diff --git a/package/snmppp/snmppp.mk b/package/snmppp/snmppp.mk index 67410d9e4..b333af6e7 100644 --- a/package/snmppp/snmppp.mk +++ b/package/snmppp/snmppp.mk @@ -15,7 +15,12 @@ SNMPPP_LICENSE_FILES = src/v3.cpp ifeq ($(BR2_PACKAGE_SNMPPP_SNMPV3),y) SNMPPP_CONF_OPTS += --enable-snmpv3 +ifeq ($(BR2_PACKAGE_OPENSSL),y) SNMPPP_DEPENDENCIES += openssl +endif +ifeq ($(BR2_PACKAGE_LIBRESSL),y) +SNMPPP_DEPENDENCIES += libressl +endif else SNMPPP_CONF_OPTS += --disable-snmpv3 endif