File: rust-debcargo-licensing.patch

package info (click to toggle)
dnsdist 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,640 kB
  • sloc: cpp: 91,323; javascript: 24,456; sh: 4,744; python: 1,328; makefile: 832; ansic: 816
file content (20 lines) | stat: -rw-r--r-- 697 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: dnsdist packagers <dnsdist@packages.debian.org>
Date: Wed, 30 Jul 2025 23:16:13 +0200
Subject: rust/build: emit licensing info for debcargo

---
 dnsdist-rust-lib/rust/build.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dnsdist-rust-lib/rust/build.rs b/dnsdist-rust-lib/rust/build.rs
index a3a0bb3..5390869 100644
--- a/dnsdist-rust-lib/rust/build.rs
+++ b/dnsdist-rust-lib/rust/build.rs
@@ -23,4 +23,5 @@ fn main() {
 
     println!("cargo:rerun-if-changed=src/lib.rs");
     println!("cargo:rerun-if-changed=src/helpers.rs");
-}
\ No newline at end of file
+    println!("dh-cargo:deb-built-using=dnsdist_rust=0={}", env::var("CARGO_MANIFEST_DIR").unwrap());
+}