Message ID | 20191027073202.727188-1-rpigott@berkeley.edu |
---|---|
Headers | show
Return-Path: <pacman-dev-bounces@archlinux.org> Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 1C7B714B2B8CB for <patchwork@archlinux.org>; Sun, 27 Oct 2019 07:32:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on apollo X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIM_ADSP_CUSTOM_MED=0.001, DKIM_INVALID=1,DKIM_SIGNED=0.1,FREEMAIL_FROM=0.5,MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3,SPF_HELO_NONE=0.001,T_DMARC_POLICY_NONE=0.01, T_DMARC_SIMPLE_DKIM=0.01 autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-BL-Results: <dns:1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.7.8.0.6.0.6.1.0.8.f.4.0.1.0.a.2.list.dnswl.org> [127.0.9.2] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for <patchwork@archlinux.org>; Sun, 27 Oct 2019 07:32:47 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id C7425161F182EF; Sun, 27 Oct 2019 07:32:45 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [IPv6:2a01:4f8:160:3033::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Sun, 27 Oct 2019 07:32:45 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id EE3C62E674; Sun, 27 Oct 2019 07:32:44 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Q0946cWi Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 99E982E666 for <pacman-dev@lists.archlinux.org>; Sun, 27 Oct 2019 07:32:41 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for <pacman-dev@lists.archlinux.org>; Sun, 27 Oct 2019 07:32:41 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 8DC81161F0F50F for <pacman-dev@archlinux.org>; Sun, 27 Oct 2019 07:32:32 +0000 (UTC) Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for <pacman-dev@archlinux.org>; Sun, 27 Oct 2019 07:32:32 +0000 (UTC) Received: by mail-pl1-x634.google.com with SMTP id q16so3498484pll.11 for <pacman-dev@archlinux.org>; Sun, 27 Oct 2019 00:32: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:mime-version :content-transfer-encoding; bh=t8B9v82EljOxOHf0FUNgcK1UnAbxe/CnxAI2GfqqDMk=; b=Q0946cWiGJKj9YeUgCuGtXgHZi5gLofdjzpNMOIcGeRb8x4eDs9b/sHRrO40W3dZ52 /isfmMC2aw1Ws1ptfEWu89ggNwxQ0/6YaiqK8vMWL+bMINKw3MIo+kQYaWCRn0WI6TPa KFG7VSfHdHuYKn1b+B2L0Q2yIhMA18Ho1RN7KZNNsNMhL00WLnJwn92Z26CNpqJk9+Vv XDrPZ2a99oGyShEUQVLMEDDtx35EzOFxccJsj1CE3K8bTAAlVl8LXIGgTNxjvDNePjp8 1cw6hWLwp5fZzr5fT0jdQoq5hzFki1xLWtgRcUKvLCCGIDRNpEGtZ89cXyN6uOuOVikx j0Vg== 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:mime-version :content-transfer-encoding; bh=t8B9v82EljOxOHf0FUNgcK1UnAbxe/CnxAI2GfqqDMk=; b=eL054GCMRvx6PG/DaAXamgSu/Y0HDDC2OTMelpt+H1oJCCeFTxzEX1V52KB6hitJ07 xCVzmkaYVlDesi1JeT+unFXZFc+mGe7tR5m4krze2fxXgcXuqsTN5KN/Nv11JcoV4yQ0 Euvt7pOBHuKmUkU3v8VrvFP2E245N5JNOzpnNODFJKEokAFCZzO2TWZ6j4/KOKZYAE7p bxB4bZyLPjePrXB+taeCQ8VjMxjZgQ6bSgtOEMMOzeCoTQtf5dFD0fltM4V6FH6zCe2L Wuc/wvSN9qaWYfyH2Ok1PR433wPQ8fAqI0uvWYFDwK4+KVUs4R5Nrw4tGNdmCdLqtg9e wTvw== X-Gm-Message-State: APjAAAVdDVJ5c09r/AbgIIn4c0OQFYuHQ2vTW6yHqjfyyBBKa8twDMUa KMqHWaDb5C0ZuGolvBE+KnQ+Z90= X-Google-Smtp-Source: APXvYqwG0EPyxmxl5LLBlTCVJHI5Wwv9uX8E4AuaNoC9fsTfcBGc+QiaZh34SIzDzb8B7g+ls7Oj2A== X-Received: by 2002:a17:902:bd91:: with SMTP id q17mr13246908pls.43.1572161550304; Sun, 27 Oct 2019 00:32:30 -0700 (PDT) Received: from rxps.home ([2600:8800:1e00:97d:40b9:56b3:ded7:33e0]) by smtp.gmail.com with ESMTPSA id b24sm7005169pfo.4.2019.10.27.00.32.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 00:32:29 -0700 (PDT) From: Ronan Pigott <rpigott314@gmail.com> X-Google-Original-From: Ronan Pigott To: pacman-dev@archlinux.org Date: Sun, 27 Oct 2019 00:32:01 -0700 Message-Id: <20191027073202.727188-1-rpigott@berkeley.edu> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [pacman-dev] [PATCH v3 0/1] Correct package size calculation in makepkg X-BeenThere: pacman-dev@archlinux.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for pacman development <pacman-dev.archlinux.org> List-Unsubscribe: <https://lists.archlinux.org/options/pacman-dev>, <mailto:pacman-dev-request@archlinux.org?subject=unsubscribe> List-Archive: <https://lists.archlinux.org/pipermail/pacman-dev/> List-Post: <mailto:pacman-dev@archlinux.org> List-Help: <mailto:pacman-dev-request@archlinux.org?subject=help> List-Subscribe: <https://lists.archlinux.org/listinfo/pacman-dev>, <mailto:pacman-dev-request@archlinux.org?subject=subscribe> Reply-To: Discussion list for pacman development <pacman-dev@archlinux.org> Cc: Ronan Pigott <rpigott@berkeley.edu> Errors-To: pacman-dev-bounces@archlinux.org Sender: "pacman-dev" <pacman-dev-bounces@archlinux.org> |
From: Ronan Pigott <rpigott@berkeley.edu> V3 addresses eschwartz comment that leading trailing whitespace are not handled correctly. With these changes it is no longer necessary to modify INODECMD and other files that use it, so those changes have been removed and another patch can address them if necessary. Filenames that coincide with a valid stat flag option are now handled as well with a -- argument to stat. Ronan Pigott (1): makepkg: do not count hard linked file sizes multiple times scripts/Makefile.am | 1 + scripts/libmakepkg/util/dirsize.sh.in | 45 +++++++++++++++++++++++++++ scripts/libmakepkg/util/meson.build | 1 + scripts/makepkg.sh.in | 2 +- 4 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 scripts/libmakepkg/util/dirsize.sh.in