Commit graph

54 commits

Author SHA1 Message Date
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
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
zuntum
6eda541e33 Add one missed file to BUILDILINK_FILES.libpcap -- include/net/bpf.h
Fixes pkg/13876 by Stoned Elipot <Stoned.Elipot@script.jussieu.fr>
2001-09-06 13:22:19 +00:00
abs
4ecfcad72d Work under Linux 2001-08-24 11:13:36 +00:00
wiz
c4525e6dc6 Add buildlink.mk provided by Stoned Elipot in pkg/13739. 2001-08-17 13:19:01 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
tron
0023e07141 Update "libpcap" package to version 0.6.1. Changes since version 0.5:
- New Linux libpcap implementation, which, in 2.2 and later
  kernels, uses PF_PACKET sockets and supports kernel packet
  filtering (if compiled into the kernel), and supports the "any"
  device for capturing on all interfaces.  Cleans up promiscuous
  mode better on pre-2.2 kernels, and has various other fixes
  (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
  doesn't show duplicate packets on loopback interface, etc.).
- Fixed HP-UX libpcap implementation to correctly get the PPA for
  an interface, to allow interfaces to be opened by interface name.
- libpcap savefiles have system-independent link-layer type values
  in the header, rather than sometimes platform-dependent DLT_
  values, to make it easier to exchange capture files between
  different OSes.
- Non-standard capture files produced by some Linux tcpdumps, e.g.
  the one from Red Hat Linux 6.2 and later, can now be read.
- Updated autoconf stock files.
- Filter expressions can filter on VLAN IDs and various OSI
  protocols, and work on Token Ring (with non-source-routed
  packets).
- "pcap_open_dead()" added to allow compiling filter expressions
  to pcap code without opening a capture device or capture file.
- Header files fixed to allow use in C++ programs.
- Removed dependancy on native headers for packet layout.
  Removed Linux specific headers that were shipped.
- Security fixes: Strcpy replaced with strlcpy, sprintf replaced
  with snprintf.
- Fixed bug that could cause subsequent "pcap_compile()"s to fail
  erroneously after one compile failed.
- Assorted other bug fixes.
- README.aix and README.linux files added to describe
  platform-specific issues.
- "getifaddrs()" rather than SIOCGIFCONF used, if available.
2001-01-13 23:04:37 +00:00
veego
1fed4735ce Fix the INSTALL_TARGET line so it actually does a install which installs
the libpcap.a.
2000-12-05 15:47:23 +00:00