From 58e38c5148fc092048ffeada642d9356214e0034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Mon, 13 Jul 2015 14:24:05 +0300 Subject: [PATCH] gnutls and deps fix deps. --- util/crypt/gnutls/actions.py | 39 +++++ util/crypt/gnutls/files/libgnutls-config | 91 ++++++++++ util/crypt/gnutls/pspec.xml | 183 +++++++++++++++++++++ util/crypt/gnutls/translations.xml | 30 ++++ util/crypt/libtasn1/actions.py | 32 ++++ util/crypt/libtasn1/files/libgnutls-config | 91 ++++++++++ util/crypt/libtasn1/pspec.xml | 118 +++++++++++++ util/crypt/libtasn1/translations.xml | 18 ++ util/crypt/p11-kit/actions.py | 22 +++ util/crypt/p11-kit/pspec.xml | 138 ++++++++++++++++ util/crypt/p11-kit/translations.xml | 16 ++ 11 files changed, 778 insertions(+) create mode 100644 util/crypt/gnutls/actions.py create mode 100644 util/crypt/gnutls/files/libgnutls-config create mode 100644 util/crypt/gnutls/pspec.xml create mode 100644 util/crypt/gnutls/translations.xml create mode 100644 util/crypt/libtasn1/actions.py create mode 100644 util/crypt/libtasn1/files/libgnutls-config create mode 100644 util/crypt/libtasn1/pspec.xml create mode 100644 util/crypt/libtasn1/translations.xml create mode 100644 util/crypt/p11-kit/actions.py create mode 100644 util/crypt/p11-kit/pspec.xml create mode 100644 util/crypt/p11-kit/translations.xml diff --git a/util/crypt/gnutls/actions.py b/util/crypt/gnutls/actions.py new file mode 100644 index 0000000000..549c18c256 --- /dev/null +++ b/util/crypt/gnutls/actions.py @@ -0,0 +1,39 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + options = "--disable-static \ + --disable-rpath \ + --disable-silent-rules \ + --disable-guile \ + --enable-heartbeat-support \ + --with-zlib \ + --without-tpm \ + --disable-valgrind-tests" + + if get.buildTYPE() == "emul32": + options += " --disable-hardware-acceleration \ + --enable-local-libopts \ + " + + autotools.configure(options) + + pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ") + +def build(): + autotools.make() + +def check(): + #some tests fail in emul32 + if not get.buildTYPE() == "emul32": + autotools.make("-k check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/util/crypt/gnutls/files/libgnutls-config b/util/crypt/gnutls/files/libgnutls-config new file mode 100644 index 0000000000..8970bf4de8 --- /dev/null +++ b/util/crypt/gnutls/files/libgnutls-config @@ -0,0 +1,91 @@ +#!/bin/sh + +prefix=/usr +exec_prefix=/usr +exec_prefix_set=no + +name=`basename $0` +name=${name#lib} +name=${name%-config} + +libs=`pkg-config --libs $name` +cflags=`pkg-config --cflags $name` +version=`pkg-config --modversion $name` + +usage() +{ + +echo Usage: lib$name-config [OPTIONS] + cat <&2 +fi + +while test $# -gt 0; do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --prefix=*) + prefix=$optarg + if test $exec_prefix_set = no ; then + exec_prefix=$optarg + fi + ;; + --prefix) + echo_prefix=yes + ;; + --exec-prefix=*) + exec_prefix=$optarg + exec_prefix_set=yes + ;; + --exec-prefix) + echo_exec_prefix=yes + ;; + --version) + echo $version + exit 0 + ;; + --cflags) + echo_cflags=yes + ;; + --libs) + echo_libs=yes + ;; + --help) + usage 0 + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +if test "$echo_prefix" = "yes"; then + echo $prefix +fi + +if test "$echo_exec_prefix" = "yes"; then + echo $exec_prefix +fi + +if test "$echo_cflags" = "yes"; then + echo $cflags +fi + +if test "$echo_libs" = "yes"; then + echo $libs +fi diff --git a/util/crypt/gnutls/pspec.xml b/util/crypt/gnutls/pspec.xml new file mode 100644 index 0000000000..d82d61976a --- /dev/null +++ b/util/crypt/gnutls/pspec.xml @@ -0,0 +1,183 @@ + + + + + gnutls + http://www.gnutls.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + GNU TLS Library + gnutls is a project that aims to develop a library which provides a secure layer, over a reliable transport layer. Currently the GnuTLS library implements the proposed standards by the IETF's TLS working group. + http://mirror.tje.me.uk/pub/mirrors/ftp.gnupg.org/gnutls/v3.3/gnutls-3.3.16.tar.xz + + gc-devel + gmp-devel + nettle-devel + autogen-devel + p11-kit-devel + libidn-devel + zlib-devel + libtasn1-devel + + + + + gnutls + + zlib + libidn + gmp + nettle + autogen + p11-kit + libgcc + libtasn1 + + + /usr/share + /usr/lib + /usr/bin + + + + + gnutls-devel + Development files for gnutls + + nettle-devel + p11-kit-devel + libtasn1-devel + gnutls + + + /usr/include + /usr/share/man/man3 + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + /usr/share/info/gnutls* + /usr/bin/libgnutls*-config + + + libgnutls-config + libgnutls-config + + + + + gnutls-32bit + emul32 + 32-bit shared libraries for gnutls + emul32 + + gmp-32bit + zlib-32bit + libidn-32bit + nettle-32bit + p11-kit-32bit + libtasn1-32bit + + + libgcc + glibc-32bit + gmp-32bit + zlib-32bit + nettle-32bit + p11-kit-32bit + libtasn1-32bit + + + /usr/lib32 + + + + + + 2015-07-13 + 3.3.16 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-20 + 3.3.15 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-12-13 + 3.3.11 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-07-06 + 3.3.5 + Version bump and security update(CVE-2014-3466) + Vedat Demir + vedat@pisilinux.org + + + 2014-05-24 + 3.3.2 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2014-05-21 + 3.3.2 + Version bump, rm unneed deps. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-04-20 + 3.3.1 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-01-06 + 3.2.5 + Rebuild to fix stripping. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-10-27 + 3.2.5 + Version bump, clean up, enable tests. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-07-30 + 3.1.9 + Rebuild + PisiLinux Community + admins@pisilinux.org + + + 2013-03-04 + 3.1.9 + Version bump + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2012-11-02 + 3.1.3 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/util/crypt/gnutls/translations.xml b/util/crypt/gnutls/translations.xml new file mode 100644 index 0000000000..82138c8c89 --- /dev/null +++ b/util/crypt/gnutls/translations.xml @@ -0,0 +1,30 @@ + + + + gnutls + GNU TLS Kütüphanesi + Biblioteka GNU TLS (Transport Layer Security) + GnuTLS, erişilebilir bir gönderim katmanı üzerinde güvenli katman oluşturmayı amaçlayan bir projedir. GnuTLS kütüphanesi halen IETF TLS çalışma grubunun öngördüğü standartları uygulamaya geçirmektedir. + GnuTLS est un projet dont l'objectif est de développer une librairie fournissant une couche de sécurité au dessus d'une couche de transport fiable. Actuellement la librairie GnuTLS implémente les standards proposés par le groupe de travail TLs de l'IETF. + GnuTLS es un proyecto que apunta al desarrollo de una librería, que facilite una capa segura, a través de una capa de transporte fiable. Actualmente la librería GnuTLS implementa los estándares propuestos del grupo de trabajo de TLS de IETF. + GnuTLS to projekt mający na celu stworzenie biblioteki udostępniającej powłokę bezpieczeństwa ponad powłoką transportową (np. TCP/IP). Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez grupę roboczą IETF TLS. + + + + gnutls-guile + gnutls için guile bağlayıcıları + Wiązania Guile do GnuTLS. + + + + gnutls-devel + gnutls için geliştirme dosyaları + Pliki nagłówkowe do gnutls. + + + + gnutls-32bit + gnutls için 32-bit paylaşımlı kitaplıklar + 32-bitowe biblioteki GnuTLS. + + diff --git a/util/crypt/libtasn1/actions.py b/util/crypt/libtasn1/actions.py new file mode 100644 index 0000000000..1f294ed102 --- /dev/null +++ b/util/crypt/libtasn1/actions.py @@ -0,0 +1,32 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + options = "--disable-static" + + if not get.buildTYPE() == "emul32": + options += " --libdir=/usr/lib" + + autotools.configure(options) + + #pisitools.dosed("libtool", "^sys_lib_dlsearch_path_spec=.*", "sys_lib_dlsearch_path_spec=\"/%{_lib} %{_libdir} \"") + +def build(): + autotools.make() + +def check(): + autotools.make("check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + if get.buildTYPE() == "emul32": return + + pisitools.dodoc("ChangeLog", "README", "NEWS", "AUTHORS", "COPYING") diff --git a/util/crypt/libtasn1/files/libgnutls-config b/util/crypt/libtasn1/files/libgnutls-config new file mode 100644 index 0000000000..167bc483d5 --- /dev/null +++ b/util/crypt/libtasn1/files/libgnutls-config @@ -0,0 +1,91 @@ +#!/bin/sh + +prefix=/usr +exec_prefix=/usr +exec_prefix_set=no + +name=`basename $0` +name=${name#lib} +name=${name%-config} + +libs=`pkg-config --libs $name` +cflags=`pkg-config --cflags $name` +version=`pkg-config --modversion $name` + +usage() +{ + +echo Usage: lib$name-config [OPTIONS] +cat <&2 +fi + +while test $# -gt 0; do + case "$1" in + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + case $1 in + --prefix=*) + prefix=$optarg + if test $exec_prefix_set = no ; then +exec_prefix=$optarg + fi + ;; + --prefix) + echo_prefix=yes + ;; + --exec-prefix=*) + exec_prefix=$optarg + exec_prefix_set=yes + ;; + --exec-prefix) + echo_exec_prefix=yes + ;; + --version) + echo $version + exit 0 + ;; + --cflags) + echo_cflags=yes + ;; + --libs) + echo_libs=yes + ;; + --help) + usage 0 + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +if test "$echo_prefix" = "yes"; then + echo $prefix +fi + +if test "$echo_exec_prefix" = "yes"; then + echo $exec_prefix +fi + +if test "$echo_cflags" = "yes"; then + echo $cflags +fi + +if test "$echo_libs" = "yes"; then + echo $libs +fi \ No newline at end of file diff --git a/util/crypt/libtasn1/pspec.xml b/util/crypt/libtasn1/pspec.xml new file mode 100644 index 0000000000..878ace5a76 --- /dev/null +++ b/util/crypt/libtasn1/pspec.xml @@ -0,0 +1,118 @@ + + + + + libtasn1 + http://www.gnutls.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + ASN.1 library used in GNUTLS + libtasn1 is the ASN.1 library which provides ASN.1 structures parsing capabilities for use with GNUTLS. + http://ftp.gnu.org/gnu/libtasn1/libtasn1-4.5.tar.gz + + + + libtasn1 + + /usr/share + /usr/lib + /usr/share/man + /usr/share/doc + /usr/bin + + + + + libtasn1-devel + Development files for libtasn1 + + libtasn1 + + + /usr/include + /usr/share/man/man3 + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + + + + + libtasn1-32bit + emul32 + 32-bit shared libraries for libtasn1 + emul32 + + glibc-32bit + + + libtasn1 + glibc-32bit + + + /usr/lib32/ + + + + + + 2015-07-13 + 4.5 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-28 + 4.4 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-10-31 + 4.2 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-24 + 3.5 + Version bump. + PisiLinux Community + admins@pisilinux.org + + + 2014-04-20 + 3.4 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-03-09 + 3.3 + Rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2013-07-27 + 3.3 + Move pc files to devel pack, rebuild + v.bump + PisiLinux Community + admins@pisilinux.org + + + 2012-10-18 + 2.14 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/util/crypt/libtasn1/translations.xml b/util/crypt/libtasn1/translations.xml new file mode 100644 index 0000000000..da660e3c43 --- /dev/null +++ b/util/crypt/libtasn1/translations.xml @@ -0,0 +1,18 @@ + + + + libtasn1 + GNUTLS için kullanılan ASN.1 kütüphanesi + libtasn1, ASN.1 yapılarının ayrıştırılmasını sağlayan ve GNUTLS içerisinde kullanılan ASN.1 kütüphanesidir. + + + + libtasn1-devel + libtasn1 için geliştirme dosyaları + + + + libtasn1-32bit + libtasn1 için 32bit kütüphanesi + + \ No newline at end of file diff --git a/util/crypt/p11-kit/actions.py b/util/crypt/p11-kit/actions.py new file mode 100644 index 0000000000..b5d24041f4 --- /dev/null +++ b/util/crypt/p11-kit/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + autotools.configure("--with-module-path=/usr/lib%s/pkcs11" % ("32" if get.buildTYPE() == "emul32" else "")) + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + if get.buildTYPE() == "emul32": return + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README") diff --git a/util/crypt/p11-kit/pspec.xml b/util/crypt/p11-kit/pspec.xml new file mode 100644 index 0000000000..e1594e058d --- /dev/null +++ b/util/crypt/p11-kit/pspec.xml @@ -0,0 +1,138 @@ + + + + + p11-kit + http://p11-glue.freedesktop.org/ + + PisiLinux Community + admins@pisilinux.org + + BSD + library + util.crypt + Library to work with PKCS#11 modules + The p11-kit package Provides a way to load and enumerate PKCS #11 (a Cryptographic Token Interface Standard) modules. + http://p11-glue.freedesktop.org/releases/p11-kit-0.23.1.tar.gz + + libtasn1-devel + libffi-devel + + + + + p11-kit + + libtasn1 + libffi + + + /usr/bin + /usr/share/doc + /usr/share/gtk-doc + /usr/share/p11-kit + /usr/lib + /etc/pkcs11 + + + + + p11-kit-devel + p11-kit için geliştirme dosyaları + + p11-kit + + + /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + + + + + p11-kit-32bit + emul32 + 32-bit shared libraries for p11-kit + emul32 + + libtasn1-32bit + libffi-32bit + glibc-32bit + + + p11-kit + libffi-32bit + libtasn1-32bit + glibc-32bit + + + /usr/lib32 + + + + + + 2015-04-28 + 0.23.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-12-13 + 0.22.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-24 + 0.20.2 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2014-04-20 + 0.20.2 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-10-26 + 0.20.1 + Version bump + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-07-31 + 0.19.3 + version bump + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-07-26 + 0.15.2 + Move pc files to devel pack,rebuild. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-02-23 + 0.15.2 + Version bump + Ertan Güven + ertan@pisilinux.org + + + 2012-11-02 + 0.14 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/util/crypt/p11-kit/translations.xml b/util/crypt/p11-kit/translations.xml new file mode 100644 index 0000000000..c93b170330 --- /dev/null +++ b/util/crypt/p11-kit/translations.xml @@ -0,0 +1,16 @@ + + + + p11-kit + Library to work with PKCS#11 modules + Biblioteka i moduł proxy do właściwego wczytywania i współdzielenia modułów PKCS #11 + The p11-kit package Provides a way to load and enumerate PKCS #11 (a Cryptographic Token Interface Standard) modules. + p11-kit zapewnia możliwość ładowania i numeracji modułów PKCS #11 (a Cryptographic Token Interface Standard). + + + + p11-kit-devel + p11-kit için geliştirme dosyaları. + Pliki nagłówkowe do biplioteki p11-kit. + +