Skip to content

openssh: srcurl dead - use local copy #1591

Merged
merged 1 commit into from
Jan 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions openssh.be0
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/env beesh

# BEE_VERSION openssh-7.9_p1-1
# BEE_VERSION openssh-7.9_p1-2

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


SYSCONFDIR=/etc/ssh
DATADIR=/usr/share/sshd
Expand Down