Commit graph

65 commits

Author SHA1 Message Date
adrianp
37578e8456 Add include/pcap-int.h which is needed by some programs
Bump to nb2
2005-08-13 07:04:59 +00:00
drochner
0313d10b32 libtoolize, to get a shared library
bump PKGREVISION
2005-08-10 13:48:22 +00:00
drochner
bbf528655e update to 0.9.3
changes: Minor bug fixes, compilation failure fixes for windows.
2005-08-05 16:24:50 +00:00
drochner
4323568256 update to 0.9.1
changes:
        Fixes for compiling on nearly every platform,
	including improved 64bit support
	MSDOS Support
	Add support for sending packets
	OpenBSD pf format support
	IrDA capture (Linux only)

appearently filtering in ieee802_11_radio packets works now
pkgsrc: enabled IPv6 for NetBSD too
2005-07-13 14:31:49 +00:00
salo
b35cc0a5c8 sort. 2005-06-05 18:49:50 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
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.
2005-06-01 18:02:37 +00:00
yyamano
f584d10015 Make this build on Darwin 8.1.0. 2005-05-30 16:46:21 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
07f8b4d35a Mark as NOT_FOR_PLATFORM Interix. 2005-03-12 05:24:50 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
tv
e523b7a93f Add EXTRACT_ELEMENTS to prevent blowup on first extract due to malformed
pathnames in the tarball.
2005-01-26 17:39:55 +00:00
xtraeme
6a18420a6e Lower dependency requirement to 0.5.0, required for some pkgs on
NetBSD with old libpcap.
2005-01-12 15:44:12 +00:00
xtraeme
5ec25f23e8 Use this builtin.mk from pkgsrc-wip, which works for all platforms
and detects a lot of more versions, thanks to Peter Postma.
2005-01-11 21:19:24 +00:00
xtraeme
258990df6e typo, thanks peter. 2005-01-11 20:35:48 +00:00
xtraeme
7948394e42 Always matching 0.8.3 if FreeBSD >= 5.3 2005-01-11 20:11:14 +00:00
xtraeme
98e83bc7e8 FreeBSD >= 5.3 uses libpcap-0.8.3, older versions are using 0.7.x. 2005-01-11 20:06:12 +00:00
xtraeme
5cd7f2f1ca libpcap was updated to 0.8.3 in NetBSD-2.99.9 (more or less), so match
NetBSD<=2.99.8 as 0.7.2, also match future NetBSD versions as 0.8.3.
2005-01-11 19:55:29 +00:00
xtraeme
a935f2713f this should be 0.7.2 not 0.7 2005-01-11 19:34:34 +00:00
xtraeme
24fbf62294 Better checking of libpcap versions, based in heimdal/builtin.mk.
for now we are assumming that:

_LIBPCAP_VERSIONS=      0.8.3  0.7.2
_LIBPCAP_0.8.3=         NetBSD-2.99.9* NetBSD-2.99.1[0-9]*
_LIBPCAP_0.7=           NetBSD-1.[56]* NetBSD-2.0*

Users of other platforms should update this list eventually.
2005-01-11 19:32:17 +00:00
adrianp
4ae9b37297 Add m4 as a required GNU tool to fix current build problems. 2004-10-05 19:00:57 +00:00
tron
8b0ea80904 Remove me as maintainer of this package because I don't use it anymore. 2004-10-05 18:56:33 +00:00
mrg
9ae4aead59 update to libpcap 0.8.3. changes include:
Tue.   March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release

        Fixed minor problem in gencode.c that would appear on 64-bit
        platforms.
        Version number is now sane.

Mon.   March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release

        updates for autoconf 2.5
        fixes for ppp interfaces for freebsd 4.1
        pcap gencode can generate code for 802.11, IEEE1394, and pflog.

Wed.   November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release

        added pcap_findalldevs()
        Win32 patches from NetGroup, Politecnico di Torino (Italy)
        OpenBSD pf, DLT_PFLOG added
        Many changes to ATM support.
        lookup pcap_lookupnet()
        Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
                DLT_IP_OVER_FC, DLT_FRELAY, others.
        Sigh.  More AIX wonderfulness.
        Document updates.
        Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
                        pcap_list_datalinks(), pcap_set_datalink(),
                        pcap_lib_version(), pcap_datalink_val_to_name(),
                        pcap_datalink_name_to_val(), new error returns.
2004-09-28 08:24:42 +00:00
jlam
6b08e4db7c Use BUILDLINK_LDFLAGS.libpcap instead of LDFLAGS. 2004-09-23 04:29:39 +00:00
grant
11aa6c5c5d on Solaris, binaries that use libpcap.a always need -lnsl and -lsocket
for the socket functions.
2004-06-27 12:04:45 +00:00
martti
c0b56782d7 Enable IPv6 support in Linux 2004-06-08 19:04:37 +00:00
wiz
54694e24a5 Unused. 2004-05-12 18:51:41 +00:00
minskim
0c9ad815f5 Enable pkgviews installation. 2004-04-08 18:08:52 +00:00
jlam
6d92080aa2 Match the template builtin.mk file in bsd.builtin.mk, and make the two
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links)
use the new format correctly.
2004-03-29 05:43:28 +00:00
reed
205ab3cc57 Use USE_GNU_TOOLS for lex and yacc instead of just using BUILD_DEPENDS
for SunOS only. Okayed by maintainer, tron@.

(Also this checks for SunOS and /usr/include/netinet/ip6.h for IPv6
support, maybe the OPSYS check can be removed; but this is not
changed in this patch.)
2004-03-11 20:50:07 +00:00
jlam
d0b4c54eb6 Split out the code that deals with checking whether the software is
built-in or not into a separate builtin.mk file.  The code to deal
checking for built-in software is much simpler to deal with in pkgsrc.

The buildlink3.mk file for a package will be of the usual format
regardless of the package, which makes it simpler for packagers to
update a package.

The builtin.mk file for a package must define a single yes/no variable
USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether
to use the built-in software or to use the pkgsrc software.
2004-03-10 17:57:14 +00:00
minskim
c082f90b7a bl3ify 2004-02-18 18:44:37 +00:00
jlam
bf6e059da4 Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in the
environment overrides all other settings.
2004-02-18 16:35:27 +00:00
jlam
d2b62c66fb Create a new variable PREFER_NATIVE that has the opposite semantics
as PREFER_PKGSRC.  Preferences are determined by the most specific
instance of the package in either PREFER_PKGSRC or PREFER_NATIVE.  If
a package is specified in neither or in both variables, then PREFER_PKGSRC
has precedence over PREFER_NATIVE.
2004-02-12 02:35:06 +00:00
jlam
1edfa505ed Reorganize code so that any dependencies are checked as part of deciding
whether the software is built-in or not.  This facilitates implementing
the forthcoming PKGSRC_NATIVE variable.
2004-02-12 01:59:37 +00:00
jlam
317cc72791 Make PREFER_PKGSRC just yes/no or a list of packages. This makes it
simpler to understand.
2004-02-05 07:17:14 +00:00
jlam
e7133cac25 Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its
value outside of buildlink-related files.
2004-02-05 07:06:15 +00:00
jlam
07a9d8dfb2 Support a new global variable:
BUILDLINK_PREFER_PKGSRC
	This variable determines whether or not to prefer the pkgsrc
	versions of software that is also present in the base system.

	This variable is multi-state:
		defined, or "yes"	always prefer the pkgsrc versions
		not defined, or "no"	only use the pkgsrc versions if
					needed by dependency requirements

	This can also take a list of packages for which to prefer the
	pkgsrc-installed software.  The package names may be found by
	consulting the value added to BUILDLINK_PACKAGES in the
	buildlink[23].mk files for that package.
2004-02-05 06:58:02 +00:00
jlam
01a5abff01 Support BUILDLINK_DEPENDS.<pkg> being a list of values. 2004-01-24 03:12:31 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
c9ff27d270 Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables. 2004-01-05 09:31:31 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
jlam
6ea83c6e37 Trivially convert to use buildlink2. 2003-10-06 07:45:06 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
68c4d1014f Update to 0.7.2, enable on NetBSD (builds fine).
Changes:
Support link types that use 802.2 always, never, and sometimes.
Don't decrease the size of the BPF buffer from the default.
Support frame relay.
Handle 32-bit timestamps in DLPI, and pass the right buffer size.
Handle Linux systems with modern kernel but without
SOL_PACKET in the userland headers.
Linux support for ARPHRD_RAWHDLC.
Handle 32-bit timestamps in snoop.
Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
Add new reserved DLT types.
2003-03-25 10:51:13 +00:00
wiz
0a12e7b60b Unused. 2002-10-10 13:30:18 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
seb
b068c91e67 Update libpcap to version 0.7.1.
Enable IPv6 support if /usr/include/netinet/ip6.h exists.

I did not find a way to have a changes summary for version 0.6.2.

Summary for 0.7 release:
- Added pcap_findalldevs() call to get list of interfaces in a MI way.
- pcap_stats() has been documented as to what its counters mean on
  each platform.
2002-02-13 15:25:16 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00