From nobody@FreeBSD.org  Mon May  8 17:34:17 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 80A0016A413
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 May 2006 17:34:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DB5F043D55
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 May 2006 17:34:16 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k48HYE6Y065094
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 8 May 2006 17:34:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k48HYEjK065061;
	Mon, 8 May 2006 17:34:14 GMT
	(envelope-from nobody)
Message-Id: <200605081734.k48HYEjK065061@www.freebsd.org>
Date: Mon, 8 May 2006 17:34:14 GMT
From: Sideris Michael <msid@daemons.gr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: nanoblogger port "bug"
X-Send-Pr-Version: www-2.3

>Number:         96985
>Category:       ports
>Synopsis:       nanoblogger port "bug"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 08 17:40:16 GMT 2006
>Closed-Date:    Sat Jun 03 22:57:29 GMT 2006
>Last-Modified:  Sat Jun 03 22:57:29 GMT 2006
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon May 8 23:19:27 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96985 

From: "Julien Gabel" <jpeg@thilelli.net>
To: "Sideris Michael" <msid@daemons.gr>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/96985: nanoblogger port "bug".
Date: Tue, 9 May 2006 07:23:46 +0200 (CEST)

 Hello,
 
 These variables are sourced by the nb master script, and are defined in
 the "nb.conf" file (this is the global configuration file).  By default,
 the port put a fresh example in /usr/local/etc.  This is normally explained
 in the post installation step of the NanoBlogger port.  After the
 installation, you can (re)read it using:
 
 
 # pkg_info -D /var/db/pkg/nanoblogger
 Information for nanoblogger:
 
 Install notice:
 POST-INSTALLATION NOTES:
 
 Before you can use NanoBlogger, you will have to create a global
 configuration file to set defaults information and paths to template
 files.
 
 A sample configuration file has been installed in:
  /usr/local/etc/nb.conf.sample
 
 Since there are already some sensible default settings, you can begin with:
  # cp /usr/local/etc/nb.conf.sample /usr/local/etc/nb.conf
 
 
 So, this certainly means you didn't have a valid /usr/local/etc/nb.conf
 file.
 
 -- 
 -jpeg.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: edwin 
State-Changed-When: Sat Jun 3 22:57:18 UTC 2006 
State-Changed-Why:  
Closed on maintainers request 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96985 
>Unformatted:
