Bug 257647 - deskutils/todo has incorrect path for global config.
Summary: deskutils/todo has incorrect path for global config.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-06 03:03 UTC by Duane
Modified: 2021-08-08 22:35 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duane 2021-08-06 03:03:10 UTC
In the file /usr/local/bin/todo the global configuration file is originally set to /etc/todo/config.  This should instead use /usr/local/etc/todo.cfg as follows:

625:TODOTXT_GLOBAL_CFG_FILE=${TODOTXT_GLOBAL_CFG_FILE:-/usr/local/etc/todo.cfg}
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-08-08 22:11:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d3e9f1a62cdf03e1d1ec4b5284d887cc70053a5

commit 0d3e9f1a62cdf03e1d1ec4b5284d887cc70053a5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-08-08 21:42:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-08-08 21:46:40 +0000

    deskutils/todo: Fix config path (TODOTXT_GLOBAL_CFG_FILE)

    - Bump PORTREVISION for package change

    PR:             257647
    Reported by:    Duane <parakleta@darkreality.org>

 deskutils/todo/Makefile                  |  3 +++
 deskutils/todo/files/patch-todo.sh (new) | 11 +++++++++++
 2 files changed, 14 insertions(+)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2021-08-08 22:35:57 UTC
Committed. Thanks!