Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3986 - qmail patch to use localtime
Summary: qmail patch to use localtime
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-21 10:48 UTC by Jon Nelson (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson (RETIRED) 2002-06-21 10:48:11 UTC
I hate looking at emails with the Date header in UTC.
I very much prefer localtime.
*So*, I checked at qmail.org and there is indeedy a patch for
such a feature, and I integrated it into the qmail ebuild.

Later I will probably have a list of additional patches
to qmail to improve its functionality and usability.

The patches I speak of are common and well-respected.

--- qmail-1.03-r8.ebuild        Mon Jun 10 15:14:43 2002
+++ qmail-1.03-r9.ebuild        Fri Jun 21 10:44:37 2002
@@ -13,7 +13,8 @@
 SRC_URI="http://cr.yp.to/software/qmail-1.03.tar.gz
          http://www.qmail.org/big-todo.103.patch
          http://www.qmail.org/big-concurrency.patch
-         http://www.ckdhr.com/ckd/qmail-103.patch"
+         http://www.ckdhr.com/ckd/qmail-103.patch
+         ftp://ftp.nlc.net.au/pub/unix/mail/qmail/qmail-date-localtime.patch"
 
 DEPEND="virtual/glibc
        sys-apps/groff
@@ -52,6 +53,9 @@
     echo "Applying QMAILQUEUE patch..."
     patch < ${FILESDIR}/${PV}-${PR}/qmail-queue.patch
 
+       echo "Applying localtime patch..."
+       patch < ${FILESDIR}/${PV}-${PR}/qmail-date-localtime.patch
+
     echo "gcc ${CFLAGS}" > conf-cc
     echo "gcc" > conf-ld
     echo "500" > conf-spawn
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-06-26 04:59:11 UTC
before you do, make sure to describe the patches sufficiently... if you   
already did the research, please let us have part in the knowledge you gained.   
  
as for this particular patch - i think it is a good feature and i will  
consider putting it in some time soon. we might misuse the nls use flag for  
that...  
  
to me it is very important that all patches that change default behavior are  
optional...   
 
please consider having use flags enable any patches you submit. that being 
said, we probably won't introduce new useflags for qmail only 
 
FYI you may want to take a look at bug #2808 and bug #3405 for our troubles 
with the tls patch 
 
Comment 2 Jon Nelson (RETIRED) 2002-06-26 10:05:58 UTC
Perhaps applying all patches in ${FILESDIR}/1.03 or something like that would
allow some "local" customization?

Comment 3 Jon Nelson (RETIRED) 2002-06-26 10:06:27 UTC
Additionally, this patch might not be desireable for other users.
Thus the enhancement proposal.