From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 27 04:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EE394DA1 for ; Sun, 27 Jan 2013 04:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id CF012EDB for ; Sun, 27 Jan 2013 04:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0R4o0vf038042 for ; Sun, 27 Jan 2013 04:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0R4o0Zc038041; Sun, 27 Jan 2013 04:50:00 GMT (envelope-from gnats) Resent-Date: Sun, 27 Jan 2013 04:50:00 GMT Resent-Message-Id: <201301270450.r0R4o0Zc038041@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matt Stofko Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DC1D8D8D for ; Sun, 27 Jan 2013 04:45:50 +0000 (UTC) (envelope-from matts@phjeer.us) Received: from phjeer.us (phjeer.us [184.105.237.83]) by mx1.freebsd.org (Postfix) with ESMTP id CD40EED0 for ; Sun, 27 Jan 2013 04:45:50 +0000 (UTC) Received: from phjeer.us (localhost [127.0.0.1]) by phjeer.us (8.14.5/8.14.5) with ESMTP id r0R4jgpl034178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 26 Jan 2013 20:45:42 -0800 (PST) (envelope-from matts@phjeer.us) Received: (from matts@localhost) by phjeer.us (8.14.5/8.14.5/Submit) id r0R4jgLt034177; Sat, 26 Jan 2013 20:45:42 -0800 (PST) (envelope-from matts) Message-Id: <201301270445.r0R4jgLt034177@phjeer.us> Date: Sat, 26 Jan 2013 20:45:42 -0800 (PST) From: Matt Stofko To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/175619: New port: security/ykpers Library and command line tool used to personalize YubiKeys X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matt Stofko List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 04:50:01 -0000 >Number: 175619 >Category: ports >Synopsis: New port: security/ykpers Library and command line tool used to personalize YubiKeys >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: Sun Jan 27 04:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Matt Stofko >Release: FreeBSD 8.3-RELEASE-p5 amd64 >Organization: mjslabs.com >Environment: System: FreeBSD phjeer.us 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Fri Nov 23 12:36:33 PST 2012 root@phjeer.us:/usr/obj/usr/src/sys/DAEMON amd64 >Description: The YubiKey Personalization package contains a library and command line tool used to personalize (i.e., set a AES key) YubiKeys. It is also a prerequisite for the pam_yubico module. WWW: http://yubico.com >How-To-Repeat: >Fix: Please note that the patch-tests-test__args__to__config.c patch has been submitted to the maintainters of this project on GitHub so hopefully this patch can be removed from the ports tree in a future update. --- ykpers.shar 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: # # ykpers # ykpers/Makefile # ykpers/distinfo # ykpers/pkg-descr # ykpers/files # ykpers/files/patch-tests-test__args__to__config.c # echo c - ykpers mkdir -p ykpers > /dev/null 2>&1 echo x - ykpers/Makefile sed 's/^X//' >ykpers/Makefile << 'b0178729e3597a582566a10f6580e1c9' X# $FreeBSD$ X XPORTNAME= ykpers XPORTVERSION= 1.11.3 XCATEGORIES= security XMASTER_SITES= GOOGLE_CODE X XMAINTAINER= matt@mjslabs.com XCOMMENT= Library and tool for personalization of Yubico's YubiKey X XLICENSE= BSD X XLIB_DEPENDS= usb:${PORTSDIR}/devel/libusb \ X yubikey:${PORTSDIR}/security/libyubikey X XGNU_CONFIGURE= yes XUSE_LDCONFIG= yes X XMAN1= ykchalresp.1 \ X ykinfo.1 \ X ykpersonalize.1 XPLIST_FILES= bin/ykchalresp \ X bin/ykinfo \ X bin/ykpersonalize \ X include/ykpers-1/ykcore.h \ X include/ykpers-1/ykdef.h \ X include/ykpers-1/ykpbkdf2.h \ X include/ykpers-1/ykpers.h \ X include/ykpers-1/ykpers-version.h \ X include/ykpers-1/ykstatus.h \ X lib/libykpers-1.a \ X lib/libykpers-1.la \ X lib/libykpers-1.so \ X lib/libykpers-1.so.12 \ X libdata/pkgconfig/ykpers-1.pc XPLIST_DIRS= include/ykpers-1 X XPROJECTHOST= yubikey-personalization X XMAKE_JOBS_UNSAFE=yes X Xpost-patch: X @${REINPLACE_CMD} -e 's|^pkgconfigdir = .*|pkgconfigdir = /usr/local/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in X Xregression-test: X @(cd ${WRKSRC}; ${MAKE} check) X X.include b0178729e3597a582566a10f6580e1c9 echo x - ykpers/distinfo sed 's/^X//' >ykpers/distinfo << 'c42233ff4f600af5dfaf1f97b7a6f091' XSHA256 (ykpers-1.11.3.tar.gz) = 9c89fa2ffe68612d10e7d4b733372706360abddbc3e7442958023f4f6110dac6 XSIZE (ykpers-1.11.3.tar.gz) = 463589 c42233ff4f600af5dfaf1f97b7a6f091 echo x - ykpers/pkg-descr sed 's/^X//' >ykpers/pkg-descr << 'dd270315f7c9f19b6337cda7a8221610' XThe YubiKey Personalization package contains a library and command line tool Xused to personalize (i.e., set a AES key) YubiKeys. X XWWW: https://code.google.com/p/yubikey-personalization/ dd270315f7c9f19b6337cda7a8221610 echo c - ykpers/files mkdir -p ykpers/files > /dev/null 2>&1 echo x - ykpers/files/patch-tests-test__args__to__config.c sed 's/^X//' >ykpers/files/patch-tests-test__args__to__config.c << '7a23f7f69eaa0f08b0703f2c43cce362' X--- tests/test_args_to_config.c.orig 2013-01-26 18:31:02.000000000 -0800 X+++ tests/test_args_to_config.c 2013-01-26 18:40:07.000000000 -0800 X@@ -123,7 +123,13 @@ X int rc; X X ykp_errno = 0; X- optind = 0; /* getopt reinit */ X+ X+/* Handle both GNU and BSD getopt reinit */ X+#ifdef __GLIBC__ X+ optind = 0; X+#else X+ optind = optreset = 1; X+#endif X X /* copy version number from st into cfg */ X assert(ykp_configure_for(cfg, 1, st) == 1); X@@ -308,7 +314,13 @@ X int argc = 7; X X ykp_errno = 0; X- optind = 0; /* getopt reinit */ X+ X+/* Handle both GNU and BSD getopt reinit */ X+#ifdef __GLIBC__ X+ optind = 0; X+#else X+ optind = optreset = 1; X+#endif X X /* copy version number from st into cfg */ X ykp_configure_version(cfg, st); 7a23f7f69eaa0f08b0703f2c43cce362 exit --- ykpers.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: