Package: v2ray
Version: 4.34.0+ds-3
Severity: normal
Tags: patch
User: helm...@debian.org
Usertags: dep17m2

We want to modify dh_installsystemd such that it installs units below
/usr in order to finalize the /usr-merge transition via DEP17. When
doing so, v2ray.service is being installed to both /lib (via dh_install)
and /usr/lib (via dh_installsystemd). Doing so is a policy violation.
When I upload debhelper, this bug will become release-critical. I'm
attaching a patch for your convenience.

Helmut
diff -Nru golang-v2ray-core-4.34.0+ds/debian/changelog 
golang-v2ray-core-4.34.0+ds/debian/changelog
--- golang-v2ray-core-4.34.0+ds/debian/changelog        2023-08-16 
11:17:44.000000000 +0200
+++ golang-v2ray-core-4.34.0+ds/debian/changelog        2023-10-24 
10:53:24.000000000 +0200
@@ -1,3 +1,10 @@
+golang-v2ray-core (4.34.0+ds-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install systemd unit only once. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 24 Oct 2023 10:53:24 +0200
+
 golang-v2ray-core (4.34.0+ds-3) unstable; urgency=medium
 
   * Team upload
diff -Nru golang-v2ray-core-4.34.0+ds/debian/v2ray.install 
golang-v2ray-core-4.34.0+ds/debian/v2ray.install
--- golang-v2ray-core-4.34.0+ds/debian/v2ray.install    2023-08-16 
11:17:44.000000000 +0200
+++ golang-v2ray-core-4.34.0+ds/debian/v2ray.install    2023-10-24 
10:53:19.000000000 +0200
@@ -1,4 +1,3 @@
 usr/bin
-debian/v2ray.service lib/systemd/system
 release/config/*.json usr/share/v2ray
 debian/*.json usr/share/v2ray

Reply via email to