Subject: [alpine-aports] [PATCH] community/wine: switch to https:// & whitespace

From: Sascha Paunovic <[email-masked]>
Date: Sat, 23 Jun 2018 22:39:23 +0200

---
 community/wine/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/community/wine/APKBUILD b/community/wine/APKBUILD
index 39b1f29dc3..2bef62aa51 100644
--- a/community/wine/APKBUILD
+++ b/community/wine/APKBUILD
@@ -8,7 +8,7 @@ pkgver=3.0
 _pkgver=${pkgver/_/-}
 pkgrel=0
 pkgdesc="A compatibility layer for running Windows programs"
-url="http://www.winehq.com"
+url="https://www.winehq.com"
 arch="x86 x86_64"
 license="LGPL-2.0-or-later"
 # As of 2.0.3 most of the tests fails
@@ -22,7 +22,7 @@ makedepends="fontconfig-dev openldap-dev libxslt-dev libxxf86dga-dev
 	cups-dev alsa-lib-dev lcms-dev libxml2-dev paxmark dbus-dev libxi-dev
 	gnutls-dev tiff-dev v4l-utils-dev udisks2-dev autoconf automake
 	"
-source="http://dl.winehq.org/$pkgname/source/${pkgver%.[1-9]}/$pkgname-$_pkgver.tar.xz
+source="https://dl.winehq.org/$pkgname/source/${pkgver%.[1-9]}/$pkgname-$_pkgver.tar.xz
 	no-pie.patch
 	winhlp32-flex.patch
 	"
@@ -50,7 +50,7 @@ build() {
 		--localstatedir=/var \
 		--with-dbus \
 		--with-x \
-		$_win64 
+		$_win64
 	make
 }
 
-- 
2.18.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Daniel Isaksen <[email-masked]>
Date: Sun, 24 Jun 2018 08:35:28 +0200

Hi Sascha,

apk verifies downloaded content with their hashes, which is why we don't
use HTTPS in the sources.

In this case, it will merely make the builder system spend unnecessary
resources doing cryptography.

Changing the URL is fine though - but I recommend you create a new patch
addressing this.

- Daniel <[email-masked]>