Lintian Fixes - trojan
Ready changes
Summary
- Bump debhelper from old 12 to 13. ( package-uses-old-debhelper-compat-version )
- Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse. ( upstream-metadata-file-is-missing , upstream-metadata-missing-bug-tracking )
- Update standards version to 4.6.1, no changes needed. ( out-of-date-standards-version )
- Avoid explicitly specifying -Wl,--as-needed linker flag. ( debian-rules-uses-as-needed-linker-flag )
- Set upstream metadata fields: Repository, Security-Contact. ( upstream-metadata-missing-repository )
- Update standards version to 4.6.2, no changes needed. ( out-of-date-standards-version )
Lintian Result
Diff
diff --git a/debian/changelog b/debian/changelog
index 6b845fb..ce510a7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+trojan (1.16.0-2) UNRELEASED; urgency=medium
+
+ * Bump debhelper from old 12 to 13.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+ * Update standards version to 4.6.1, no changes needed.
+ * Avoid explicitly specifying -Wl,--as-needed linker flag.
+ * Set upstream metadata fields: Repository, Security-Contact.
+ * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk> Tue, 08 Nov 2022 02:42:40 -0000
+
trojan (1.16.0-1) unstable; urgency=medium
* New upstream release 1.16.0.
diff --git a/debian/control b/debian/control
index ea000ed..96c27a8 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: trojan
Section: web
Priority: optional
Maintainer: GreaterFire <GreaterFire@protonmail.com>
-Build-Depends: debhelper-compat (= 12), cmake (>= 3.7.2), libboost-system-dev, libboost-program-options-dev, libssl-dev, default-libmysqlclient-dev, openssl, python3:any, curl, netcat-openbsd
-Standards-Version: 4.5.0
+Build-Depends: debhelper-compat (= 13), cmake (>= 3.7.2), libboost-system-dev, libboost-program-options-dev, libssl-dev, default-libmysqlclient-dev, openssl, python3:any, curl, netcat-openbsd
+Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/debian/trojan
Vcs-Git: https://salsa.debian.org/debian/trojan.git
Homepage: https://github.com/trojan-gfw/trojan
diff --git a/debian/rules b/debian/rules
index c9cef07..5a31283 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,6 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..26a3244
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/trojan-gfw/trojan/issues
+Bug-Submit: https://github.com/trojan-gfw/trojan/issues/new
+Repository: https://github.com/trojan-gfw/trojan.git
+Repository-Browse: https://github.com/trojan-gfw/trojan
+Security-Contact: https://github.com/trojan-gfw/trojan/tree/HEAD/SECURITY.md
Debdiff
File lists identical (after any substitutions)
No differences were encountered between the control files of package trojan
No differences were encountered between the control files of package trojan-dbgsym