From patchwork Sat Sep 8 04:21:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitry Golubovsky X-Patchwork-Id: 182497 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 8C3492C0089 for ; Sat, 8 Sep 2012 14:22:06 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 18F0B25593; Sat, 8 Sep 2012 04:22:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 57EX1JKk6Uyw; Sat, 8 Sep 2012 04:22:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CBCDE24883; Sat, 8 Sep 2012 04:22:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4654A8F74A for ; Sat, 8 Sep 2012 04:22:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 13F588CB74 for ; Sat, 8 Sep 2012 04:22:02 +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 wdPUMGBtO1Xz for ; Sat, 8 Sep 2012 04:21:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.golubovsky.org (www.golubovsky.org [66.92.54.88]) by whitealder.osuosl.org (Postfix) with ESMTP id 6361A8CD2B for ; Sat, 8 Sep 2012 04:21:11 +0000 (UTC) Received: by www.golubovsky.org (Postfix, from userid 1002) id 03088ECB45; Sat, 8 Sep 2012 00:21:09 -0400 (EDT) From: Dmitry To: buildroot@busybox.net Date: Sat, 8 Sep 2012 00:21:03 -0400 Message-Id: <1347078066-25257-1-git-send-email-golubovsky@gmail.com> X-Mailer: git-send-email 1.7.2.5 Cc: Dmitry Subject: [Buildroot] [PATCH 1/4] If linux-pam is built, enable dbm functionality in Berkeley DB X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net The linux-pam library has the pam_userdb module which uses a dbm-compatible database to authenticate users. Berkeley DB provides such functionality, so it has to be condidionally enabled if linux-pam is used. Signed-off-by: Dmitry --- package/berkeleydb/berkeleydb.mk | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk index 3037da6..3ca334f 100644 --- a/package/berkeleydb/berkeleydb.mk +++ b/package/berkeleydb/berkeleydb.mk @@ -30,6 +30,7 @@ define BERKELEYDB_CONFIGURE_CMDS $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx,--disable-cxx) \ --disable-java \ --disable-tcl \ + $(if $(BR2_PACKAGE_LINUX_PAM),--enable-dbm,--disable-dbm) \ --disable-compat185 \ $(SHARED_STATIC_LIBS_OPTS) \ --with-pic \