From owner-freebsd-arch@freebsd.org Mon Sep 28 04:25:34 2020 Return-Path: Delivered-To: freebsd-arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B3CF3F502C for ; Mon, 28 Sep 2020 04:25:34 +0000 (UTC) (envelope-from greg.bal4@gmail.com) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C08Zj2mT1z3ZKZ for ; Mon, 28 Sep 2020 04:25:33 +0000 (UTC) (envelope-from greg.bal4@gmail.com) Received: by mail-ed1-x533.google.com with SMTP id c8so8596762edv.5 for ; Sun, 27 Sep 2020 21:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=is51R3scYAraxrPN6dNbcbgZQoP1Qp8ThJB0QHukNOE=; b=Trow3kJ+th43z9/YAS+mo19u7iYAD2/FWL981rmPSS6n77qbx1mY4KiKcEDvdJ6w5G iPYBpY3/veB/E6TvIrmEWFylt9cYp2i2ZYO89ZsC67q0h0Ev6xUx4+hWEYiWyWClYzzG /vuTyeUzFg5jHLFxkp9qUJZzdO0D949Trx2U2xsfppwsLYvDgzEKXPxX+E+KWQe3IlEt kMeo9PtjBsrpV8fOrS94ucMBMZcKizYYNfNtewbZrbNnzWolukf2+ydmaHU65ArIVHcC Szk2oQ837QfBqDDTG1h+Ks2gC4MbVkHhvMcb4egimm+bFeUFkC+Mxk8PsM3U9aO+Sm5/ 1TPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=is51R3scYAraxrPN6dNbcbgZQoP1Qp8ThJB0QHukNOE=; b=Q+4z8pzQHkxlaZwHYND9JCWOM+BrkLBgHcrZKQtIbqUmCxlsk8ZwmWELIh9JoWnm+K uBX2fNCATxDPxhqArkIVeZFmTrQBedsWU/auiU+2529ZAOKHnL2VPAsCLPyQN0At4LcN 4OHeI/rFUkYhnVpT46N83Vn/O6pyjZfrfcvIyHZ3j6Jb29jOiaSSCgo2BRuiIuBozKA9 lKJnjmITFL7bCfl5B5LqFYKP4kUYqE1ryaV83CuhowIyRjnqr3EXb9w+HZCrjOYP7KtY kIogdql1nOwFGGkONUvpEkPSmhVTvMvEJfknUK4VzGdRuvg/yi1ukytKivSilLmDj4iW VcKw== X-Gm-Message-State: AOAM531fzlKm+yTPJ5NluIx2cad5QPSiz5MF34ljU9pBKazH3mofKZtF XwrkGQuXsE3JxkQco7vtbMeOQoEpogceZalU8EWk/eNrr5Q= X-Google-Smtp-Source: ABdhPJwOVbn4Pq7MMU3xo1C/sS5SpCeP315UtvTJQodrOWbRLc8kzon+8ncdQUKcfRydBeMqjgWeMnV5/Yq9hlAfuGI= X-Received: by 2002:a05:6402:cb4:: with SMTP id cn20mr13769029edb.369.1601267131314; Sun, 27 Sep 2020 21:25:31 -0700 (PDT) MIME-Version: 1.0 From: Greg Balfour Date: Sun, 27 Sep 2020 23:25:20 -0500 Message-ID: Subject: Re: Refactoring calendar(1) (was: svn commit: r365984 - head/usr.bin/calendar/calendars) To: freebsd-arch@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4C08Zj2mT1z3ZKZ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Trow3kJ+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gregbal4@gmail.com designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=gregbal4@gmail.com X-Spamd-Result: default: False [-2.01 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.03)[-0.032]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FAKE_REPLY(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.99)[-0.995]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.983]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arch@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::533:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arch] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2020 04:25:34 -0000 On Thu, Sep 24, 2020 at 09:07:08AM +1000, Greg 'groggy' Lehey wrote: > > While I have your attention, does anybody think that the -a option of > calendar(1) is worth keeping? It goes through *all* calendar files on > a system and mails them to the owner. It has the interesting side > effect (we wouldn't want to call it a bug) that root gets three copies > (one each for root, toor and daemon). I can't see anything useful > there that a per-user cron job can't do. I actually use the -a option. But it hasn't fully worked since 10.0-RELEASE. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205580 Still present in 12.2-BETA2. I maintain a local set of patches that solves this bug, but it requires the installation of the tradcpp port/package so I've never shared them, but would if someone wants them.