From patchwork Thu Sep 20 16:59:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 972564 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=none (p=none dis=none) header.from=micronovasrl.com Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=micronovasrl.com header.i=@micronovasrl.com header.b="tKqkFLeu"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42GNHg14j8z9s9G for ; Fri, 21 Sep 2018 02:59:27 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D539722181; Thu, 20 Sep 2018 16:59:24 +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 IRzheot-bvgO; Thu, 20 Sep 2018 16:59:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id AD4822153F; Thu, 20 Sep 2018 16:59:23 +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 449EB1D0FA5 for ; Thu, 20 Sep 2018 16:59:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 41D0286009 for ; Thu, 20 Sep 2018 16:59:20 +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 EZ-ugfcJzhKa for ; Thu, 20 Sep 2018 16:59:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.micronovasrl.com (mail.micronovasrl.com [212.103.203.10]) by hemlock.osuosl.org (Postfix) with ESMTP id 859A186024 for ; Thu, 20 Sep 2018 16:59:19 +0000 (UTC) Received: from mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) by mail.micronovasrl.com (Postfix) with ESMTP id 9DC6AB00978 for ; Thu, 20 Sep 2018 18:59:18 +0200 (CEST) Authentication-Results: mail.micronovasrl.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=micronovasrl.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=micronovasrl.com; h=references:in-reply-to:x-mailer:message-id:date:date:subject :subject:to:from:from; s=dkim; t=1537462757; x=1538326758; bh=QR QKEfLONnY1OVHJdov3XFXfJKSlidpu3Z9Uwjg1kRU=; b=tKqkFLeu6UPQKLq/WF pevp2DYxV/lQy7fNUE3Dcv4PRwlZCWyMVxQy5LNEoCopVcpwSaY069LC6m2SDNLN 08z/nZDi9xoOigUQysun2k1Cpljn8n0Vs5tUG1CpyMrVhVxP5chzm7CSQI8P5ZNK 4Gf+Sy/s62/vqXUqsVCdaX0qs= X-Virus-Scanned: Debian amavisd-new at mail.micronovasrl.com Received: from mail.micronovasrl.com ([127.0.0.1]) by mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HiLuYPU4Sb1N for ; Thu, 20 Sep 2018 18:59:17 +0200 (CEST) Received: from ubuntu.localdomain (78-134-125-173.v4.ngi.it [78.134.125.173]) by mail.micronovasrl.com (Postfix) with ESMTPSA id DAA4EB007CF; Thu, 20 Sep 2018 18:59:16 +0200 (CEST) From: Giulio Benetti To: buildroot@buildroot.org Date: Thu, 20 Sep 2018 18:59:12 +0200 Message-Id: <20180920165913.13488-2-giulio.benetti@micronovasrl.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180920165913.13488-1-giulio.benetti@micronovasrl.com> References: <20180918213949.36376-1-giulio.benetti@micronovasrl.com> <20180920165913.13488-1-giulio.benetti@micronovasrl.com> Subject: [Buildroot] [PATCH v3 1/2] at: change upstream site, bump version 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: Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" At is now available on a git repository at: https://salsa.debian.org/debian/at Main changes 3.1.16 -> 3.1.23: - add support for SELinux, multiple files - improve atd.service, see bug report 892819 - fix various bugs and warnings - finalized script to release software So: - change AT_SITE_METHOD to git pointing to release/3.1.23 - update tarball sha256 in hash file - improved S99at script: if /var/spool is linked to /tmp, .SEQ file will be lost and atd won't work neither for a live session. Create .SEQ file if not found, warning during start that after reboot atjobs could be lost. Signed-off-by: Giulio Benetti Reviewed-by: Matt Weber --- Changes V2->V3: * correct comment in S99at script * remove redundant newline in at.mk * add website to Config.in package/at/Config.in | 2 ++ package/at/S99at | 9 +++++++++ package/at/at.hash | 4 ++-- package/at/at.mk | 9 +++++---- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/package/at/Config.in b/package/at/Config.in index 17fabf7f6b..cbc5be47b8 100644 --- a/package/at/Config.in +++ b/package/at/Config.in @@ -8,3 +8,5 @@ config BR2_PACKAGE_AT at - run the job at a specified time batch - run the job when system load levels permit + + https://salsa.debian.org/debian/at diff --git a/package/at/S99at b/package/at/S99at index 666d39b546..a5015b0735 100755 --- a/package/at/S99at +++ b/package/at/S99at @@ -6,6 +6,15 @@ umask 077 start() { + # Since /var/spool can be linked to /tmp (tmpfs) + # /var/spool/cron/atjobs/.SEQ created could be not available + # Check if not exists otherwise create it + if [ ! -f /var/spool/cron/atjobs/.SEQ ]; then + mkdir -p /var/spool/cron/atjobs/ + touch /var/spool/cron/atjobs/.SEQ + printf "atd: Created missing .SEQ file. Probably it's in tmpfs and on reboot atjobs will be lost!\n" + fi + printf "Starting atd: " start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/atd.pid --background --exec /usr/sbin/atd -- -f echo "OK" diff --git a/package/at/at.hash b/package/at/at.hash index 22c732cc7e..e6eb26d818 100644 --- a/package/at/at.hash +++ b/package/at/at.hash @@ -1,2 +1,2 @@ -# From: http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/a/at/at_3.1.16-1.dsc -sha256 cb9af59c6a54edce9536ba629841055409d1f89d8ae26494727a97141fb4d5c1 at_3.1.16.orig.tar.gz +# Locally calculated +sha256 f5c7c8226fab0bc4e2d16a55e04d4026f3452db51fc5cbcc4bb5a3c79a79f7ef at-release_3.1.23.tar.gz diff --git a/package/at/at.mk b/package/at/at.mk index 058ebac5c8..36aa8c7a42 100644 --- a/package/at/at.mk +++ b/package/at/at.mk @@ -4,10 +4,11 @@ # ################################################################################ -AT_VERSION = 3.1.16 -AT_SOURCE = at_$(AT_VERSION).orig.tar.gz -AT_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/a/at -# missing deps for parsetime.l +AT_VERSION = release/3.1.23 +AT_SITE = https://salsa.debian.org/debian/at.git +AT_SITE_METHOD = git +# Tried to add missing deps for parsetime.l but still parallel build fails +# in some case, so at the moment let's keep MAKE1 AT_MAKE = $(MAKE1) AT_AUTORECONF = YES AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex) host-bison host-flex From patchwork Thu Sep 20 16:59:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 972566 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=micronovasrl.com Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=micronovasrl.com header.i=@micronovasrl.com header.b="BJtml7kJ"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42GNHq3Scyz9s9G for ; Fri, 21 Sep 2018 02:59:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 78390879EF; Thu, 20 Sep 2018 16:59:31 +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 1RrxcaHslYeu; Thu, 20 Sep 2018 16:59:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 69F7587A55; Thu, 20 Sep 2018 16:59:29 +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 33CCF1C0FDB for ; Thu, 20 Sep 2018 16:59:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 30B032153F for ; Thu, 20 Sep 2018 16:59:21 +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 YUGDzDrRRJoy for ; Thu, 20 Sep 2018 16:59:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.micronovasrl.com (mail.micronovasrl.com [212.103.203.10]) by silver.osuosl.org (Postfix) with ESMTP id 7BD9821515 for ; Thu, 20 Sep 2018 16:59:20 +0000 (UTC) Received: from mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) by mail.micronovasrl.com (Postfix) with ESMTP id 25AF8B00982 for ; Thu, 20 Sep 2018 18:59:19 +0200 (CEST) Authentication-Results: mail.micronovasrl.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=micronovasrl.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=micronovasrl.com; h=references:in-reply-to:x-mailer:message-id:date:date:subject :subject:to:from:from; s=dkim; t=1537462758; x=1538326759; bh=O8 qPHcwWyoitVj7wLgDZUVw8p/hgHEKNI5tAGXgwa9s=; b=BJtml7kJNUqhav48Qn mgnSHuDItMS5932wtDtDR0cwhYEED6CP5C/uSgdMa+Evucrkp1Kgd0p+OL8wRxjB gyQd8DJwg4ebc++ZT5kc8252nKghMqnXZuCQrcko6OzuyBxMEHWFcHypmfq+ujSO SvIYzswTjKCPNdXQbG72T9AvE= X-Virus-Scanned: Debian amavisd-new at mail.micronovasrl.com Received: from mail.micronovasrl.com ([127.0.0.1]) by mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LpLXz8yD4lxE for ; Thu, 20 Sep 2018 18:59:18 +0200 (CEST) Received: from ubuntu.localdomain (78-134-125-173.v4.ngi.it [78.134.125.173]) by mail.micronovasrl.com (Postfix) with ESMTPSA id 4420EB00939; Thu, 20 Sep 2018 18:59:17 +0200 (CEST) From: Giulio Benetti To: buildroot@buildroot.org Date: Thu, 20 Sep 2018 18:59:13 +0200 Message-Id: <20180920165913.13488-3-giulio.benetti@micronovasrl.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180920165913.13488-1-giulio.benetti@micronovasrl.com> References: <20180918213949.36376-1-giulio.benetti@micronovasrl.com> <20180920165913.13488-1-giulio.benetti@micronovasrl.com> Subject: [Buildroot] [PATCH v3 2/2] at: add sha256 for legal-info files 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: Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Copyright and COPYING file sha256 are missing. Add them calculating locally. Signed-off-by: Giulio Benetti --- package/at/at.hash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/at/at.hash b/package/at/at.hash index e6eb26d818..530b1257c1 100644 --- a/package/at/at.hash +++ b/package/at/at.hash @@ -1,2 +1,5 @@ # Locally calculated sha256 f5c7c8226fab0bc4e2d16a55e04d4026f3452db51fc5cbcc4bb5a3c79a79f7ef at-release_3.1.23.tar.gz + +sha256 01dccc0975aa9ba1a9f83e7c5e04f16077353d3c72a0a759b8846ee7a5b2b616 Copyright +sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYING