Control: tags -1 patch
--

On Wed, Apr 10, 2024 at 01:38:17PM +0100, Sudip Mukherjee wrote:
> Package: quickml
> Version: 0.8-1
> Severity: normal
>
> Dear Maintainer,
>
> quickml fails to install with the error:

debdiff attached.

-- 
Regards
Sudip
diff -Nru quickml-0.8/debian/changelog quickml-0.8/debian/changelog
--- quickml-0.8/debian/changelog        2022-12-28 14:47:16.000000000 +0000
+++ quickml-0.8/debian/changelog        2024-04-29 21:44:49.000000000 +0100
@@ -1,3 +1,13 @@
+quickml (0.8-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix quickml failure to install. (Closes: #1068759)
+    - d/control: Add runtime dependency on ruby-thwait.
+    - d/postinst: Create /etc/mailname if it does not exist.
+    - d/postrm: Remove /etc/mailname.
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Mon, 29 Apr 2024 21:44:49 
+0100
+
 quickml (0.8-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru quickml-0.8/debian/control quickml-0.8/debian/control
--- quickml-0.8/debian/control  2022-12-28 14:47:01.000000000 +0000
+++ quickml-0.8/debian/control  2024-04-29 21:44:49.000000000 +0100
@@ -9,7 +9,7 @@
 Package: quickml
 Architecture: all
 Pre-Depends: ${misc:Pre-Depends}
-Depends: ruby:any, lsb-base, ${misc:Depends}
+Depends: ruby:any, lsb-base, ruby-thwait, ${misc:Depends}
 Description: Very-easy-to-use mailing list system
  quickml server is a very-easy-to-use mailing list system.
  quickml server provides very-easy-to-use mailing list service.
diff -Nru quickml-0.8/debian/postinst quickml-0.8/debian/postinst
--- quickml-0.8/debian/postinst 2022-12-28 14:43:34.000000000 +0000
+++ quickml-0.8/debian/postinst 2024-04-29 21:43:51.000000000 +0100
@@ -26,6 +26,9 @@
 case "$1" in
     configure)
        chown list:list /var/lib/quickml /var/log/quickml
+       if [ ! -e /etc/mailname ]; then
+               touch /etc/mailname
+       fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
diff -Nru quickml-0.8/debian/postrm quickml-0.8/debian/postrm
--- quickml-0.8/debian/postrm   2022-12-28 14:43:34.000000000 +0000
+++ quickml-0.8/debian/postrm   2024-04-29 21:43:51.000000000 +0100
@@ -22,6 +22,7 @@
 case "$1" in
     purge)
        rm -rf /var/run/quickml
+       rm -f /etc/mailname
     ;;
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disapper)
     ;;

Reply via email to