pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/50106: misc/pciids update and use by x11/libpciaccess



The following reply was made to PR pkg/50106; it has been noted by GNATS.

From: David Shao <davshao%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/50106: misc/pciids update and use by x11/libpciaccess
Date: Wed, 9 Sep 2015 23:59:30 -0700

 Sorry for the blunder about the constantly changing versions of pci.ids.
 
 Below is a patch that will match what FreeBSD ports does.
 Unfortunately the version for pciids is now 20150901 previous to
 20150907.  Fortunately I believe that since the only effect of pciids
 is to install a data file at /usr/pkg/share/pciids/pci.ids, something
 similar to what I have tested:
 
 pkg_delete -f pciids-20150907
 cd /usr/pkgsrc/misc/pciids
 make clean && make install package clean
 
 should replace pci.ids with something replicable.
 
 As an aside, is the
 
 INSTALLATION_DIRS=    share/pciids
 ...
 
 do-install:
 ${INSTALL_DATA} ${WRKSRC}/pci.ids ${DESTDIR}${PREFIX}/share/pciids
 
 equivalent to the previous
 
 do-install:
 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/pciids
 ${INSTALL_DATA} ${WRKSRC}/pci.ids ${DESTDIR}${PREFIX}/share/pciids
 
 Finally here is the patch.
 
 diff -Nurb pciids.orig/Makefile pciids/Makefile
 --- pciids.orig/Makefile    2015-09-07 06:15:39.804229000 -0700
 +++ pciids/Makefile    2015-09-09 23:35:49.949445000 -0700
 @@ -1,22 +1,19 @@
  # $NetBSD: Makefile,v 1.10 2015/09/07 08:55:57 wiz Exp $
 
 -DISTNAME=    pci.ids
 -PKGNAME=    pciids-20150907
 +DISTNAME=    pciids-20150901
  CATEGORIES=    misc
 -MASTER_SITES=    http://pci-ids.ucw.cz/v2.2/
 -EXTRACT_SUFX=    .bz2
 +MASTER_SITES=    ${MASTER_SITE_FREEBSD_LOCAL:=sunpoet/}
 +EXTRACT_SUFX=    .tar.xz
 
  MAINTAINER=    mark%coris.org.uk@localhost
  HOMEPAGE=    http://pciids.sourceforge.net/
  COMMENT=    Repository of PCI IDs (pci.ids database)
  LICENSE=    modified-bsd OR gnu-gpl-v2
 
 -DIST_SUBDIR=    ${PKGNAME_NOREV}
 -
  INSTALLATION_DIRS=    share/pciids
  NO_BUILD=        yes
 
  do-install:
 -    ${INSTALL_DATA} ${WRKDIR}/pci.ids ${DESTDIR}${PREFIX}/share/pciids
 +    ${INSTALL_DATA} ${WRKSRC}/pci.ids ${DESTDIR}${PREFIX}/share/pciids
 
  .include "../../mk/bsd.pkg.mk"
 diff -Nurb pciids.orig/distinfo pciids/distinfo
 --- pciids.orig/distinfo    2015-09-07 06:15:39.804229000 -0700
 +++ pciids/distinfo    2015-09-09 23:18:35.841779000 -0700
 @@ -1,5 +1,5 @@
 -$NetBSD: distinfo,v 1.7 2015/09/07 08:55:57 wiz Exp $
 +$NetBSD$
 
 -SHA1 (pciids-20150907/pci.ids.bz2) = d725f7bf3c868e2d9a133d0c6ee55c5185575f28
 -RMD160 (pciids-20150907/pci.ids.bz2) = bbf85850096ea5909ce16a1ca1dbbdc73924d1c0
 -Size (pciids-20150907/pci.ids.bz2) = 219031 bytes
 +SHA1 (pciids-20150901.tar.xz) = caf0b54346d356fb2abc9dc1fc7daaf3df13847c
 +RMD160 (pciids-20150901.tar.xz) = a63d748c7f6cc01839261adb244ce12e10b028fa
 +Size (pciids-20150901.tar.xz) = 178960 bytes
 


Home | Main Index | Thread Index | Old Index