Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857246 - games-misc/fortune-mod does not show fortunes under /usr/local/share/fortune anymore
Summary: games-misc/fortune-mod does not show fortunes under /usr/local/share/fortune ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-10 11:42 UTC by Klaus Ethgen
Modified: 2022-08-20 02:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Ethgen 2022-07-10 11:42:38 UTC
With version 3.12.0, fortune stopped to display fortunes under /usr/local/share/fortune where I have my own fortunes I care for.

Please bring that path back as without, fortunes is of only little help for me.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-10 11:44:36 UTC
Ah, I set -DLOCALDIR="/usr/share/fortune", and I think it should have a local in it.
Comment 2 Larry the Git Cow gentoo-dev 2022-08-13 13:32:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b0f1403db4317d5a8211090bd4c2b28b3b1da0

commit 93b0f1403db4317d5a8211090bd4c2b28b3b1da0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-13 13:04:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-13 13:31:44 +0000

    games-misc/fortune-mod: add 3.14.1
    
    Closes: https://bugs.gentoo.org/857246
    Signed-off-by: Sam James <sam@gentoo.org>

 games-misc/fortune-mod/Manifest                  |  1 +
 games-misc/fortune-mod/fortune-mod-3.14.1.ebuild | 60 ++++++++++++++++++++++++
 2 files changed, 61 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2022-08-20 01:49:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a024f59ae4a7c51817f6034d37f2fc02c561816

commit 6a024f59ae4a7c51817f6034d37f2fc02c561816
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-20 01:48:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-20 01:49:14 +0000

    games-misc/fortune-mod: fix fortune paths
    
    The intention of LOCALDIR seems to be to allow local cookies to be
    provided by the sysadmin in e.g. /usr/local/share/fortune,
    but if set, before this patch, even cookies distributed
    by upstream were stored there (and nothing in COOKIEDIR, e.g.
    /usr/share/fortune - https://bugs.gentoo.org/865809).
    
    Originally, we were setting LOCALDIR=COOKIEDIR=/usr/share/fortune to
    workaround the issue, but see https://bugs.gentoo.org/857246.
    
    Closes: https://bugs.gentoo.org/865809
    Closes: https://bugs.gentoo.org/857246
    Signed-off-by: Sam James <sam@gentoo.org>

 .../fortune-mod-3.14.1-fix-localdir-mixup.patch    | 28 ++++++++++++++++++++++
 ...-3.14.1.ebuild => fortune-mod-3.14.1-r1.ebuild} | 14 +++++++----
 2 files changed, 38 insertions(+), 4 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2022-08-20 01:54:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b73f02926f4b9a3e7cc634201769fb426b1d229c

commit b73f02926f4b9a3e7cc634201769fb426b1d229c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-20 01:54:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-20 01:54:18 +0000

    games-misc/fortune-mod: add link to upstream PR
    
    Closes: https://bugs.gentoo.org/865809
    Closes: https://bugs.gentoo.org/857246
    Signed-off-by: Sam James <sam@gentoo.org>

 .../fortune-mod/files/fortune-mod-3.14.1-fix-localdir-mixup.patch       | 2 ++
 1 file changed, 2 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-20 02:34:59 UTC
I'm sorry about the hassle. It's now fixed upstream too.