Bug 229466 - net-im/zephyr unfetchable
Summary: net-im/zephyr unfetchable
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-02 06:57 UTC by Cy Schubert
Modified: 2019-09-09 21:28 UTC (History)
3 users (show)

See Also:
bjk: maintainer-feedback+
cy: maintainer-feedback?


Attachments
USE_GITHUB for Zephyr (1.12 KB, patch)
2019-09-09 21:28 UTC, Chris Rees
crees: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cy Schubert freebsd_committer 2018-07-02 06:57:24 UTC
exp-run-k# make MASTER_SITE_BACKUP=NOT_FOUND/// checksum
===>  License MIT accepted by the user
===>   zephyr-3.0.1_3 depends on file: /usr/local/sbin/pkg - found
=> zephyr-3.0.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://zephyr.1ts.org/export/2642/distribution/zephyr-3.0.1.tar.gz
fetch: http://zephyr.1ts.org/export/2642/distribution/zephyr-3.0.1.tar.gz: No address record
=> Attempting to fetch NOT_FOUND///zephyr-3.0.1.tar.gz
fetch: NOT_FOUND///zephyr-3.0.1.tar.gz: Invalid URL scheme
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/zephyr
exp-run-k#
Comment 1 Benjamin Kaduk freebsd_committer 2018-07-10 03:36:59 UTC
Upstream is now at https://github.com/zephyr-im/zephyr , though given how github works I expect the tarball with the checksums in FreeBSD ports subversion to not be available there.  Probably this means I should take this PR as a stimulus to package a newer version.
Comment 2 Cy Schubert freebsd_committer 2018-07-10 04:21:09 UTC
We can do github. See security/krb5-devel. Instead of a hash we can use a tag. I can help out or post a patch here. Either works for me.
Comment 3 Benjamin Kaduk freebsd_committer 2018-07-10 04:29:35 UTC
Right, the makefile infrastructure has lots of support for making porting github projects easy.  My point was more that github is not really a drop-in replacement for the current master site, since the old master site had a fixed tarball which differs from the way github does tarballs.
Comment 4 Cy Schubert freebsd_committer 2018-07-10 04:45:08 UTC
Yes, the tarball will have a different name but it is 100% reproducible, distinfo works.
Comment 5 Chris Rees freebsd_committer 2019-09-09 21:28:07 UTC
Created attachment 207340 [details]
USE_GITHUB for Zephyr

Hi Ben,

Github is used for loads of ports, and the tarball is still in distinfo, so it will never change without notice.

This patch shows it fetching from Github (the newest version), though I've not build or run tested it.

Do you think you would be able to update it from here?

Chris