diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-04-05 10:59:49 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-04-05 18:54:38 -0500 |
commit | 69942d8576bbba4130128a9ddc4dd60a0c1effd9 (patch) | |
tree | bf6f1f5bae6e0b7fdf3f85c151c670f416524574 /system | |
parent | 7ecdca5bd22820a1b151e891eeb6dea834efb575 (diff) |
system/opensc-dnie: 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')
-rw-r--r-- | system/opensc-dnie/README | 16 | ||||
-rw-r--r-- | system/opensc-dnie/doinst.sh | 19 | ||||
-rw-r--r-- | system/opensc-dnie/opensc-dnie.SlackBuild | 69 | ||||
-rw-r--r-- | system/opensc-dnie/opensc-dnie.info | 10 | ||||
-rw-r--r-- | system/opensc-dnie/slack-desc | 19 |
5 files changed, 0 insertions, 133 deletions
diff --git a/system/opensc-dnie/README b/system/opensc-dnie/README deleted file mode 100644 index 9a433ecfa9c4..000000000000 --- a/system/opensc-dnie/README +++ /dev/null @@ -1,16 +0,0 @@ -This package provides opensc support for Spanish ID cards. - -Unfortunately, the developer (Spanish Govt.) 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-pkcs11.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-dnie/doinst.sh b/system/opensc-dnie/doinst.sh deleted file mode 100644 index 5d1f522e4854..000000000000 --- a/system/opensc-dnie/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-dnie/opensc-dnie.SlackBuild b/system/opensc-dnie/opensc-dnie.SlackBuild deleted file mode 100644 index 80c6dbb892c3..000000000000 --- a/system/opensc-dnie/opensc-dnie.SlackBuild +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -## Written by Daniel R. <danielrodriguez.es@gmail.com> - -# Based on scripts by the SlackBuilds.org project - -PRGNAM=opensc-dnie -VERSION=1.4.6_2 -ARCH=${ARCH:-i386} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "x86_64" ]; then - TARGET="x86_64" -else - TARGET="x86" -fi - -if [ "$TARGET" = "x86" ]; then - SRCFILE=Debian_Lenny_${PRGNAM}_$(echo $VERSION | tr "_" "-")_i386.deb.tar - SRCDEB=${PRGNAM}_$(echo $VERSION | tr "_" "-")_i386.deb -elif [ "$TARGET" = "x86_64" ]; then - SRCFILE=Debian_Lenny_${PRGNAM}_$(echo $VERSION | tr "_" "-")_amd64.deb.tar - SRCDEB=${PRGNAM}_$(echo $VERSION | tr "_" "-")_amd64.deb -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $PKG - -tar xf $CWD/$SRCFILE $SRCDEB -ar x $SRCDEB data.tar.gz -tar xxf 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.dnie - 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.dnie $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-dnie/opensc-dnie.info b/system/opensc-dnie/opensc-dnie.info deleted file mode 100644 index 4247ac19e4f0..000000000000 --- a/system/opensc-dnie/opensc-dnie.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="opensc-dnie" -VERSION="1.4.6_2" -HOMEPAGE="http://www.dnielectronico.es/" -DOWNLOAD="http://www.dnielectronico.es/descargas/PKCS11_para_Sistemas_Unix/1.4.6.Debian_Lenny_32/Debian_Lenny_opensc-dnie_1.4.6-2_i386.deb.tar" -MD5SUM="99729a2ae39b808ec47fac74c6236e02" -DOWNLOAD_x86_64="http://www.dnielectronico.es/descargas/PKCS11_para_Sistemas_Unix/1.4.6.Debian_Lenny_64/Debian_Lenny_opensc-dnie_1.4.6-2_amd64.deb.tar" -MD5SUM_x86_64="b5124e7b3206f48b35e468f14f74b3ad" -MAINTAINER="Daniel R." -EMAIL="<danielrodriguez.es@gmail.com>" -APPROVED="rworkman" diff --git a/system/opensc-dnie/slack-desc b/system/opensc-dnie/slack-desc deleted file mode 100644 index 720b6fbefc4d..000000000000 --- a/system/opensc-dnie/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-dnie: opensc-dnie (opensc support for Spanish ID cards) -opensc-dnie: -opensc-dnie: This package provides opensc support for Spanish ID cards. -opensc-dnie: -opensc-dnie: Homepage: http://www.dnielectronico.es -opensc-dnie: -opensc-dnie: -opensc-dnie: -opensc-dnie: -opensc-dnie: -opensc-dnie: |