notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
ndiff Compare files, ignoring numeric differences
2.00_5 math on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.00_5Version of this port present on the latest quarterly branch.
Maintainer: pizzamig@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2004-02-18 23:38:02
Last Update: 2024-03-10 08:59:05
Commit Hash: bf8a003
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
License: GPLv2
WWW:
https://www.math.utah.edu/~beebe/software/ndiff/
Description:
ndiff is a utility for comparing putatively similar files, ignoring small numeric differences. The utility is written by Nelson H. F. Beebe and covered by the GNU General Public License (GPL), version 2. It may be built with arbitrary precision support (more powerful) or using built-in floating point precision, see Makefile. Assessing the consistency of a numerical program run in multiple environments (operating systems, architectures, or compilers) can be a difficult task for a human, as small differences in numerical output values are expected. File differencing utilites, such as diff(1), will generally produce voluminous output, often longer than the original files. ndiff solves this problem. Taking two text files expected to be identical, or at least numerically similar, it allows to specify absolute and/or relative error tolerances for differences between numerical values in the two files, and then reports only the lines with values exceeding those tolerances. It also tells by how much they differ. A simple example: % ndiff --relative-error 1.0e-3 test019.txt.1 test019.txt.2 ### Maximum relative error in matching lines = 8.64e-51 at line 129 field 4
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (6 items)
Collapse this list.
  1. bin/ndiff
  2. share/man/man1/ndiff.1.gz
  3. share/ndiff/ndiff.awk
  4. /usr/local/share/licenses/ndiff-2.00_5/catalog.mk
  5. /usr/local/share/licenses/ndiff-2.00_5/LICENSE
  6. /usr/local/share/licenses/ndiff-2.00_5/GPLv2
Collapse this list.
Dependency lines:
  • ndiff>0:math/ndiff
To install the port:
cd /usr/ports/math/ndiff/ && make install clean
To add the package, run one of these commands:
  • pkg install math/ndiff
  • pkg install ndiff
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ndiff
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (ndiff-2.00.tar.gz) = f2bbd9a2c8ada7f4161b5e76ac5ebf9a2862cab099933167fe604b88f000ec2c SIZE (ndiff-2.00.tar.gz) = 230850

Packages (timestamps in pop-ups are UTC):
ndiff
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.00_52.00_52.00_42.00_52.00_5-2.00_4-
FreeBSD:13:quarterly2.00_52.00_52.00_42.00_52.00_52.00_42.00_42.00_4
FreeBSD:14:latest2.00_52.00_52.00_42.00_52.00_52.00_4-2.00_4
FreeBSD:14:quarterly2.00_52.00_5-2.00_52.00_52.00_42.00_42.00_4
FreeBSD:15:latest2.00_52.00_5n/a2.00_5n/a2.00_42.00_42.00_4
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for ndiff-2.00_5: DOCS=on: Build and/or install documentation GMP=off: GMP (multiple precision arithmetic) support ===> Use 'make config' to modify these settings
Options name:
math_ndiff
USES:
desthack
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. ftp://ftp.math.utah.edu/pub/misc/
Collapse this list.

Number of commits found: 26

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.00_5
10 Mar 2024 08:59:05
commit hash: bf8a0031d97ff4c1fc019d7061085bdc38484365commit hash: bf8a0031d97ff4c1fc019d7061085bdc38484365commit hash: bf8a0031d97ff4c1fc019d7061085bdc38484365commit hash: bf8a0031d97ff4c1fc019d7061085bdc38484365 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
*: Move manpages to share/man

Approved by:	portmgr (blanket)
2.00_4
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2.00_4
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.00_4
20 Jul 2022 14:22:24
commit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5dacommit hash: f53eb28489aa8f30712cd8772d1a0e05c394a5da files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
math: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Alessando Sagratini <ale_sagra@hotmail.com>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Amarendra Godbole <amarendra.godbole@gmail.com>
  *  Anders Nordby <anders@FreeBSD.org>
  *  Andreas Fehlner (fehlner@gmx.de)
  *  Andrew L. Neporada <andrew@chg.ru>
  *  Andrey <gugu@zoo.rambler.ru>
  *  Andrey Zakhvatov
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.00_4
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.00_4
29 Aug 2017 13:05:21
Revision:448911Original commit files touched by this commit
pizzamig search for other commits by this committer
Change MAINTAINER email to my new FreeBSD email

Approved by:	lme (mentor)
Approved by:	olivier (mentor)
Differential Revision:	https://reviews.freebsd.org/D12150
2.00_4
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
2.00_4
20 Dec 2014 19:15:32
Revision:375097Original commit files touched by this commit
bapt search for other commits by this committer
cleanup plist
2.00_4
07 Feb 2014 14:58:07
Revision:343255Original commit files touched by this commit
nemysis search for other commits by this committer
- Fix typo

Reported by:	maintainer
2.00_4
03 Feb 2014 11:09:44
Revision:342419Original commit files touched by this commit
nemysis search for other commits by this committer
- Remove PKGNAMEPREFIX
- Change comment
- Pass maintainership to submitter
- Add license (GPLv2)
- Support STAGEDIR
- Simplify Option handling, change GMP Option
- Add USES desthack, change REINPLACE and patch-Makefile.in
- Use PLIST_FILES and PLIST_DIRS instead of pkg-plist
- Change DOCS and add DOCS Option

PR:		ports/186243
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
2.00_4
20 Sep 2013 20:55:06
Revision:327746Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
math)
2.00_4
08 Jan 2012 07:01:25
Original commit files touched by this commit
eadler search for other commits by this committer
Repeated words are are hard to to find sometimes.

Approved by:    portmgr (itetcu)
2.00_4
23 Sep 2011 22:26:39
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:             157936
Submitted by:   myself
Exp-runs by:    pav
Approved by:    pav
2.00_4
20 Mar 2011 12:54:45
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
2.00_4
19 Apr 2010 10:43:43
Original commit files touched by this commit
ale search for other commits by this committer
Switch to use newer GMP version.

PR:             ports/144487
Submitted by:   ale
Approved by:    portmgr (-exp run by erwin)
2.00_3
21 Dec 2009 02:19:12
Original commit files touched by this commit
dougb search for other commits by this committer
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
2.00_3
13 May 2009 09:46:02
Original commit files touched by this commit
ale search for other commits by this committer
Chase libgmp and bump PORTREVISION.
2.00_2
05 Jan 2009 21:05:49
Original commit files touched by this commit
pav search for other commits by this committer
- Remove conditional checks for FreeBSD 5.x and older
2.00_2
10 May 2006 22:37:39
Original commit files touched by this commit
edwin search for other commits by this committer
Remove USE_REINPLACE from ports starting with M
2.00_2
10 May 2006 14:46:48
Original commit files touched by this commit
ale search for other commits by this committer
Chase gmp library and bump PORTREVISION.
2.00_1
25 Nov 2005 15:48:16
Original commit files touched by this commit
pav search for other commits by this committer
- Add SHA256
2.00_1
16 Dec 2004 07:08:25
Original commit files touched by this commit
glewis search for other commits by this committer
. Respect hier(7).
. Use a better ALL_TARGET.  Having check as part of it tried to install
  some files.  Use check-runs to achieve the desired testing without
  doing any installation.
. ${INSTALL_MAN} -> ${INSTALL_DATA} for doc installation (they aren't
  manual pages).
2.00_1
24 Nov 2004 21:40:41
Original commit files touched by this commit
kris search for other commits by this committer
Add missing directory

XXX This port doesn't seem to conform to hier(7)
2.00_1
02 Jun 2004 17:18:39
Original commit files touched by this commit
netchild search for other commits by this committer
Deal with the libgmp dependency properly:
- Don't depend on math/libgmp-freebsd on FreeBSD <= 500023, use the base
  libgmp instead. On FreeBSD > 500023 depend on math/libgmp4, as
  math/libgmp-freebsd doesn't build on all architectures.
- Don't add PREFIX/include and PREFIX/lib to the search paths by default,
  so on FreeBSD 4 the base libgmp is used. This protects from using one of
  the libgmp ports if installed without registering a dependency on it.
- Keep from auto-detecting libgmp when WITHOUT_GMP is defined by specifying
  the arithmetic to use.
  Note: When using auto-detection and libgmp can't be found ndiff normally
  would check for extended precision arithmetic first and succeed with it.
  But using extended precision arithmetic causes the test suite to fail
  (i.e. lots of differences) on all architectures expect sparc64. Therefore
  specify double precision arithmetic for all other architectures when built
  with WITHOUT_GMP.

Submitted by:   marius
2.00
18 Feb 2004 22:02:39
Original commit files touched by this commit
glewis search for other commits by this committer
Add a port of ndiff:

ndiff is a utility for comparing putatively similar files, ignoring small
numeric differences.  The utility is written by Nelson H.  F. Beebe and
covered by the GNU General Public License (GPL), version 2.  It may be
built with arbitrary precision support (more powerful) or using built-in
floating point precision, see Makefile.

Assessing the consistency of a numerical program run in multiple
environments (operating systems, architectures, or compilers) can be a
difficult task for a human, as small differences in numerical output values
are expected.  File differencing utilites, such as diff(1), will generally
produce voluminous output, often longer than the original files.

ndiff solves this problem. Taking two two text files expected to be
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 26