Version in base suite: 2.1.0-2 Base version: clatd_2.1.0-2 Target version: clatd_2.1.0-2+deb13u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/c/clatd/clatd_2.1.0-2.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/c/clatd/clatd_2.1.0-2+deb13u1.dsc changelog | 8 ++ clatd.conf | 60 +++++++++++++++ clatd.conffiles | 1 clatd.install | 1 patches/0003-Rewrite-Makefile-to-be-more-idiomatic.patch | 18 +--- 5 files changed, 76 insertions(+), 12 deletions(-) dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpzd2pnwt3/clatd_2.1.0-2.dsc: no acceptable signature found dpkg-source: warning: cannot verify inline signature for /srv/release.debian.org/tmp/tmpzd2pnwt3/clatd_2.1.0-2+deb13u1.dsc: no acceptable signature found diff -Nru clatd-2.1.0/debian/changelog clatd-2.1.0/debian/changelog --- clatd-2.1.0/debian/changelog 2025-04-16 17:56:40.000000000 +0000 +++ clatd-2.1.0/debian/changelog 2025-11-17 13:50:30.000000000 +0000 @@ -1,3 +1,11 @@ +clatd (2.1.0-2+deb13u1) trixie; urgency=medium + + * Move NetworkManager dispatcher script to /usr/lib (Closes: #1110678) + * Fix systemd units not getting installed (Closes: #1101004) + * Install an example /etc/clatd.conf with only comments + + -- Daniel Gröber Mon, 17 Nov 2025 14:50:30 +0100 + clatd (2.1.0-2) unstable; urgency=medium * No change Soure-only upload for testing migration diff -Nru clatd-2.1.0/debian/clatd.conf clatd-2.1.0/debian/clatd.conf --- clatd-2.1.0/debian/clatd.conf 1970-01-01 00:00:00.000000000 +0000 +++ clatd-2.1.0/debian/clatd.conf 2025-11-17 13:48:58.000000000 +0000 @@ -0,0 +1,60 @@ +# clatd(8) config - defaults in comments + +### Files +# /etc/clatd.conf: global settings (clatd.service) +# /etc/clatd/INTERFACE.conf: per-interface settings (clatd@INTERFACE.service) + +# Remember to set each interface's `clat-v4-addr` to a unique address +# taken from 192.0.0.0/29. (.0 to .7). + +### Network device control +# clat-dev=clat # TUN interface name to use +# plat-dev= # PLAT-facing device. Detected if unset. + +### IPv4 connectivity check +# v4-conncheck-enable=1 # exit if there's already a defroute +# v4-conncheck-delay=10 # seconds before checking for v4 conn. + +### Change kernel IPv6 sysctls +# forwarding-enable=1 # enable ipv6 forwarding? + +### Addressing +# clat-v4-addr=192.0.0.1 # from RFC 7335 +# tayga-v4-addr=192.0.0.2 # from RFC 7335 +# clat-v6-addr=shared # re-use primary address from host OS +# route-table=0xc1a7 # add route to clat-v6-addr in this table + +### PLAT prefix +# dns64-servers= # system resolver by default +## or override +# plat-prefix= # detected using DNS64 or PREF64 by default +# plat-fallback-prefix= # fallback prefix if no prefix is found + +### IPv4 default route parameters +# v4-defaultroute-enable=1 # add a v4 defaultroute via the CLAT? +# v4-defaultroute-replace=0 # replace existing v4 defaultroute? +# v4-defaultroute-metric=2048 # metric for the IPv4 defaultroute +# v4-defaultroute-mtu=1260 # MTU for the IPv4 defaultroute +# v4-defaultroute-advmss=0 # TCP MSS for the IPv4 defaultroute + +### Script hooks +# script-up= # script to run when starting up +# script-down= # script to run when shutting down + +### Logging +# quiet=0 # suppress normal output +# debug=0 # debugging output level + +### Override implementation details +# ctmark= # match ctmark for routing pkts to CLAT +# proxynd-enable= # add proxy-nd entry for clat? + +### Override conffile +# tayga-conffile= # make a temporary one by default + +### Override commands +# cmd-ip=ip # assume in $PATH +# cmd-networkctl=networkctl # assume in $PATH +# cmd-nft=nft # assume in $PATH +# cmd-tayga=tayga # assume in $PATH +# cmd-ufw=ufw # assume in $PATH diff -Nru clatd-2.1.0/debian/clatd.conffiles clatd-2.1.0/debian/clatd.conffiles --- clatd-2.1.0/debian/clatd.conffiles 1970-01-01 00:00:00.000000000 +0000 +++ clatd-2.1.0/debian/clatd.conffiles 2025-11-16 11:47:14.000000000 +0000 @@ -0,0 +1 @@ +remove-on-upgrade /etc/NetworkManager/dispatcher.d/50-clatd diff -Nru clatd-2.1.0/debian/clatd.install clatd-2.1.0/debian/clatd.install --- clatd-2.1.0/debian/clatd.install 1970-01-01 00:00:00.000000000 +0000 +++ clatd-2.1.0/debian/clatd.install 2025-11-17 13:48:58.000000000 +0000 @@ -0,0 +1 @@ +debian/clatd.conf /etc/ diff -Nru clatd-2.1.0/debian/patches/0003-Rewrite-Makefile-to-be-more-idiomatic.patch clatd-2.1.0/debian/patches/0003-Rewrite-Makefile-to-be-more-idiomatic.patch --- clatd-2.1.0/debian/patches/0003-Rewrite-Makefile-to-be-more-idiomatic.patch 2025-04-06 10:32:34.000000000 +0000 +++ clatd-2.1.0/debian/patches/0003-Rewrite-Makefile-to-be-more-idiomatic.patch 2025-11-17 13:48:45.000000000 +0000 @@ -9,18 +9,13 @@ 2 files changed, 58 insertions(+), 20 deletions(-) create mode 100644 .gitignore -diff --git a/.gitignore b/.gitignore -new file mode 100644 -index 0000000..21fb2a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/clat.8 -diff --git a/Makefile b/Makefile -index bdca32e..8c33940 100644 --- a/Makefile +++ b/Makefile -@@ -1,29 +1,66 @@ +@@ -1,29 +1,68 @@ +# clatd Makefile +# +# Copyright (C) 2025 Daniel Gröber @@ -31,13 +26,14 @@ PREFIX=/usr SYSCONFDIR=/etc +BINDIR = $(PREFIX)/sbin ++LIBDIR = $(PREFIX)/lib + +SYSTEMCTL = systemctl + +CLATD = $(DESTDIR)$(BINDIR)/clatd +MANPAGE = $(DESTDIR)$(PREFIX)/share/man/man8/clatd.8 -+SYSTEMD_SYSSERVICEDIR = $(DESTDIR)$(SYSCONFDIR)/systemd/system -+NM_DISPATCHER = $(DESTDIR)$(SYSCONFDIR)/NetworkManager/dispatcher.d/50-clatd ++SYSTEMD_SYSSERVICEDIR = $(DESTDIR)$(LIBDIR)/systemd/system ++NM_DISPATCHER = $(DESTDIR)$(LIBDIR)/NetworkManager/dispatcher.d/50-clatd + +Q = @ + @@ -83,7 +79,8 @@ - if test -d $(DESTDIR)$(SYSCONFDIR)/NetworkManager/dispatcher.d; then install -m0755 scripts/clatd.networkmanager $(DESTDIR)$(SYSCONFDIR)/NetworkManager/dispatcher.d/50-clatd; fi + install -D -m0755 clatd $(CLATD) + install -D -m0644 clatd.8 $(MANPAGE) -+ install -D -m0644 scripts/*.service $(SYSTEMD_SYSSERVICEDIR)/ ++ install -D -m0644 scripts/clatd.systemd $(SYSTEMD_SYSSERVICEDIR)/clatd.service ++ #install -D -m0644 scripts/clatd@.systemd $(SYSTEMD_SYSSERVICEDIR)/clatd@.service + install -D -m0755 scripts/clatd.networkmanager $(NM_DISPATCHER) + +DEB_PACKAGES = \ @@ -107,6 +104,3 @@ + { PKGS='$(RPM_PACKAGES)'; PKG=yum; prog_exists $$PKG; } || \ + { PKG=false; echo 'ERROR: Failed to detect system package manager.'>&2;} + $(DRY) $$PKG install -y $$PKGS --- -2.39.5 -