NetBSD Problem Report #43776
From www@NetBSD.org Tue Aug 17 23:59:08 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id E143B63BBEB
for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Aug 2010 23:59:08 +0000 (UTC)
Message-Id: <20100817235908.7B08363BBBD@www.NetBSD.org>
Date: Tue, 17 Aug 2010 23:59:08 +0000 (UTC)
From: kamelderouiche@yahoo.com
Reply-To: kamelderouiche@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: Update biology/nut to 15.7
X-Send-Pr-Version: www-1.0
>Number: 43776
>Category: pkg
>Synopsis: Update biology/nut to 15.7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: obache
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 18 00:00:00 +0000 2010
>Closed-Date: Sun Sep 19 07:54:55 +0000 2010
>Last-Modified: Sun Sep 19 07:55:02 +0000 2010
>Originator: Derouiche
>Release: NetBSD 5.0.2
>Organization:
>Environment:
NetBSD Khaarasan 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb 6 17:53:27 UTC 2010 builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
pkgsrc-changes:
==============
o update version to 15.7
o change raw.data directory target share/examples/nut
>How-To-Repeat:
n/a
>Fix:
$ diff -ruN Makefile.orig Makefile
--- Makefile.orig 2010-08-17 23:13:09.000000000 +0000
+++ Makefile 2010-08-18 00:52:50.000000000 +0000
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.25 2008/01/30 05:43:55 obache Exp $
+# $NetBSD$
+#
-DISTNAME= nut-14.4
+DISTNAME= nut-15.7
CATEGORIES= biology
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nut/}
+MASTER_SITES= http://garr.dl.sourceforge.net/project/nut/nut/15.7/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://nut.sourceforge.net/
COMMENT= Record what you eat and analyze your meals
LICENSE= gnu-gpl-v2
+
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= nut
@@ -19,12 +21,11 @@
SUBST_FILES.path= Makefile
SUBST_SED.path= -e 's|/usr/local/lib|${PREFIX}/share|g'
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/nut
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nut ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/nut
- ${INSTALL_DATA} ${WRKSRC}/raw.data/* ${DESTDIR}${PREFIX}/share/nut
+ ${INSTALL_DATA} ${WRKSRC}/raw.data/* ${DESTDIR}${PREFIX}/share/examples/nut
${INSTALL_MAN} ${WRKSRC}/nut.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
$ diff PLIST.orig PLIST
1c1
< @comment $NetBSD: PLIST,v 1.6 2009/06/14 17:34:34 joerg Exp $
---
> @comment $NetBSD$
4,8c4,8
< share/nut/FOOD_DES.txt
< share/nut/NUT_DATA.txt
< share/nut/WEIGHT.lib
< share/nut/WEIGHT.txt
< share/nut/sr21.nut
---
> share/examples/nut/FOOD_DES.txt
> share/examples/nut/NUT_DATA.txt
> share/examples/nut/WEIGHT.lib
> share/examples/nut/WEIGHT.txt
> share/examples/nut/sr22.nut
>Release-Note:
>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/43776: Update biology/nut to 15.7
Date: Wed, 18 Aug 2010 15:15:24 +0900
On Wed, 18 Aug 2010 09:00:01 +0900, <kamelderouiche@yahoo.com> wrote:
> o change raw.data directory target share/examples/nut
Do you think that bundled raw.data should not be used by default? Why?
Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 19 Sep 2010 07:54:55 +0000
Responsible-Changed-Why:
I've updated this package.
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 19 Sep 2010 07:54:55 +0000
State-Changed-Why:
Updated to 15.8.
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43776 CVS commit: pkgsrc/biology/nut
Date: Sun, 19 Sep 2010 07:52:20 +0000
Module Name: pkgsrc
Committed By: obache
Date: Sun Sep 19 07:52:19 UTC 2010
Modified Files:
pkgsrc/biology/nut: Makefile PLIST distinfo
pkgsrc/biology/nut/patches: patch-ab
Log Message:
Update nut to 15.8.
Based on PR#43776 by Kamel Derouiche for 15.7.
What's new in nut 15.8:
* This release updates the USDA database to include some data corrections for
milk.
* The program's initial data load is now considerably faster.
What's new in nut 15.7:
* This version includes an improvement to the automatic calorie tool to make it
better able to hold fat mass or lean mass constant.
* Also, there is now a facility to explicitly set the ratio between linoleic
and alpha-linolenic acids.
What's new in nut 15.0:
* This release introduces the new USDA Nutrient Database SR22 and allows
current nut installations to have their existing meal records reinterpreted
with the new database.
What's new in nut 14.5a:
* The new feature "Weight Log Regression" does not tell you what you weigh;
what it does is apply linear regression to a series of daily weight and body
fat percentage entries to smooth out the random noise and tell you which
direction your weight is trending, how fast it is going there, and how much
of the change is lean or fat.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/biology/nut/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/biology/nut/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/biology/nut/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/biology/nut/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.