Your message dated Tue, 11 Feb 2025 16:06:23 +0000
with message-id <e1thsmf-004xwc...@fasolo.debian.org>
and subject line Bug#1095275: fixed in sogo 5.11.2-3
has caused the Debian Bug report #1095275,
regarding sogo-activesync silently overwrites files via directory symlinks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1095275: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095275
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: sogo-activesync
Version: 5.11.2-2
Severity: serious
Tags: patch
Control: block 1093620 with -1
User: debian...@lists.debian.org
Usertags: piuparts

I am sorry but my patch for #1094304 introduced a piuparts regression:

0m14.9s ERROR: FAIL: silently overwrites files via directory symlinks:
  
/usr/lib/x86_64-linux-gnu/GNUstep/SOGo/ActiveSync.SOGo/Resources/Info-gnustep.plist
 (sogo-activesync) != /usr/share/GNUstep/ActiveSync.SOGo/Info-gnustep.plist 
(sogo-common)
    /usr/lib/x86_64-linux-gnu/GNUstep/SOGo/ActiveSync.SOGo/Resources -> 
../../../../../share/GNUstep/ActiveSync.SOGo
  
/usr/lib/x86_64-linux-gnu/GNUstep/SOGo/ActiveSync.SOGo/Resources/product.plist 
(sogo-activesync) != /usr/share/GNUstep/ActiveSync.SOGo/product.plist 
(sogo-common)
    /usr/lib/x86_64-linux-gnu/GNUstep/SOGo/ActiveSync.SOGo/Resources -> 
../../../../../share/GNUstep/ActiveSync.SOGo

I still keep the .debs I produced then and they don't have this
problem so I wonder what happened.  One possible explanation is that I
made a last minute change because the patch for #1094304 didn't
include config.mk (which would make GNUSTEP_SYSTEM_LIBRARY undefined)
and I was careless.  Please accept my sincere apologies.

I tested the attached path by doing a full build, arch:any only,
arch:all only and also ran piuparts locally.
>From 7210f4debcfc1f6cecc2d81cc74d808a4ddecc50 Mon Sep 17 00:00:00 2001
From: Yavor Doganov <ya...@gnu.org>
Date: Thu, 6 Feb 2025 11:42:23 +0200
Subject: [PATCH] Fix piuparts error

---
 debian/changelog                   | 10 ++++++++++
 debian/control                     |  2 ++
 debian/rules                       |  2 +-
 debian/sogo-activesync.maintscript |  1 +
 4 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 debian/sogo-activesync.maintscript

diff --git a/debian/changelog b/debian/changelog
index 479720d99..a80c579a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+sogo (5.11.2-3) UNRELEASED; urgency=medium
+
+  * debian/rules (execute_before_dh_link): Fix piuparts regression
+    (Closes: #-1).
+  * debian/control (sogo-activesync): Add necessary Breaks/Replaces.
+  * debian/sogo-activesync.maintscript: New file; handle the symlink to
+    directory conversion.
+
+ -- Yavor Doganov <ya...@gnu.org>  Thu, 06 Feb 2025 09:15:06 +0200
+
 sogo (5.11.2-2) unstable; urgency=medium
 
   [ Yavor Doganov ]
diff --git a/debian/control b/debian/control
index 056f6e233..59a6414fd 100644
--- a/debian/control
+++ b/debian/control
@@ -50,6 +50,8 @@ Description: Scalable groupware server
 Package: sogo-activesync
 Architecture: any
 Depends: sogo (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Breaks: sogo (<< 5.11.2-3)
+Replaces: sogo (<< 5.11.2-3)
 Description: Scalable groupware server - ActiveSync module
  SOGo is a groupware server built around OpenGroupware.org (OGo) and
  the SOPE application server with focus on scalability.
diff --git a/debian/rules b/debian/rules
index c0fdd654c..73ec5eb7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,5 +52,5 @@ override_dh_installchangelogs:
 execute_before_dh_link:
 # Remove the ActiveSync bundle in advance, otherwise dh_gnustep will
 # happily move its Resources to /usr/share in the sogo-common package.
-       rm -rf debian/tmp/usr/lib/*/GNUstep/SOGo/ActiveSync
+       rm -rf debian/tmp$(GNUSTEP_SYSTEM_LIBRARY)/SOGo/ActiveSync*
        gsdh_gnustep --bundle-dir=SOGo --move-to=sogo-common
diff --git a/debian/sogo-activesync.maintscript 
b/debian/sogo-activesync.maintscript
new file mode 100644
index 000000000..f6d02a80c
--- /dev/null
+++ b/debian/sogo-activesync.maintscript
@@ -0,0 +1 @@
+symlink_to_dir 
/usr/lib/${DEB_HOST_MULTIARCH}/GNUstep/SOGo/ActiveSync.SOGo/Resources 
/usr/share/GNUstep/ActiveSync.SOGo 5.11.2-3~
-- 
2.47.2


--- End Message ---
--- Begin Message ---
Source: sogo
Source-Version: 5.11.2-3
Done: Jordi Mallach <jo...@debian.org>

We believe that the bug you reported is fixed in the latest version of
sogo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1095...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <jo...@debian.org> (supplier of updated sogo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 11 Feb 2025 16:49:11 +0100
Source: sogo
Architecture: source
Version: 5.11.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian SOGo Maintainers 
<pkg-sogo-maintain...@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jo...@debian.org>
Closes: 1095275
Changes:
 sogo (5.11.2-3) unstable; urgency=medium
 .
   [ Yavor Doganov ]
   * debian/rules (execute_before_dh_link): Fix piuparts regression
     (Closes: #1095275).
   * debian/control (sogo-activesync): Add necessary Breaks/Replaces.
   * debian/sogo-activesync.maintscript: New file; handle the symlink to
     directory conversion.
Checksums-Sha1:
 7e86eb714692232871b8aa865cc09751b31cc4e5 2281 sogo_5.11.2-3.dsc
 38ee0e909d41ffad614d49d51a1d1801a3038f0a 20200 sogo_5.11.2-3.debian.tar.xz
 578fa7a962badd5a637817919dbfb7c92fed7d6f 11865 sogo_5.11.2-3_amd64.buildinfo
Checksums-Sha256:
 521e791bd94997c5bf9fa84929c89ebd8945ba9088ea8372c5473dcc358de798 2281 
sogo_5.11.2-3.dsc
 842503e69dc65e4d2a582ed55ad47c5dd9bfb6fa88494f67cb7f8d121dec064d 20200 
sogo_5.11.2-3.debian.tar.xz
 48b3c49351fc4c427d1511bb1b989d76ad022f8be6d2f51644e932189d5484eb 11865 
sogo_5.11.2-3_amd64.buildinfo
Files:
 ef3e85f6132f3c8b35e5d748f0ce95db 2281 mail optional sogo_5.11.2-3.dsc
 8ccd641fcec29e597c7f45f7614445f5 20200 mail optional 
sogo_5.11.2-3.debian.tar.xz
 c5c3f8571f4fa2aa3d04166069c42020 11865 mail optional 
sogo_5.11.2-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6BdUhsApKYN8KGoWJVAvb8vjywQFAmercnEACgkQJVAvb8vj
ywSVhhAAsFnGS4Osqe8D1xMqL2VH3QYXynnXBT1gDkWJmNxg75H2W/6mT5S4/Oy9
6KSyIlOV303js8zBOqiGUxI449mw1ZFJ51QfmxGMohnJAfqzNFpv2aItoI9VnADZ
CghG2rx6XitipJp0SdhbN8So5M8+L9tbYHdzFeb3qurvkgiaTLArARMDoBDVkMV+
gh7V3Eku1t+W58y4JDysyAva4xY/yxTJ9qBiAjiBq+bsMPGH7xsJDh+g610YZQ2Y
2f5Z8N4kAK7CRAvK9F7XihmOjnMRMbAhy4owjizItm+6hZSx5Aag3PmldcwvW17M
RJ5/N/Xh1Mq74u9m5wC1OXsrAVpj/4k4y0bqbfc4CKxbwJjc11WPFmk5XiqWZrh3
3yQSpHr8PJKIzYyNo12qjCdYS2xTYhuLrS4JBMEjEy7wyvE/ByyktkrwsF95V3rN
50MiRNbZjkLNGPMAritt+kt41ecginmHHX7JkTzCseS1wPEs9kH9ufAjCvP5Uybt
SQzP7D+ojcQZYnX2Cwy6ZkBSE5xjL0dhm8iT9zqdKYxyVJLG08mTtTWx1GOmAXgz
OcMniYM8vS1u587tKnmsfObOvYW51Sac3xEnLUFNo2NpuwvMSPwyTn2E7Nyzj5s0
K0VWbcZP0EvE9zPTT/nEXc1KQwAiCIADkgdFsB7WF5qy6rDQSpM=
=4T1S
-----END PGP SIGNATURE-----

Attachment: pgp0TBQYuRIa4.pgp
Description: PGP signature


--- End Message ---

Reply via email to