diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-04-05 10:59:00 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-04-05 18:54:38 -0500 |
commit | 7ecdca5bd22820a1b151e891eeb6dea834efb575 (patch) | |
tree | c04ec414042df6359aec492ab53edbcbeb8dff2c /system/opensc-ceres | |
parent | b18acad2dfa8a9a9f424aeb3824e2c16899a069b (diff) | |
download | slackbuilds-7ecdca5bd22820a1b151e891eeb6dea834efb575.tar.gz |
system/opensc-ceres: Removed (incompatible with opensc-0.12.0)
Sorry, but proprietary stuff doesn't get to hold up progress.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/opensc-ceres')
-rw-r--r-- | system/opensc-ceres/README | 16 | ||||
-rw-r--r-- | system/opensc-ceres/doinst.sh | 19 | ||||
-rw-r--r-- | system/opensc-ceres/opensc-ceres.SlackBuild | 79 | ||||
-rw-r--r-- | system/opensc-ceres/opensc-ceres.info | 10 | ||||
-rw-r--r-- | system/opensc-ceres/slack-desc | 19 |
5 files changed, 0 insertions, 143 deletions
diff --git a/system/opensc-ceres/README b/system/opensc-ceres/README deleted file mode 100644 index 8e84eb4abc..0000000000 --- a/system/opensc-ceres/README +++ /dev/null @@ -1,16 +0,0 @@ -This package provides opensc support for FNMT CERES cards. - -Unfortunately, the developer (FNMT) does not provide the source code for -this software, but only binary packages for certain distributions. -Therefore, we just repackage the official binaries for Debian. - -If you use firefox, you must manually register /usr/lib/opensc-pkcs11.so -(or /usr/lib64/opensc-pkcs.11.so) as a security device in firefox. - -This requires pcsc-lite, pcsc-tools, pcsc-perl, ccid, openct, and opensc. - -Note: opensc-0.11.7 is shown as a required dependency according to the -upstream author of this software; your mileage may vary, especially since -we (SlackBuilds.org) currently have a newer version than that, and we -probably won't be reverting it in order to satisfy the requirements of -a binary-only package. diff --git a/system/opensc-ceres/doinst.sh b/system/opensc-ceres/doinst.sh deleted file mode 100644 index 5d1f522e48..0000000000 --- a/system/opensc-ceres/doinst.sh +++ /dev/null @@ -1,19 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config etc/opensc.conf.new - -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - diff --git a/system/opensc-ceres/opensc-ceres.SlackBuild b/system/opensc-ceres/opensc-ceres.SlackBuild deleted file mode 100644 index e30b793747..0000000000 --- a/system/opensc-ceres/opensc-ceres.SlackBuild +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -## Written by Daniel R. <danielrodriguez.es@gmail.com> - -# Based on scripts by the SlackBuilds.org project - -PRGNAM=opensc-ceres -VERSION=2.3.2 -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i386 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "x86_64" ]; then - TARGET="x86_64" -elif [ "$ARCH" = "i386" ]; then - TARGET="x86" -else - printf "$ARCH is not supported.\n" - exit 1 -fi - -if [ "$TARGET" = "x86" ]; then - SRCFILE=Debian_Lenny_32bits.zip - SRCDEB=${PRGNAM}_${VERSION}_i386.deb -elif [ "$TARGET" = "x86_64" ]; then - SRCFILE=Debian_Lenny_64bits.zip - SRCDEB=${PRGNAM}_${VERSION}-1_amd64.deb -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $PKG - -unzip -j $CWD/$SRCFILE $SRCDEB -ar x $SRCDEB data.tar.gz -tar xzf data.tar.gz -rm $SRCDEB data.tar.gz - -if [ "$TARGET" = "x86_64" ]; then - mv $PKG/usr/lib $PKG/usr/lib64 - sed -i "s%= /usr/lib/%= /usr/lib64/%" \ - $PKG/usr/share/$PRGNAM/opensc.conf.ceres - sed -i "s%libdir=\${exec_prefix}/lib%libdir=\${exec_prefix}/lib64%" \ - $PKG/usr/lib64/pkgconfig/*.pc - sed -i "s%/usr/lib%/usr/lib64%g" \ - $PKG/usr/lib64/*.la -fi - -mkdir -p $PKG/etc -cp $PKG/usr/share/$PRGNAM/opensc.conf.ceres $PKG/etc/opensc.conf.new - -mv $PKG/usr/share/doc $PKG/usr -mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -chown -R root:root . -find . -type d -exec chmod 755 {} \; -chmod -R u+rw,go+r-w,a-s . - -/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/opensc-ceres/opensc-ceres.info b/system/opensc-ceres/opensc-ceres.info deleted file mode 100644 index 73b1c8d6be..0000000000 --- a/system/opensc-ceres/opensc-ceres.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="opensc-ceres" -VERSION="2.3.2" -HOMEPAGE="http://www.cert.fnmt.es/" -DOWNLOAD="http://www.cert.fnmt.es/content/pages_std/software/Debian_Lenny_32bits.zip" -MD5SUM="15dd7c131b63ceb541b94e381f562f9c" -DOWNLOAD_x86_64="http://www.cert.fnmt.es/content/pages_std/software/Debian_Lenny_64bits.zip" -MD5SUM_x86_64="c735178150e0a247cdb7e366e2819fd1" -MAINTAINER="Daniel R." -EMAIL="<danielrodriguez.es@gmail.com>" -APPROVED="rworkman" diff --git a/system/opensc-ceres/slack-desc b/system/opensc-ceres/slack-desc deleted file mode 100644 index ce8fd21199..0000000000 --- a/system/opensc-ceres/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler--------------------------------------------------------| -opensc-ceres: opensc-ceres (opensc support for FNMT CERES cards) -opensc-ceres: -opensc-ceres: This package provides opensc support for FNMT CERES cards. -opensc-ceres: -opensc-ceres: Homepage: http://www.cert.fnmt.es -opensc-ceres: -opensc-ceres: -opensc-ceres: -opensc-ceres: -opensc-ceres: -opensc-ceres: |