softhsm: Nuevo

master
Gerardo Zamudio 4 years ago
parent 8776310d46
commit 6d59231ebe
Signed by: gzamudio
GPG Key ID: F6CFA5A99E7B5957

@ -10,10 +10,10 @@ tail +13 CHECKSUMS.md5 | md5sum --check | less
/pub/gnu, or at any GNU mirror site.
MD5 message digest Filename
802a0232ad4f6de672e0ff7035531116 ./ChangeLog.rss
b98d13732f81bb1e26c4fc667e9ca282 ./ChangeLog.txt
3041d6daf80ee7a00c901d2633dbc4f6 ./ChangeLog.txt.gz
a75b6fd417f460c483093c54d889941a ./FILELIST.TXT
3fb103c220e4a947bf42c9dcdad5779f ./ChangeLog.rss
beb1d98bb84f73b41395e1395160692e ./ChangeLog.txt
ef677f29fdbe0ab7195415cd43c1aebe ./ChangeLog.txt.gz
7c50b50bbb0ef1f81b3f7f78d07dc2ad ./FILELIST.TXT
7f4bffeb686cc5fd6056bd404dda08d7 ./GPG-KEY
da383ab76280ea8afacdf5f256d85cc2 ./MANIFEST.bz2
929e7c4ff15161d2fcba2057ec2a2f3a ./NetworkManager-fortisslvpn/HEADER.txt
@ -28,8 +28,8 @@ da383ab76280ea8afacdf5f256d85cc2 ./MANIFEST.bz2
862766d751cd6bf0a92e6162bd329186 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz.asc
d65495fb9b09ee9b0ede6c5903119dde ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz.md5
10f078f71cb5fa957784abc1c53a70d4 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.txt
fdb2f8616ef03e7c65faa9f83579145e ./PACKAGES.TXT
caa84d3b0773789532d6d8162a94174d ./PACKAGES.TXT.gz
639f7f0a823bb43c0a8a44e19d56e393 ./PACKAGES.TXT
65e8e53a80096470da504352b6be7230 ./PACKAGES.TXT.gz
c816a86246d3cc161cf2e869d16131bd ./audit/HEADER.txt
c816a86246d3cc161cf2e869d16131bd ./audit/README
29eb321fa3b3c679ba8e4ae4b36a3809 ./audit/build/README
@ -384,6 +384,11 @@ af33837e85e9392ef7b9737f8d4ad73f ./snappy/pkg64/current/snappy-1.1.8-x86_64-2_l
cdf0b529bf3f0349f24ef3332cfac673 ./snappy/pkg64/current/snappy-1.1.8-x86_64-2_lem.tgz.asc
229519c207c0735515f7059f3472fcfa ./snappy/pkg64/current/snappy-1.1.8-x86_64-2_lem.tgz.md5
9424381169d981c051fe53fb1e232e85 ./snappy/pkg64/current/snappy-1.1.8-x86_64-2_lem.txt
3097d6960f19bd36ca6196e33a4498da ./softhsm/build/README
0fa84b0d232fc8ae227444e1a60aa375 ./softhsm/build/doinst.sh
a9d0846df6885f710438f15c939657e9 ./softhsm/build/slack-desc
77745fdcd0ff5fdcdd5c3e4eac5b01c9 ./softhsm/build/softhsm.SlackBuild
d7aba5faa9869624e4badd6205197389 ./softhsm/build/softhsm.info
0cbdff8224de94fc07751f668fe84a7d ./source-highlight/HEADER.txt
0cbdff8224de94fc07751f668fe84a7d ./source-highlight/README
8043d9fcf4e5b07fb3f9524a9772f252 ./source-highlight/build/README

@ -1,17 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAmCNy94ZHGd6YW11ZGlv
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZVzCLD/9cUrK9xoXSYt4mnUjYCr5y
tTiE1tlFtLkRiYGpEzYSMrvDnEcYF4XmLyPJigHNcxDM/wymo+GLBtKfG7k9qjk1
QvggVwFwZc852B9BVMKWWku00PxA87dHjOTUC97JvJ/1NlU55HsleMc/SAZkSa1b
R8EG67MpgB67W0lTk9LxqvcOdWhHlarYz93m69cuPRU1MptW3ZxI9I6MO1iuTZuv
Y3K8ASe24y5h+V26YoIc2TBuzssMuPptviZPxZV6KnjPkUeiitsQhjbidvc1Brwj
qnqEZBJeAxGmYGJQH3e+uU9CLuF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yZy5teAAKCRD2z6WpnntZV0hMD/9dN29UFLXFBghV74EYqWwV
Aaoxn8yBoguAB3OGGv5gioTXBuCgH0nsEj/Rod86wpaGgyJO0Q/FxyGxQSgzGDDh
wZmWlT0Ekn5kLu+uADctPX2VE30X7C1wUlXti+ZTNyAuFXzlXI0G3BFdGTc7oXbK
Wmr//Fd5roOkkCVX2esK+1vlIBfdN1s7NXRqI7Mx/2ySA60tQAXUHydWWWnVoyYD
8KGacdxh7MN4LIecLcU4f4p+xdGEnovDYyfKI53MqFdTq59QkNwwa0+4P8KsDvCB
4O8euHEgKKTWg7It2AQyMHtpz1FMMbD0PMtVzj95/3tQRW/MeAEZDOl81vrRU/ve
jtrI0JclKpA69bwE0gY4NBgpWyDsxL8HSCia9E15/dk0nGGQCjlm92rWaKhmgBng
w4fdbDuu4OSQQY2olnh4ns8nJPANmnkusuZnZAtW4TB//enoX7ysZRB0v0k1ESlw
24Gd6MTyYnUrejL0enoUKnNPmof854CoMd1pFdETLpf/bGkIoeZ9Di+hVkdQ06dF
ZxIeFRXKB2zPdpMQ3X+Aef45P5IKdGpOWprDN84xVK19LVPaGfnHlqbMtGE7eogB
8ykweIWB9YZvBxBziKjPrXTXS8CdK6pCRYRW4A9KZCtm6kJVh8N7dUfTq9n8mRix
upt/6qV73mg2NLMQomLOXw==
=80Eg
-----END PGP SIGNATURE-----

@ -11,10 +11,21 @@
<description>Repositorio de software para Slackare Linux proporcionado por Libre Expresión México</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:f735159c-86bd-11ea-9d48-04d4c453db33</id>
<pubDate>Sat, 1 May 2021 21:44:36 GMT</pubDate>
<lastBuildDate>Sat, 1 May 2021 21:44:54 GMT</lastBuildDate>
<pubDate>Sat, 1 May 2021 21:51:55 GMT</pubDate>
<lastBuildDate>Sat, 1 May 2021 21:52:03 GMT</lastBuildDate>
<generator>gen_repos_files.sh v 1.98</generator>
<item>
<title>Sat, 1 May 2021 21:51:55 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 1 May 2021 21:51:55 GMT</pubDate>
<guid isPermaLink="false">20210501165155</guid>
<description>
<![CDATA[<pre>
softhsm: Nuevo
</pre>]]>
</description>
</item>
<item>
<title>Sat, 1 May 2021 21:44:36 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 1 May 2021 21:44:36 GMT</pubDate>
@ -190,16 +201,5 @@ libmd: Arreglar README y HEADER.txt
</pre>]]>
</description>
</item>
<item>
<title>Sun, 25 Apr 2021 09:24:34 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sun, 25 Apr 2021 09:24:34 GMT</pubDate>
<guid isPermaLink="false">20210425042434</guid>
<description>
<![CDATA[<pre>
audit: Agregar README y HEADER.txt
</pre>]]>
</description>
</item>
</channel>
</rss>

@ -1,3 +1,7 @@
+--------------------------+
Sat May 1 21:51:55 UTC 2021
softhsm: Nuevo
+--------------------------+
Sat May 1 21:44:36 UTC 2021
pcsc-lite: Actualizar a versión 1.9.1

Binary file not shown.

@ -1,4 +1,4 @@
Sat May 1 21:44:36 UTC 2021
Sat May 1 21:51:55 UTC 2021
Here is the file list for https://mirror.slackware.mx/libremex/slackbuilds ,
maintained by Gerardo Zamudio <gzamudio@libremex.org.mx> .
@ -6,17 +6,17 @@ If you are using a mirror site and find missing or extra files
in the subdirectories, please have the archive administrator
refresh the mirror.
drwxr-xr-x 42 1000 100 4096 2021-05-01 16:45 .
-rw-r--r-- 1 1000 100 41239 2021-05-01 16:38 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2021-05-01 16:38 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 12596 2021-05-01 16:38 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2021-05-01 16:38 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 6274 2021-05-01 16:44 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 15032 2021-05-01 16:44 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 2132 2021-05-01 16:45 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2021-05-01 16:45 ./FILELIST.TXT
drwxr-xr-x 43 1000 100 4096 2021-05-01 16:52 .
-rw-r--r-- 1 1000 100 41315 2021-05-01 16:45 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2021-05-01 16:45 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 12624 2021-05-01 16:45 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2021-05-01 16:45 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 6254 2021-05-01 16:52 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 15106 2021-05-01 16:52 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 2148 2021-05-01 16:52 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2021-05-01 16:52 ./FILELIST.TXT
-rw-r--r-- 1 1000 100 6217 2020-05-23 23:52 ./GPG-KEY
-rw-r--r-- 1 1000 100 46332 2021-05-01 16:45 ./MANIFEST.bz2
-rw-r--r-- 1 1000 100 46332 2021-05-01 16:52 ./MANIFEST.bz2
drwxr-xr-x 4 1000 100 4096 2020-05-23 23:54 ./NetworkManager-fortisslvpn
-rw-r--r-- 1 1000 100 981 2020-05-23 23:54 ./NetworkManager-fortisslvpn/HEADER.txt
-rw-r--r-- 1 1000 100 981 2020-05-23 23:54 ./NetworkManager-fortisslvpn/README
@ -33,8 +33,8 @@ drwxr-xr-x 2 1000 100 4096 2020-05-23 19:03 ./NetworkManager-fortisslvpn/pk
-rw-r--r-- 1 1000 100 870 2020-05-23 19:03 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz.asc
-rw-r--r-- 1 1000 100 85 2020-05-23 19:03 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz.md5
-rw-r--r-- 1 1000 100 474 2020-05-23 19:03 ./NetworkManager-fortisslvpn/pkg64/current/NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.txt
-rw-r--r-- 1 1000 100 26989 2021-05-01 16:45 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 6666 2021-05-01 16:45 ./PACKAGES.TXT.gz
-rw-r--r-- 1 1000 100 26989 2021-05-01 16:52 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 6666 2021-05-01 16:52 ./PACKAGES.TXT.gz
drwxr-xr-x 4 1000 100 4096 2021-04-25 04:28 ./audit
-rw-r--r-- 1 1000 100 884 2021-04-25 04:28 ./audit/HEADER.txt
-rw-r--r-- 1 1000 100 884 2021-04-25 04:28 ./audit/README
@ -497,6 +497,15 @@ drwxr-xr-x 2 1000 100 4096 2020-05-23 23:01 ./snappy/pkg64/current
-rw-r--r-- 1 1000 100 870 2020-05-23 23:01 ./snappy/pkg64/current/snappy-1.1.8-x86_64-2_lem.tgz.asc
-rw-r--r-- 1 1000 100 64 2020-05-23 23:01 ./snappy/pkg64/current/snappy-1.1.8-x86_64-2_lem.tgz.md5
-rw-r--r-- 1 1000 100 559 2020-05-23 23:01 ./snappy/pkg64/current/snappy-1.1.8-x86_64-2_lem.txt
drwxr-xr-x 4 1000 100 4096 2021-05-01 16:49 ./softhsm
drwxr-xr-x 2 1000 100 4096 2021-05-01 16:51 ./softhsm/build
-rw-r--r-- 1 1000 100 218 2021-05-01 11:50 ./softhsm/build/README
-rw-r--r-- 1 1000 100 377 2021-05-01 11:50 ./softhsm/build/doinst.sh
-rw-r--r-- 1 1000 100 842 2021-05-01 11:50 ./softhsm/build/slack-desc
-rw-r--r-- 1 1000 100 3218 2021-05-01 11:50 ./softhsm/build/softhsm.SlackBuild
-rw-r--r-- 1 1000 100 300 2021-05-01 11:50 ./softhsm/build/softhsm.info
drwxr-xr-x 3 1000 100 4096 2021-05-01 16:49 ./softhsm/pkg64
drwxr-xr-x 2 1000 100 4096 2021-05-01 16:49 ./softhsm/pkg64/current
drwxr-xr-x 4 1000 100 4096 2020-05-25 19:23 ./source-highlight
-rw-r--r-- 1 1000 100 1054 2020-05-23 23:52 ./source-highlight/HEADER.txt
-rw-r--r-- 1 1000 100 1054 2020-05-23 23:52 ./source-highlight/README

@ -1,4 +1,4 @@
PACKAGES.TXT; Sat May 1 21:44:36 UTC 2021
PACKAGES.TXT; Sat May 1 21:51:55 UTC 2021
PACKAGE NAME: NetworkManager-fortisslvpn-1.2.10-x86_64-1_lem.tgz
PACKAGE MIRROR: https://mirror.slackware.mx/libremex/slackbuilds

Binary file not shown.

@ -0,0 +1,5 @@
softhsm (Software Hardware Security Module)
SoftHSM is an implementation of a cryptographic store accessible through a
PKCS #11 interface. You can use it to explore PKCS #11 without having a
Hardware Security Module.

@ -0,0 +1,14 @@
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/softhsm2.conf.new

@ -0,0 +1,19 @@
# 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 ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
softhsm: softhsm (Software Hardware Security Module)
softhsm:
softhsm: SoftHSM is an implementation of a cryptographic store accessible
softhsm: through a PKCS #11 interface. You can use it to explore PKCS #11
softhsm: without having a Hardware Security Module.
softhsm:
softhsm:
softhsm:
softhsm:
softhsm: Home-Page: https://www.opendnssec.org
softhsm:

@ -0,0 +1,105 @@
#!/bin/sh
# Slackware build script for softhsm
# Copyright 2016-2021 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=softhsm
VERSION=${VERSION:-2.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--disable-gost \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mv $PKG/etc/softhsm2.conf $PKG/etc/softhsm2.conf.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.md NEWS LICENSE $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
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

@ -0,0 +1,10 @@
PRGNAM="softhsm"
VERSION="2.6.1"
HOMEPAGE="https://www.opendnssec.org"
DOWNLOAD="https://dist.opendnssec.org/source/softhsm-2.6.1.tar.gz"
MD5SUM="040b93ca327cbe0a3a8661e7c371ab16"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Giuseppe Di Terlizzi"
EMAIL="giuseppe.diterlizzi@gmail.com"
Loading…
Cancel
Save