gnutls and deps fix deps.
This commit is contained in:
@@ -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())
|
||||
@@ -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 <<EOF
|
||||
Options:
|
||||
[--prefix[=DIR]]
|
||||
[--exec-prefix[=DIR]]
|
||||
[--version]
|
||||
[--libs]
|
||||
[--cflags]
|
||||
EOF
|
||||
exit $1
|
||||
}
|
||||
|
||||
if test $# -eq 0; then
|
||||
usage 1 1>&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
|
||||
@@ -0,0 +1,183 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gnutls</Name>
|
||||
<Homepage>http://www.gnutls.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>GNU TLS Library</Summary>
|
||||
<Description>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.</Description>
|
||||
<Archive sha1sum="26076d3366e34991997ff02b052d5ea6a21bbcbd" type="tarxz">http://mirror.tje.me.uk/pub/mirrors/ftp.gnupg.org/gnutls/v3.3/gnutls-3.3.16.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gc-devel</Dependency>
|
||||
<Dependency>gmp-devel</Dependency>
|
||||
<Dependency>nettle-devel</Dependency>
|
||||
<Dependency>autogen-devel</Dependency>
|
||||
<Dependency>p11-kit-devel</Dependency>
|
||||
<Dependency>libidn-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency versionFrom="3.4">libtasn1-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gnutls</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>libidn</Dependency>
|
||||
<Dependency>gmp</Dependency>
|
||||
<Dependency>nettle</Dependency>
|
||||
<Dependency>autogen</Dependency>
|
||||
<Dependency>p11-kit</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency versionFrom="3.4">libtasn1</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gnutls-devel</Name>
|
||||
<Summary>Development files for gnutls</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>nettle-devel</Dependency>
|
||||
<Dependency>p11-kit-devel</Dependency>
|
||||
<Dependency>libtasn1-devel</Dependency>
|
||||
<Dependency release="current">gnutls</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib32/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/info/gnutls*</Path>
|
||||
<Path fileType="executable">/usr/bin/libgnutls*-config</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0755" target="/usr/bin/libgnutls-config">libgnutls-config</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0755" target="/usr/bin/libgnutls-extra-config">libgnutls-config</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gnutls-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for gnutls</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>gmp-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>libidn-32bit</Dependency>
|
||||
<Dependency>nettle-32bit</Dependency>
|
||||
<Dependency>p11-kit-32bit</Dependency>
|
||||
<Dependency>libtasn1-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>gmp-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>nettle-32bit</Dependency>
|
||||
<Dependency>p11-kit-32bit</Dependency>
|
||||
<Dependency>libtasn1-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="12">
|
||||
<Date>2015-07-13</Date>
|
||||
<Version>3.3.16</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2015-05-20</Date>
|
||||
<Version>3.3.15</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2014-12-13</Date>
|
||||
<Version>3.3.11</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2014-07-06</Date>
|
||||
<Version>3.3.5</Version>
|
||||
<Comment>Version bump and security update(CVE-2014-3466)</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2014-05-24</Date>
|
||||
<Version>3.3.2</Version>
|
||||
<Comment>Rebuild for gcc.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-05-21</Date>
|
||||
<Version>3.3.2</Version>
|
||||
<Comment>Version bump, rm unneed deps.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-04-20</Date>
|
||||
<Version>3.3.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-01-06</Date>
|
||||
<Version>3.2.5</Version>
|
||||
<Comment>Rebuild to fix stripping.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-10-27</Date>
|
||||
<Version>3.2.5</Version>
|
||||
<Comment>Version bump, clean up, enable tests.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-30</Date>
|
||||
<Version>3.1.9</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-03-04</Date>
|
||||
<Version>3.1.9</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-02</Date>
|
||||
<Version>3.1.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gnutls</Name>
|
||||
<Summary xml:lang="tr">GNU TLS Kütüphanesi</Summary>
|
||||
<Summary xml:lang="pl">Biblioteka GNU TLS (Transport Layer Security)</Summary>
|
||||
<Description xml:lang="tr">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.</Description>
|
||||
<Description xml:lang="fr">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.</Description>
|
||||
<Description xml:lang="es">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.</Description>
|
||||
<Description xml:lang="pl">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.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gnutls-guile</Name>
|
||||
<Summary xml:lang="tr">gnutls için guile bağlayıcıları</Summary>
|
||||
<Summary xml:lang="pl">Wiązania Guile do GnuTLS.</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gnutls-devel</Name>
|
||||
<Summary xml:lang="tr">gnutls için geliştirme dosyaları</Summary>
|
||||
<Summary xml:lang="pl">Pliki nagłówkowe do gnutls.</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gnutls-32bit</Name>
|
||||
<Summary xml:lang="tr">gnutls için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
<Summary xml:lang="pl">32-bitowe biblioteki GnuTLS.</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user