[arch-commits] Commit in mbedtls/trunk (PKGBUILD programs.makefile.patch)

Kyle Keen kkeen at archlinux.org
Fri Jun 12 01:44:07 UTC 2015


    Date: Friday, June 12, 2015 @ 03:44:06
  Author: kkeen
Revision: 135222

upgpkg: mbedtls 1.3.11-1

Modified:
  mbedtls/trunk/PKGBUILD
  mbedtls/trunk/programs.makefile.patch

-------------------------+
 PKGBUILD                |   15 +++++++--------
 programs.makefile.patch |   14 +++++++-------
 2 files changed, 14 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-12 00:36:48 UTC (rev 135221)
+++ PKGBUILD	2015-06-12 01:44:06 UTC (rev 135222)
@@ -4,19 +4,20 @@
 # Contributor: carstene1ns <arch carsten-teibes.de>
 
 pkgname=mbedtls
-pkgver=1.3.10
-pkgrel=2
+pkgver=1.3.11
+pkgrel=1
 pkgdesc="Portable cryptographic and SSL/TLS library, aka polarssl"
 arch=('i686' 'x86_64')
-url="https://www.polarssl.org/"
+url="https://tls.mbed.org"
 license=('Apache')
 provides=('polarssl')
 replaces=('polarssl')
 conflicts=('polarssl')
-source=("https://polarssl.org/download/$pkgname-$pkgver-gpl.tgz"
+#source=("https://polarssl.org/download/$pkgname-$pkgver-gpl.tgz"
+source=("https://tls.mbed.org/download/mbedtls-$pkgver-gpl.tgz"
         "programs.makefile.patch")
-sha1sums=('a3a94c7fd70ed173543a6024961407336a03b838'
-          '1e9e7d3dcdd6932b02d6dcabdf45041a3726f1be')
+sha1sums=('3948084c9d3312b381d458b06d9a2066c3cc0184'
+          'f175944a09caf0b5b3a397ead4f9f13c990e0382')
 depends=('glibc')
 options=('staticlibs')
 
@@ -41,6 +42,4 @@
 package() {
   cd "$pkgname-$pkgver"
   make DESTDIR="$pkgdir/usr" install
-  rm "$pkgdir/usr/lib/libmbedtls.so.8"
-  ln -s /usr/lib/libmbedtls.so "$pkgdir/usr/lib/libmbedtls.so.8"
 }

Modified: programs.makefile.patch
===================================================================
--- programs.makefile.patch	2015-06-12 00:36:48 UTC (rev 135221)
+++ programs.makefile.patch	2015-06-12 01:44:06 UTC (rev 135222)
@@ -1,11 +1,11 @@
 --- programs/Makefile	2014-07-31 12:20:17.748459143 -0400
 +++ programs/Makefile	2014-07-31 12:21:35.388454356 -0400
 @@ -43,7 +43,7 @@
- 	test/selftest		test/ssl_test		\
- 	util/pem2der		util/strerror		\
- 	x509/cert_app		x509/crl_app		\
--	x509/cert_req
-+	x509/cert_req		x509/cert_write
+ 	test/selftest$(EXEXT)		test/ssl_test$(EXEXT)		\
+ 	util/pem2der$(EXEXT)		util/strerror$(EXEXT)		\
+ 	x509/cert_app$(EXEXT)		x509/crl_app$(EXEXT)		\
+-	x509/cert_req$(EXEXT)
++	x509/cert_req$(EXEXT)		x509/cert_write$(EXEXT)
  
  ifdef OPENSSL
  APPS +=	test/o_p_test
@@ -13,9 +13,9 @@
  	echo   "  CC    x509/cert_req.c"
  	$(CC) $(CFLAGS) $(OFLAGS) x509/cert_req.c    $(LDFLAGS) -o $@
  
-+x509/cert_write: x509/cert_write.c ../library/libpolarssl.a
++x509/cert_write$(EXEXT): x509/cert_write.c ../library/libmbedtls.a
 +	echo   "  CC    x509/cert_write.c"
-+	$(CC) $(CFLAGS) $(OFLAGS) x509/cert_write.c    $(LDFLAGS) -o $@
++	$(CC) $(LOCAL_CFLAGS) $(CFLAGS) x509/cert_write.c    $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
 +
  clean:
  ifndef WINDOWS



More information about the arch-commits mailing list