ports/96985: nanoblogger port "bug"

Sideris Michael msid at daemons.gr
Mon May 8 17:40:18 UTC 2006


>Number:         96985
>Category:       ports
>Synopsis:       nanoblogger port "bug"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 08 17:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Sideris Michael
>Release:        6.1-STABLE
>Organization:
none
>Environment:
FreeBSD snail.lan 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon May  8 07:15:17 EEST 2006     root at snail.lan:/usr/obj/usr/src/sys/SALIGKARI  i386
>Description:
The nanoblogger port is not functioning as it should. By default the "nb" executable is missing the variables that hold the names of the template files. Thus, when you attempt to rebuild your blog and update all the files it fails to do so, saying that a template file does not exist.
>How-To-Repeat:
Install nanoblogger, create a blog and try to update all the entries using "nb -u all".
>Fix:
Edit /usr/local/bin/nb adding the following lines along with the other variable declarations near the beginning of the file:

MAIN_TEMPLATE="main_index.htm"
MAINLINKS_TEMPLATE="main_links.htm"
MAKEPAGE_TEMPLATE="makepage.htm"
MONTH_TEMPLATE="month_archive.htm"
PERMANLINK_TEMPLATE="permalink.htm"
PERMANLINKENTRY_TEMPLATE="permalink_entry.htm"
ENTRY_TEMPLATE="entry.htm"
CATEGORY_TEMPLATE="category_archive.htm"

I guess there is something wrong with the "FreeBSD version" of nanoblogger cause it works by default in other OSs I have tried. Maybe it would be a good idea for these values to be inlcuded with the existing port patch.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list