ports/93035: New port: security/bsp_upektfmess UPEK TouchChip TFM/ESS Fingerprint BSP
Fredrik Lindberg
fli at shapeshifter.se
Wed Feb 8 14:20:06 UTC 2006
>Number: 93035
>Category: ports
>Synopsis: New port: security/bsp_upektfmess UPEK TouchChip TFM/ESS Fingerprint BSP
>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: Wed Feb 08 14:20:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Fredrik Lindberg
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD genesis.int.shapeshifter.se 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Tue Jan 17 13:03:33 CET 2006 root at genesis.int.shapeshifter.se:/usr/obj/usr/src/sys/GENESIS i386
>Description:
UPEK TouchChip TFM/ESS Fingerprint BSP is a (binary only) BioAPI BSP which
provides support for UPEKs fingerprint sensors.
>How-To-Repeat:
>Fix:
--- bsp_upektfmess begins here ---
# 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:
#
# bsp_upektfmess
# bsp_upektfmess/Makefile
# bsp_upektfmess/pkg-deinstall
# bsp_upektfmess/pkg-descr
# bsp_upektfmess/distinfo
# bsp_upektfmess/pkg-req
#
echo c - bsp_upektfmess
mkdir -p bsp_upektfmess > /dev/null 2>&1
echo x - bsp_upektfmess/Makefile
sed 's/^X//' >bsp_upektfmess/Makefile << 'END-of-bsp_upektfmess/Makefile'
X# Ports collection makefile for: bsp_upektfmess
X# Date created: February 2006
X# Whom: Fredrik Lindberg <fli at shapeshifter.se>
X#
X# $FreeBSD$
X#
X
XPORTNAME= bsp_upektfmess
XPORTVERSION= 1.0
XCATEGORIES= security
XMASTER_SITES= http://www.upek.com/support/download/ \
X http://shapeshifter.se/pub/bsp_upektfmess/
XDISTNAME= TFMESS_BSP_FreeBSD_1.0
X
XMAINTAINER= fli at shapeshifter.se
XCOMMENT= UPEK TouchChip TFM/ESS Fingerprint BSP
X
XLIB_DEPENDS= bioapi100.0:${PORTSDIR}/security/bioapi \
X usb-0.1.8:${PORTSDIR}/devel/libusb
X
XUSE_ZIP= yes
XINSTALLS_SHLIB= yes
XUSE_GETTEXT= yes
XUSE_ICONV= yes
X# Both the gui and the non-gui object are linked to libX11
XUSE_XLIB= yes
X
XNO_PACKAGE="License prohibits redistribution"
XNO_CDROM="No commercial redistribution"
XNO_BUILD= YES
XNO_WRKSUBDIR= YES
XIS_INTERACTIVE= YES
XONLY_FOR_ARCHS= i386
X
XOPTIONS= GUI "Install GUI" off
X
X.include <bsd.port.pre.mk>
X.if ${OSVERSION} < 600000
XIGNORE= needs at least FreeBSD 6.0-RELEASE
X.endif
X
X.if defined(WITH_GUI)
XTFMESSPATH=${WRKSRC}
X.else
XTFMESSPATH=${WRKSRC}/console_only
X.endif
X
Xdo-install:
X ${SH} ${PKGREQ} ${PORTNAME} INSTALL
X ${INSTALL} -o root -m 0755 ${TFMESSPATH}/libtfmessbsp.so ${PREFIX}/lib
X ${PREFIX}/bin/mod_install -fi ${PREFIX}/lib/libtfmessbsp.so
X
Xpost-install:
X.if defined(WITH_GUI)
X @${ECHO_CMD} ""
X @${ECHO_CMD} "You have chosen to install the GUI version, this does"
X @${ECHO_CMD} "not always work correctly with PAM."
X @${ECHO_CMD} "Please install the non-gui version if you intend to"
X @${ECHO_CMD} "use this together with PAM."
X @${ECHO_CMD} ""
X.endif
X
X.include <bsd.port.post.mk>
END-of-bsp_upektfmess/Makefile
echo x - bsp_upektfmess/pkg-deinstall
sed 's/^X//' >bsp_upektfmess/pkg-deinstall << 'END-of-bsp_upektfmess/pkg-deinstall'
X#/bin/sh
X#
X# This will physically remove the file aswell.
X#
X
Xif [ "$2" != "DEINSTALL" ]; then
X exit 0
Xfi
X
Xmod_install -u libtfmessbsp.so
END-of-bsp_upektfmess/pkg-deinstall
echo x - bsp_upektfmess/pkg-descr
sed 's/^X//' >bsp_upektfmess/pkg-descr << 'END-of-bsp_upektfmess/pkg-descr'
XUPEK TouchChip TFM/ESS Fingerprint BSP is a (binary only) BioAPI BSP which
Xprovides support for UPEKs fingerprint sensors.
X
XUPEK manufactures both embedded and stand-alone USB-readers, and
Xtheir sensors can be found for example in several notebooks such
Xas IBM ThinkPads, ASUS notebooks, Samsung P10, P30, and T10 series,
XNEC Versa and several others.
X
XWWW: http://www.upek.com
END-of-bsp_upektfmess/pkg-descr
echo x - bsp_upektfmess/distinfo
sed 's/^X//' >bsp_upektfmess/distinfo << 'END-of-bsp_upektfmess/distinfo'
XMD5 (TFMESS_BSP_FreeBSD_1.0.zip) = 6c7c4af3cf4dc2171f25db37a5d5ee91
XSHA256 (TFMESS_BSP_FreeBSD_1.0.zip) = 3d66837b45f2083ebbc8e1cbb4ea2c22bbf40a40d5366ce798da11a5c0056633
XSIZE (TFMESS_BSP_FreeBSD_1.0.zip) = 596447
END-of-bsp_upektfmess/distinfo
echo x - bsp_upektfmess/pkg-req
sed 's/^X//' >bsp_upektfmess/pkg-req << 'END-of-bsp_upektfmess/pkg-req'
X#!/bin/sh
X
Xcase "$2" in
XINSTALL)
X cat << EOF | more
X END-USER LICENSE AGREEMENT
X for
X UPEK, INC. SDK SOFTWARE PRODUCTS
X IMPORTANT, PLEASE READ CAREFULLY
X
XYOU MAY NOT INSTALL OR USE THIS UPEK SOFTWARE PRODUCT
XUNLESS YOU HAVE CAREFULLY READ THE TERMS AND CONDITIONS SET FORTH BELOW AND
XINDICATE YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS BY CLICKING ON THE I
XACCEPT BUTTON AT THE END OF THIS SCREEN.
X
XThis End-User License Agreement (EULA) represents the understanding between
XUPEK, Inc. and its successors and assigns (UPEK) and you (either an individual
Xperson or a single legal entity, referred to in this EULA as You or Your) and
Xgoverns the use of the UPEK software product that accompanies this EULA,
Xincluding any associated media, printed materials and electronic documentation
X(the Software Product), except to the extent a particular program is the subject
Xof a separate written agreement with UPEK. The Software Product may also include
Xany software updates, add-on components, stencils, templates, shapes, symbols,
Xweb services and/or supplements that UPEK may provide to You or make available
Xto You, or that You obtain from the use of features or functionality of the
XSoftware Product, after the date You obtain Your initial copy of the Software
XProduct (whether by delivery of a CD, permitted downloading from the Internet or
Xa dedicated web site, or otherwise), to the extent that such items are not
Xaccompanied by a separate license agreement or terms of use.
X
XBY INSTALLING OR USING THE SOFTWARE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
XTHIS EULA. IF YOU DO NOT AGREE TO ALL OF THE TERMS AND CONDITIONS OF THIS EULA,
XTHEN (A) DO NOT INSTALL OR USE THE SOFTWARE PRODUCT, AND (B) YOU MAY RETURN THE
XSOFTWARE PRODUCT TO THE PERSON WHO PROVIDED IT TO YOU FOR A FULL REFUND.
X
XShould You have any questions concerning this EULA, or if You desire to contact
XUPEK for any reason, please contact the UPEK subsidiary serving Your
Xcountry/region.
X
X1. GRANT OF LICENSE. Subject to the terms and conditions of this EULA and Your
Xpayment of all applicable fees for the Software Product, UPEK and its suppliers
Xhereby grant to You, and You hereby accept a nonexclusive license to install and
Xuse copies of the Software Product, on a device, workstation, terminal, PC
Xperipheral or other digital, electronic or analog device embedding a UPEK
Xfingerprint sensor (a UPEK-Enabled Device), for the purpose of designing,
Xcreating testing, and distributing Your software product(s). If this Software
XProduct contains documentation that is provided only in electronic form, You may
Xprint one copy of such electronic documentation; provided, however, that You may
Xnot copy the printed materials accompanying the Software Product.
X
X2. ADDITIONAL LICENSE RIGHTS REDISTRIBUTABLE CODE. In addition to the rights
Xgranted in section 1, certain portions of the product are redistributable by You
Xas part of Your copyrighted software application. These additional license
Xrights are conditioned upon your compliance with the distribution requirements
Xand license restrictions described in Section 3.
X
X2.1 Sample Code. UPEK grants you the right to use and modify the source code
Xversion of those portions of the Product identified as "Samples" in
XREDISTRIBUTABLES.TXT or elsewhere in the Product ("Sample Code") for the sole
Xpurposes of designing, developing, testing and distributing your software
Xproduct(s), and to reproduce and distribute the Sample Code, along with any
Xmodifications thereof, in object and/or source code form. For applicable
Xredistribution requirements for Sample Code, see Section 3.1 below.
X
X2.2 Redistributable Object-Code. UPEK grants you a nonexclusive right to
Xreproduce and distribute the object code of any portion of the Product listed in
XREDISTRIBUTABLES.TXT ("Redistributable Code"). For applicable redistribution
Xrequirements for Redistributable Code, see Section 3.1, below.
X
X3. LICENSE RESTRICTIONS -- DISTRIBUTION REQUIREMENTS. If you choose to exercise
Xyour rights under Section 2, any redistribution by you requires compliance with
Xthe following terms, as appropriate.
X
X3.1 Redistributable Code-Standard.
X
X(a) If you are authorized and choose to redistribute Sample Code and/or
XRedistributable Object- Code, as described in Section 2, you agree: (i) except
Xas otherwise noted in Section 2.1 (Sample Code), to distribute the
XRedistributables only in object code form and in conjunction with and as a part
Xof a copyrighted software application product developed by you that adds
Xsignificant and primary functionality to the Redistributables ("Licensed
XProduct"); (ii) to display your own valid copyright notice which shall be
Xsufficient to protect UPEKs copyright in the Product; (iii) not to remove or
Xobscure any copyright, trademark or patent notices that appear on the Product as
Xdelivered to you; (iv) to indemnify, hold harmless, and defend UPEK from and
Xagainst any claims or lawsuits, including attorney's fees, that arise or result
Xfrom the use or distribution of the Licensed Product; (v) otherwise comply with
Xthe terms of this EULA; and (vi) agree that UPEK reserves all rights not
Xexpressly granted.
X
X(b) You also agree not to permit further distribution of the Redistributables by
Xyour end users except: (1) you may permit further redistribution of the
XRedistributables by your distributors to your end-user customers if your
Xdistributors only distribute the Redistributables in conjunction with, and as
Xpart of, the Licensed Product and You and Your distributors comply with all
Xother terms of this EULA.
X
X4. RESERVATION OF RIGHTS; RESTRICTIONS. All rights not expressly granted by UPEK
Xin this EULA are reserved. Except as otherwise expressly provided under this
XEULA, You shall not, and shall not allow any third party to: (a) transfer,
Xassign, sublicense, resell, re-license or provide, lease, lend or allow access
Xto the Software Product to any other person or entity, except as otherwise
Xprovided herein;
X
X(b) make error corrections or create derivative works based upon the Software
XProduct;
X
X(c) copy (except to make a single back-up copy to replace an unusable copy of
Xthe Software Product), modify, prepare derivative works based upon, decompile,
Xdecrypt, reverse engineer or attempt to reconstruct or discover any source code
Xor underlying ideas or algorithms of the Software Product by any means
Xwhatsoever (except to the extent applicable laws specifically prohibit such
Xrestriction), disassemble or otherwise reduce the Software Product to
Xhuman-readable form to gain access to trade secrets or confidential information
Xin the Software Product;
X
X(d) use the Software Product for timesharing, hosting or service bureau
Xpurposes; or
X
X(e) remove, obscure, or alter UPEKs (or its third party licensors) copyright
Xnotices, trademarks, or other proprietary rights notices affixed to or contained
Xwithin the Software Product (and any copies thereof, including the back-up copy)
Xor use such notices, trademarks or service marks for any other purpose. You
Xunderstand and agree that (i) the Software Product is licensed to You and not
Xsold, (ii) your license to the individual components of the Software Product is
Xlimited to use of the Software Product as a whole, and You may not use or seek
Xto use software code incorporated therein on a stand-alone basis, and (iii) the
Xindividual components of the Software Product may not be separated for use on
Xmore than one UPEKEnabled Device, unless expressly permitted by this EULA. UPEK
Xretains title to all copies of the Software Product and all associated
Xintellectual property rights therein, and any and all documentation thereof.
X
X5. PROPRIETARY NOTICES; TRADEMARKS. You agree to maintain and reproduce all
Xcopyright and other proprietary notices on all copies, in any form, of the
XSoftware Product in the same form and manner that such copyright and other
Xproprietary notices are included on the Software Product, including on any
Xback-up copy of the Software Product. This EULA does not grant You any rights in
Xconnection with any trademarks or service marks of UPEK.
X
X6. SUPPORT SERVICES. UPEK may provide You with support services related to the
XSoftware Product (Support Services). Use of Support Services, if any, is
Xgoverned by the UPEK policies and terms described in other UPEK-provided
Xmaterials. Any supplemental software code provided to You as part of the Support
XServices is considered part of the Software Product and subject to the terms and
Xconditions of this EULA.
X
X7. LIMITED WARRANTY.
X
X(a) UPEK warrants that during the Warranty Period (as defined below): (i) the
Xmedia on which the Software Product is furnished, if any, will be free of
Xdefects in materials and workmanship under normal use; and (ii) the Software
XProduct will substantially conform to its published specifications (the Limited
XWarranty). The Warranty Period means a period beginning on the date of Your
Xreceipt of the Software Product, as applicable, and ending on the later of (i)
Xthirty (30) days from the date of delivery of such Software Product, as
Xapplicable, or (ii) the end of the minimum period required by the law of the
Xapplicable jurisdiction. The Limited Warranty extends only to You as the
Xoriginal licensee. This Limited Warranty does not cover anything caused by
Xaccident or abuse or by use of the Software Product other than for its
Xreasonably intended purposes and as recommended in the accompanying user
Xdocumentation. Updates are covered by this warranty only if provided to You
Xduring the Warranty Period. Your sole and exclusive remedy and the entire
Xliability of UPEK and its suppliers under this Limited Warranty will be, at
XUPEKs option, to repair, replace, or refund the purchase price for the Software
XProduct that is returned to UPEK, as applicable, provided that you report the
Xdefects to UPEK or its designee within the Warranty Period. Any breach of the
XLimited Warranty related to an error or defect in the media containing the
XSoftware Product shall be remedied solely with the replacement of the media
Xcontaining the Software Product. You shall pay shipping or freight charges,
Xincluding, without limitation, obtaining full value replacement insurance, for
Xany returns, whether for repair, replacement, or refund, to UPEK or its
Xdesignee.
X
X(b) This warranty does not apply if the Software Product (i) is licensed for
Xbeta, evaluation, testing, demonstration or other purposes for which UPEK does
Xnot receive a license fee, (ii) has been altered, except by UPEK, (iii) has not
Xbeen installed, operated, repaired, or maintained by UPEK or in accordance with
Xinstructions supplied by UPEK, (iv) has been subjected to abnormal physical or
Xelectrical stress, misuse, negligence, or accident, or (v) is used in
Xultrahazardous activities.
X
X8. DISCLAIMER OF WARRANTIES.
X
X(a) EXCEPT FOR THE EXPRESS WARRANTIES SET FORTH IN SECTION 7, UPEK AND ITS
XSUPPLIERS PROVIDE THE SOFTWARE PRODUCT AND SUPPORT SERVICES (IF ANY) TO YOU AS
XIS, AND YOUR USE IS AT YOUR OWN RISK. UPEK DOES NOT MAKE, AND HEREBY DISCLAIMS,
XANY AND ALL OTHER EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
XIMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
XNONINFRINGEMENT OF THIRD PARTY RIGHTS, AND ANY WARRANTIES ARISING FROM A COURSE
XOF DEALING, USAGE, OR TRADE PRACTICE. THE DURATION OF ANY IMPLIED WARRANTY THAT
XIS NOT EFFECTIVELY DISCLAIMED WILL BE LIMITED TO THE WARRANTY PERIOD. SOME
XSTATES DO NOT ALLOW LIMITATIONS ON HOW LONG AN IMPLIED WARRANTY LASTS, SO THE
XABOVE LIMITATION MAY NOT APPLY TO YOU.
X
X(b) UPEK DOES NOT WARRANT THAT THE SOFTWARE PRODUCT IS ERROR FREE OR THAT YOU
XWILL BE ABLE TO OPERATE THE SOFTWARE WITHOUT PROBLEMS OR INTERRUPTIONS.
X
X9. LIMITATION OF LIABILITY.
X
X(a) TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, YOU EXPRESSLY ACKNOWLEDGE
XAND AGREE THAT NEITHER UPEK NOR ITS AFFILIATES, RESELLERS OR LICENSORS WILL BE
XLIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR
XEXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THIS EULA, HOWSOEVER
XCAUSED BY ANY THEORY OF LIABILITY, INCLUDING BUT NOT LIMITED TO, CONTRACTS,
XPRODUCTS LIABILITY, STRICT LIABILITY AND NEGLIGENCE, AND WHETHER OR NOT UPEK OR
XITS SUPPLIERS OR LICENSORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
XWITHOUT LIMITING THE FOREGOING AND TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE
XLAW, IN NO EVENT WILL THE TOTAL LIABILITY OF UPEK OR ANY OF ITS AFFILIATES,
XSUPPLIERS OR LICENSORS ARISING OUT OF OR RELATED TO THIS EULA EXCEED THE FEES
XACTUALLY PAID TO UPEK FOR THE SOFTWARE PRODUCT. (b) YOU ACKNOWLEDGE AND AGREE
XTHAT THE PROVISIONS UNDER THIS EULA THAT LIMIT LIABILITY, DISCLAIM WARRANTIES,
XOR EXCLUDE CONSEQUENTIAL DAMAGES OR OTHER DAMAGES OR REMEDIES ARE ESSENTIAL
XTERMS OF THIS EULA THAT ARE FUNDAMENTAL TO THE PARTIES UNDERSTANDING REGARDING
XALLOCATION OF RISK. ACCORDINGLY, SUCH PROVISIONS SHALL BE SEVERABLE AND
XINDEPENDENT OF ANY OTHER PROVISIONS AND SHALL BE ENFORCED AS SUCH, REGARDLESS OF
XANY BREACH OR OTHER OCCURRENCE HEREUNDER, AND EVEN UNDER CIRCUMSTANCES THAT
XCAUSE ANY EXCLUSIVE REMEDY UNDER THIS EULA TO FAIL OF ITS ESSENTIAL PURPOSE.
X
X10. TERM AND TERMINATION.
X
X(a) The term of this EULA shall commence upon the date You accept the terms and
Xconditions of this EULA, and shall continue in full force and effect thereafter
Xunless terminated by UPEK as provided herein. UPEK may, at its option,
Xterminate this EULA immediately upon notice to You, if You fail to comply with
Xany terms and conditions of this EULA.
X
X(b) Upon termination, all license rights under this EULA will terminate and You
Xmust promptly destroy all copies of the Software Product in Your possession or
Xcontrol. Upon UPEKs request, You shall certify in writing that You have complied
Xwith Your obligations under this Section and otherwise under this EULA.
XTermination by UPEK will not limit any of UPEKs other rights or remedies under
Xthis EULA or at law or in equity.
X
X11. MISCELLANEOUS.
X
X(a) LIMITS ON YOUR RIGHT TO TRANSFER. You may not assign, sublicense, rent,
Xlease, lend, sell, grant a security interest in, or otherwise transfer the
XSoftware Product or any rights under this EULA without the prior written consent
Xof UPEK.
X
X(b) APPLICABLE LAW. This EULA is governed by the laws of the United States and
Xthe State of California, without regard to the conflict of laws principles
Xthereof. In relation to any legal action or proceeding arising out of this EULA,
XYou hereby irrevocably consent and submit to the exclusive jurisdiction of the
Xcompetent federal and state courts having jurisdiction in San Francisco County,
XCalifornia, and waive any objection to proceedings in such courts. If this EULA
Xis translated into a language other than English and there is a conflict between
Xthe terms of the EULA in English and the EULA in the other language, the terms
Xof the terms of the EULA in English shall prevail. The EULA in English may be
Xdownloaded from the UPEK website.
X
X(c) COMPLIANCE WITH LAWS. You agree to use the Software Product in compliance
Xwith all applicable laws, statutes, rules and regulations, including, without
Xlimitation, U.S. export laws and regulations.
X
X(d) SEVERABILITY AND SURVIVAL. If any provision of this EULA is illegal or
Xunenforceable under applicable law, the remaining provisions of this EULA will
Xremain valid and fully enforceable. If any provision is in part enforceable and
Xin part unenforceable, it will be enforced to the extent permitted under
Xapplicable law. Sections 4, 5, 7, 8, 9, 10 and 11 shall survive the termination
Xof this EULA.
X
X(e) INJUNCTIVE RELIEF. You agree that a breach of this EULA adversely affecting
XUPEKs proprietary rights in the Software Product or any UPEK-Enabled Device may
Xcause irreparable injury to UPEK for which monetary damages would not be an
Xadequate remedy and UPEK shall be entitled to equitable relief in addition to
Xany remedies it may have hereunder or at law.
X
X(f) ENTIRE AGREEMENT. This EULA (including any addendum or amendment to this
XEULA which is included with the Software Product) is the entire agreement
Xbetween You and UPEK relating to the Software Product and the Support Services
X(if any) and they supersede all prior or contemporaneous oral or written
Xcommunications, proposals and representations with respect to the Software
XProduct or any other subject matter covered by this EULA. No amendment to or
Xmodification of this EULA will be binding unless made in writing and signed by
XUPEK. No failure to exercise, and no delay in exercising, on the part of either
Xparty, any right or any power hereunder shall operate as a waiver thereof, nor
Xshall any single or partial exercise of any right or power hereunder preclude
Xfurther exercise of any other right hereunder. In the event of any conflict
Xbetween this EULA and any applicable purchase terms or UPEKs policies and terms
Xfor Support Services, the terms of this EULA shall control.
X
XEOF
X
X echo -n "Do you agree with these terms [y/N] ? "
X read answer
X if [ "${answer}" != "y" -a "${answer}" != "Y" ]; then
X exit 1
X else
X exit 0
X fi
X ;;
X*)
X ;;
Xesac
END-of-bsp_upektfmess/pkg-req
exit
--- bsp_upektfmess ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list