Bug 243479 - net/ocserv: man page is empty
Summary: net/ocserv: man page is empty
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Carlos J. Puga Medina
Depends on:
Reported: 2020-01-21 04:24 UTC by Mohamed Akram
Modified: 2020-07-25 16:41 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (cpm)

svn-diff-man-ocserv (680 bytes, patch)
2020-01-31 23:40 UTC, Walter Schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mohamed Akram 2020-01-21 04:24:50 UTC
When I do `man ocserv` it shows me a blank page.

$ ls -l /usr/local/man/man8/ocserv.8.gz
-r--r--r--  1 root  wheel  20 Jan 17 02:16 /usr/local/man/man8/ocserv.8.gz

$ zcat /usr/local/man/man8/ocserv.8.gz | wc
       0       0       0
Comment 1 Walter Schwarzenfeld freebsd_triage 2020-01-31 23:40:28 UTC
Created attachment 211231 [details]

For any reason the ronn commands in the ${WRKSRC}/doc/Makefile does not work.
Maybe, this patch is a workaround or you find a way to correct the doc/Makefile.


Btw, a new version of ocserv exists: 0.12.6 (28.12.2019)

In this version all three manpages (ocserv.8, ocpasswd.8 and occtl.8 must created with ronn -r)
Comment 2 Walter Schwarzenfeld freebsd_triage 2020-02-01 11:23:20 UTC
Did we need the "merge" of ocserv.8 and sample.conf in Makefile.am:

=> sed -e '/@CONFIGFILE@/{r sample.config' -e 'd}' <$< >ocserv.tmp

if we have the same in  /usr/local/etc/ocserv/conf.sample?