17 Commits

Author SHA1 Message Date
Pim van Pelt b17396b1e5 Rework build system; cut release 1.3.1-1
Replace the dpkg-buildpackage / debhelper rig with the same pattern
used in vpp-maglev: 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 'govpp-snmp-agentx --version' is the source of
truth for which build is running. main.go's Version constant becomes
a var to make this work; the old sync-version make target is gone.

Removes the now-unused debian/{control,rules,postinst,prerm,*.debhelper}
files and adds build/ to .gitignore.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 18:42:58 +02:00
Pim van Pelt 06a1f4401d Release 1.2.3-1 2025-11-23 11:07:02 +01:00
Pim van Pelt 5e36d5c926 Release 1.2.2-1 2025-11-23 10:36:13 +01:00
Pim van Pelt cdc8765a9e Cut release 1.2.1-1 2025-11-22 06:26:55 +01:00
Pim van Pelt b6d2e3b629 Upgrade go-agentx to v0.3.0, containing my ordering fix 2025-11-21 10:08:23 +01:00
Pim van Pelt a0d5c61643 Remove redundant constructor, h/t sergio 2025-11-15 22:42:04 +01:00
Pim van Pelt 27c7a5bcae Cut 1.1.6-1 release 2025-11-08 01:40:57 +01:00
Pim van Pelt dce4750b0f Bump version v1.1.5-1 2025-07-02 23:16:20 +02:00
Pim van Pelt 1889934a9c Release 1.1.4-1 2025-06-24 07:06:09 +02:00
Pim van Pelt 15216782d1 Debian package 1.1.3-1 2025-06-24 06:28:18 +02:00
Pim van Pelt 0d19d50d62 Add make sync-version to keep changelog and main.go Version the same. Update docs. Cut 1.1.2-1 2025-06-23 20:56:59 +02:00
Pim van Pelt 686bbe46b0 Add IF-MIB::ifHighSpeed for >2.5Gbps interfaces
Cut a Debian release.
2025-06-23 20:47:25 +02:00
Pim van Pelt ccc2b5ad4d Cut v1.1.0-1 2025-06-23 19:16:02 +02:00
Pim van Pelt 42dbbded3d Simplify debian dependencies, cut release 1.0.3-1 2025-06-19 15:57:53 +02:00
Pim van Pelt 1ddc77ec73 Cut a new release with envfile 2025-06-17 00:57:24 +02:00
Pim van Pelt c0bcdd5449 Make a simple change, bump version to 1.0.1 2025-06-17 00:40:36 +02:00
Pim van Pelt 82db92f344 Add an initial 'make pkg-deb' and debian/ control directory 2025-06-17 00:22:01 +02:00