openbsd-ports/databases/lbdb/patches/patch-lbdb_lib_sh_in
sthen bc7412fbf0 import lbdb,
Little Brother Database is a simple email address database,
originally designed for Mutt, but working with other software.
It can query multiple backends, including local files of many
formats, and some network sources, including finger and
YP/NIS. LDAP support is available in the lbdb-ldap package.

requested by marco@
2008-06-15 07:22:57 +00:00

13 lines
461 B
Plaintext

$OpenBSD: patch-lbdb_lib_sh_in,v 1.1.1.1 2008/06/15 07:22:57 sthen Exp $
--- lbdb_lib.sh.in.orig Tue Mar 11 22:51:11 2008
+++ lbdb_lib.sh.in Tue Mar 11 22:51:37 2008
@@ -67,7 +67,7 @@ lbdb_hostname()
if test "x$hn" = "x" ; then
hn=`lbdb_hn_sendmail`
if test "x$hn" = "xNONE" ; then
- for i in /etc/HOSTNAME /etc/hostname ; do
+ for i in /etc/myname /etc/HOSTNAME /etc/hostname ; do
if test -f $i ; then
hn="`cat $i`"
break;