notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
ndiff Compare files, ignoring numeric differences
2.00_4 math on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
2.00Version 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: 2017-08-29 14:05:21
SVN Revision: 448911
License: GPLv2
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

WWW: http://www.math.utah.edu/~beebe/software/ndiff/
SVNWeb : Homepage
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (6 items)
  1. bin/ndiff
  2. man/man1/ndiff.1.gz
  3. share/ndiff/ndiff.awk
  4. /usr/local/share/licenses/ndiff-2.00_4/catalog.mk
  5. /usr/local/share/licenses/ndiff-2.00_4/LICENSE
  6. /usr/local/share/licenses/ndiff-2.00_4/GPLv2
  7. 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: pkg install ndiff

PKGNAME: ndiff

There is no flavor information for this port.

distinfo:

SHA256 (ndiff-2.00.tar.gz) = f2bbd9a2c8ada7f4161b5e76ac5ebf9a2862cab099933167fe604b88f000ec2c
SIZE (ndiff-2.00.tar.gz) = 230850

There are no ports dependent upon this port


Configuration Options
===> The following configuration options are available for ndiff-2.00_4:
     DOCS=on: Build and/or install documentation
     GMP=off: GMP (multiple precision arithmetic) support
===> Use 'make config' to modify these settings

USES:
desthack

Master Sites:
  1. ftp://ftp.math.utah.edu/pub/misc/

Number of commits found: 20

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
29 Aug 2017 13:05:21
Original commit files touched by this commit  2.00_4
Revision:448911
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
01 Apr 2016 14:16:20
Original commit files touched by this commit  2.00_4
Revision:412348
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

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

Reported by:	maintainer
03 Feb 2014 11:09:44
Original commit files touched by this commit  2.00_4
Revision:342419
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>
20 Sep 2013 20:55:06
Original commit files touched by this commit  2.00_4
Revision:327746
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
math)
08 Jan 2012 07:01:25
Original commit files touched by this commit  2.00_4

eadler search for other commits by this committer
Repeated words are are hard to to find sometimes.

Approved by:    portmgr (itetcu)
23 Sep 2011 22:26:39
Original commit files touched by this commit  2.00_4

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
20 Mar 2011 12:54:45
Original commit files touched by this commit  2.00_4

miwi search for other commits by this committer
- Get Rid MD5 support
19 Apr 2010 10:43:43
Original commit files touched by this commit  2.00_4

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)
21 Dec 2009 02:19:12
Original commit files touched by this commit  2.00_3

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.
13 May 2009 09:46:02
Original commit files touched by this commit  2.00_3

ale search for other commits by this committer
Chase libgmp and bump PORTREVISION.
05 Jan 2009 21:05:49
Original commit files touched by this commit  2.00_2

pav search for other commits by this committer
- Remove conditional checks for FreeBSD 5.x and older
10 May 2006 22:37:39
Original commit files touched by this commit  2.00_2

edwin search for other commits by this committer
Remove USE_REINPLACE from ports starting with M
10 May 2006 14:46:48
Original commit files touched by this commit  2.00_2

ale search for other commits by this committer
Chase gmp library and bump PORTREVISION.
25 Nov 2005 15:48:16
Original commit files touched by this commit  2.00_1

pav search for other commits by this committer
- Add SHA256
16 Dec 2004 07:08:25
Original commit files touched by this commit  2.00_1

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).
24 Nov 2004 21:40:41
Original commit files touched by this commit  2.00_1

kris search for other commits by this committer
Add missing directory

XXX This port doesn't seem to conform to hier(7)
02 Jun 2004 17:18:39
Original commit files touched by this commit  2.00_1

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
18 Feb 2004 22:02:39
Original commit files touched by this commit  2.00

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: 20

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
zncJun 22
firefoxJun 21
firefox-esrJun 21
thunderbirdJun 21
thunderbirdJun 21
firefox*Jun 20
firefox-esr*Jun 20
vlcJun 20
vlcJun 20
waterfox*Jun 20
ImageMagick6*Jun 17
ImageMagick6-nox11*Jun 17
ImageMagick7*Jun 17
ImageMagick7-nox11*Jun 17
GraphicsMagickJun 16

16 vulnerabilities affecting 123 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-06-22 13:48:42


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36725
Broken 84
Deprecated 121
Ignore 306
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 32
Expired 14
Set to expire 91
Interactive 0
new 24 hours 5
new 48 hours12
new 7 days33
new fortnight69
new month176

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.