From patchwork Fri Jul 14 18:15:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 788712 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 3x8LVZ2f8Rz9s78 for ; Sat, 15 Jul 2017 04:16:38 +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="m1upGXX8"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 73B3089149; Fri, 14 Jul 2017 18:16:29 +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 x78ofefx05sQ; Fri, 14 Jul 2017 18:16:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2EB0189123; Fri, 14 Jul 2017 18:16:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9D1CF1BFA4B for ; Fri, 14 Jul 2017 18:16:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 998CF8908B for ; Fri, 14 Jul 2017 18:16:07 +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 lZqkHkslgjW6 for ; Fri, 14 Jul 2017 18:16:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io0-f193.google.com (mail-io0-f193.google.com [209.85.223.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1C9BF89070 for ; Fri, 14 Jul 2017 18:16:07 +0000 (UTC) Received: by mail-io0-f193.google.com with SMTP id z62so2876735ioi.0 for ; Fri, 14 Jul 2017 11:16:07 -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=8aTcv6x6i/IYITixe8qXeHRSVv0pPeSpnrh5liu2ahs=; b=m1upGXX8vLbnvp0haAXbbMxIaMKC9rwHnTfMOTP5Gldzi6/lBKxVzz6C7r+QJ2Tohc sa/010kgyC+XFw7XHJ/SljCLNqVWTW+VnDHNQFozhv0BheSANQLPiQvyt9rlUMrF84mt CMsNyBImZqASHw/aLgtl8fk2xuDu+ZZpIrk+tYgsRsU2Dg+A6/6nAQ6co5hMq78WwCMW Fk263Bl9aTPaJv57fH3Lz+7sRE6rS5bIKwi/Ui7c9zFTNO3qg+ivWoqYrdjRkvpuhz+O MN9WQmced1O8xqZizD2tS3I5CJ+a4STyyFmw5BNiJ2NeROFaHVph1kFqPxW2FxOOu2F5 cvDg== 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=8aTcv6x6i/IYITixe8qXeHRSVv0pPeSpnrh5liu2ahs=; b=FG3aYf1x6AlHxH3asFW+rKyD2mGY5cvNRNkZ1wps6oNa9PR+/gdSnYRE5xxf+CkQ1w n85F+q9kfjSXdrvYWVLvMfgo+xpmf2U+u60l4+DkRJlTBWmnaYmF/tNbsbKQE8lI7vhs sSPGixYKLPa2jyaqhM9jwuWrrGOp3eANROWEl41xYtcI3tiX53KjiV0CZvIwFyhUeikO 9xHh1/4Ob2JQEHWVE58XVntZpQ3VQS2mNx3tQT8zyQgXNCL9q5p11Ks/bPx6grUwbr16 Tpob+Q+X/Mj2UM44oDy82bcYIR3/nh90P3FObPIYeIQ7gfovJ3vd82C6CKpG0XT2PnEw toLA== X-Gm-Message-State: AIVw1116lFQHgJGCd68EElNy3kMyWtsLInhB+Q2ItbYhQzmRAQ+WoNu/ WZjr3E/EujRQ63C/K5A= X-Received: by 10.107.170.212 with SMTP id g81mr9075344ioj.19.1500056166335; Fri, 14 Jul 2017 11:16:06 -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.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Jul 2017 11:16:05 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Fri, 14 Jul 2017 14:15:32 -0400 Message-Id: <20170714181537.17479-10-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 10/15] netsnmp: 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/netsnmp/netsnmp.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index abcf63d56..405c28781 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -60,6 +60,13 @@ NETSNMP_CONF_OPTS += \ --with-openssl=$(STAGING_DIR)/usr/include/openssl \ --with-security-modules="tsm,usm" \ --with-transports="DTLSUDP,TLSTCP" +# LibreSSL +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) +NETSNMP_DEPENDENCIES += libressl +NETSNMP_CONF_OPTS += \ + --with-openssl=$(STAGING_DIR)/usr/include/openssl \ + --with-security-modules="tsm,usm" \ + --with-transports="DTLSUDP,TLSTCP" ifeq ($(BR2_STATIC_LIBS),y) # openssl uses zlib, so we need to explicitly link with it when static NETSNMP_CONF_ENV += LIBS=-lz