Package: writeboost
Version: 1.20170616-1.2
Severity: normal
Tags: patch 

writeboost installs its binary into /sbin. For the ongoing Debian
UsrMerge effort [1] this needs to move to /usr/sbin.

For your convenience I'm attaching a patch implementing that.

Please see the wiki about uploading to experimental.

Chris

[1] https://wiki.debian.org/UsrMerge

diff -Nru writeboost-1.20170616/debian/changelog writeboost-1.20170616/debian/changelog
--- writeboost-1.20170616/debian/changelog	2022-10-15 12:57:24.000000000 +0200
+++ writeboost-1.20170616/debian/changelog	2023-12-21 00:37:03.000000000 +0100
@@ -1,3 +1,10 @@
+writeboost (1.20170616-1.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install into /usr. (Closes: #-1)
+
+ -- Chris Hofstaedtler <z...@debian.org>  Thu, 21 Dec 2023 00:37:03 +0100
+
 writeboost (1.20170616-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru writeboost-1.20170616/debian/install writeboost-1.20170616/debian/install
--- writeboost-1.20170616/debian/install	2015-06-30 12:24:46.000000000 +0200
+++ writeboost-1.20170616/debian/install	2023-12-21 00:35:24.000000000 +0100
@@ -1,2 +1,2 @@
 etc/*        /etc/
-sbin/*       /sbin/
+sbin/*       /usr/sbin/
diff -Nru writeboost-1.20170616/debian/patches/series writeboost-1.20170616/debian/patches/series
--- writeboost-1.20170616/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ writeboost-1.20170616/debian/patches/series	2023-12-21 00:36:13.000000000 +0100
@@ -0,0 +1 @@
+usr-sbin.patch
diff -Nru writeboost-1.20170616/debian/patches/usr-sbin.patch writeboost-1.20170616/debian/patches/usr-sbin.patch
--- writeboost-1.20170616/debian/patches/usr-sbin.patch	1970-01-01 01:00:00.000000000 +0100
+++ writeboost-1.20170616/debian/patches/usr-sbin.patch	2023-12-21 00:36:56.000000000 +0100
@@ -0,0 +1,30 @@
+Description: Assume UsrMerge install-layout
+Author: Chris Hofstaedtler <z...@debian.org>
+
+---
+Last-Update: 2023-12-20
+
+--- writeboost-1.20170616.orig/writeboost.init
++++ writeboost-1.20170616/writeboost.init
+@@ -12,7 +12,7 @@
+ # Description: (dm-)writeboost is a log-structured cache for Linux
+ ### END INIT INFO
+ 
+-DAEMON=/sbin/writeboost
++DAEMON=/usr/sbin/writeboost
+ NAME=writeboost
+ 
+ # Exit if executable is not installed
+--- writeboost-1.20170616.orig/writeboost.service
++++ writeboost-1.20170616/writeboost.service
+@@ -18,8 +18,8 @@ RemainAfterExit=yes
+ ## Scannong caching devices may take long time after unclean shutdown.
+ TimeoutStartSec=999
+ 
+-ExecStart=/sbin/writeboost
+-ExecStop=/sbin/writeboost -u
++ExecStart=/usr/sbin/writeboost
++ExecStop=/usr/sbin/writeboost -u
+ 
+ ## Long "TimeoutStop" is essential as deadlock may happen if writeboost
+ ## is killed during flushing of caches on shutdown, etc.

Reply via email to