Package Details: fortune-mod-bofh-excuses 20121125.190600-2

Git Clone URL: https://aur.archlinux.org/fortune-mod-bofh-excuses.git (read-only)
Package Base: fortune-mod-bofh-excuses
Description: BOFH excuses fortune cookie files
Upstream URL: http://www.cs.wisc.edu/~ballard/bofh/
Licenses: Public Domain
Groups: fortune-mods
Submitter: Tblue
Maintainer: Tblue
Last Packager: Tblue
Votes: 56
Popularity: 0.020193
First Submitted: 2009-04-03 22:26
Last Updated: 2015-08-13 19:08

Dependencies (2)

Required by (1)

Sources (0)

Pinned Comments

ekaljuk commented on 2015-02-01 06:29

To use this command, type "fortune bofh-excuses" at the prompt.

Latest Comments

Tblue commented on 2015-08-13 19:25

Done, this now uses the newest data file from the author's website.

Tblue commented on 2015-08-10 22:58

Thanks -- nice idea, I will look into implementing this! :-)

djmattyg007 commented on 2015-08-09 14:29

This would be the full command to run in the pkgver() function:
curl -sI http://pages.cs.wisc.edu/~ballard/bofh/excuses | grep '^Last-Modified:' | cut -d ':' -f 2- | date +%s

djmattyg007 commented on 2015-08-09 14:26

Given the Debian package does not appear to include any excuses added after 2009, could I suggest moving away from the Debian package versioning?

My idea would be to perform a HEAD HTTP request to http://pages.cs.wisc.edu/~ballard/bofh/excuses with curl and parse the Last-Modified header into a UNIX timestamp to create the package version in the pkgver() function. This would then more quickly and easily provide updates when the original list itself is updated.

I think to make this work someone would need to take the current contents of the Debian package and set up a fork. The package contains a script to update the list of excuses in the repository (or just download the list fresh), so this would be used in the build() function of the PKGBUILD to actually retrieve the excuses list and turn it into the format that fortune expects.

I'm happy to set this up if you'd like.

ekaljuk commented on 2015-02-01 06:29

To use this command, type "fortune bofh-excuses" at the prompt.

ekaljuk commented on 2015-02-01 06:28

Tblue commented on 2013-08-17 19:05

Release 1.2-2 cleans up the PKGBUILD and makes it work with the current makepkg version.

hollunder commented on 2010-10-26 22:07

Ah, thanks :)

Anonymous comment on 2010-10-26 20:48

fortune bofh-excuses

hollunder commented on 2010-09-21 19:27

I wonder how to actually use this, it doesn't seem to show up in fortune all by itself.