[arch-commits] Commit in mbedtls/repos (4 files)
Kyle Keen
kkeen at archlinux.org
Tue Jul 28 11:18:01 UTC 2015
Date: Tuesday, July 28, 2015 @ 13:18:01
Author: kkeen
Revision: 137554
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
mbedtls/repos/community-staging-i686/
mbedtls/repos/community-staging-i686/PKGBUILD
(from rev 137553, mbedtls/trunk/PKGBUILD)
mbedtls/repos/community-staging-x86_64/
mbedtls/repos/community-staging-x86_64/PKGBUILD
(from rev 137553, mbedtls/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: mbedtls/repos/community-staging-i686/PKGBUILD (from rev 137553, mbedtls/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-07-28 11:18:01 UTC (rev 137554)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Mihai Militaru <mihai militaru at xmpp dot ro>
+# Contributor: carstene1ns <arch carsten-teibes.de>
+
+pkgname=mbedtls
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Portable cryptographic and SSL/TLS library, aka polarssl"
+arch=('i686' 'x86_64')
+url="https://tls.mbed.org"
+license=('Apache')
+provides=('polarssl')
+replaces=('polarssl')
+conflicts=('polarssl')
+#source=("https://polarssl.org/download/$pkgname-$pkgver-gpl.tgz"
+source=("https://tls.mbed.org/download/mbedtls-$pkgver-gpl.tgz")
+sha1sums=('a456be169003b4644931a90613fdaa0429af06a7')
+depends=('glibc')
+options=('staticlibs')
+
+# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-libs/polarssl/files/polarssl-1.3.8-ssl_pthread_server.patch
+# https://github.com/alucryd/aur-alucryd/blob/master/personal/polarssl/PKGBUILD
+# https://aur.archlinux.org/packages/po/polarssl-git/PKGBUILD
+
+build() {
+ cd "$pkgname-$pkgver"
+ sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' include/mbedtls/config.h
+ sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h
+ LDFLAGS+=" -I../include " make SHARED=1 no_test
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make SHARED=1 check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/usr" install
+}
Copied: mbedtls/repos/community-staging-x86_64/PKGBUILD (from rev 137553, mbedtls/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-07-28 11:18:01 UTC (rev 137554)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Mihai Militaru <mihai militaru at xmpp dot ro>
+# Contributor: carstene1ns <arch carsten-teibes.de>
+
+pkgname=mbedtls
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Portable cryptographic and SSL/TLS library, aka polarssl"
+arch=('i686' 'x86_64')
+url="https://tls.mbed.org"
+license=('Apache')
+provides=('polarssl')
+replaces=('polarssl')
+conflicts=('polarssl')
+#source=("https://polarssl.org/download/$pkgname-$pkgver-gpl.tgz"
+source=("https://tls.mbed.org/download/mbedtls-$pkgver-gpl.tgz")
+sha1sums=('a456be169003b4644931a90613fdaa0429af06a7')
+depends=('glibc')
+options=('staticlibs')
+
+# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-libs/polarssl/files/polarssl-1.3.8-ssl_pthread_server.patch
+# https://github.com/alucryd/aur-alucryd/blob/master/personal/polarssl/PKGBUILD
+# https://aur.archlinux.org/packages/po/polarssl-git/PKGBUILD
+
+build() {
+ cd "$pkgname-$pkgver"
+ sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' include/mbedtls/config.h
+ sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h
+ LDFLAGS+=" -I../include " make SHARED=1 no_test
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make SHARED=1 check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/usr" install
+}
More information about the arch-commits
mailing list