[arch-commits] Commit in mbedtls/repos (8 files)

Kyle Keen kkeen at archlinux.org
Wed Feb 18 01:10:22 UTC 2015


    Date: Wednesday, February 18, 2015 @ 02:10:21
  Author: kkeen
Revision: 127898

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  mbedtls/repos/community-staging-i686/PKGBUILD
    (from rev 127897, mbedtls/trunk/PKGBUILD)
  mbedtls/repos/community-staging-i686/programs.makefile.patch
    (from rev 127897, mbedtls/trunk/programs.makefile.patch)
  mbedtls/repos/community-staging-x86_64/PKGBUILD
    (from rev 127897, mbedtls/trunk/PKGBUILD)
  mbedtls/repos/community-staging-x86_64/programs.makefile.patch
    (from rev 127897, mbedtls/trunk/programs.makefile.patch)
Deleted:
  mbedtls/repos/community-staging-i686/PKGBUILD
  mbedtls/repos/community-staging-i686/programs.makefile.patch
  mbedtls/repos/community-staging-x86_64/PKGBUILD
  mbedtls/repos/community-staging-x86_64/programs.makefile.patch

--------------------------------------------------+
 /PKGBUILD                                        |   92 +++++++++++++++++++++
 /programs.makefile.patch                         |   44 ++++++++++
 community-staging-i686/PKGBUILD                  |   44 ----------
 community-staging-i686/programs.makefile.patch   |   22 -----
 community-staging-x86_64/PKGBUILD                |   44 ----------
 community-staging-x86_64/programs.makefile.patch |   22 -----
 6 files changed, 136 insertions(+), 132 deletions(-)

Deleted: community-staging-i686/PKGBUILD
===================================================================
--- community-staging-i686/PKGBUILD	2015-02-18 01:10:00 UTC (rev 127897)
+++ community-staging-i686/PKGBUILD	2015-02-18 01:10:21 UTC (rev 127898)
@@ -1,44 +0,0 @@
-# $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=1.3.10
-pkgrel=1
-pkgdesc="Portable cryptographic and SSL/TLS library, aka polarssl"
-arch=('i686' 'x86_64')
-url="https://www.polarssl.org/"
-license=('Apache')
-provides=('polarssl')
-replaces=('polarssl')
-conflicts=('polarssl')
-source=("https://polarssl.org/download/$pkgname-$pkgver-gpl.tgz"
-        "programs.makefile.patch")
-sha1sums=('a3a94c7fd70ed173543a6024961407336a03b838'
-          '1e9e7d3dcdd6932b02d6dcabdf45041a3726f1be')
-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 POLARSSL_THREADING_C\)|\1|' include/polarssl/config.h
-  sed -i 's|//\(#define POLARSSL_THREADING_PTHREAD\)|\1|' include/polarssl/config.h
-  # enable cert_write
-  patch -p1 -d programs -i "$srcdir/programs.makefile.patch"
-  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-i686/PKGBUILD (from rev 127897, mbedtls/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-02-18 01:10:21 UTC (rev 127898)
@@ -0,0 +1,46 @@
+# $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=1.3.10
+pkgrel=2
+pkgdesc="Portable cryptographic and SSL/TLS library, aka polarssl"
+arch=('i686' 'x86_64')
+url="https://www.polarssl.org/"
+license=('Apache')
+provides=('polarssl')
+replaces=('polarssl')
+conflicts=('polarssl')
+source=("https://polarssl.org/download/$pkgname-$pkgver-gpl.tgz"
+        "programs.makefile.patch")
+sha1sums=('a3a94c7fd70ed173543a6024961407336a03b838'
+          '1e9e7d3dcdd6932b02d6dcabdf45041a3726f1be')
+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 POLARSSL_THREADING_C\)|\1|' include/polarssl/config.h
+  sed -i 's|//\(#define POLARSSL_THREADING_PTHREAD\)|\1|' include/polarssl/config.h
+  # enable cert_write
+  patch -p1 -d programs -i "$srcdir/programs.makefile.patch"
+  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
+  rm "$pkgdir/usr/lib/libmbedtls.so.8"
+  ln -s /usr/lib/libmbedtls.so "$pkgdir/usr/lib/libmbedtls.so.8"
+}

Deleted: community-staging-i686/programs.makefile.patch
===================================================================
--- community-staging-i686/programs.makefile.patch	2015-02-18 01:10:00 UTC (rev 127897)
+++ community-staging-i686/programs.makefile.patch	2015-02-18 01:10:21 UTC (rev 127898)
@@ -1,22 +0,0 @@
---- 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
- 
- ifdef OPENSSL
- APPS +=	test/o_p_test
-@@ -241,6 +241,10 @@
- 	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
-+	echo   "  CC    x509/cert_write.c"
-+	$(CC) $(CFLAGS) $(OFLAGS) x509/cert_write.c    $(LDFLAGS) -o $@
-+
- clean:
- ifndef WINDOWS
- 	rm -f $(APPS)

Copied: mbedtls/repos/community-staging-i686/programs.makefile.patch (from rev 127897, mbedtls/trunk/programs.makefile.patch)
===================================================================
--- community-staging-i686/programs.makefile.patch	                        (rev 0)
+++ community-staging-i686/programs.makefile.patch	2015-02-18 01:10:21 UTC (rev 127898)
@@ -0,0 +1,22 @@
+--- 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
+ 
+ ifdef OPENSSL
+ APPS +=	test/o_p_test
+@@ -241,6 +241,10 @@
+ 	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
++	echo   "  CC    x509/cert_write.c"
++	$(CC) $(CFLAGS) $(OFLAGS) x509/cert_write.c    $(LDFLAGS) -o $@
++
+ clean:
+ ifndef WINDOWS
+ 	rm -f $(APPS)

Deleted: community-staging-x86_64/PKGBUILD
===================================================================
--- community-staging-x86_64/PKGBUILD	2015-02-18 01:10:00 UTC (rev 127897)
+++ community-staging-x86_64/PKGBUILD	2015-02-18 01:10:21 UTC (rev 127898)
@@ -1,44 +0,0 @@
-# $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=1.3.10
-pkgrel=1
-pkgdesc="Portable cryptographic and SSL/TLS library, aka polarssl"
-arch=('i686' 'x86_64')
-url="https://www.polarssl.org/"
-license=('Apache')
-provides=('polarssl')
-replaces=('polarssl')
-conflicts=('polarssl')
-source=("https://polarssl.org/download/$pkgname-$pkgver-gpl.tgz"
-        "programs.makefile.patch")
-sha1sums=('a3a94c7fd70ed173543a6024961407336a03b838'
-          '1e9e7d3dcdd6932b02d6dcabdf45041a3726f1be')
-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 POLARSSL_THREADING_C\)|\1|' include/polarssl/config.h
-  sed -i 's|//\(#define POLARSSL_THREADING_PTHREAD\)|\1|' include/polarssl/config.h
-  # enable cert_write
-  patch -p1 -d programs -i "$srcdir/programs.makefile.patch"
-  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 127897, mbedtls/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-02-18 01:10:21 UTC (rev 127898)
@@ -0,0 +1,46 @@
+# $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=1.3.10
+pkgrel=2
+pkgdesc="Portable cryptographic and SSL/TLS library, aka polarssl"
+arch=('i686' 'x86_64')
+url="https://www.polarssl.org/"
+license=('Apache')
+provides=('polarssl')
+replaces=('polarssl')
+conflicts=('polarssl')
+source=("https://polarssl.org/download/$pkgname-$pkgver-gpl.tgz"
+        "programs.makefile.patch")
+sha1sums=('a3a94c7fd70ed173543a6024961407336a03b838'
+          '1e9e7d3dcdd6932b02d6dcabdf45041a3726f1be')
+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 POLARSSL_THREADING_C\)|\1|' include/polarssl/config.h
+  sed -i 's|//\(#define POLARSSL_THREADING_PTHREAD\)|\1|' include/polarssl/config.h
+  # enable cert_write
+  patch -p1 -d programs -i "$srcdir/programs.makefile.patch"
+  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
+  rm "$pkgdir/usr/lib/libmbedtls.so.8"
+  ln -s /usr/lib/libmbedtls.so "$pkgdir/usr/lib/libmbedtls.so.8"
+}

Deleted: community-staging-x86_64/programs.makefile.patch
===================================================================
--- community-staging-x86_64/programs.makefile.patch	2015-02-18 01:10:00 UTC (rev 127897)
+++ community-staging-x86_64/programs.makefile.patch	2015-02-18 01:10:21 UTC (rev 127898)
@@ -1,22 +0,0 @@
---- 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
- 
- ifdef OPENSSL
- APPS +=	test/o_p_test
-@@ -241,6 +241,10 @@
- 	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
-+	echo   "  CC    x509/cert_write.c"
-+	$(CC) $(CFLAGS) $(OFLAGS) x509/cert_write.c    $(LDFLAGS) -o $@
-+
- clean:
- ifndef WINDOWS
- 	rm -f $(APPS)

Copied: mbedtls/repos/community-staging-x86_64/programs.makefile.patch (from rev 127897, mbedtls/trunk/programs.makefile.patch)
===================================================================
--- community-staging-x86_64/programs.makefile.patch	                        (rev 0)
+++ community-staging-x86_64/programs.makefile.patch	2015-02-18 01:10:21 UTC (rev 127898)
@@ -0,0 +1,22 @@
+--- 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
+ 
+ ifdef OPENSSL
+ APPS +=	test/o_p_test
+@@ -241,6 +241,10 @@
+ 	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
++	echo   "  CC    x509/cert_write.c"
++	$(CC) $(CFLAGS) $(OFLAGS) x509/cert_write.c    $(LDFLAGS) -o $@
++
+ clean:
+ ifndef WINDOWS
+ 	rm -f $(APPS)



More information about the arch-commits mailing list