From patchwork Mon Aug 20 11:55:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher McCrory X-Patchwork-Id: 959620 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="VPDkbXJy"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41vC1Y4s59z9s3C for ; Mon, 20 Aug 2018 21:55:45 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3C06422924; Mon, 20 Aug 2018 11:55:43 +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 wUjZ+XCXIFkm; Mon, 20 Aug 2018 11:55:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 73C3D22893; Mon, 20 Aug 2018 11:55:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id D93981C0550 for ; Mon, 20 Aug 2018 11:55:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D6CD7228E7 for ; Mon, 20 Aug 2018 11:55:33 +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 M84fCcUIEt1h for ; Mon, 20 Aug 2018 11:55:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by silver.osuosl.org (Postfix) with ESMTPS id 839052221A for ; Mon, 20 Aug 2018 11:55:32 +0000 (UTC) Received: by mail-pg1-f177.google.com with SMTP id v66-v6so5337776pgb.10 for ; Mon, 20 Aug 2018 04:55:32 -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=3InQ3/fcYeKyun/EOQb94UJ2mFJpYcEO8cH57eXx0Z4=; b=VPDkbXJyej8O8LBjEg0LYuLHcbMglBFPtSFHFHVGBDtZADVYwRO16MsYMADp4N6bbl XCHE7f5dDMfhPI/y+CKMFKiZ3UkjYCgS9ELHc6eiFoA7KuOV2uXBquIapw13aq31OfCX WMM48USFPi/yeB3G4sTKAk9j5xD7dgMfsvcsdKuMrDcwCPhSkfA3++pXAPzJtAlkrvUu DPR/QWVgFASk3v0MfswW8Gf3FXYP6cJhdpg/9CTtrmx4TQmfDTSSwPdyds5HFkScAFSA ppJtYYjB905zq7EDKsiznX5l+PO07/TRt+6EdaPvfPEGhTFinmLhDTIVRF6Z676r1JOl cLYg== 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=3InQ3/fcYeKyun/EOQb94UJ2mFJpYcEO8cH57eXx0Z4=; b=ri+eEzUKDLoJQA2z/xEtCViUFOse1kDKWNw4HMfJKF9sJcYXFBYaN2UHOrekNOvg76 nSqGenU7VL5ZXS0JDqEC4/7vaLRAYXNHHiaFE4Xgb5T8a9Vi1NfQpqArrxgm8h5wvCQA rqy8a5z4fsyQtWs2GnH6eDP2GlSO4lp8zyJEGQlnVE3mxYOCFxwUwgrD0L0zYWawKtBf 1i8CHhbiRCKvbmQDOX4ZYh17NiYxsUeggoIsGby81vjVOwkpmOey7/5ULdztxTOCNRuf /vUgHBuu/Rb88QYFB/CNe/SooagX/d5GIM8d74InEmS6rAqa7R97tj6p0/Eo/JKB8GAK xdAg== X-Gm-Message-State: AOUpUlESx+bBkB52qQHdSwCyyzkeGn+hwPfs5J3M12LinFiXFiqawSgZ 8j7Ve0pVHB1Ct0PLs8K65aJZ9SGV X-Google-Smtp-Source: AA+uWPy0zPxKxcxH4jjvM9wBRwMMGlOBzee+JIvoCRHXvEaRKmBC6NcHt8YNEp7AMXGStuD3UauQbA== X-Received: by 2002:a63:d04f:: with SMTP id s15-v6mr43496233pgi.42.1534766131872; Mon, 20 Aug 2018 04:55:31 -0700 (PDT) Received: from localhost.localdomain ([2600:1012:b06f:afd4:7dd8:b612:92b8:cc1f]) by smtp.gmail.com with ESMTPSA id n24-v6sm15112762pfi.161.2018.08.20.04.55.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Aug 2018 04:55:31 -0700 (PDT) From: Christopher McCrory To: buildroot@buildroot.org Date: Mon, 20 Aug 2018 04:55:03 -0700 Message-Id: <20180820115519.24046-3-chrismcc@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180820115519.24046-1-chrismcc@gmail.com> References: <20180820115519.24046-1-chrismcc@gmail.com> Subject: [Buildroot] [PATCH 02/18] perl-dbd-mysql: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christopher McCrory MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Christopher McCrory Acked-by: Francois Perrad --- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-dbd-mysql/Config.in | 12 ++++++++++++ package/perl-dbd-mysql/perl-dbd-mysql.hash | 6 ++++++ package/perl-dbd-mysql/perl-dbd-mysql.mk | 15 +++++++++++++++ 5 files changed, 35 insertions(+) create mode 100644 package/perl-dbd-mysql/Config.in create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.hash create mode 100644 package/perl-dbd-mysql/perl-dbd-mysql.mk diff --git a/DEVELOPERS b/DEVELOPERS index 9a2576ddc7..75237eae3b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -489,6 +489,7 @@ F: package/perl-class-std-fast/ F: package/perl-data-optlist/ F: package/perl-data-uuid/ F: package/perl-date-manip/ +F: package/perl-dbd-mysql/ F: package/perl-dbi/ F: package/perl-device-serialport/ F: package/perl-file-slurp/ diff --git a/package/Config.in b/package/Config.in index eda0f698dc..b6e739dade 100644 --- a/package/Config.in +++ b/package/Config.in @@ -678,6 +678,7 @@ menu "Perl libraries/modules" source "package/perl-data-uuid/Config.in" source "package/perl-date-manip/Config.in" source "package/perl-datetime-tiny/Config.in" + source "package/perl-dbd-mysql/Config.in" source "package/perl-dbi/Config.in" source "package/perl-device-serialport/Config.in" source "package/perl-digest-hmac/Config.in" diff --git a/package/perl-dbd-mysql/Config.in b/package/perl-dbd-mysql/Config.in new file mode 100644 index 0000000000..49e7ff99d6 --- /dev/null +++ b/package/perl-dbd-mysql/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PERL_DBD_MYSQL + bool "perl-dbd-mysql" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PERL_DBI + select BR2_PACKAGE_MYSQL + help + A MySQL driver for the Perl5 Database Interface (DBI) + + http://dbi.perl.org/ + +comment "perl-dbd-mysql needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/package/perl-dbd-mysql/perl-dbd-mysql.hash b/package/perl-dbd-mysql/perl-dbd-mysql.hash new file mode 100644 index 0000000000..51de476095 --- /dev/null +++ b/package/perl-dbd-mysql/perl-dbd-mysql.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 bdf4f4d899b8af29ebd8ebfb7438d05f DBD-mysql-4.046.tar.gz +sha256 6165652ec959d05b97f5413fa3dff014b78a44cf6de21ae87283b28378daf1f7 DBD-mysql-4.046.tar.gz + +# computed by scancpan +sha256 7a9ba29702b957805cfa8aa63bca43175625824263232dbade0010d385ab888c LICENSE diff --git a/package/perl-dbd-mysql/perl-dbd-mysql.mk b/package/perl-dbd-mysql/perl-dbd-mysql.mk new file mode 100644 index 0000000000..752bc199b1 --- /dev/null +++ b/package/perl-dbd-mysql/perl-dbd-mysql.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# perl-dbd-mysql +# +################################################################################ + +PERL_DBD_MYSQL_VERSION = 4.046 +PERL_DBD_MYSQL_SOURCE = DBD-mysql-$(PERL_DBD_MYSQL_VERSION).tar.gz +PERL_DBD_MYSQL_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CA/CAPTTOFU +PERL_DBD_MYSQL_DEPENDENCIES = host-perl-dbi perl-dbi mysql +PERL_DBD_MYSQL_CONF_OPTS += --mysql_config=$(STAGING_DIR)/usr/bin/mysql_config +PERL_DBD_MYSQL_LICENSE = Artistic or GPL-1.0+ +PERL_DBD_MYSQL_LICENSE_FILES = LICENSE + +$(eval $(perl-package))