Control: tags 1056975 + patch
Control: tags 1056975 + pending

Dear maintainer,

I've prepared an NMU for dphys-swapfile (versioned as 20100506-7.2) and
uploaded it to DELAYED/7.

Chris

diff -Nru dphys-swapfile-20100506/debian/changelog dphys-swapfile-20100506/debian/changelog
--- dphys-swapfile-20100506/debian/changelog	2022-10-15 12:01:41.000000000 +0200
+++ dphys-swapfile-20100506/debian/changelog	2024-04-16 09:38:00.000000000 +0200
@@ -1,3 +1,10 @@
+dphys-swapfile (20100506-7.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Install files into /usr/sbin instead of /sbin. (Closes: #1056975)
+
+ -- Chris Hofstaedtler <[email protected]>  Tue, 16 Apr 2024 09:38:00 +0200
+
 dphys-swapfile (20100506-7.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru dphys-swapfile-20100506/debian/dirs dphys-swapfile-20100506/debian/dirs
--- dphys-swapfile-20100506/debian/dirs	2016-10-24 01:10:58.000000000 +0200
+++ dphys-swapfile-20100506/debian/dirs	2024-04-16 09:37:36.000000000 +0200
@@ -1,2 +1,2 @@
-sbin
 etc
+usr/sbin
diff -Nru dphys-swapfile-20100506/debian/patches/series dphys-swapfile-20100506/debian/patches/series
--- dphys-swapfile-20100506/debian/patches/series	2021-01-17 03:22:11.000000000 +0100
+++ dphys-swapfile-20100506/debian/patches/series	2024-04-16 09:37:36.000000000 +0200
@@ -3,3 +3,4 @@
 change-example-from-var-run-to-var-tmp.patch
 replace-p-q-with-p-for-newer-dc.patch
 disable-swap-copy-on-write-for-copy-on-write-file-systems.patch
+usr-sbin.patch
diff -Nru dphys-swapfile-20100506/debian/patches/usr-sbin.patch dphys-swapfile-20100506/debian/patches/usr-sbin.patch
--- dphys-swapfile-20100506/debian/patches/usr-sbin.patch	1970-01-01 01:00:00.000000000 +0100
+++ dphys-swapfile-20100506/debian/patches/usr-sbin.patch	2024-04-16 09:37:36.000000000 +0200
@@ -0,0 +1,35 @@
+Index: dphys-swapfile-20100506/Makefile
+===================================================================
+--- dphys-swapfile-20100506.orig/Makefile
++++ dphys-swapfile-20100506/Makefile
+@@ -22,10 +22,6 @@ MAN8DIR = $(PREFIX)/share/man/man8
+ DOCDIR  = $(PREFIX)/share/doc/dphys-swapfile
+ EXADIR  = $(DOCDIR)/examples
+ 
+-# use R_PREFIX (root prefix) as not in /usr, this is early run start up stuff
+-R_PREFIX  = $(DESTDIR)
+-R_SBINDIR = $(R_PREFIX)/sbin
+-
+ 
+ # --- code for acting out the various  make  targets
+ 
+@@ -38,8 +34,8 @@ clean:
+ distclean: clean
+ 
+ install:
+-	@mkdir -p $(R_SBINDIR)
+-	@cp -p dphys-swapfile       $(R_SBINDIR)
++	@mkdir -p $(SBINDIR)
++	@cp -p dphys-swapfile       $(SBINDIR)
+ 
+ 	@mkdir -p $(MAN8DIR)
+ 	@cp -p dphys-swapfile.8.gz  $(MAN8DIR)
+@@ -55,7 +51,7 @@ uninstall:
+ 
+ 	@rm -f $(MAN8DIR)/dphys-swapfile.8.gz
+ 
+-	@rm -f $(R_SBINDIR)/dphys-swapfile
++	@rm -f $(SBINDIR)/dphys-swapfile
+ 
+ 
+ # --- project management stuff

Reply via email to