Date: Mon, 8 May 2006 17:34:14 GMT From: Sideris Michael <msid@daemons.gr> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/96985: nanoblogger port "bug" Message-ID: <200605081734.k48HYEjK065061@www.freebsd.org> Resent-Message-ID: <200605081740.k48HeGei084400@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605081734.k48HYEjK065061>