[Midnightbsd-cvs] [MidnightBSD/mports] 0ea991: archivers/zipmix: update to 20160430 (#770)
Lucas Holt
noreply at github.com
Sun Aug 23 01:47:54 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 0ea9911e92561cdb8c81e3914cb440bcf558e926
https://github.com/MidnightBSD/mports/commit/0ea9911e92561cdb8c81e3914cb440bcf558e926
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-08-23 (Sun, 23 Aug 2026)
Changed paths:
M archivers/zipmix/Makefile
M archivers/zipmix/distinfo
Log Message:
-----------
archivers/zipmix: update to 20160430 (#770)
## Problem
The port pinned the **2007-02-21** distfile, but upstream (`advsys.net`)
replaced `zipmix_src.zip` **in place** with a **2016-04-30** build years
ago. The two `MASTER_SITES` now serve different content under the same
filename:
| Site | Size | Date | Matches distinfo |
|---|---|---|---|
| `advsys.net` (primary) | 5232 | 2016-04-30 | ✗ |
| `BSDforge.com` (mirror) | 4759 | 2007-02-21 | ✓ |
So every fetch failed its size check on the primary and fell through to
the mirror:
```
fetch: http://www.advsys.net/ken/util/zipmix_src.zip: size mismatch: expected 4759, actual 5232
```
That left the port depending on a single third-party mirror for a file
upstream no longer publishes — one mirror outage away from being
unfetchable. Following upstream is the durable fix.
## Upstream changes between the two builds
- Guard the byte-swap helpers with `__POWERPC__` rather than `__APPLE__`
— the old guard misfired on non-PPC Apple hardware
- Add `getday()` and `isdatetimewithin1sec()`, so files whose ZIP
timestamps differ by a second still match
`files/patch-zipmix.c` still applies (hunk 2 shifts by 22 lines).
## Testing
`bmake makesum`, `patch`, `build`, `fake`, `package` all succeed;
`portlint` reports *"looks fine"*. The built binary runs and prints its
usage banner.
## Pre-existing bug found while testing — not introduced here
The resulting binary **hangs** when actually asked to mix two archives
(`zipmix A.zip B.zip out.zip`), producing a 0-byte output and never
terminating. It is not an interactive prompt — it hangs the same way
with input fed to stdin.
I built the patched **2007** and **2016** sources side by side and they
hang **identically**, so this is pre-existing and orthogonal to this
update. Flagging it rather than folding it in; it deserves its own
investigation.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
Bug Fixes:
- Update the zipmix port to the upstream 2016-04-30 distfile so fetches
use the current primary source instead of relying on the outdated
mirror.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list