Skip to content

openssh: srcurl dead - use local copy #1591

Merged
merged 1 commit into from
Jan 14, 2020
Merged

Conversation

wwwutz
Copy link
Collaborator

@wwwutz wwwutz commented Jan 14, 2020

  • use archive extracted from build archive 7.9_p1-1

- use archive extracted from build archive 7.9_p1-1

SRCURL[0]="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PKGVERSION}${PKGEXTRAVERSION}.tar.gz"
# SRCURL[0]="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PKGVERSION}${PKGEXTRAVERSION}.tar.gz"
SRCURL[0]="/src/mariux/md5repo/c6af50b7a474d04726a5aa747a5dce8f/openssh-7.9p1.tar.gz"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is still available as far as I can see.

$ curl -I https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.9p1.tar.gz
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 1565384
Content-Type: text/plain
Date: Tue, 14 Jan 2020 10:26:11 GMT
Last-Modified: Fri, 19 Oct 2018 02:10:28 GMT
Server: OpenBSD httpd

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so maybe I should download with -I ... nice to know 8-)

anyways:

[BEE] current working directory: /src/mariux/beehive/run
[BEE] ==> initializing build environment ..
[BEE]  -> creating source dir /scratch/local2/beehive/openssh-7.9_p1-1/buildroot/openssh/openssh-7.9_p1-1/source
[BEE]  -> creating image dir /scratch/local2/beehive/openssh-7.9_p1-1/buildroot/openssh/openssh-7.9_p1-1/image
[BEE] ==> checking repositories ..
[BEE] ==> building openssh-7.9_p1-1.x86_64 ..
[BEE] => entering bee_getsources() ..
[BEE] fetching https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.9p1.tar.gz
--2020-01-14 09:02:47--  https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.9p1.tar.gz
Resolving beehive... 141.14.27.134
Connecting to beehive|141.14.27.134|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 433 [text/html]
Saving to: ‘/scratch/local2/beehive/openssh-7.9_p1-1/buildroot/openssh/files/openssh-7.9p1.tar.gz’

     0K                                                       100% 3.53M=0s

2020-01-14 09:02:48 (3.53 MB/s) - ‘/scratch/local2/beehive/openssh-7.9_p1-1/buildroot/openssh/files/openssh-7.9p1.tar.gz’ saved [433/433]

-rw-r--r-- 1 build build 433 Oct 19  2018 /scratch/local2/beehive/openssh-7.9_p1-1/buildroot/openssh/files/openssh-7.9p1.tar.gz
[BEE] <= leaving bee_getsources() ..
[BEE] => entering bee_extract() ..
[BEE]  -> extracting main source /scratch/local2/beehive/openssh-7.9_p1-1/buildroot/openssh/files/openssh-7.9p1.tar.gz ..
[BEE] tar xof /scratch/local2/beehive/openssh-7.9_p1-1/buildroot/openssh/files/openssh-7.9p1.tar.gz -C /scratch/local2/beehive/openssh-7.9_p1-1/buildroot/openssh/openssh-7.9_p1-1/source --strip-components 1

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

@pmenzel
Copy link
Collaborator

pmenzel commented Jan 14, 2020

Works for me.

$ wget https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.9p1.tar.gz
--2020-01-14 11:34:42--  https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.9p1.tar.gz
Resolving ftp.openbsd.org... 129.128.5.191
Connecting to ftp.openbsd.org|129.128.5.191|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1565384 (1.5M) [text/plain]
Saving to: ‘openssh-7.9p1.tar.gz’

openssh-7.9p1.tar.gz                            100%[=====================================================================================================>]   1.49M   105KB/s    in 19s     

2020-01-14 11:35:01 (80.7 KB/s) - ‘openssh-7.9p1.tar.gz’ saved [1565384/1565384]
$ md5sum openssh-7.9p1.tar.gz
c6af50b7a474d04726a5aa747a5dce8f  openssh-7.9p1.tar.gz
$ tar xof openssh-7.9p1.tar.gz
$ echo $?
0

@pmenzel pmenzel merged commit 051fb74 into master Jan 14, 2020
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants