debian/0000755000000000000000000000000012233375467007202 5ustar debian/source/0000755000000000000000000000000012223507222010463 5ustar debian/source/format0000644000000000000000000000001412223507222011671 0ustar 3.0 (quilt) debian/README.Debian0000644000000000000000000000073212231455435011235 0ustar Notes for the Debian libnfc packages ------------------------------------ * libnfc5 package libnfc5 installs blacklist-libnfc.conf to /etc/modprobe.d/blacklist-libnfc.conf. Because "nfc" and "pn533" is supported from Linux kernel 3.1, driver conflicts with libnfc. If you want to use nfc driver of linux kernel, you need remove blacklist-libnfc.conf from /etc/modprobe.d/. -- Nobuhiro Iwamatsu Sat, 05 Oct 2013 07:35:36 +0900 debian/libnfc-examples.install0000644000000000000000000000132312223507222013623 0ustar debian/tmp/usr/bin/nfc-anticol debian/tmp/usr/bin/nfc-dep-initiator debian/tmp/usr/bin/nfc-dep-target debian/tmp/usr/bin/nfc-emulate-forum-tag2 debian/tmp/usr/bin/nfc-emulate-tag debian/tmp/usr/bin/nfc-emulate-uid debian/tmp/usr/bin/nfc-mfsetuid debian/tmp/usr/bin/nfc-poll debian/tmp/usr/bin/nfc-relay debian/tmp/usr/share/man/man1/nfc-anticol.1 debian/tmp/usr/share/man/man1/nfc-dep-initiator.1 debian/tmp/usr/share/man/man1/nfc-dep-target.1 debian/tmp/usr/share/man/man1/nfc-emulate-forum-tag2.1 debian/tmp/usr/share/man/man1/nfc-emulate-tag.1 debian/tmp/usr/share/man/man1/nfc-emulate-uid.1 debian/tmp/usr/share/man/man1/nfc-mfsetuid.1 debian/tmp/usr/share/man/man1/nfc-poll.1 debian/tmp/usr/share/man/man1/nfc-relay.1 debian/control0000644000000000000000000000735712223507222010602 0ustar Source: libnfc Section: libs Priority: extra Maintainer: Nobuhiro Iwamatsu Uploaders: Ludovic Rousseau Build-Depends: debhelper (>= 9), dh-autoreconf, libtool, pkg-config, libusb-dev Standards-Version: 3.9.4 Homepage: http://www.nfc-tools.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/libnfc.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libnfc.git;a=summary Package: libnfc5 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: libnfc4 Breaks: libnfc4 Description: Near Field Communication (NFC) library libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips. . This package contains the runtime library files needed to run software using libnfc. Package: libnfc-dev Section: libdevel Architecture: any Multi-Arch: same Depends: ${misc:Depends}, libnfc5 (= ${binary:Version}), libusb-dev Description: Near Field Communication (NFC) library (development files) libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips. . This package contains the header and development files needed to build programs and packages using libnfc. Package: libnfc5-dbg Section: debug Architecture: any Multi-Arch: same Depends: ${misc:Depends}, libnfc5 (= ${binary:Version}) Description: Near Field Communication (NFC) library (debugging information) libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips. . This package contains the debugging information. Package: libnfc-bin Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libnfc5 (>= ${binary:Version}) Description: Near Field Communication (NFC) binaries libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips. . This package contains some utils that come along with libnfc, for development or debugging purposes (including nfc-list, nfc-mfclassic, nfc-mfultralight, etc). Package: libnfc-examples Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libnfc5 (>= ${binary:Version}) Description: Near Field Communication (NFC) examples libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips. . Some examples are provided with libnfc for debugging and/or educational purposes (nfc-anticol, nfc-emulate, etc.). Package: libnfc-pn53x-examples Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libnfc5 (>= ${binary:Version}) Description: Near Field Communication (NFC) examples for PN53x chips only libnfc is a library for Near Field Communication. It abstracts the low-level details of communicating with the devices away behind an easy-to-use high-level API. It supports most hardware based on the NXP PN531, PN532 or PN533 controller chips. . Some PN53x-only examples are provided with libnfc for debugging and/or educational purposes (pn53x-sam, pn53x-tamashell, etc.). debian/libnfc-bin.install0000644000000000000000000000111112223507222012550 0ustar debian/tmp/usr/bin/nfc-emulate-forum-tag4 debian/tmp/usr/bin/nfc-list debian/tmp/usr/bin/nfc-mfclassic debian/tmp/usr/bin/nfc-mfultralight debian/tmp/usr/bin/nfc-read-forum-tag3 debian/tmp/usr/bin/nfc-relay-picc debian/tmp/usr/bin/nfc-scan-device debian/tmp/usr/share/man/man1/nfc-emulate-forum-tag4.1 debian/tmp/usr/share/man/man1/nfc-list.1 debian/tmp/usr/share/man/man1/nfc-mfclassic.1 debian/tmp/usr/share/man/man1/nfc-mfultralight.1 debian/tmp/usr/share/man/man1/nfc-read-forum-tag3.1 debian/tmp/usr/share/man/man1/nfc-relay-picc.1 debian/tmp/usr/share/man/man1/nfc-scan-device.1 debian/watch0000644000000000000000000000027712223507222010222 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 http://code.google.com/p/libnfc/downloads/list .*/libnfc-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) debian/copyright0000644000000000000000000001130612223507222011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libnfc Source: http://libnfc.googlecode.com/ Files: * Copyright: 2009, Roel Verdult 2009-2013, Romuald Conty 2010-2012, Romain Tartière 2010-2013, Philippe Teuwen 2012-2013, Ludovic Rousseau License: LGPL-3 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, see . . On Debian GNU/Linux systems, the complete text of the GNU General Public License, version 3, can be found in the file /usr/share/common-licenses/LGPL-3. Files: examples/* Copyright: 2009, Roel Verdult 2009-2013, Romuald Conty 2010-2012, Romain Tartière 2010-2013, Philippe Teuwen 2012-2013, Ludovic Rousseau License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: utils/* Copyright: 2009, Roel Verdult 2009-2013, Romuald Conty 2010-2012, Romain Tartière 2010-2013, Philippe Teuwen 2012-2013, Ludovic Rousseau License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2009-2013, Romuald Conty 2010-2013, Philippe Teuwen 2012-2013, Ludovic Rousseau 2011, Thomas Hood 2013, Nobuhiro Iwamatsu License: GPL-2 The Debian packaging is licensed under the GPL, version 2. . On Debian GNU/Linux systems, the complete text of the GNU General Public License, version 2, can be found in the file /usr/share/common-licenses/GPL-2. debian/libnfc-dev.install0000644000000000000000000000020112223507222012555 0ustar debian/tmp/usr/include/nfc debian/tmp/usr/lib/*/libnfc.a debian/tmp/usr/lib/*/libnfc.so debian/tmp/usr/lib/*/pkgconfig/libnfc.pc debian/libnfc-pn53x-examples.install0000644000000000000000000000022412223507222014575 0ustar debian/tmp/usr/bin/pn53x-* debian/tmp/usr/share/man/man1/pn53x-* examples/pn53x-tamashell-scripts/*.cmd usr/share/doc/libnfc-pn53x-examples/scripts debian/libnfc5.symbols0000644000000000000000000000411112223507222012114 0ustar libnfc.so.5 libnfc5 #MINVER# iso14443a_crc@Base 1.7.0~rc2 iso14443a_crc_append@Base 1.7.0~rc2 iso14443a_locate_historical_bytes@Base 1.7.0~rc2 nfc_abort_command@Base 1.7.0~rc2 nfc_close@Base 1.7.0~rc2 nfc_context_free@Base 1.7.0~rc2 nfc_context_new@Base 1.7.0~rc2 nfc_device_free@Base 1.7.0~rc2 nfc_device_get_connstring@Base 1.7.0~rc2 nfc_device_get_information_about@Base 1.7.0~rc2 nfc_device_get_last_error@Base 1.7.0~rc2 nfc_device_get_name@Base 1.7.0~rc2 nfc_device_get_supported_baud_rate@Base 1.7.0~rc2 nfc_device_get_supported_modulation@Base 1.7.0~rc2 nfc_device_new@Base 1.7.0~rc2 nfc_device_set_property_bool@Base 1.7.0~rc2 nfc_device_set_property_int@Base 1.7.0~rc2 nfc_drivers@Base 1.7.0~rc2 nfc_emulate_target@Base 1.7.0~rc2 nfc_exit@Base 1.7.0~rc2 nfc_free@Base 1.7.0~rc5 nfc_idle@Base 1.7.0~rc2 nfc_init@Base 1.7.0~rc2 nfc_initiator_deselect_target@Base 1.7.0~rc2 nfc_initiator_init@Base 1.7.0~rc2 nfc_initiator_init_secure_element@Base 1.7.0~rc2 nfc_initiator_list_passive_targets@Base 1.7.0~rc2 nfc_initiator_poll_dep_target@Base 1.7.0~rc2 nfc_initiator_poll_target@Base 1.7.0~rc2 nfc_initiator_select_dep_target@Base 1.7.0~rc2 nfc_initiator_select_passive_target@Base 1.7.0~rc2 nfc_initiator_target_is_present@Base 1.7.0~rc7 nfc_initiator_transceive_bits@Base 1.7.0~rc2 nfc_initiator_transceive_bits_timed@Base 1.7.0~rc2 nfc_initiator_transceive_bytes@Base 1.7.0~rc2 nfc_initiator_transceive_bytes_timed@Base 1.7.0~rc2 nfc_list_devices@Base 1.7.0~rc2 nfc_open@Base 1.7.0~rc2 nfc_perror@Base 1.7.0~rc2 nfc_register_driver@Base 1.7.0~rc5 nfc_strerror@Base 1.7.0~rc2 nfc_strerror_r@Base 1.7.0~rc2 nfc_target_init@Base 1.7.0~rc2 nfc_target_receive_bits@Base 1.7.0~rc2 nfc_target_receive_bytes@Base 1.7.0~rc2 nfc_target_send_bits@Base 1.7.0~rc2 nfc_target_send_bytes@Base 1.7.0~rc2 nfc_version@Base 1.7.0~rc2 pn532_SAMConfiguration@Base 1.7.0~rc2 pn53x_read_register@Base 1.7.0~rc2 pn53x_transceive@Base 1.7.0~rc2 pn53x_write_register@Base 1.7.0~rc2 str_nfc_baud_rate@Base 1.7.0~rc2 str_nfc_modulation_type@Base 1.7.0~rc2 str_nfc_target@Base 1.7.0~rc7 debian/rules0000755000000000000000000000206512223507222010246 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) # "nocheck" option prevents from running tests (which need dedicated hardware) export DEB_BUILD_OPTIONS=nocheck # --enable-debug --with-drivers=all confflags := --disable-silent-rules \ --prefix=/usr \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ $(NULL) confflags += $(shell dpkg-buildflags --export=configure) override_dh_installchangelogs: dh_installchangelogs ChangeLog override_dh_auto_configure: dh_auto_configure -- $(confflags) %: dh $@ --with autoreconf override_dh_strip: dh_strip -plibnfc5 --dbg-package=libnfc5-dbg dh_strip --remaining-packages debian/libnfc5.install0000644000000000000000000000020212223641243012071 0ustar debian/tmp/usr/lib/*/libnfc.so.* contrib/udev/42-pn53x.rules lib/udev/rules.d/ contrib/linux/blacklist-libnfc.conf etc/modprobe.d debian/compat0000644000000000000000000000000212223507222010361 0ustar 9 debian/changelog0000644000000000000000000001436712231455514011055 0ustar libnfc (1.7.0-3) unstable; urgency=low [ Ludovic Rousseau ] * update debian/watch: update the URL to make uscan work again [ Nobuhiro Iwamatsu ] * Install blacklist-libnfc.conf to etc/modprobe.d. -- Nobuhiro Iwamatsu Sat, 05 Oct 2013 07:54:27 +0900 libnfc (1.7.0-2) unstable; urgency=low * Update debian/control. - Add Replaces and Breaks for libnfc4. - Update Vcs-Git and Vcs-Browser field. -- Nobuhiro Iwamatsu Wed, 18 Sep 2013 13:55:20 +0900 libnfc (1.7.0-1) unstable; urgency=low * Upload to Debian. (Closes: #722066) * Add patches/0001-Add-support-kFreeBSD.patch. Fix build on kFreeBSD. * Update debian/control. Add Ludovic Rousseau to Uploaders. -- Nobuhiro Iwamatsu Mon, 09 Sep 2013 13:10:26 +0900 libnfc (1.7.0-0) UNRELEASED; urgency=low * New upstream release -- yobibe Fri, 3 Sep 2013 16:42:42 +0100 libnfc (1.7.0~rc7-1) unstable; urgency=low * Upload to Debian. (Closes: #672795) -- Nobuhiro Iwamatsu Wed, 28 Aug 2013 12:49:12 +0900 libnfc (1.7.0~rc7-0) UNRELEASED; urgency=low * New upstream release -- yobibe Fri, 5 Apr 2013 12:42:42 +0100 libnfc (1.7.0~rc6-0) UNRELEASED; urgency=low * New upstream release -- yobibe Sun, 3 Mar 2013 12:42:42 +0100 libnfc (1.7.0~rc5-0) UNRELEASED; urgency=low * New upstream release -- Romuald Conty Sat, 16 Feb 2013 15:42:42 +0100 libnfc (1.7.0~rc4-0) UNRELEASED; urgency=low * New upstream release -- yobibe Wed, 6 Feb 2013 12:42:42 +0100 libnfc (1.7.0~rc2-0) UNRELEASED; urgency=low * New upstream release -- Romuald Conty Sun, 20 Jan 2013 12:42:42 +0100 libnfc (1.7.0~rc1-0) UNRELEASED; urgency=low * New upstream release -- Romuald Conty Thu, 9 Dec 2012 12:42:42 +0100 libnfc (1.6.0rc1-0) UNRELEASED; urgency=low * New upstream release -- Romuald Conty Mon, 27 Feb 2012 12:42:42 +0100 libnfc (1.5.1pre2.1-0) UNRELEASED; urgency=low * udev rules file renamed accordingly to udev's readme file -- Romuald Conty Fri, 9 Dec 2011 15:42:42 +0100 libnfc (1.5.1-0) UNRELEASED; urgency=low * Move nfc-emulate-nfcforum-tag2, nfc-emulate-nfcforum-tag4 and nfc-relay-picc from libnfc-examples to libnfc-bin package. * Add nfc-read-forum-tag3 to libnfc-bin package. -- Romuald Conty Mon, 10 Oct 2011 02:42:42 +0100 libnfc (1.5.0pre1.4-0) UNRELEASED; urgency=low * All drivers are now enabled under Debian; * Add nfc-emulate-nfcforum-tag2 and nfc-mfsetuid to libnfc-examples. -- Romuald Conty Tue, 13 May 2011 15:42:42 +0100 libnfc (1.5.0pre1.3-0) UNRELEASED; urgency=low * Update debian/copyright. -- Romuald Conty Wed, 18 May 2011 12:42:42 +0100 libnfc (1.5.0pre1.2-0) UNRELEASED; urgency=low * Change name of lib to libnfc2 to match SONAME major version 2. -- Thomas Hood Fri, 13 May 2011 12:00:00 +0100 libnfc (1.5.0pre1.1-0) UNRELEASED; urgency=low * Change name of lib to libnfc1 to match SONAME major version 1. * Change section and priority. * Don't depend on automake which doesn't get run on build. (Instead, automake-generated files are included in patches/.) * Set debian/source/format contents to "3.0 (quilt)" * chmod ugo+x ./configure in debian/rules. * Depend on debhelper (>= 7) to match debian/compat. * Make the following changes that were suggested by lintian. * Depend on ${misc:Depends} since we use debhelper. * Use dh_prep instead of dh_clean -k. -- Thomas Hood Mon, 10 May 2011 12:00:00 +0100 libnfc (1.5.0-0) UNRELEASED; urgency=low * Experimental released version (r1019). -- Romuald Conty Mon, 29 Apr 2011 11:42:42 +0100 libnfc (1.4.2-0) UNRELEASED; urgency=low * New upstream release. -- Romuald Conty Tue, 21 Feb 2011 11:42:42 +0100 libnfc (1.4.1-0) UNRELEASED; urgency=low * New upstream release. -- Romuald Conty Tue, 1 Feb 2011 10:42:42 +0100 libnfc (1.4.0-0) UNRELEASED; urgency=low * New upstream release. -- Romuald Conty Tue, 26 Oct 2010 16:42:42 +0100 libnfc (1.3.9-0) UNRELEASED; urgency=low * New upstream release. -- Romuald Conty Tue, 31 Aug 2010 14:42:42 +0100 libnfc (1.3.4-0) UNRELEASED; urgency=low * New upstream release. -- Romuald Conty Wed, 31 Mar 2010 12:42:42 +0100 libnfc (1.3.3-0) UNRELEASED; urgency=low * New upstream release. -- Romuald Conty Thu, 17 Feb 2010 15:42:42 +0100 libnfc (1.3.2-0) UNRELEASED; urgency=low * New upstream release. -- Romuald Conty Fri, 29 Jan 2010 15:42:42 +0100 libnfc (1.3.1-0) UNRELEASED; urgency=low * New upstream release. -- Romuald Conty Mon, 25 Jan 2010 11:42:42 +0100 libnfc (1.3.0-0) UNRELEASED; urgency=low * New upstream release. -- Romuald Conty Thu, 14 Jan 2010 16:42:42 +0100 libnfc (1.2.1-4) UNRELEASED; urgency=low * Add udev rules for USB PN53x. -- Romuald Conty Fri, 20 Nov 2009 16:42:42 +0100 libnfc (1.2.1-3) UNRELEASED; urgency=low * Don't use CDBS anymore, should now cross compile. -- Romuald Conty Thu, 29 Sep 2009 9:42:42 +0100 libnfc (1.2.1-2) UNRELEASED; urgency=low * Add missing dependencies for ACR122 devices (pcscd). -- Romuald Conty Fri, 23 Sep 2009 16:42:42 +0100 libnfc (1.2.1-1) UNRELEASED; urgency=low * Description have been updated. * Provided binairies should not be consider as tools but as examples. -- Romuald Conty Fri, 03 Sep 2009 18:42:42 +0100 libnfc (1.2.1-0) UNRELEASED; urgency=low * New upstream version. -- Romuald Conty Fri, 24 Jul 2009 16:42:42 +0100 libnfc (1.2.0-0) UNRELEASED; urgency=low * New upstream version. -- Romuald Conty Thu, 23 Jul 2009 15:42:42 +0100 libnfc (1.1.0-0) UNRELEASED; urgency=low * Initial debian package. -- Romuald Conty Wed, 22 Apr 2009 10:42:42 +0100 debian/patches/0000755000000000000000000000000012223507222010612 5ustar debian/patches/0001-Add-support-kFreeBSD.patch0000644000000000000000000000204312223507222015775 0ustar From 8be9cb7d28207161d33d17e95294ce72837ff9ac Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Tue, 10 Sep 2013 06:22:40 +0900 Subject: [PATCH] Add support kFreeBSD kFreeBSD use cuaX as uart device. This supports the kFreeBSD in Debian, and fix failure to build. Signed-off-by: Nobuhiro Iwamatsu --- libnfc/buses/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/buses/uart.c b/libnfc/buses/uart.c index 2806553..3dd099a 100644 --- a/libnfc/buses/uart.c +++ b/libnfc/buses/uart.c @@ -59,7 +59,7 @@ # if defined(__APPLE__) const char *serial_ports_device_radix[] = { "tty.SLAB_USBtoUART", "tty.usbserial-", NULL }; -# elif defined (__FreeBSD__) || defined (__OpenBSD__) +# elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__FreeBSD_kernel__) const char *serial_ports_device_radix[] = { "cuaU", "cuau", NULL }; # elif defined (__linux__) const char *serial_ports_device_radix[] = { "ttyUSB", "ttyS", "ttyACM", "ttyAMA", "ttyO", NULL }; -- 1.8.4.rc3 debian/patches/series0000644000000000000000000000004012223507222012021 0ustar 0001-Add-support-kFreeBSD.patch