Date: Sat, 26 Jan 2013 20:45:42 -0800 (PST) From: Matt Stofko <matt@mjslabs.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/175619: New port: security/ykpers Library and command line tool used to personalize YubiKeys Message-ID: <201301270445.r0R4jgLt034177@phjeer.us> Resent-Message-ID: <201301270450.r0R4o0Zc038041@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <matt@mjslabs.com> >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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301270445.r0R4jgLt034177>