Bug 2168

Summary: a more general approach to specifying conflicts with other IMAPD-pkgs
Product: Sisyphus Reporter: imz <vanyaz>
Component: courier-imapAssignee: Konstantin A Lepikhov (L.A. Kostis) <lakostis>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P5 CC: lakostis
Version: unstable   
Hardware: all   
OS: Linux   

Description imz 2003-02-06 18:36:53 MSK
I suggest that something like this is used to specify the conflict with alterntive pkgs which provide IMAP and POP3 daemons (like uw-imap):

###########################################
# Relations with other POP3/IMAP server pkgs (like uw-imap)

# Provide the abstract service names (which are virtual pkg names),
# specify their origin (our pkg name as the epoch + version-release):
Provides: IMAPD = %name:%version-%release
Provides: POP3D = %name:%version-%release

# Conflict with all other real pkgs which provide the same services
# (they should specify the origin the same way, so the epoch-version-release
# of the virtual pkgs POP3D &amp; IMAPD will always differ from that of ours if 
# they are provided by a different real pkg):
Conflicts: IMAPD &lt; %name:%version-%release
Conflicts: IMAPD &gt; %name:%version-%release
Conflicts: POP3D &lt; %name:%version-%release
Conflicts: POP3D &gt; %name:%version-%release

# End of the statements to describe relations with other POP3/IMAP server pkgs
########################################

This is more general (works if there are several such pkgs, not only a pair). This approach is already used in uw-imap-2001a-alt9 (and emacs-gnus-21.2-alt12).
---

---
courier-imap-1.6.2-alt2

Comment 1 Dmitry Lebkov 2003-02-11 14:48:58 MSK
fixed in courier-imap-1.6.2-alt3
Comment 2 Dmitry Lebkov 2003-02-11 14:48:58 MSK
fixed in courier-imap-1.6.2-alt3