Up to [cvs.NetBSD.org] / pkgsrc / biology / nut
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
nut: removed in favor of biology/nutsqlite
biology: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes
biology: Remove SHA1 hashes for distfiles
Add SHA512 digests for distfiles for biology category. Existing SHA1 digests verified, all found to be the same on the machine holding the existing distfiles (morden). Existing SHA1 digests retained for now as an audit trail.
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.
Update to 14.4: Changes: This release adds a feature that can automatically choose food quantities when a meal is to have a particular amount of fat, protein, or carbohydrate. Currently, you can modify a food quantity from the meal list by typing the food number and a new quantity. For example, "2 100g" means change food #2 to 100 grams. This feature allows the user to type "protein", "carb", or "fat" instead of an explicit new quantity. For example, "2 carb" indicates that you want the second food's quantity changed so that the meal's Daily Value for non-fiber carb is satisfied. * 14.3 Changes: This release modifies the default polyunsaturated fat reference values. * 14.2 Changes: This release revises the default fatty acid reference values. * 14.1 Changes: This release updates the Omega-3 defaults. * 14.0 Changes: This release introduces the new USDA Nutrient Database SR21, and allows current nut installations to have their existing meal records reinterpreted with the new database.
Update nut to 13.2. Should close PR 34466. Pkgsrc changes: Add DESTDIR support. Recent changes (cannot available changes from 10.18 to 12.6 anymore). 13.2: This release makes minor changes to the analysis reset and food suggestion functions. 13.1: This release changes some fatty acid defaults to allow more saturated fat when eating low-carb, and to raise the maximum amount of long-chain Omega-3. 13.0: This release introduces the new USDA Nutrient Database SR20 and allows current NUT installations to have their existing meal records reinterpreted with the new database. 12.7: This release uses a new food name abbreviation algorithm so that food names are more informative and less cryptic.
Update to 10.18. Should fix PR 27404. 10.18: This release contains a fix for the floating point exception on NetBSD-2.0/alpha. 10.17: This release corrects the formatting of the man page and restores the correct alpha-linolenic acid reference value, which was too low in the last release. 10.16: This release fixes a segfault that occurs when analyzing added and subtracted foods that total zero calories. 10.15: This release completes the changing of all calculations to substitute user averages for program constants in the values of calories per gram of carb, fat, and protein, and of the percentage of total fat that is fatty acids. This means that personal options in terms of percentages and ratios will be more precise.
Add RMD160 digests in addition to the SHA1 ones.
Update to 10.14: This release changes some computations to make the nutrient values for packaged foods added from food labels more accurate.
Update to 10.13. New in 10.13: This release fixes the incorrect "Analyze Meals" screen header that says "Record Meals". It fixes the function that guesses recipes of packaged foods, which worked properly but had a variable and a constant of the same value reversed so that user modifications to increase the precision would fail. New in 10.12: The function that guesses the recipes of packaged foods based on the nutrition and ingredient statements has been rewritten. A much faster implementation is achieved by quantizing all the values. This algorithm is a search through all possible recipes because simultaneous equations do not work for this problem. New in 10.11: This release contains a fix for bad Pumpkin Pie values, specifically, null "carb/prot/fat" values for foods for which the USDA does not supply this data. New in 10.10: This release fixes a bug in the function that allows foods to be added from food labels. The carb/protein/fat field was not correct because calories-per-gram fields were not explicitly set. New in 10.9: This release contains a fix for wrong calories-per-gram values when the program starts because it read a float as an integer from the options file. New in 10.8: This release contains many small changes, among them an update of the fatty acid reference values, a removal of the hard-to-obtain "Alaska Native" foods as food suggestions, and a closer approximation when protein or carbs are expressed as a percentage of calories. New in 10.7: This release changes how personal options are saved to disk so that personal options will never be lost across program upgrades. Changes have also been made to how the program upgrades itself on dual-boot systems, and levels of the Omega-3 reference values have been modified. New in 10.6: This release fixes minor bugs related to the "Carb/Prot/Fat" field. Values for alcoholic beverages have been corrected. Also, an error was fixed that led to different fat values based on whether the user input changes to the protein and carb "Daily Values" in percentages or grams. If the two operations led to the same number of grams of protein and carbs, there should have been no difference in the fat value. New in 10.5: This release adjusts the Omega-3 default reference values, for which there are no U.S.A. Daily Values, so that EPA and DHA will be higher and alpha-linolenic acid a little lower. New in 10.4: This release contains two minor design changes to the new feature of the last release, which automatically chooses a meal analysis period. Always choosing integer days, the new version picks the day closest to the target rather than the day before; and allows no period shorter than five days, instead of four. New in 10.3: don't know.
Update to 10.2: This release fixes a computation error in the value for monounsaturated fat when the user sets a fat level higher than the Daily Value.
Update to 10.1: 10.1: This release adds a fix for zero values that display as no data. 10.0: This release updates the USDA Nutrient Database to version SR17, and allows current NUT installations to have their existing meal records reinterpreted with the new database. 9.20: This release optimizes the new code of the last release, the focus of which was distinguishing no data from zero in the USDA database. 9.19: The program now distinguishes between zero values and no data in the USDA database, and uses this information to produce a new screen that lists foods high in some nutrient while minimizing some other nutrient. 9.18: This release contains revisions to the polyunsaturated fatty acid reference values and how they scale up as fats increase and carbs decrease. 9.17: This release provides what may be more reasonable or optimal default settings for fat percentages when the user sets the program for low carb. 9.16: This release contains bugfixes for a segmentation fault which occurred when entering a control-D and a monounsaturated fat reference value that was too high. 9.15: This release makes serving sizes more consistent among food groups. It adds functions to change the default serving size, and to sort foods by nutrients per serving. 9.14: This release adds support for an optional database subdirectory, allowing the user to easily maintain multiple databases, for multiple family members, for instance. It also adds display of non-fiber carbohydrate grams ("net carbs") on the main analysis screen. 9.13: The program now allows commercial foods that have a nutrition label and an ordered ingredients statement to be added to the food database. An approximation to a food's recipe is found that best fits the criteria and the recipe is analyzed to provide information about the additional nutrients not stated on the nutrition label. 9.12: [unknown]
Update to 9.11: New in 9.11: Because the program uses the approximation of 4 calories per gram for carbohydrate and protein to analyze meals according to the "Daily Value" -- although real food has various values for calories per gram -- the program now refigures fat percentage values at each analysis so that when calories, carbs, and protein are each at exactly 100%, fat will be also. New in 9.10: This release fixes a buffer overflow in the food selection function which caused the program to not find certain foods even though they existed in the database. New in 9.9: A bug has been fixed in which during food selection, the program lost the value of the food name key. Also, some of the program's reference values for the essential fatty acids have been modified. New in 9.8: The program now defaults to either grams or ounces, depending on the weight unit the user enters to specify servings. A bug in handling customary meal names that are too long has been fixed. New in 9.7: The program computes essential fatty acid reference values based on the user's diet. Prior releases aimed toward a particular balance of Omega-6 and Omega-3. This release allows the user to specify the balance between Omega-6 and Omega-3 without having to determine the amount of the individual fatty acids. New in 9.6: The program is now capable of understanding food names in simple English, such as "fried chicken" and "mashed potatoes." This is accomplished by including the list of abbreviations the USDA uses and by successively searching for each tokenized term, whatever the order in the USDA name.
Update to 9.5: 9.5: The last release introduced a bug when adding customary meals to regular meals. The program now adds the foods without the additional prompt screen. 9.4: This release changes the method of searching for foods to a substring search. The narrowing-down of food categories to a unique food is the same as in prior releases.
Update to 9.3: This release fixes a bug in the graphs where the "Daily Value" was such a small percentage of the values graphed that the DV line indicator exceeded the graph width.
Update to 9.2: 9.2: The upper limit of the polyunsaturated reference value for linoleic acid has been reduced to 4% of calories, while that for alpha linolenic acid has been raised to 2%. An internal constant for the percentage of total fat that is fatty acids has been replaced by a function that figures it for each analysis. 9.1: The program is no longer limited to three meals a day, and can now be set for 1 to 19 meals per day. A list of the meals not yet recorded for a selected day is displayed as a mnemonic during the "Record Meals" function.
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.
Update to 8.10. Not sure what has changed since 4.x, but I'd guess rather much.
Move to sha1 digests, and add distfile sizes.
+ move the distfile digest/checksum value from files/md5 to distinfo + move the patch digest/checksum values from files/patch-sum to distinfo