notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
linux_libusb Linux-compatibility libusb
13.0r358841_4 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.0r358841_4Version of this port present on the latest quarterly branch.
Maintainer: emulation@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-03-18 19:50:52
Last Update: 2021-04-06 14:31:07
Commit Hash: 305f148
People watching this port, also watch:: python, unoconv, py37-pycparser, sysinfo
Also Listed In: linux
License: BSD2CLAUSE
Description:
SVNWeb : git : Homepage
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:
  • For RUN/BUILD depends:
    • linux_libusb>0:devel/linux_libusb
  • For LIB depends:
    • libusb-0.1.so:devel/linux_libusb
    • libusb-1.0.so:devel/linux_libusb
    • libusb.so: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
PKGNAME: linux_libusb
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64 i386
distinfo:
Packages (timestamps in pop-ups are UTC):
linux_libusb
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd6413.0r358841_413.0r358841_4
FreeBSD:11:armv6--
FreeBSD:11:i38613.0r358841_413.0r358841_4
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd6413.0r358841_413.0r358841_4
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i38613.0r358841_413.0r358841_4
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd6413.0r358841_413.0r358841_4
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i38613.0r358841_413.0r358841_4
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd6413.0r358841_4-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i38613.0r358841_4-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

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
There are no ports dependent upon this port

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. http://home.selasky.org/distfiles/
  2. http://www.selasky.org/hans_petter/distfiles/
Collapse this list.

Number of commits found: 18

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  13.0r358841_4
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
10 Jan 2021 11:36:40
Original commit files touched by this commit Revision:561055  13.0r358841_4
tijl search for other commits by this committer
Replace NO_WERROR with WITHOUT_WERROR after
https://cgit.FreeBSD.org/src/commit/?id=7fa2f2a62f04f095e1e27ad55aa22a8f59b1df8f
27 Sep 2020 15:23:59
Original commit files touched by this commit Revision:550282  13.0r358841_4
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>
26 Sep 2020 21:18:34
Original commit files touched by this commit Revision:550227  13.0r358841_3
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]
25 Sep 2020 12:07:58
Original commit files touched by this commit Revision:550016  13.0r358841_2
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
22 Sep 2020 13:41:54
Original commit files touched by this commit Revision:549593  13.0r358841_1
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
10 Mar 2020 18:46:36
Original commit files touched by this commit Revision:528191  13.0r358841
hselasky search for other commits by this committer
Update linux_libusb to FreeBSD-current r358841.

Approved by:	pi
02 Jan 2020 11:11:36
Original commit files touched by this commit Revision:521828  11.0r261448_4
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.
31 Dec 2019 15:20:01
Original commit files touched by this commit Revision:521627  11.0r261448_3
rene search for other commits by this committer
devel/linux_libusb: bump linux-devtools dependency to Centos 7
24 Apr 2019 19:15:06
Original commit files touched by this commit Revision:499897  11.0r261448_2
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
03 Jan 2017 11:01:06
Original commit files touched by this commit Revision:430454  11.0r261448_2  Sanity Test Failure
mat search for other commits by this committer
Cleanup BROKEN/IGNORE for 10.3-

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

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