notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
linux_libusb Linux-compatibility LibUSB
13.1.0 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 13.1.0Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-03-18 19:50:52
Last Update: 2024-03-23 11:19:32
Commit Hash: d7511b9
People watching this port, also watch:: python, unoconv, py39-pycparser, sysinfo
Also Listed In: linux
License: BSD2CLAUSE
WWW:
https://github.com/hselasky/linux_libusb
Description:
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 a Linux binary linked with libusb.so and use it on FreeBSD.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (7 items)
Collapse this list.
  1. usr/lib64/libusb.so.3
  2. usr/lib64/libusb-0.1.so.4
  3. usr/lib64/libusb-1.0.so.0
  4. usr/lib/libusb.so.3
  5. usr/lib/libusb-0.1.so.4
  6. usr/lib/libusb-1.0.so.0
  7. @ldconfig-linux /compat/linux
Collapse this list.
Dependency lines:
  • linux_libusb>0:devel/linux_libusb
To install the port:
cd /usr/ports/devel/linux_libusb/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/linux_libusb
  • pkg install linux_libusb
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: linux_libusb
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 i386
distinfo:
TIMESTAMP = 1646223126 SHA256 (hselasky-linux_libusb-13.1.0_GH0.tar.gz) = 1c2eca07aaba1af10a51ce263938dea78b79efdd5616af6f58665188de455825 SIZE (hselasky-linux_libusb-13.1.0_GH0.tar.gz) = 89639

Packages (timestamps in pop-ups are UTC):
linux_libusb
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest13.1.013.1.0--13.1.0---
FreeBSD:13:quarterly13.1.013.1.0--13.1.0---
FreeBSD:14:latest13.1.013.1.0--13.1.0---
FreeBSD:14:quarterly13.1.013.1.0--13.1.0---
FreeBSD:15:latest13.1.013.1.0n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. linux_base-c7>=7.6.1810_7 : emulators/linux_base-c7
  2. linux-c7-devtools>0 : devel/linux-c7-devtools
Runtime dependencies:
  1. linux_base-c7>=7.6.1810_7 : emulators/linux_base-c7
This port is required by:
for Run
  1. graphics/epsonscan2-non-free-plugin

Configuration Options:
No options to configure
Options name:
devel_linux_libusb
USES:
linux tar:bzip2
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/hselasky/linux_libusb/tar.gz/13.1.0?dummy=/
Collapse this list.

Number of commits found: 28

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
13.1.0
23 Mar 2024 11:19:32
commit hash: d7511b9d00742c3e2d57c6c03718c4a6f4cd3e72commit hash: d7511b9d00742c3e2d57c6c03718c4a6f4cd3e72commit hash: d7511b9d00742c3e2d57c6c03718c4a6f4cd3e72commit hash: d7511b9d00742c3e2d57c6c03718c4a6f4cd3e72 files touched by this commit
Tijl Coosemans (tijl) search for other commits by this committer
Mk/bsd.port.mk: Add __MAKE_CONF=${NONEXISTENT} to WRK_ENV

And remove it from individual ports.  Use WRK_ENV in custom build
commands where necessary.

FreeBSD make(1) includes /usr/share/mk/sys.mk and that includes
/etc/make.conf if it exists.  This happens when you run make in a port
directory but it also happens when the upstream build system uses make.
This commit disables make.conf inclusion in the latter case because
users can define variables like CFLAGS in make.conf that override ports
framework variables and this can cause problems that are difficult to
diagnose.

If there are any build customisations made through make.conf that stop
working because of this commit then they should be made available by the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13.1.0
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
13.1.0
22 Jul 2023 15:33:48
commit hash: e164e7a5e9878496913fc843a65c9b4f9f3059c8commit hash: e164e7a5e9878496913fc843a65c9b4f9f3059c8commit hash: e164e7a5e9878496913fc843a65c9b4f9f3059c8commit hash: e164e7a5e9878496913fc843a65c9b4f9f3059c8 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
*: return Hans Petter Selasky's ports to the pool after he passed away.

portmgr would like to thank Hans Petter for his years of ports maintenance
and his work on FreeBSD in general. May he rest in peace.

An in-memoriam can be read at
https://lists.freebsd.org/archives/freebsd-announce/2023-July/000076.html

With hat:	portmgr-secretary
13.1.0
30 Nov 2022 18:56:31
commit hash: c43b10698c7c6e2ee361632b571ac7fbf80feb84commit hash: c43b10698c7c6e2ee361632b571ac7fbf80feb84commit hash: c43b10698c7c6e2ee361632b571ac7fbf80feb84commit hash: c43b10698c7c6e2ee361632b571ac7fbf80feb84 files touched by this commit
Ed Maste (emaste) search for other commits by this committer
devel/linux_libusb: disable date/time nonreproducible build warning

The base system build infrastructure will add -Wdate-time, to avoid
use of nonreproducible __DATE__ and __TIME__ in the base system.

This port makes use of a GCC that does not support -Wdate-time, so
opt out of the warning.

Reviewed by:	hselasky
Approved by:	jrm
PR:		267902 [exp-run]
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37506
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
13.1.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13.1.0
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
13.1.0
02 Mar 2022 12:43:45
commit hash: 95ab017208544720b55263b66481b93996077ffdcommit hash: 95ab017208544720b55263b66481b93996077ffdcommit hash: 95ab017208544720b55263b66481b93996077ffdcommit hash: 95ab017208544720b55263b66481b93996077ffd files touched by this commit
Hans Petter Selasky (hselasky) search for other commits by this committer
devel/linux_libusb: Fix spelling in package description.

Approved by:	pi (implicit)
13.1.0
02 Mar 2022 12:18:57
commit hash: a94c7f5fa71af60f923435f5faf98123a4d11a6acommit hash: a94c7f5fa71af60f923435f5faf98123a4d11a6acommit hash: a94c7f5fa71af60f923435f5faf98123a4d11a6acommit hash: a94c7f5fa71af60f923435f5faf98123a4d11a6a files touched by this commit
Hans Petter Selasky (hselasky) search for other commits by this committer
devel/linux_libusb: Update to version 13.1.0 .

- Fixed issue with SIGPIPE
- Moved sources to GitHUB

PR:		261891
Approved by:	pi (implicit)
13.0r358841_4
17 Jan 2022 14:47:28
commit hash: c7dd5ca11a141ecb8a4decab08d1c09e48c9ae6acommit hash: c7dd5ca11a141ecb8a4decab08d1c09e48c9ae6acommit hash: c7dd5ca11a141ecb8a4decab08d1c09e48c9ae6acommit hash: c7dd5ca11a141ecb8a4decab08d1c09e48c9ae6a files touched by this commit
Mikael Urankar (mikael) search for other commits by this committer
*: Linux emulation: add support for aarch64

PR:		256008
Submitted by:	Vincent Milum Jr (prior version)
Approved by:	emulation (maintainer timeout)
13.0r358841_4
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
13.0r358841_4
10 Jan 2021 11:36:40
Revision:561055Original commit files touched by this commit
tijl search for other commits by this committer
Replace NO_WERROR with WITHOUT_WERROR after
https://cgit.FreeBSD.org/src/commit/?id=7fa2f2a62f04f095e1e27ad55aa22a8f59b1df8f
13.0r358841_4
27 Sep 2020 15:23:59
Revision:550282Original commit files touched by this commit
tijl search for other commits by this committer
Remove libusb.so symbolic link because it belongs in a -devel package.
Add libusb-1.0.so.0 symbolic link because FreeBSD libusb implements that
API too.

PR:		249516
Reported by:	Alex S <iwtcex@gmail.com>
13.0r358841_3
26 Sep 2020 21:18:34
Revision:550227Original commit files touched by this commit
tijl search for other commits by this committer
Add a direct build dependency on linux_base instead of relying on devtools
to pull it in.  This guarantees that the version constraint set in
Mk/Uses/linux.mk is taken into account.

Compile with --sysroot=${LINUXBASE} such that gcc doesn't pick up headers
from /usr.

Build the 32 bit library on amd64 with -m32 such that it's actually a 32 bit
library.  This must have become broken long time ago when 64 bit linux
support was added and the compiler became 64 bit. [1]

PR:		249516
Reported by:	Alex S <iwtcex@gmail.com> [1]
13.0r358841_2
25 Sep 2020 12:07:58
Revision:550016Original commit files touched by this commit
tijl search for other commits by this committer
Link with -lrt again (for clock_gettime) after
https://svnweb.freebsd.org/base?view=revision&revision=275024
13.0r358841_1
22 Sep 2020 13:41:54
Revision:549593Original commit files touched by this commit
tijl search for other commits by this committer
- Build 64-bit version on amd64.
- Add run dependency on linux_base.
- Remove -march from CFLAGS because gcc 4.8 does not know recent cpu types.

PR:		249516
13.0r358841
10 Mar 2020 18:46:36
Revision:528191Original commit files touched by this commit
hselasky search for other commits by this committer
Update linux_libusb to FreeBSD-current r358841.

Approved by:	pi
11.0r261448_4
02 Jan 2020 11:11:36
Revision:521828Original commit files touched by this commit
tijl search for other commits by this committer
Attempt to fix build after removal of Linux c6.

- Replace build dependency on linux-c7-devtools with
  USE_LINUX=devtools:build so it takes into account LINUX_DEFAULT.
- Install libusb.so.3 which is the SONAME of the library.
- Disable -Werror.
- Don't build profiling library.  It's not installed and -pg and
  -fstack-protector are incompatible.
- Don't let the build make parse /etc/make.conf because this may redefine
  *FLAGS.  The file is already handled by the ports tree.
- Create symbolic links instead of hard links.
11.0r261448_3
31 Dec 2019 15:20:01
Revision:521627Original commit files touched by this commit
rene search for other commits by this committer
devel/linux_libusb: bump linux-devtools dependency to Centos 7
11.0r261448_2
24 Apr 2019 19:15:06
Revision:499897Original commit files touched by this commit
jbeich search for other commits by this committer
Switch to -fstack-protector-strong and enable on more architectures

PR:		237273
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D19907
11.0r261448_2
03 Jan 2017 11:01:06
Revision:430454Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Cleanup BROKEN/IGNORE for 10.3-

Sponsored by:	Absolight
11.0r261448_2
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
11.0r261448_2
14 Oct 2015 08:40:46
Revision:399242Original commit files touched by this commit
tijl search for other commits by this committer
Fix build on recent FreeBSD head.  Linux gcc port does not support
-fstack-protector-stong.
11.0r261448_2
26 Sep 2015 15:14:39
Revision:397987Original commit files touched by this commit
antoine search for other commits by this committer
Convert to USE_LDCONFIG
11.0r261448_2
28 Mar 2015 10:08:16
Revision:382452Original commit files touched by this commit
antoine search for other commits by this committer
Remove reference to BROKEN linux_base-gentoo-stage3
11.0r261448_2
16 Jan 2015 17:09:48
Revision:377192Original commit files touched by this commit
nox search for other commits by this committer
Depend on devel/linux-c6-devtools instead of the f10 one.
11.0r261448_1
08 Jun 2014 19:51:28
Revision:357070Original commit files touched by this commit
olgeni search for other commits by this committer
Remove all space characters from Makefile assignments.

No functional changes included.

CR:		D193 (except math/sedumi)
Approved by:	portmgr (bapt)
11.0r261448_1
18 Mar 2014 19:50:47
Revision:348592Original commit files touched by this commit
nox search for other commits by this committer
Add new port devel/linux_libusb:

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
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

PR:		ports/146895 (older version)
Submitted by:	wkoszek (PR), nox (self, this version)

Number of commits found: 28