pkgsrc/sysutils/pciutils/Makefile
msaitoh ff89a43c90 Update pciutils to 3.7.0.
2020-05-31  Martin Mares <mj@ucw.cz>

	* Released as 3.7.0.

	* Added or improved the following capabilities: Designated
	  Vendor-Specific, Compute eXpress Link, Resizable BARs,
	  VF Resizable BARs, Link Capabilities 2, Link Status 2.

	* On Linux, lspci can show IOMMU groups.

	* setpci can be asked to skip bus scan and operate on a device
	  completely specified by its domain/bus/dev/func address. This
	  involved major internal cleanup.

	* The above feature of setpci uses the pci_get_dev() function,
	  which obtains a struct pci_dev without doing a bus scan. This was
	  always possible, but apparently little used, because back-ends
	  frequently choked when operating on such devices. Fixed a lot
	  of minor bugs related to this.

	* Also, back-ends which do not support domains now correctly fail when
	  trying to access devices outside domain 0.

	* Semantics of pci_fill_info() and pci_dev->known_fields was
	  underspecified, which lead to inconsistencies between back-ends.
	  Improved documentation to give a more precise definition and updated
	  all back-ends to conform to it. Most importantly,
	  pci_dev->known_fields shows all fields requested over the lifetime
	  of the pci_dev, but never those which are not supported by the
	  back-end.

	* As usually, updated pci.ids to the current snapshot of the database.
2020-06-01 15:47:53 +00:00

44 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2020/06/01 15:47:53 msaitoh Exp $
DISTNAME= pciutils-3.7.0
CATEGORIES= sysutils
MASTER_SITES= ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/
MASTER_SITES+= https://www.kernel.org/pub/software/utils/pciutils/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mj.ucw.cz/pciutils.shtml
COMMENT= PCI bus manipulation utility similar to NetBSD pcictl(8)
LICENSE= gnu-gpl-v2
MAKE_JOBS_SAFE= no
ONLY_FOR_PLATFORM= AIX-*-* Darwin-*-* FreeBSD-*-* Linux-*-* NetBSD-*-*
ONLY_FOR_PLATFORM+= DragonFly-*-* OpenBSD-*-* SunOS-5.11-* Haiku-*-*
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
INSTALL_TARGET= install install-lib
USE_TOOLS+= gmake pkg-config
REPLACE_SH= *.sh
PKGCONFIG_OVERRIDE= lib/libpci.pc.in
OPSYSVARS+= PCIUTILS_LIBNAME
PCIUTILS_LIBNAME.NetBSD= pciutils
PCIUTILS_LIBNAME.*= pci
PLIST_SUBST+= PCIUTILS_LIBNAME=${PCIUTILS_LIBNAME}
SUBST_CLASSES= pc
SUBST_FILES.pc= lib/libpci.pc.in
SUBST_MESSAGE.pc= Fixing library link specification in pkg-config file.
SUBST_STAGE.pc= pre-configure
SUBST_VARS.pc= PCIUTILS_LIBNAME
SUBST_CLASSES.SunOS+= dns
SUBST_MESSAGE.dns= Disabling DNS support on Solaris
SUBST_STAGE.dns= pre-configure
SUBST_FILES.dns= Makefile
SUBST_SED.dns= -e 's/^DNS=/DNS=no/'
.include "../../mk/bsd.pkg.mk"