[arch-commits] Commit in lib32-openssl/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Thu Aug 23 16:37:37 UTC 2018


    Date: Thursday, August 23, 2018 @ 16:37:36
  Author: eschwartz
Revision: 373447

upgpkg: lib32-openssl 1:1.1.0.i-1

upstream release

Modified:
  lib32-openssl/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-23 14:31:25 UTC (rev 373446)
+++ PKGBUILD	2018-08-23 16:37:36 UTC (rev 373447)
@@ -3,7 +3,7 @@
 
 _pkgbasename=openssl
 pkgname=lib32-$_pkgbasename
-_ver=1.1.0h
+_ver=1.1.0i
 # use a pacman compatible version scheme
 pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
 #pkgver=$_ver
@@ -15,20 +15,19 @@
 license=('custom:BSD')
 depends=('lib32-glibc' "${_pkgbasename}")
 optdepends=('ca-certificates')
-makedepends=('gcc-multilib')
 source=("https://www.openssl.org/source/${_pkgbasename}-${_ver}.tar.gz"
         "https://www.openssl.org/source/${_pkgbasename}-${_ver}.tar.gz.asc"
         'ca-dir.patch')
 validpgpkeys=(8657ABB260F056B1E5190839D9C4D26D0E604491)
-md5sums=('5271477e4d93f4ea032b665ef095ff24'
+md5sums=('9495126aafd2659d357ea66a969c3fe1'
          'SKIP'
          '02b53865fb70faef763e262b4971aa4b')
 
 prepare() {
-	cd $srcdir/$_pkgbasename-$_ver
+	cd "$srcdir"/$_pkgbasename-$_ver
 
 	# set ca dir to /etc/ssl by default
-	patch -p0 -i $srcdir/ca-dir.patch
+	patch -p0 -i "$srcdir"/ca-dir.patch
 	# test fails since 1.1.0h
 	rm test/recipes/80-test_cms.t
 }
@@ -38,7 +37,7 @@
 	export CXX="g++ -m32"
 	export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
 
-	cd $srcdir/$_pkgbasename-$_ver
+	cd "$srcdir"/$_pkgbasename-$_ver
 
 	# mark stack as non-executable: http://bugs.archlinux.org/task/12434
 	./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib32 \
@@ -51,19 +50,19 @@
 }
 
 check() {
-	cd $srcdir/$_pkgbasename-$_ver
+	cd "$srcdir"/$_pkgbasename-$_ver
 	# the test fails due to missing write permissions in /etc/ssl
 	# revert this patch for make test
-	patch -p0 -R -i $srcdir/ca-dir.patch
+	patch -p0 -R -i "$srcdir"/ca-dir.patch
 	make test
-	patch -p0 -i $srcdir/ca-dir.patch
+	patch -p0 -i "$srcdir"/ca-dir.patch
 }
 
 package() {
-	cd $srcdir/$_pkgbasename-$_ver
-	make DESTDIR=$pkgdir install_sw
+	cd "$srcdir"/$_pkgbasename-$_ver
+	make DESTDIR="$pkgdir" install_sw
 
 	rm -rf ${pkgdir}/{usr/{include,bin},etc}
-	mkdir -p $pkgdir/usr/share/licenses
-	ln -s $_pkgbasename $pkgdir/usr/share/licenses/$pkgname
+	mkdir -p "$pkgdir"/usr/share/licenses
+	ln -s $_pkgbasename "$pkgdir"/usr/share/licenses/$pkgname
 }



More information about the arch-commits mailing list