Date: Thursday, February 8, 2018 @ 23:27:49
  Author: kkeen
Revision: 290419

archrelease: copy trunk to community-staging-x86_64

Added:
  mbedtls/repos/community-staging-x86_64/PKGBUILD
    (from rev 290418, mbedtls/trunk/PKGBUILD)
Deleted:
  mbedtls/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 52 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-08 23:26:38 UTC (rev 290418)
+++ PKGBUILD    2018-02-08 23:27:49 UTC (rev 290419)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keen...@gmail.com>
-# Contributor: Mihai Militaru <mihai militaru at xmpp dot ro>
-# Contributor: carstene1ns <arch carsten-teibes.de>
-
-pkgname=mbedtls
-pkgver=2.7.0
-pkgrel=1
-pkgdesc="Portable cryptographic and SSL/TLS library, aka polarssl"
-arch=('x86_64')
-url="https://tls.mbed.org";
-license=('Apache')
-provides=('polarssl')
-replaces=('polarssl')
-conflicts=('polarssl')
-source=("https://tls.mbed.org/download/mbedtls-$pkgver-gpl.tgz";)
-#source=("https://tls.mbed.org/download/mbedtls-$pkgver-apache.tgz";)
-sha1sums=('6c8e62985c5a73318d391e1327830b3ff85f87a0')
-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
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  # enable flags for non-embedded systems
-  sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' include/mbedtls/config.h
-  sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' 
include/mbedtls/config.h
-
-  # FS#49914 (2.3.0-2)
-  sed -i 's|<time.h>|"platform.h"|' include/mbedtls/ssl.h
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  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 290418, 
mbedtls/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-02-08 23:27:49 UTC (rev 290419)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Kyle Keen <keen...@gmail.com>
+# Contributor: Mihai Militaru <mihai militaru at xmpp dot ro>
+# Contributor: carstene1ns <arch carsten-teibes.de>
+
+pkgname=mbedtls
+pkgver=2.7.0
+pkgrel=2
+pkgdesc="Portable cryptographic and SSL/TLS library, aka polarssl"
+arch=('x86_64')
+url="https://tls.mbed.org";
+license=('Apache')
+provides=('polarssl')
+replaces=('polarssl')
+conflicts=('polarssl')
+source=("https://tls.mbed.org/download/mbedtls-$pkgver-gpl.tgz";)
+#source=("https://tls.mbed.org/download/mbedtls-$pkgver-apache.tgz";)
+sha1sums=('6c8e62985c5a73318d391e1327830b3ff85f87a0')
+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
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # enable flags for non-embedded systems
+  sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' include/mbedtls/config.h
+  sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' 
include/mbedtls/config.h
+
+  # FS#49914 (2.3.0-2)
+  sed -i 's|<time.h>|"platform.h"|' include/mbedtls/ssl.h
+
+  # https://github.com/ARMmbed/mbedtls/pull/1362/commits/129f508
+  sed -i 's/#define MBEDTLS_DHM_RFC5114_MODP_P/#define 
MBEDTLS_DHM_RFC5114_MODP_2048_P/' include/mbedtls/dhm.h
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  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
+}

Reply via email to