diff options
author | T3slider <t3slider@gmail.com> | 2016-12-03 22:14:45 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-04 19:28:52 +0000 |
commit | f17bbbb622d9d3a17a9633f09499a71bf903c24f (patch) | |
tree | 151c79d20c2069b4476a0ae1cd3e1becb4356922 /misc | |
parent | d030ce83d123e06f72a2cddc25654a24e9767ae2 (diff) | |
download | slackbuilds-f17bbbb622d9d3a17a9633f09499a71bf903c24f.tar.gz |
misc/ykpers: Updated for version 1.17.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ykpers/ykpers.SlackBuild | 18 | ||||
-rw-r--r-- | misc/ykpers/ykpers.info | 6 |
2 files changed, 15 insertions, 9 deletions
diff --git a/misc/ykpers/ykpers.SlackBuild b/misc/ykpers/ykpers.SlackBuild index 7b8e8c1574..a1f507db36 100644 --- a/misc/ykpers/ykpers.SlackBuild +++ b/misc/ykpers/ykpers.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ykpers -# Copyright 2013 T3slider <t3slider@gmail.com> +# Copyright 2016 T3slider <t3slider@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ykpers -VERSION=${VERSION:-1.17.2} +VERSION=${VERSION:-1.17.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -86,9 +86,15 @@ CXXFLAGS="$SLKCFLAGS" \ make check make install-strip DESTDIR=$PKG -# Can't use the included udev rules because they are incompatible with 182. mkdir -p $PKG/etc/udev/rules.d + +# Uncomment the next line and comment the following line to use the upstream +# udev rules instead (untested) which would give all local console users access +# instead of just those in the yubikey group + +#install -m 644 70-yubikey.rules $PKG/etc/udev/rules.d install -m 644 $CWD/90-yubikey.rules $PKG/etc/udev/rules.d + sed -i "s/yubikey/${GROUPNAME}/" $PKG/etc/udev/rules.d/90-yubikey.rules find $PKG/usr/man -type f -exec gzip -9 {} \; diff --git a/misc/ykpers/ykpers.info b/misc/ykpers/ykpers.info index 2cc4cf4101..da73db4291 100644 --- a/misc/ykpers/ykpers.info +++ b/misc/ykpers/ykpers.info @@ -1,8 +1,8 @@ PRGNAM="ykpers" -VERSION="1.17.2" +VERSION="1.17.3" HOMEPAGE="https://developers.yubico.com/yubikey-personalization/" -DOWNLOAD="https://developers.yubico.com/yubikey-personalization/releases/ykpers-1.17.2.tar.gz" -MD5SUM="c76de9624ad04094eb2aaeec10ea8c41" +DOWNLOAD="https://developers.yubico.com/yubikey-personalization/releases/ykpers-1.17.3.tar.gz" +MD5SUM="6b2b77ad338bf0ac84b12a0392ff0e34" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libyubikey" |