Skip to contentSkip to conversation

package/mosh: Update upstream URLs after move to github.com

PATCH New Bernd Kuhls 2 participants 2 messages Jan 31, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mosh: Update upstream URLs after move to github.com

The project moved to github.com, our current download URL was broken:
http://mailman.mit.edu/pipermail/mosh-users/2015-July/000284.html

---
 package/mosh/Config.in | 2 +-
 package/mosh/mosh.hash | 4 ++--
 package/mosh/mosh.mk   | 5 +++--
 3 files changed, 6 insertions(+), 5 deletions(-)
package/mosh/Config.in +1 -1
index 868b9ff..ab6eeb8 100644
@@ -21,4 +21,4 @@ config BR2_PACKAGE_MOSH
 	  allows roaming, and provides speculative local echo and line editing
 	  of user keystrokes.
 
-	  https://mosh.mit.edu
+	  https://github.com/mobile-shell/mosh
package/mosh/mosh.hash +2 -2
index ab925b5..b0a0906 100644
@@ -1,2 +1,2 @@
-# From: http://mailman.mit.edu/pipermail/mosh-users/2015-July/000283.html
-sha256 1af809e5d747c333a852fbf7acdbf4d354dc4bbc2839e3afe5cf798190074be3 mosh-1.2.5.tar.gz
+# Locally computed
+sha256	35025d412046ee5199ebaa8d876131fc683dccedde18b3945b3bc3662bc9f373	mosh-mosh-1.2.5.tar.gz
package/mosh/mosh.mk +3 -2
index f8c45e8..3967f41 100644
@@ -4,11 +4,12 @@
 #
 ################################################################################
 
-MOSH_VERSION = 1.2.5
-MOSH_SITE = https://mosh.mit.edu
+MOSH_VERSION = mosh-1.2.5
+MOSH_SITE = $(call github,mobile-shell,mosh,$(MOSH_VERSION))
 MOSH_DEPENDENCIES = zlib ncurses protobuf openssl host-pkgconf
 MOSH_LICENSE = GPLv3+ with exception
 MOSH_LICENSE_FILES = COPYING COPYING.iOS
+MOSH_AUTORECONF = YES
 
 # help the detection of the SSP support: mosh configure.ac doesn't do
 # a link test, so it doesn't detect when the toolchain doesn't have
Signature · 1 line
2.7.0.rc3
#1 lore raw

PATCH 1/1 package/mosh: Update upstream URLs after move to github.com

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

The project moved to github.com, our current download URL was broken:
http://mailman.mit.edu/pipermail/mosh-users/2015-July/000284.html

It was?

wget https://mosh.mit.edu/mosh-1.2.5.tar.gz
--2016-01-31 10:14:36-- https://mosh.mit.edu/mosh-1.2.5.tar.gz
Resolving mosh.mit.edu (mosh.mit.edu)... 18.181.0.46 Connecting to mosh.mit.edu (mosh.mit.edu)|18.181.0.46|:443... connected. HTTP request sent, awaiting response... 200 OK
Length: 308857 (302K) [application/gzip]
Saving to: ?mosh-1.2.5.tar.gz?

mosh-1.2.5.tar.gz 100%[=============================================>] 301.62K 633KB/s in 0.5s

2016-01-31 10:14:37 (633 KB/s) - ?mosh-1.2.5.tar.gz? saved [308857/308857]

That URL is also listed in the release notes as the official location.

Quoted 12 lines
---
 package/mosh/Config.in | 2 +-
 package/mosh/mosh.hash | 4 ++--
 package/mosh/mosh.mk   | 5 +++--
 3 files changed, 6 insertions(+), 5 deletions(-)
package/mosh/Config.in +0 -0
index 868b9ff..ab6eeb8 100644

package/mosh/Config.in config BR2_PACKAGE_MOSH · line 24

Quoted 5 lines
package/mosh/Config.in +1 -1
@@ -21,4 +21,4 @@ config BR2_PACKAGE_MOSH
 	  allows roaming, and provides speculative local echo and line editing
 	  of user keystrokes.
 
-	  https://mosh.mit.edu
+	  https://github.com/mobile-shell/mosh

But the mit.edu page is still what I would consider the user homepage.

Quoted 15 lines
package/mosh/mosh.hash +2 -2
index ab925b5..b0a0906 100644
@@ -1,2 +1,2 @@
-# From: http://mailman.mit.edu/pipermail/mosh-users/2015-July/000283.html
-sha256 1af809e5d747c333a852fbf7acdbf4d354dc4bbc2839e3afe5cf798190074be3 mosh-1.2.5.tar.gz
+# Locally computed
+sha256	35025d412046ee5199ebaa8d876131fc683dccedde18b3945b3bc3662bc9f373	mosh-mosh-1.2.5.tar.gz
package/mosh/mosh.mk +0 -0
index f8c45e8..3967f41 100644
@@ -4,11 +4,12 @@
 #

package/mosh/mosh.mk line 12

Quoted 10 lines
package/mosh/mosh.mk +3 -2
 ################################################################################
 
-MOSH_VERSION = 1.2.5
-MOSH_SITE = https://mosh.mit.edu
+MOSH_VERSION = mosh-1.2.5
+MOSH_SITE = $(call github,mobile-shell,mosh,$(MOSH_VERSION))
 MOSH_DEPENDENCIES = zlib ncurses protobuf openssl host-pkgconf
 MOSH_LICENSE = GPLv3+ with exception
 MOSH_LICENSE_FILES = COPYING COPYING.iOS
+MOSH_AUTORECONF = YES

So the only thing this changes is that we now need to autoreconf :/

Perhaps they will stop putting release tarballs on mosh.mit.edu at some time in the future, but for now I don't see the point of changing this.

Signature · 1 line
Bye, Peter Korsgaard