Bug 294340 - textproc/qrcodegen: distfile is unfetchable
Summary: textproc/qrcodegen: distfile is 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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-08 19:00 UTC by Ronald Klop
Modified: 2026-04-09 17:18 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (kevinz5000)


Attachments
git diff to allow build (and run) with any jdk (3.28 KB, patch)
2026-04-09 17:18 UTC, Ronald Klop
ronald: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop freebsd_committer freebsd_triage 2026-04-08 19:00:39 UTC
Hi,

# make fetch
===>  License GPLv3 accepted by the user
===>   qrcodegen-1.14.2_5 depends on file: /usr/local/sbin/pkg - found
=> qrcodegen_1.14.2.zip doesn't seem to exist in /data/distfiles.
=> Attempting to fetch http://bsd-geek.de/FreeBSD/distfiles/qrcodegen_1.14.2.zip
fetch: http://bsd-geek.de/FreeBSD/distfiles/qrcodegen_1.14.2.zip: Not Found

The distfile is not available from the source. The port only works because the FreeBSD cluster has cached it also.

Are you able to fix this?
Comment 1 Kevin Zheng 2026-04-08 21:50:34 UTC
See related comments on PR 289421. Upstream has disappeared and I'm going to try to spend some time to find it again.

Meanwhile I have found a download on heise.de. I compared SHA256 sums and get a match, would this be acceptable for FreeBSD, assuming that I can get a suitable URL for use with MASTER_SITES?

https://www.heise.de/download/product/portable-qr-code-generator-85046/download
Comment 2 Ronald Klop freebsd_committer freebsd_triage 2026-04-09 05:52:36 UTC
(In reply to Kevin Zheng from comment #1)
I don't know heise.de. So I can't comment on the reputation of the site. But if the hash is equal it should work.

About bug #289421, I created this issue because I was trying to add JAXB to the port. Then I found that upstream is gone and was wondering if it is worth the effort to get this port to compile with a modern JDK or that we just should deprecate and expire the port.

If you say you use the port and actively maintain it I'm fine with using heise.de to host the distfile.
Comment 3 Ronald Klop freebsd_committer freebsd_triage 2026-04-09 06:02:49 UTC
(In reply to Kevin Zheng from comment #1)
I just tried this and this does not work.

-MASTER_SITES=  http://bsd-geek.de/FreeBSD/distfiles/
+MASTER_SITES=  https://www.heise.de/download/product/portable-qr-code-generator-85046/download/

# make fetch
===>  License GPLv3 accepted by the user
===>   qrcodegen-1.14.2_5 depends on file: /usr/local/sbin/pkg - found
=> qrcodegen_1.14.2.zip doesn't seem to exist in /data/distfiles.
=> Attempting to fetch https://www.heise.de/download/product/portable-qr-code-generator-85046/download/qrcodegen_1.14.2.zip
fetch: https://www.heise.de/download/product/portable-qr-code-generator-85046/download/qrcodegen_1.14.2.zip: Not Found

Oh I see the site does all kind of tricks to force you to do a manual download and look at the advertisements.
We can also host the distfile on some other site if needed (and allowed by the license).
Comment 4 Kevin Zheng 2026-04-09 06:53:23 UTC
I see. Given that this port is not much besides "download ZIP, extract JAR, then java -jar", I think we can safely deprecate and expire the port. I'm happy to run it via `java -jar` on an older OpenJDK. If it does turn out there are others who want to use the port, we can discuss further.
Comment 5 Ronald Klop freebsd_committer freebsd_triage 2026-04-09 17:18:31 UTC
Created attachment 269557 [details]
git diff to allow build (and run) with any jdk

Hi,

Thanks for your answer. Makes me understand how the port is used.

I experimented with adding JAXB as a separate jar. With this I can start the application with openjdk25. Also importing a KML file works. I added jars from the JAXB zip until the KML worked.

Can you check my patch?

If you approve, I can commit it.