Github messages for voidlinux
 help / color / mirror / Atom feed
From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] common/environment/setup/misc.sh: use https where possible
Date: Mon, 18 May 2020 16:55:11 +0200	[thread overview]
Message-ID: <20200518145511.1ctE8G3TeTKSy-lH4ZsxQfkt5zjs0_iMvSAv_zJzdDc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22050@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

There is an updated pull request by mobinmob against master on the void-packages repository

https://github.com/mobinmob/void-packages distfile-mirors
https://github.com/void-linux/void-packages/pull/22050

common/environment/setup/misc.sh: use https where possible


A patch file from https://github.com/void-linux/void-packages/pull/22050.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-distfile-mirors-22050.patch --]
[-- Type: text/x-diff, Size: 5816 bytes --]

From acaf7ef887d0b95deaeed29ef75776f4dd06a556 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Mon, 18 May 2020 17:51:54 +0300
Subject: [PATCH 1/4] common/environment/setup/misc.sh: use https where
 possible, remove XORG_HOME variable.

---
 common/environment/setup/misc.sh | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/common/environment/setup/misc.sh b/common/environment/setup/misc.sh
index efa36e18589..bf84fce10da 100644
--- a/common/environment/setup/misc.sh
+++ b/common/environment/setup/misc.sh
@@ -4,22 +4,18 @@
 # SITE used for ditfiles mirrors. For use in $distfiles.
 set -a
 
-SOURCEFORGE_SITE="http://downloads.sourceforge.net/sourceforge"
-NONGNU_SITE="http://download.savannah.nongnu.org/releases"
+SOURCEFORGE_SITE="https://downloads.sourceforge.net/sourceforge"
+NONGNU_SITE="https://download.savannah.nongnu.org/releases"
 UBUNTU_SITE="http://archive.ubuntu.com/ubuntu/pool"
 XORG_SITE="https://www.x.org/releases/individual"
 DEBIAN_SITE="http://ftp.debian.org/debian/pool"
-GNOME_SITE="http://ftp.gnome.org/pub/GNOME/sources"
+GNOME_SITE="https://ftp.gnome.org/pub/GNOME/sources"
 KERNEL_SITE="https://www.kernel.org/pub/linux"
 CPAN_SITE="https://www.cpan.org/modules/by-module"
 PYPI_SITE="https://files.pythonhosted.org/packages/source"
 MOZILLA_SITE="https://ftp.mozilla.org/pub"
-GNU_SITE="http://ftp.gnu.org/gnu"
+GNU_SITE="https://ftp.gnu.org/gnu"
 FREEDESKTOP_SITE="https://freedesktop.org/software"
 KDE_SITE="https://download.kde.org/stable"
 
-# Repetitive sub homepage's with no real project page
-# ie. some gnome and xorg projects. For use in $homepage.
-XORG_HOME="http://xorg.freedesktop.org/wiki/"
-
 set +a

From ca17b381f3109e45b1b3e155b3d61d72acdf3c38 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Mon, 18 May 2020 17:52:46 +0300
Subject: [PATCH 2/4] Manual.md: Sync distfile mirrors with misc.sh, remove
 XORG_HOME variable

---
 Manual.md | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/Manual.md b/Manual.md
index f6c6f457451..5b197334f3a 100644
--- a/Manual.md
+++ b/Manual.md
@@ -479,19 +479,18 @@ Example:
 
   | Variable         | Value                                           |
   |------------------|-------------------------------------------------|
-  | CPAN_SITE        | http://cpan.perl.org/modules/by-module          |
+  | CPAN_SITE        | https://cpan.perl.org/modules/by-module          |
   | DEBIAN_SITE      | http://ftp.debian.org/debian/pool               |
-  | FREEDESKTOP_SITE | http://freedesktop.org/software                 |
-  | GNOME_SITE       | http://ftp.gnome.org/pub/GNOME/sources          |
-  | GNU_SITE         | http://ftp.gnu.org/gnu                          |
-  | KERNEL_SITE      | http://www.kernel.org/pub/linux                 |
-  | MOZILLA_SITE     | http://ftp.mozilla.org/pub                      |
-  | NONGNU_SITE      | http://download.savannah.nongnu.org/releases    |
+  | FREEDESKTOP_SITE | https://freedesktop.org/software                 |
+  | GNOME_SITE       | https://ftp.gnome.org/pub/GNOME/sources          |
+  | GNU_SITE         | https://ftp.gnu.org/gnu                          |
+  | KERNEL_SITE      | https://www.kernel.org/pub/linux                 |
+  | MOZILLA_SITE     | https://ftp.mozilla.org/pub                      |
+  | NONGNU_SITE      | https://download.savannah.nongnu.org/releases    |
   | PYPI_SITE        | https://files.pythonhosted.org/packages/source  |
-  | SOURCEFORGE_SITE | http://downloads.sourceforge.net/sourceforge    |
+  | SOURCEFORGE_SITE | https://downloads.sourceforge.net/sourceforge    |
   | UBUNTU_SITE      | http://archive.ubuntu.com/ubuntu/pool           |
-  | XORG_HOME        | http://xorg.freedesktop.org/wiki/               |
-  | XORG_SITE        | http://www.x.org/releases/individual            |
+  | XORG_SITE        | https://www.x.org/releases/individual            |
   | KDE_SITE         | https://download.kde.org/stable                 |
 
 - `checksum` The `sha256` digests matching `${distfiles}`. Multiple files can be

From ee74bcb73b07d9ef5ad02149cbfed1a1fcbe0067 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Mon, 18 May 2020 17:53:33 +0300
Subject: [PATCH 3/4] liboil: replace XORG_HOME with real homepage.

---
 srcpkgs/liboil/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/liboil/template b/srcpkgs/liboil/template
index 3c2c686c3a5..b5db20382b9 100644
--- a/srcpkgs/liboil/template
+++ b/srcpkgs/liboil/template
@@ -7,7 +7,7 @@ hostmakedepends="pkg-config"
 short_desc="Library of Optimized Inner Loops, CPU optimized functions"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-2-Clause"
-homepage="${XORG_HOME}"
+homepage="https://liboil.freedesktop.org/wiki/"
 distfiles="http://liboil.freedesktop.org/download/$pkgname-$version.tar.gz"
 checksum=105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69
 

From 5dcd9e0b1cb581eb308aecdc8a7911a38e7b7d3f Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Mon, 18 May 2020 17:54:18 +0300
Subject: [PATCH 4/4] xprop: replace XORG_HOME with the corg wiki.

---
 srcpkgs/xprop/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/xprop/template b/srcpkgs/xprop/template
index 360cb8f7f70..375ddcd62e4 100644
--- a/srcpkgs/xprop/template
+++ b/srcpkgs/xprop/template
@@ -8,7 +8,7 @@ makedepends="libX11-devel libXmu-devel"
 short_desc="Property displayer for X"
 maintainer="Frank Steinborn <steinex@nognu.de>"
 license="MIT"
-homepage="$XORG_HOME"
+homepage="https://xorg.freedesktop.org/wiki/"
 distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2"
 checksum=8c77fb096e46c60032b7e2bde9492c3ffcc18734f50b395085a5f10bfd3cf753
 

  parent reply	other threads:[~2020-05-18 14:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 17:04 [PR PATCH] " mobinmob
2020-05-17 17:27 ` [PR PATCH] [Updated] " mobinmob
2020-05-18 11:10 ` Johnnynator
2020-05-18 14:43 ` [PR PATCH] [Updated] " mobinmob
2020-05-18 14:45 ` mobinmob
2020-05-18 14:45 ` mobinmob
2020-05-18 14:55 ` mobinmob [this message]
2020-05-18 14:56 ` mobinmob
2020-05-18 15:01 ` [PR PATCH] [Merged]: " Johnnynator

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200518145511.1ctE8G3TeTKSy-lH4ZsxQfkt5zjs0_iMvSAv_zJzdDc@z \
    --to=mobinmob@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).