diff options
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 7b8e8c1574012..a1f507db361c0 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 2cc4cf4101569..da73db4291a76 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" |