From nobody Wed Mar 02 12:19:38 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0B58C19FB76A; Wed, 2 Mar 2022 12:19:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K7tTk6vM3z4rJS; Wed, 2 Mar 2022 12:19:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646223579; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1zHFkmCQQoU6414a4y4MXE6J+spQKD9fMC44Qx/8maE=; b=hdqz6Cg3sPeZhTU0FOjpLgRB+vUTF0tGFPhVhg4dff2UtYn600bcAAsq1lsNqet5JRP29D s1gWDiLrFZOLXbWtzcGPdBacDDn/Sv6wzcOri1TgVw3cLtbHgQ/W7SYpgYBY5f9fTGbW39 Wuqr217m3X3E4YB6/lyDC87f1hfan7b/Z3EEZ5hcW76E5MnFXDT10pRf/lk2Dk4/bFcsok xqkLa+WjEVYxP3Pc4zAl5VDf5t6CKeUVi3OeMNUHyoOBBKK4KSArygcx4SvJQHvufILFck L3MVzpbGd49f8nP1JM0PuxxnTOJtk3MhaI0lFfQyMI7Lb+pPZ9PGfyVlBWWYzA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C8BA622B7F; Wed, 2 Mar 2022 12:19:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 222CJclB087351; Wed, 2 Mar 2022 12:19:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 222CJcm3087350; Wed, 2 Mar 2022 12:19:38 GMT (envelope-from git) Date: Wed, 2 Mar 2022 12:19:38 GMT Message-Id: <202203021219.222CJcm3087350@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hans Petter Selasky Subject: git: a94c7f5fa71a - main - devel/linux_libusb: Update to version 13.1.0 . List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a94c7f5fa71af60f923435f5faf98123a4d11a6a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646223579; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1zHFkmCQQoU6414a4y4MXE6J+spQKD9fMC44Qx/8maE=; b=mFJK1sq9LGGHhaWrOJCHpbcRQ1IKIhY0Dekmn9I8n2fLNjjyMxfX6uROt+HVL+tLTdpDaY JK2PYfImmye4mG+IhGbVNrLVNaiHjSUk3qMymHUnp8xCHzcL+OzYMX/j4BWDrtKvuDr8q5 KG3+QoBiPuF6heYn4yAUEMoa3nY4Q63qmXY94Hyex5xoe1YFutnz0PidTHy2ZqzWYpgipU r+1vWBr8kEW7p7vGPXrd6eE9j7FnZD9VxRjSduJoGaDb5nhRV3mwZ8mG1SmHBG0N3DKrHc ZW3diGqhBYuXsjhUZAAAWOk2oTtsN9r2GecvybGtacoPvknjEF4lED3QurWPqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646223579; a=rsa-sha256; cv=none; b=cIZrK5jUzNQmcq0rYAHdU/NVs4U/ER0ntDNl9BBRWoAjD5XK6MW+DUfHGSFeKtuxtRu2zN UrS+S4s667UVh9FIJfv3GGLlkkQNZZy4Qk7CnCKA+7pEvAuBiqTWmWqLHDGcyGxZrXv5SH 8vj6G7fy13Bul0vKJh0GlSugocC5nSaxDOPfFb3evuxqIFFWBdUBNjAp0jBv/IEeLQ46cY 2nfCH2I3z9lEdzEAyp15EDytU64CtVxmayf4iQBAd/xXeQq1K8IBvnqAwaXBCGL977COeU uhmGtlflsVOWVwnPsVFgaZwA+wRFA2klUGPwhTAX6+3BGYW7ZXVukalWUw7+FQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/ports/commit/?id=a94c7f5fa71af60f923435f5faf98123a4d11a6a commit a94c7f5fa71af60f923435f5faf98123a4d11a6a Author: Hans Petter Selasky AuthorDate: 2022-03-02 12:18:00 +0000 Commit: Hans Petter Selasky CommitDate: 2022-03-02 12:18:57 +0000 devel/linux_libusb: Update to version 13.1.0 . - Fixed issue with SIGPIPE - Moved sources to GitHUB PR: 261891 Approved by: pi (implicit) --- devel/linux_libusb/Makefile | 36 +++++++----------------------------- devel/linux_libusb/distinfo | 6 +++--- devel/linux_libusb/pkg-descr | 14 ++++---------- 3 files changed, 14 insertions(+), 42 deletions(-) diff --git a/devel/linux_libusb/Makefile b/devel/linux_libusb/Makefile index feb1f6547b32..4effd70385bf 100644 --- a/devel/linux_libusb/Makefile +++ b/devel/linux_libusb/Makefile @@ -1,24 +1,25 @@ # Created by: nox@FreeBSD.org PORTNAME= linux_libusb -PORTVERSION= 13.0r${FSVN_REV} -PORTREVISION= 4 +PORTVERSION= 13.1.0 CATEGORIES= devel linux -MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \ - http://home.selasky.org/distfiles/ -MAINTAINER= emulation@FreeBSD.org -COMMENT= Linux-compatibility libusb +MAINTAINER= hselasky@FreeBSD.org +COMMENT= Linux-compatibility LibUSB LICENSE= BSD2CLAUSE ONLY_FOR_ARCHS= aarch64 amd64 i386 USES= linux tar:bzip2 + +USE_GITHUB= yes USE_LDCONFIG= yes USE_LINUX= base:build,run devtools:build USE_LINUX_PREFIX= yes +GH_ACCOUNT= hselasky + LIBDIR_aarch64= lib64 LIBDIR_amd64= lib64 LIBDIR_i386= lib @@ -37,11 +38,6 @@ MAKE_ARGS+= WITHOUT_WERROR=yes MAKE_ARGS+= __MAKE_CONF="" MAKE_ENV+= LDADD="-lrt" -# see: sysutils/pc-sysinstall/Makefile -FSVN_REV= 358841 -FSVNPATH?= http://svn.freebsd.org/base/head -FSVNDIR= lib/libusb - .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300134 @@ -84,22 +80,4 @@ do-install: ${STAGEDIR}${PREFIX}/usr/lib/libusb-1.0.so.0 .endif -.if defined(BOOTSTRAP) || defined(SVN_FETCH) -SVN?= svnlite - -do-fetch: - ${RM} -rf ${WRKDIR} - ${MKDIR} ${WRKDIR} - ${SVN} export -r ${FSVN_REV} ${FSVNPATH}/${FSVNDIR} ${WRKDIR}/${DISTNAME} - ${MKDIR} ${WRKDIR}/${DISTNAME}/include/compat/linux - ${SVN} export -r ${FSVN_REV} ${FSVNPATH}/sys/compat/linux/linux_ioctl.h ${WRKDIR}/${DISTNAME}/include/compat/linux/ - ${MKDIR} ${WRKDIR}/${DISTNAME}/include/dev/usb - ${SVN} export -r ${FSVN_REV} ${FSVNPATH}/sys/dev/usb/usb_endian.h ${WRKDIR}/${DISTNAME}/include/dev/usb/ - ${SVN} export -r ${FSVN_REV} ${FSVNPATH}/sys/dev/usb/usb_freebsd.h ${WRKDIR}/${DISTNAME}/include/dev/usb/ - ${SVN} export -r ${FSVN_REV} ${FSVNPATH}/sys/dev/usb/usb.h ${WRKDIR}/${DISTNAME}/include/dev/usb/ - ${SVN} export -r ${FSVN_REV} ${FSVNPATH}/sys/dev/usb/usbdi.h ${WRKDIR}/${DISTNAME}/include/dev/usb/ - ${SVN} export -r ${FSVN_REV} ${FSVNPATH}/sys/dev/usb/usb_ioctl.h ${WRKDIR}/${DISTNAME}/include/dev/usb/ - cd ${WRKDIR}; tar --uid=0 --gid=0 -cvyf ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} -.endif - .include diff --git a/devel/linux_libusb/distinfo b/devel/linux_libusb/distinfo index cf25b640cff3..8d246c53daaa 100644 --- a/devel/linux_libusb/distinfo +++ b/devel/linux_libusb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1583857275 -SHA256 (linux_libusb-13.0r358841.tar.bz2) = 0114a83eb21889ff54e1f2f551296ef584e7fe1a8d468ade6ec1bc017937deb7 -SIZE (linux_libusb-13.0r358841.tar.bz2) = 69877 +TIMESTAMP = 1646223126 +SHA256 (hselasky-linux_libusb-13.1.0_GH0.tar.gz) = 1c2eca07aaba1af10a51ce263938dea78b79efdd5616af6f58665188de455825 +SIZE (hselasky-linux_libusb-13.1.0_GH0.tar.gz) = 89639 diff --git a/devel/linux_libusb/pkg-descr b/devel/linux_libusb/pkg-descr index ba773069aa58..3f45694d12ac 100644 --- a/devel/linux_libusb/pkg-descr +++ b/devel/linux_libusb/pkg-descr @@ -1,12 +1,6 @@ -linux-libusb takes advantage of FreeBSD libusb(8) library, which got -prepared to work correctly within linux(4) emulation layer. It lets -you to take Linux binary linked with libusb.so and use it on +linux_libusb takes advantage of the FreeBSD's libusb(8) library, which +got prepared to work correctly within the linux(4) emulation layer. It +lets you to take Linux binary linked with libusb.so and use it on FreeBSD. -Additional information: This port has been prepared under FreeBSD -with kern.osreldate = 1000510. It relies on the fact the libusb(8) -API seems to be stable and no changes have been made to internal API -for a long time. If this assumption isn't true, port won't work. -Please submit bug report to the port maintainter in that case. - -WWW: http://lists.freebsd.org/pipermail/freebsd-usb/2014-March/012854.html +WWW: https://github.com/hselasky/linux_libusb