ports/146895: [NEW PORT] emulators/linux-libusb -- linux(4)-friendly libusb
Wojciech A. Koszek
wkoszek at FreeBSD.org
Mon May 24 00:10:08 UTC 2010
>Number: 146895
>Category: ports
>Synopsis: [NEW PORT] emulators/linux-libusb -- linux(4)-friendly libusb
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 24 00:10:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Wojciech A. Koszek
>Release: 9.0-CURRENT
>Organization:
FreeBSD.org
>Environment:
FreeBSD laptop.freebsd.czest.pl 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Thu May 20 06:41:06 CEST 2010 wkoszek at laptop.freebsd.czest.pl:/home/wkoszek/p4/wkoszek_netfpga/sys/i386/compile/M i386
>Description:
I fixed and compiled libusb(8) from FreeBSD on Linux. I modified kernel
so that it knows what libusb(8) in linux(4) will call, and maps ioctl()
calls to the correct functionality.
As a result, I can use Linux binaries that make use of LibUSB on linux(8).
thompsa@ is bringing amd64 changes on the top of my patch.
Support is to be commited soon.
This port needs following fixes:
- verify why making ln -s is broken. Seems like something is wrong with ports infrastructure, since other port (mentioned in Makefile) had the same problem as well. Unless I put "ln -f", I couldn't get a link to be created.
- pick the correct __FreeBSD_version, once kernel functionality is present
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# linux-libusb.tgz
#
echo x - linux-libusb.tgz
sed 's/^X//' >linux-libusb.tgz << 'bf7d64c5be202b7f3fc14b3908ba2600'
XXþWwjÍOú¿FÍiøÿ=ì9ôÄUX9rc-¤E@?ÕUHô1V>baþ]9
H~)=¢
NHÁÞõ6£ØS8Ø ¼RssqWJ%Úö¼ÍÊí¡HNV7§ö $))Qá râ©
XC4±¥I .ËP¸tÅp<~Æi²Ûz¬hq¶bf7d64c5be202b7f3fc14b3908ba2600
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list