summaryrefslogtreecommitdiff
path: root/biology/nut
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-08-11 07:26:00 +0000
committerwiz <wiz@pkgsrc.org>2003-08-11 07:26:00 +0000
commit2e372d02f312e568d46387810640640da93eff6f (patch)
tree0456f030f1816b0b531982a287a2a0f8687b4a38 /biology/nut
parent75f07b26fc9432daab0ec9e898bbf4237ca86460 (diff)
downloadpkgsrc-2e372d02f312e568d46387810640640da93eff6f.tar.gz
Update to 9.0.
Changes: This release introduces the new USDA Nutrient Database, SR16, which has 6,661 foods and 125 nutrients, and includes an automatic conversion feature so that NUT 8.x installations can preserve existing meal records and have them interpreted with the latest USDA database.
Diffstat (limited to 'biology/nut')
-rw-r--r--biology/nut/Makefile4
-rw-r--r--biology/nut/PLIST4
-rw-r--r--biology/nut/distinfo8
-rw-r--r--biology/nut/patches/patch-ab8
4 files changed, 12 insertions, 12 deletions
diff --git a/biology/nut/Makefile b/biology/nut/Makefile
index 12639340ebc..5a4dcc7a059 100644
--- a/biology/nut/Makefile
+++ b/biology/nut/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2003/07/21 16:31:22 martti Exp $
+# $NetBSD: Makefile,v 1.5 2003/08/11 07:26:00 wiz Exp $
-DISTNAME= nut-8.10
+DISTNAME= nut-9.0
CATEGORIES= biology
MASTER_SITES= http://www.lafn.org/~av832/
diff --git a/biology/nut/PLIST b/biology/nut/PLIST
index b4e339573d9..caecdf13ef8 100644
--- a/biology/nut/PLIST
+++ b/biology/nut/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2003/07/12 12:23:12 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2003/08/11 07:26:00 wiz Exp $
bin/nut
man/man1/nut.1
share/nut/FOOD_DES.txt
share/nut/NUT_DATA.txt
share/nut/WEIGHT.txt
-share/nut/sr15.nut
+share/nut/sr16.nut
@dirrm share/nut
diff --git a/biology/nut/distinfo b/biology/nut/distinfo
index 981c218b3c3..f2d77c9eeb0 100644
--- a/biology/nut/distinfo
+++ b/biology/nut/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2003/07/12 12:23:13 wiz Exp $
+$NetBSD: distinfo,v 1.4 2003/08/11 07:26:00 wiz Exp $
-SHA1 (nut-8.10.tar.gz) = 5d69a814ace32f6a50d678af4460d1d3ebce2eaa
-Size (nut-8.10.tar.gz) = 844871 bytes
-SHA1 (patch-ab) = 717e1a502295b1bf57fa9db6e55e00c2b64b5761
+SHA1 (nut-9.0.tar.gz) = dd40b5bf958ad9ea660c6ab60db0a8cfc57ec1ac
+Size (nut-9.0.tar.gz) = 900128 bytes
+SHA1 (patch-ab) = db5aa9edf54a610c890f97b172fd82fd843cfdf7
SHA1 (patch-ac) = 525d65d517f637ed908d1df95672d34713dcf2bd
diff --git a/biology/nut/patches/patch-ab b/biology/nut/patches/patch-ab
index 02d2f30e368..eece45db143 100644
--- a/biology/nut/patches/patch-ab
+++ b/biology/nut/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.2 2003/07/12 12:23:13 wiz Exp $
+$NetBSD: patch-ab,v 1.3 2003/08/11 07:26:01 wiz Exp $
---- db.c.orig Sun Jun 1 01:59:22 2003
+--- db.c.orig Sun Aug 10 22:12:44 2003
+++ db.c
@@ -23,6 +23,7 @@
#include "meal.h"
@@ -10,8 +10,8 @@ $NetBSD: patch-ab,v 1.2 2003/07/12 12:23:13 wiz Exp $
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-@@ -729,7 +730,13 @@ void make_filenames(void)
- sprintf(optionsfile,"%s/%s","NUTDB",optionsfile1);
+@@ -683,7 +684,13 @@ void make_filenames(void)
+ sprintf(versionfile,"%s/%s","NUTDB",versionfile1);
#else
sprintf(nutdir,"%s/%s",getenv("HOME"),nutdir1);
-mkdir (nutdir, 0700 );