Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package traefik for openSUSE:Factory checked in at 2024-05-24 19:53:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/traefik (Old) and /work/SRC/openSUSE:Factory/.traefik.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "traefik" Fri May 24 19:53:05 2024 rev:14 rq:1176684 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/traefik/traefik.changes 2024-05-05 12:11:10.080707023 +0200 +++ /work/SRC/openSUSE:Factory/.traefik.new.24587/traefik.changes 2024-05-24 19:53:26.558561324 +0200 @@ -1,0 +2,43 @@ +Thu May 23 15:02:13 UTC 2024 - Johannes Weberhofer <[email protected]> + +- Update to version 3.0.1 + * CVEs: + * CVE-2024-24788 (bsc#1224018): A malformed DNS message in response to a + query can cause the Lookup functions to get stuck in an infinite loop. + * Bug fixes: + * [k8s/ingress] Fix rule syntax version for all internal routers + (gh#traefik/traefik#10689 by HalloTschuess) + * [metrics,tracing] Allow empty configuration for OpenTelemetry metrics + and tracing (gh#traefik/traefik#10729 by rtribotte) + * [provider,tls] Bump tscert dependency to 28a91b69a046 + (gh#traefik/traefik#10668 by kevinpollet) + * [rules,tcp] Fix the rule syntax mechanism for TCP + (gh#traefik/traefik#10680 by lbenguigui) + * [tls,server] Remove deadlines when handling PostgreSQL connections + (gh#traefik/traefik#10675 by rtribotte) + * [webui] Add support for IP White list + (gh#traefik/traefik#10740 by davidbaptista) + +- Packaging: + * Use Traefik's src.tar.gz files containing a pre-built frontend to simplify the packaging process + * Fixes bsc#1224308 and bsc#1224384 + +- Removed allow-node-21.patch and prepare-sources.sh script + +------------------------------------------------------------------- +Mon May 6 12:59:25 UTC 2024 - Johannes Weberhofer <[email protected]> + +- Moved configuraton from .toml to .yml config + +- Update to version 3.0.0 + * Announcment: https://traefik.io/blog/announcing-traefik-proxy-v3-rc/ + * added support for popular, emerging technologiesâWebAssembly (Wasm), + OpenTelemetry, and Kubernetes Gateway API + * revamped some key parts of the routing rules + * added support for some leading edge technologies like HTTP/3, SPIFFE, and Tailscale + + * Migration guide: https://doc.traefik.io/traefik/v3.0/migration/v2-to-v3/ + + * Details: https://github.com/traefik/traefik/releases/tag/v3.0.0 + +------------------------------------------------------------------- Old: ---- allow-node-21.patch node_modules.obscpio node_modules.spec.inc package-lock.json prepare-sources.sh traefik-2.11.2.tar.gz traefik.toml New: ---- traefik-v3.0.1.src.tar.gz traefik.yml BETA DEBUG BEGIN: Old: - Removed allow-node-21.patch and prepare-sources.sh script BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ traefik.spec ++++++ --- /var/tmp/diff_new_pack.VHjAaa/_old 2024-05-24 19:53:29.402665363 +0200 +++ /var/tmp/diff_new_pack.VHjAaa/_new 2024-05-24 19:53:29.406665509 +0200 @@ -17,38 +17,30 @@ %define project github.com/traefik/traefik -%include %{_sourcedir}/node_modules.spec.inc %ifarch ppc64 s390x %define buildmode default %else %define buildmode pie %endif - Name: traefik -Version: 2.11.2 +Version: 3.0.1 Release: 0 Summary: The Cloud Native Application Proxy License: MIT Group: Productivity/Networking/Web/Proxy URL: https://traefik.io/ -Source0: https://github.com/traefik/traefik/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# set the desired version in the spec-file +# download the source files and create the vendor tarball with "osc service mr" +Source0: https://github.com/traefik/traefik/releases/download/v%{version}/%{name}-v%{version}.src.tar.gz Source1: vendor.tar.gz Source2: traefik.service -Source3: traefik.toml -Source4: package-lock.json -Source5: node_modules.spec.inc -# prepare-sources.sh is used to prepare sources for packaging -Source6: prepare-sources.sh - -Patch0: allow-node-21.patch - +Source3: traefik.yml BuildRequires: go-bindata BuildRequires: golang-packaging -BuildRequires: local-npm-registry BuildRequires: systemd-rpm-macros -BuildRequires: yarn BuildRequires: (golang(API) >= 1.22) Recommends: podman +Conflicts: traefik2 %{?systemd_requires} %{go_provides} @@ -61,20 +53,11 @@ Pointing Traefik at your orchestrator should be the only configuration step you need. %prep -%setup -b0 -a1 -q +%setup -q -c %{name}-%{version} -b0 -a1 %autopatch -p1 -cd webui -local-npm-registry %{_sourcedir} install --include=dev --legacy-peer-deps - %build %{goprep} %{project} - -pushd webui -export PATH=$PATH:./node_modules/.bin -yarn build -popd - # see script/generate go generate @@ -99,7 +82,7 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} # configuration -install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/%{name}/%{name}.toml +install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/%{name}/%{name}.yml mkdir -p %{buildroot}%{_sysconfdir}/%{name}/conf.d # logging @@ -129,6 +112,6 @@ %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/conf.d -%config(noreplace) %{_sysconfdir}/%{name}/%{name}.toml +%config(noreplace) %{_sysconfdir}/%{name}/%{name}.yml %attr(750,root,root) %dir %{_localstatedir}/log/%{name} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.VHjAaa/_old 2024-05-24 19:53:29.438666680 +0200 +++ /var/tmp/diff_new_pack.VHjAaa/_new 2024-05-24 19:53:29.442666826 +0200 @@ -1,10 +1,9 @@ <services> - <service name="go_modules" mode="manual"> + <service name="download_files" mode="manual"> </service> - <service name="node_modules" mode="manual"> - <param name="cpio">node_modules.obscpio</param> - <param name="output">node_modules.spec.inc</param> - <param name="source-offset">10000</param> + <service name="go_modules" mode="manual"> + <param name="archive">traefik*.src.tar.gz</param> + <param name="basename">./</param> </service> </services> ++++++ traefik.service ++++++ --- /var/tmp/diff_new_pack.VHjAaa/_old 2024-05-24 19:53:29.466667704 +0200 +++ /var/tmp/diff_new_pack.VHjAaa/_new 2024-05-24 19:53:29.470667850 +0200 @@ -4,16 +4,17 @@ After=network.target network-online.target Requires=network-online.target AssertFileIsExecutable=/usr/bin/traefik -AssertPathExists=/etc/traefik/traefik.toml +AssertPathExists=/etc/traefik/traefik.yml [Service] Type=notify -ExecStart=/usr/bin/traefik --configFile=/etc/traefik/traefik.toml +ExecStart=/usr/bin/traefik --configFile=/etc/traefik/traefik.yml Restart=always WatchdogSec=1s PrivateTmp=true ProtectSystem=full AmbientCapabilities=CAP_NET_BIND_SERVICE +KillMode=mixed [Install] WantedBy=multi-user.target ++++++ traefik.yml ++++++ # ------------------------------------------------------------------------ # Configuration for Traefik v3 # ------------------------------------------------------------------------ # ------------------------------------------------------------------------ # Global configuration # ------------------------------------------------------------------------ global: checkNewVersion: false sendAnonymousUsage: false # ------------------------------------------------------------------------ # TLS specific configuration # ------------------------------------------------------------------------ #tls: # options: # default: # sniStrict: true # ------------------------------------------------------------------------ # Entrypoints configuration # https://doc.traefik.io/traefik/routing/entrypoints/ # ------------------------------------------------------------------------ entryPoints: web: address: ":80" # ------------------------------------------------------------------------ # Redirect all requests incoming from http to https # websecure/https must be enabled to be use this configuration # https://doc.traefik.io/traefik/routing/entrypoints/#redirection # ------------------------------------------------------------------------ #http: # redirections: # entryPoint: # to: websecure # scheme: https # ------------------------------------------------------------------------ # Enable the https endpoint at port 443 # ------------------------------------------------------------------------ #websecure: # address: :443 # ------------------------------------------------------------------------ # Enable the http3 and advertize it at UDP port 443 # ------------------------------------------------------------------------ #http3: # advertisedPort: 443 # ------------------------------------------------------------------------ # Traefik logs configuration # Enabled if uncommented # https://doc.traefik.io/traefik/observability/logs/ # ------------------------------------------------------------------------ log: # Set traefik's log-level # Default: ERROR #level: DEBUG # ------------------------------------------------------------------------ # Traefik access-log destination and format # uncomment to enable # https://doc.traefik.io/traefik/observability/logs/ # ------------------------------------------------------------------------ #accessLog: # ------------------------------------------------------------------------ # Set the filepath for the traefik log-file. # Default: os.Stdout #filePath: /var/log/traefik/traefik.log # ------------------------------------------------------------------------ # Write logs in the 'common' or 'json' format. # Default: common #format: json # ------------------------------------------------------------------------ # API and dashboard configuration. # Uncomment to enable # https://doc.traefik.io/traefik/operations/api/ # ------------------------------------------------------------------------ api: # ------------------------------------------------------------------------ # Enable the API in insecure mode # Default: false insecure: false # ------------------------------------------------------------------------ # Enable the dashboard # Default: true dashboard: true # ------------------------------------------------------------------------ # Ping configuration # https://doc.traefik.io/traefik/operations/ping/ # -------------------------------------------------------------------------- ping: # -------------------------------------------------------------------------- # Name of the related entry point # Default: "traefik" entryPoint: traefik # -------------------------------------------------------------------------- # Provider configuration # -------------------------------------------------------------------------- providers: # ------------------------------------------------------------------------ # Docker configuration provider # Default: disabled # https://doc.traefik.io/traefik/providers/docker/ # ------------------------------------------------------------------------ #docker: # ---------------------------------------------------------------------- # Docker server endpoint. Can be a tcp or a unix socket endpoint. # Default: "unix:///var/run/docker.sock" #endpoint: tcp://10.10.10.10:2375 # ---------------------------------------------------------------------- # defaultRule: Host(`{{ normalize .Name }}.docker.localhost`) # ---------------------------------------------------------------------- # Expose containers by default in traefik # Default: true #exposedByDefault: false # ------------------------------------------------------------------------ # File configuration provider # Default: disabled # https://doc.traefik.io/traefik/providers/docker/ # ------------------------------------------------------------------------ file: # ---------------------------------------------------------------------- # Defines the path to the directory that contains the configuration files. # Default: unset directory: /etc/traefik/conf.d # ---------------------------------------------------------------------- # Set the watch option to true to allow Traefik to automatically # watch for file changes # Default: false watch: true ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/traefik/vendor.tar.gz /work/SRC/openSUSE:Factory/.traefik.new.24587/vendor.tar.gz differ: char 5, line 1
