Patches for aports can be sent to this list

1

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

Sascha Paunovic
Details
Message ID
<20180623203923.8920-1-azarus@posteo.net>
Sender timestamp
1529786363
DKIM signature
missing
Download raw message
Patch: +3 -3
---
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Daniel Isaksen
Details
Message ID
<CAFWK1CAXDUSY4DVJy2v7W44RKdcv5OZbZ89vwmtNgdveESpyqw@mail.gmail.com>
In-Reply-To
<20180623203923.8920-1-azarus@posteo.net> (view parent)
Sender timestamp
1529822128
DKIM signature
missing
Download raw message
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 <d@duniel.no>

On Sat, Jun 23, 2018 at 10:39 PM, Sascha Paunovic <azarus@posteo.net> wrote:

> ---
>  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:  alpine-aports+unsubscribe@lists.alpinelinux.org
> Help:         alpine-aports+help@lists.alpinelinux.org
> ---
>
>