Commit 252b7ae0 authored by Daniele Cocca's avatar Daniele Cocca

Updating gnutls and required dependencies.

parent 56eec728
......@@ -2,21 +2,27 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnutls
pkgver=2.8.6
pkgver=2.12.7
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=(i686 x86_64)
arch=('i686' 'x86_64')
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/gnutls/"
install=gnutls.install
options=('libtool')
depends=('gcc-libs>=4.4.3' 'libtasn1>=2.5' 'readline>=6.0' 'zlib' 'libgcrypt>=1.4.5' 'texinfo')
source=(ftp://ftp.gnu.org/gnu/gnutls/${pkgname}-${pkgver}.tar.bz2)
md5sums=('eb0a6d7d3cb9ac684d971c14f9f6d3ba')
depends=('gcc-libs>=4.4.3' 'libtasn1>=2.5' 'readline>=6.0' 'zlib' 'libgcrypt>=1.4.5' 'texinfo' 'nettle')
source=("ftp://ftp.gnu.org/gnu/gnutls/${pkgname}-${pkgver}.tar.bz2")
md5sums=('4b48aa3119f549d30d550bf4162c721b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --with-zlib --disable-guile || return 1
./configure --prefix=/usr --with-zlib --with-libgcrypt --disable-guile || return 1
make || return 1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install || return 1
}
# vim:set ts=2 sw=2 et:
......@@ -2,32 +2,30 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libgcrypt
pkgver=1.4.6
pkgver=1.5.0
pkgrel=1
pkgdesc="a general purpose crypto library based on the code used"
arch=(i686 x86_64)
arch=('i686' 'x86_64')
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error>=1.7')
depends=('libgpg-error>=1.8')
options=(!libtool)
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2
#ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2
)
md5sums=('dbf99425a4fe9217c84ce3a35d938634')
source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('3e776d44375dc1a710560b98ae8437d5da6e32cf')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd "${srcdir}/${pkgname}-${pkgver}"
# keep static library for , needed for cryptsetup
./configure --prefix=/usr --disable-padlock-support
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# Move dynamic libraries to /lib
install -d -m755 "${pkgdir}"/lib/ || return 1
mv "${pkgdir}"/usr/lib/libgcrypt.so* "${pkgdir}"/lib/ || return 1
ln -sf /lib/libgcrypt.so "${pkgdir}"/usr/lib/libgcrypt.so || return 1
}
\ No newline at end of file
ln -sf /lib/libgcrypt.so "${pkgdir}/usr/lib/libgcrypt.so" || return 1
}
......@@ -2,27 +2,32 @@
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=libgpg-error
pkgver=1.7
pkgrel=3
pkgver=1.10
pkgrel=1
pkgdesc="Support library for libgcrypt"
arch=(i686 x86_64)
url="http://www.gnupg.org"
license=('LGPL')
depends=('glibc' 'sh')
options=(!libtool)
source=(#ftp://ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2
ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2)
md5sums=('62c0d09d1e76c5b6da8fff92314c4665')
source=("ftp://ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('95b324359627fbcb762487ab6091afbe59823b29')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
# keep static lib for crypsetup
./configure --prefix=/usr
make || return 1
make DESTDIR="${pkgdir}/" install || return 1
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install || return 1
# Move dynamic libraries to /lib
install -d -m755 "${pkgdir}"/lib/ || return 1
mv "${pkgdir}"/usr/lib/libgpg-error.so* "${pkgdir}"/lib/ || return 1
ln -sf /lib/libgpg-error.so "${pkgdir}"/usr/lib/libgpg-error.so || return 1
ln -sf /lib/libgpg-error.so "${pkgdir}/usr/lib/libgpg-error.so" || return 1
}
# vim:set ts=2 sw=2 et:
# Maintainer: Daniele Cocca <jmc@chakra-project.org>
pkgname=nettle
pkgver=2.1
pkgrel=1
pkgdesc="Nettle - a low-level cryptographic library."
arch=('i686' 'x86_64')
url="http://www.lysator.liu.se/~nisse/nettle/"
license=('GPL')
source=("http://www.lysator.liu.se/~nisse/archive/${pkgname}-${pkgver}.tar.gz")
md5sums=('2bfaf16234a5d8deb96cd23f53a682bb')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment