summaryrefslogtreecommitdiff
path: root/misc/openssl-certs
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openssl-certs')
-rw-r--r--misc/openssl-certs/README7
-rw-r--r--misc/openssl-certs/doinst.sh1
-rwxr-xr-xmisc/openssl-certs/openssl-certs.SlackBuild65
-rw-r--r--misc/openssl-certs/openssl-certs.info10
-rw-r--r--misc/openssl-certs/slack-desc19
5 files changed, 102 insertions, 0 deletions
diff --git a/misc/openssl-certs/README b/misc/openssl-certs/README
new file mode 100644
index 0000000000..beffdabb2a
--- /dev/null
+++ b/misc/openssl-certs/README
@@ -0,0 +1,7 @@
+OpenSSL Certificates from OpenSuse
+
+These are the openssl certificates as included by OpenSuse,
+to allow SSL-based applications to check for the authenticity
+of SSL connections.
+
+
diff --git a/misc/openssl-certs/doinst.sh b/misc/openssl-certs/doinst.sh
new file mode 100644
index 0000000000..d626a38c52
--- /dev/null
+++ b/misc/openssl-certs/doinst.sh
@@ -0,0 +1 @@
+c_rehash etc/ssl/certs 1> /dev/null
diff --git a/misc/openssl-certs/openssl-certs.SlackBuild b/misc/openssl-certs/openssl-certs.SlackBuild
new file mode 100755
index 0000000000..685d6d2d32
--- /dev/null
+++ b/misc/openssl-certs/openssl-certs.SlackBuild
@@ -0,0 +1,65 @@
+#!/bin/sh
+
+# Slackware build script for OpenSSL certificates
+
+# Copyright David Woodfall
+#
+# 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.
+
+# Modified by the SlackBuilds.org project --michiel
+PRGNAM=openssl-certs
+VERSION=0.9.8h_28.1
+ARCH=noarch
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+SOURCEDIR=certs
+SRCVER=$(echo $VERSION | tr _ -)
+
+# Stop on most errors.
+set -e
+
+rm -rf $PKG $TMP/$SOURCEDIR
+mkdir -p $PKG $OUTPUT $TMP/$SOURCEDIR
+cd $TMP/$SOURCEDIR
+rpm2cpio < $CWD/$PRGNAM-$SRCVER.$ARCH.rpm | cpio -imdv
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+# Copy over the certificates to /etc/ssl/certs
+mv $TMP/$SOURCEDIR/etc $PKG/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $TMP/$SOURCEDIR/usr/share/doc/packages/$PRGNAM/COPYING > $PKG/usr/doc/$PRGNAM-$VERSION/COPYING
+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 -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/misc/openssl-certs/openssl-certs.info b/misc/openssl-certs/openssl-certs.info
new file mode 100644
index 0000000000..64d878fdda
--- /dev/null
+++ b/misc/openssl-certs/openssl-certs.info
@@ -0,0 +1,10 @@
+PRGNAM="openssl-certs"
+VERSION="0.9.8h_28.1"
+HOMEPAGE="http://www.opensuse.org"
+DOWNLOAD="http://download.opensuse.org/distribution/11.2/repo/oss/suse/noarch/openssl-certs-0.9.8h-28.1.noarch.rpm"
+MD5SUM="663b547cc15a653e0d945d9b16e4eb1f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="David Woodfall"
+EMAIL="info@davidwoodfall.co.uk"
+APPROVED="michiel"
diff --git a/misc/openssl-certs/slack-desc b/misc/openssl-certs/slack-desc
new file mode 100644
index 0000000000..100b9a88bc
--- /dev/null
+++ b/misc/openssl-certs/slack-desc
@@ -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 ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+openssl-certs: openssl-certs (OpenSSL Certificates from OpenSuse)
+openssl-certs:
+openssl-certs: These are the openssl certificates as included by OpenSuse,
+oepnssl-certs: to allow SSL-based applications to check for the authenticity
+openssl-certs: of SSL connections.
+openssl-certs:
+openssl-certs:
+openssl-certs:
+openssl-certs: Homepage http://www.opensuse.org
+openssl-certs:
+openssl-certs: