Date: Fri, 18 Apr 2014 12:55:41 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351536 - head/misc/usbids Message-ID: <201404181255.s3ICtfPV047108@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Apr 18 12:55:41 2014 New Revision: 351536 URL: http://svnweb.freebsd.org/changeset/ports/351536 QAT: https://qat.redports.org/buildarchive/r351536/ Log: Add usb ids database, which will be used to populate informations in an upcoming device library Added: head/misc/usbids/ - copied from r351352, head/misc/pciids/ Modified: head/misc/usbids/Makefile head/misc/usbids/distinfo head/misc/usbids/pkg-descr Modified: head/misc/usbids/Makefile ============================================================================== --- head/misc/pciids/Makefile Tue Apr 15 17:08:46 2014 (r351352) +++ head/misc/usbids/Makefile Fri Apr 18 12:55:41 2014 (r351536) @@ -1,13 +1,13 @@ # Created by: Michael Johnson <ahze@FreeBSD.org> # $FreeBSD$ -PORTNAME= pciids -PORTVERSION= 20140402 +PORTNAME= usbids +PORTVERSION= 20140203 CATEGORIES= misc -MASTER_SITES= LOCAL/sunpoet +MASTER_SITES= http://files.etoilebsd.net/usbids/ -MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Database of all known IDs used in PCI devices +MAINTAINER= bapt@FreeBSD.org +COMMENT= Database of all known IDs used in USB devices LICENSE= BSD3CLAUSE GPLv2 GPLv3 LICENSE_COMB= dual @@ -15,18 +15,18 @@ LICENSE_COMB= dual NO_BUILD= yes USES= tar:xz -PLIST_FILES= %%DATADIR%%/pci.ids +PLIST_FILES= %%DATADIR%%/usb.ids PLIST_DIRS= %%DATADIR%% do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/ - ${INSTALL_DATA} ${WRKSRC}/pci.ids ${STAGEDIR}${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/usb.ids ${STAGEDIR}${DATADIR}/ # maintainer section: MS_DIFF= ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}.diff -MS_DISTFILES= pci.ids -MS_MASTER_SITE= http://pci-ids.ucw.cz/ +MS_DISTFILES= usb.ids +MS_MASTER_SITE= http://www.linux-usb.org/ MS_VERSION= `${CAT} ${MS_VERSIONFILE}` MS_VERSIONFILE= ${MS_WRKSRC}/.version MS_WRKSRC= ${WRKSRC}/tmp @@ -34,9 +34,8 @@ MS_WRKSRC= ${WRKSRC}/tmp maketar: do-clean extract @${MKDIR} ${MS_WRKSRC}/ @${FETCH_CMD} -o ${MS_WRKSRC}/${MS_DISTFILES} ${MS_MASTER_SITE}${MS_DISTFILES} - @${GREP} '^# Version: [0-9.]\{10\}$$' ${MS_WRKSRC}/${MS_DISTFILES} \ - | ${SED} -e 's|^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)$$|\1\2\3|' \ - > ${MS_VERSIONFILE} + @${AWK} '/^# Version/ { gsub(/\./,"", $$3); print $$3 }' \ + ${MS_WRKSRC}/${MS_DISTFILES} > ${MS_VERSIONFILE} @${MKDIR} ${MS_WRKSRC}/${PORTNAME}-${PORTVERSION}/ ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}/ @${MV} ${MS_WRKSRC}/${MS_DISTFILES} ${MS_WRKSRC}/${PORTNAME}-${MS_VERSION}/ @${CP} ${WRKSRC}/${MS_DISTFILES} ${MS_WRKSRC}/${PORTNAME}-${PORTVERSION}/${MS_DISTFILES} Modified: head/misc/usbids/distinfo ============================================================================== --- head/misc/pciids/distinfo Tue Apr 15 17:08:46 2014 (r351352) +++ head/misc/usbids/distinfo Fri Apr 18 12:55:41 2014 (r351536) @@ -1,2 +1,2 @@ -SHA256 (pciids-20140402.tar.xz) = 549ee5f64d3dc514c707815dcd0347be134cc7e17a63323ae3d34ea8331267fd -SIZE (pciids-20140402.tar.xz) = 167188 +SHA256 (usbids-20140203.tar.xz) = 965e87f874ae6574579aadf80f893ece73a1bbfd03f45fe92c6aad08af813417 +SIZE (usbids-20140203.tar.xz) = 143412 Modified: head/misc/usbids/pkg-descr ============================================================================== --- head/misc/pciids/pkg-descr Tue Apr 15 17:08:46 2014 (r351352) +++ head/misc/usbids/pkg-descr Fri Apr 18 12:55:41 2014 (r351536) @@ -1,3 +1,4 @@ -Database of all known ID's used in PCI devices +Database of all known ID's used in USB devices: ID's of vendors, devices, +subsystems and device classes -WWW: http://pciids.sourceforge.net/ +WWW: http://www.linux-usb.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404181255.s3ICtfPV047108>