Files
s3-genindex/debian/s3-genindex.control.in
pim 312e9245f8 Rework build system
Replace the dpkg-buildpackage / debhelper rig with the same pattern
used in vpp-maglev and govpp-snmp-agentx: a Makefile that
cross-compiles CGO-free static binaries for amd64 and arm64, plus a
debian/build-deb.sh that stages the .deb directly with dpkg-deb. The
two arch packages drop into build/ and run on any glibc/musl Linux of
the matching arch.

VERSION is parsed once from debian/changelog and injected at link
time via -ldflags "-X 'main.Version=...' -X 'main.Commit=...' -X
'main.Date=...'", so 's3-genindex -version' is the source of truth
for which build is running. The Version constant in main.go becomes
a var to make this work; the old sync-version make target is gone.

Removes the now-unused debian/{control,rules,install,compat} files
and the matching debhelper artifact entries from .gitignore. build/
is added to .gitignore.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 20:11:55 +02:00

18 lines
773 B
Plaintext

Package: s3-genindex
Version: @VERSION@
Architecture: @ARCH@
Maintainer: Pim van Pelt <pim@ipng.ch>
Section: utils
Priority: optional
Homepage: https://git.ipng.ch/ipng/s3-genindex
Description: HTML directory index generator for local and S3 storage
Generate HTML directory indexes with file type icons and responsive
design for local directories and S3-compatible storage. Particularly
useful for S3 buckets that are publicly readable.
.
Features include local directory indexing with recursive traversal,
S3-compatible storage support (MinIO, AWS S3, etc.), hierarchical
directory structure for S3 buckets, responsive HTML design with file
type icons, dry run mode for testing, flexible filtering with glob
patterns and regex exclusion, and hidden file control.