You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2019/01/15 14:02:03 UTC

[Bug 7680] New: spamassassin.raw: detect and remove duplicates if paths evaluate to be the same

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7680

            Bug ID: 7680
           Summary: spamassassin.raw: detect and remove duplicates if
                    paths evaluate to be the same
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Documentation
          Assignee: dev@spamassassin.apache.org
          Reporter: jidanni@jidanni.org
  Target Milestone: Undefined

In latest SVN of spamassassin.raw, if

=item @@DEF_RULES_DIR@@

=item @@PREFIX@@/share/spamassassin

happen to evaluate the same, the result really looks bad.

Here's what mine are:
--- /home/jidanni/tmp/spamassassin-trunk/spamassassin.raw       2019-01-15
01:31:58.000000000 +0800
+++ /home/jidanni/tmp/spamassassin-trunk/spamassassin   2019-01-15
01:42:21.000000000 +0800
@@ -26,4 +26,4 @@
-my $PREFIX          = '@@PREFIX@@';             # substituted at 'make' time
-my $DEF_RULES_DIR   = '@@DEF_RULES_DIR@@';      # substituted at 'make' time
-my $LOCAL_RULES_DIR = '@@LOCAL_RULES_DIR@@';    # substituted at 'make' time
-my $LOCAL_STATE_DIR = '@@LOCAL_STATE_DIR@@';    # substituted at 'make' time
+my $PREFIX          = '/home/jidanni/.spamassassin-tree';             #
substituted at 'make' time
+my $DEF_RULES_DIR   = '/home/jidanni/.spamassassin-tree/share/spamassassin';  
   # substituted at 'make' time
+my $LOCAL_RULES_DIR =
'/home/jidanni/.spamassassin-tree/etc/mail/spamassassin';    # substituted at
'make' time
+my $LOCAL_STATE_DIR = '/home/jidanni/.spamassassin-tree/var/spamassassin';   
# substituted at 'make' time

so man spamassassin says
       the first existing directory in:
       /home/jidanni/.spamassassin-tree/etc/mail/spamassassin
       /home/jidanni/.spamassassin-tree/etc/mail/spamassassin
..     using user_prefs.template as a template.  That file will be looked for
in:
       /home/jidanni/.spamassassin-tree/etc/mail/spamassassin
       /home/jidanni/.spamassassin-tree/etc/mail/spamassassin

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7680] spamassassin.raw: detect and remove duplicates if paths evaluate to be the same

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7680

Henrik Krohns <ap...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apache@hege.li
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Henrik Krohns <ap...@hege.li> ---
Sorry but it would require super hacky build/preprocessor tweaks, not going to
waste my time on cosmetics. Patches are welcome, but closing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7680] spamassassin.raw: detect and remove duplicates if paths evaluate to be the same

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7680

Kevin A. McGrail <km...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmcgrail@apache.org
   Target Milestone|Undefined                   |4.0.0
           Severity|trivial                     |normal

--- Comment #1 from Kevin A. McGrail <km...@apache.org> ---
I don't consider this trivial and don't want it to hold up 3.4.3.  Targeting
for 4.0.

-- 
You are receiving this mail because:
You are the assignee for the bug.