DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th June 2015
bceverly bceverly is offline
Shell Scout
 
Join Date: Mar 2015
Posts: 88
Question N00b question - /etc/man.conf

Hi everyone,

I recently installed a utility from source (tarsnap) and its 'make install' put its manpages in /usr/local/share/man

Instead of moving the files I'd like to just add them into my local system's search path for the man command. After reading and re-reading the manpage for man.conf I thought I had it figured out. I would just add this to the bottom of the /etc/man.conf file:

tarsnap /usr/local/share/man/

(note the trailing slash - that is supposed to signify a directory according to my reading of the documentation)

Given that, I would think I could do:

man -s tarsnap tarsnap-keygen

and I would see the manpage for 'tarsnap-keygen'. Unfortunately it didn't work for me.

Is there something wrong with the syntax of my line I added to /etc/man.conf or is there a process I have to go through to manually rebuild an index or something to pick up my change?

Thanks in advance for any help you can provide.
Reply With Quote
  #2   (View Single Post)  
Old 16th June 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I've never touched man.conf, but from my reading of the man page you are missing the manpath keyword, and the word "tarsnap" is not a valid keyword. See /etc/examples/man.conf as a guide.

You might find it easier/faster/better to build the sysutils/tarsnap port, which takes care of positioning the installation files according to hier(7), for you.

As a tarsnap user, you may be interested in two additional ports. I've ported both ACTS and tarsnap-gui. They are not committed, but are available from the ports@ mailing list archives:

ACTS: http://marc.info/?l=openbsd-ports&m=142940622817549&w=2
tarsnap-gui: http://marc.info/?l=openbsd-ports&m=143419703116513&w=2
Reply With Quote
  #3   (View Single Post)  
Old 16th June 2015
bceverly bceverly is offline
Shell Scout
 
Join Date: Mar 2015
Posts: 88
Default

Cool! Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
n00b question: how to cross-compile NetBSD Plast0000 NetBSD General 8 1st April 2015 11:50 AM
n00b question: why doesn't this mount work? raindog308 OpenBSD General 1 13th November 2014 04:20 PM
edonkey n00b question disappearedng FreeBSD General 5 17th November 2008 10:09 AM
n00b Eclipse question disappearedng FreeBSD General 3 3rd November 2008 05:29 PM
n00b question, installed theme via ports. How to use it? disappearedng FreeBSD General 1 25th June 2008 07:26 PM


All times are GMT. The time now is 11:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick