Package Details: bsdmainutils 9.0.6-1

Git Clone URL: (read-only)
Package Base: bsdmainutils
Description: Some BSD-style programs including ncal and lorder.
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: zancarius
Last Packager: zancarius
Votes: 19
Popularity: 0.329029
First Submitted: 2011-04-29 15:21
Last Updated: 2015-06-26 02:12

Dependencies (4)

Required by (3)

Sources (2)

Latest Comments

zancarius commented on 2014-11-03 06:10

Thanks, delta48. It should have read that from the start, but didn't. I suspect I didn't catch it because I hadn't tested installing it via an AUR helper and it otherwise builds correctly (it won't when something like yaourt attempts to install it, however). Hopefully that's the last major artifact from previous versions.

The only major clean up remaining at this point is to fix the patch applications that fail.

Anyway, updated.

delta48 commented on 2014-11-03 05:49

i got an error in this line
patch -Np1 < ../../archlinux-ncal.diff
changed to
patch -Np1 < ../archlinux-ncal.diff
and it work

zancarius commented on 2012-12-17 00:03

Reason? None that I can think of other than my oversight since I mostly adopted this package for ncal (which I like). I apologize for that as I believe they weren't installed from the original PKGBUILD. I probably should have noticed these were missing.

It should be fixed now as it installs everything, although the calendar files must currently be stored in /etc/calendar. I don't consider this optimal, but without looking into it more than a grep or two, I can only surmise it'll require some patches to calendar. Since the package is sourced from Ubuntu, it does contain some Debian-specific changes (these are located in /etc/calendar/debian if you prefer them over the defaults). The best option might be to include an install file that generates some symlinks from /etc/calendar to the appropriate location. I'll have to think about it.

The /etc/calendar/default includes everything but something like:

calendar -f /etc/calendar/calendar.usholiday -l 30

Should work to specify your region if it's included. If there's anything else missing, let me know.

chneukirchen commented on 2012-12-16 22:11

Any reason the calendar files are not installed?

zancarius commented on 2012-07-15 07:26

No worries. :) I'll likely remove the superfluous comments next time the upstream package is updated.

sacarde commented on 2012-07-15 06:49

I did not see that was a link


zancarius commented on 2012-07-15 03:09

@sacarde I'm not sure why you'd need the "hd" binary from this package (which symlinks to hexdump), because it's already part of util-linux. If you edit the PKGBUILD I uploaded, you can have it install that utility as well. Pay careful attention to the comments in build().

sacarde commented on 2011-12-24 08:29

is possible to have program: "hd" in this package?


Anonymous comment on 2011-08-27 02:51

Thanks, I have fixed it.

andreagi commented on 2011-08-19 22:50

I'm really addicted to the ncal command, so I was a bit disappointed in not finding it.
The "install" target makes a symbolic link to "cal" (and this is a problem), I wrote a patch to remove only these instructions: this way the standard "cal" can happily cohabit together with the "ncal" on my installation.
I put this patch in the same directory of PKGBUILD:

=== archlinux-ncal.diff =======================================================================
diff -Naur ubuntubsdmainutils/usr.bin/ncal/Makefile archlinuxbsdmainutils/usr.bin/ncal/Makefile
--- ubuntubsdmainutils/usr.bin/ncal/Makefile 2010-11-28 14:23:02.000000000 +0100
+++ archlinuxbsdmainutils/usr.bin/ncal/Makefile 2011-08-20 00:24:28.634337652 +0200
@@ -6,6 +6,3 @@
include $(topdir)/

- (cd $(bindir); ln -sf ncal cal)
- (cd $(mandir); ln -sf ncal.1 cal.1)

and I changed the PKGBUILD to use it:

=== PKGBUILD ==================================================================================
# Contributor: Tusooa Zhu <>
pkgdesc="Some BSD-style programs."
arch=('i686' 'x86_64')

cd "$srcdir/$pkgname-$pkgver"
msg "Starting make..."
for i in debian/patches/* ; do patch -Np1 < "$i" ; done || return 1
patch -Np1 < ../../archlinux-ncal.diff
for i in col colcrt colrm column hexdump look ul ; do rm -rf usr.bin/"$i" ; done || return 1
make &&
make DESTDIR="$pkgdir" install || return 1