Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
v0.69 make distclean should now also remove "rej" files.
Antonio Querubin: update getopt.h . More cleanups using
new infrastructure.
rcw: Fixed IPV6 support: When compiled in an IPV6-supporting
environment, but when the kernel doesn't support IPV6, mtr would
fail to start.
v0.68 included some old patches.
included patch from Antonio Querubin for better IPV6 support
restructured some more whitespace.
added mtr.h where "global" things should go. Not finished
moving things around, but now that the infrastructure is there,
it should be easy.
v0.67 Bad keyboarding by REW caused this one out the door. Sorry.
No changes.
v0.66 Through the Debian bugtracking system a bug report and
fix was sent my way, that deals with stupid optmization
trying to save some 768 bytes of memory, sacrificing "it
works" on a different architecture... (default char signedness)
libtermcap == libcurses on Solaris 9 but it lacks the wattr_{on,off}
functions and the configure script doesn't check for them.
no PKGREVISION bump as this was already depending on ncurses where
appropriate.
Changes since 0.54:
v0.65 Dancer Vesperman noted that mtr no longer traces past
a section of non-responding hosts. Apparently I added
a line in net.c that didn't make sense in mtr-0.56. I
can't find the reason for adding that line, so someone
who thinks (s)he needs it, should holler.
v0.64 Philippe suggests to do the time_t thingy before socket.h.
Apparently, MAC OS X doesn't compile socket.h otherwise.
v0.63 Suggestion by RCW: Add -lm at line 70 of Configure.in.
On my system no ill effects ensued, so this version released
so that he can test if it still works on his sytem.
Let me add that it's stupid that I have to specify that this
this program now requires Automake version 1.5 to build, where
Automake was intended to make software independent of different
versions of build software!
For those concerned about the above statement: If you're just
trying to compile and use MTR, there is no need for automake.
Just when you're messing with the configure and build system of
mtr is automake a tool you need.
v0.62 Apparently someone changed gethostbyname into gethostbyname2
in mtr.c in an attempt to add IPV6 support. For systems without
ipv6 support, the old gethostbyname should be used! Linux
has the call even if you don't enable IPV6. Thanks Gary (rsub)
v0.61 Attempt to get/print the local IP address. Now shows as
0.0.0.0 :-( Hints and tips appreciated! -- REW
Lots of blank space reformatting.
moved the interface address setting to net.c (where it
belongs).
v0.60 John Thacker submitted a surprisingly simple patch to
enable linking against GTK2. (up to 2.4.0)
v0.59 Josh Martin suggested to add some bounds checking to
the dynamic field code. This caused me to delve in, and
rewrite some things. Now 50 lines of code less, but cleaner
code. :-)
v0.58 I don't remember. Fogot to update this. :-( Check the
patch.
v0.57 Lots of whitespace cleanups. And a DNS fix: Don't do DNS
lookups in raw mode with -n specified.
v0.56 Fixed compile warnings. Now compiles with -Wall. If your
compiler finds things mine didn't feel free to shout.
v0.55 Cleanup patch. I'm going to do some maintenance on MTR,
but I want to be able to say: Can you see which version
fixed/broke things for you, so you're going to see a
bunch of new releases soon.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
curses.buildlink2.mk. This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.
We should have a better way to say that the NetBSD curses doesn't
quite work well enough. In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages. We will look into this again in the future.
v0.51 Fixed the bug introduced by the previous select loop fix...
Thanks Evgeniy
v0.50 Make "interface address" option work.
Changes to "select" loop to allow window resizes (select
interruption) to work. Thanks Mike!
v0.49 Fix compilation problems on several platforms.
v0.48 Draw names in red (GTK) or bold (Curses) if host doesn't
respond.
v0.47 Fixed a (believed-) non-exploitable bufferoverflow.
Thanks Damian.
v0.46 Included patch to be able to specify outgoing interface
address.
v0.45 People are pressuring me to release new versions with their
changes. That's fine. Now this version just adds dynamic
switching between numeric / dns names, and some minor
stuff I forgot. This release serves as a code-sycn-release.
new version with even more new stuff in about two weeks!
I'm afraid I don't know how to fix the MaxOS-X compilation
problems in the source. Help wanted...
v0.44 David Stone adds the "last" column to the gtk version.
v0.43 Compile fixes.
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.
Example #1:
DISTNAME= foo-X.Y
PKGREVISION= Z
=> PKGNAME= foo-X.YnbZ
Example #2:
DISTNAME= barthing-X.Y
PKGNAME= bar-X.Y
PKGREVISION= Z
=> PKGNAME= bar=X.YnbZ (!)
On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.