Bug 66780

Summary: make it possible to configure imap-uw
Product: Ports & Packages Reporter: Danijel Tasov <dt>
Component: Individual Port(s)Assignee: Anders Nordby <anders>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Danijel Tasov 2004-05-17 23:50:21 UTC
From docs/CONFIG:
     Example 2: suppose you want to change c-client's idea of the
user's mailbox directory to be the "mail" subdirectory of the user's
home directory instead of the user's home directory.  You will want to
change variable mailsubdir, changing the line that reads:

static char *mailsubdir = NIL;  /* mail subdirectory name */
 to be:
static char *mailsubdir = "mail";/* mail subdirectory name */

Well, I need this feature, and it would be great if you commit the
following patch to make it possible to change this via a make option.

Maybe I've chosen the wrong make target, I'm not an experienced porter. ;)

I tried to make it easy to do this with the other variables too.

.if defined(WITH_VARIABLENAME)
	${SCRIPTDIR}/adjustvar <variablename> ${WITH_VARIABLENAME} ${WRKSRC}/src/osdep/unix/env_unix.c
.endif
Comment 1 Oliver Eikemeier freebsd_committer freebsd_triage 2004-05-18 00:33:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anders

Over to maintainer
Comment 2 ck-lists 2004-05-20 08:03:25 UTC
Hi,

On Tue, 18 May 2004, Danijel Tasov wrote:

>
>> Number:         66780
>> Category:       ports
>> Synopsis:       make it possible to configure imap-uw
>> Confidential:   no
>> Severity:       non-critical
>> Priority:       low
>> Responsible:    freebsd-ports-bugs
>> State:          open
>> Quarter:
>> Keywords:
>> Date-Required:
>> Class:          change-request
>> Submitter-Id:   current-users
>> Arrival-Date:   Mon May 17 15:50:21 PDT 2004
>> Closed-Date:
>> Last-Modified:
>> Originator:     Danijel Tasov
>> Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>> Organization:
> KlagenfurT
>> Environment:
> System: FreeBSD knast 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #7: Sat May 1 02:03:31 CEST 2004 knarf@knast:/usr/obj/usr/src/sys/KLAGENFURT i386
>
>
>> Description:
>
>> From docs/CONFIG:
>     Example 2: suppose you want to change c-client's idea of the
> user's mailbox directory to be the "mail" subdirectory of the user's
> home directory instead of the user's home directory.  You will want to
> change variable mailsubdir, changing the line that reads:
>
> static char *mailsubdir = NIL;  /* mail subdirectory name */
> to be:
> static char *mailsubdir = "mail";/* mail subdirectory name */
>
> Well, I need this feature, and it would be great if you commit the
> following patch to make it possible to change this via a make option.

there is no need for this patch as imap-uw has a runtime configuration
capability allowing you to change what you want without touching the source.

Please read

 	/usr/ports/mail/imap-uw/work/imap-2002d/docs/imaprc.txt

You can do what you want with following /etc/c-client.cf

 	I accept the risk
 	set mail-subdirectory Mail

please remember to read imaprc.txt on why you to accept the risk
in exactly above wording.  There are numerous configuration options
you can set.

Greetings
Christian

-- 
Christian Kratzer                       ck@cksoft.de
CK Software GmbH                        http://www.cksoft.de/
Phone: +49 7452 889 135                 Fax: +49 7452 889 136
Comment 3 Anders Nordby freebsd_committer freebsd_triage 2004-06-03 11:40:38 UTC
Hi,

On Thu, May 20, 2004 at 09:03:25AM +0200, Christian Kratzer wrote:
> (..)
> there is no need for this patch as imap-uw has a runtime configuration
> capability allowing you to change what you want without touching the source.
> 
> Please read
> 
> 	/usr/ports/mail/imap-uw/work/imap-2002d/docs/imaprc.txt
> 
> You can do what you want with following /etc/c-client.cf
> 
> 	I accept the risk
> 	set mail-subdirectory Mail
> 
> please remember to read imaprc.txt on why you to accept the risk
> in exactly above wording.  There are numerous configuration options
> you can set.

Danijel, does this work for you? Can I close this PR?

Cheers,

-- 
Anders.
Comment 4 Danijel Tasov 2004-06-03 14:20:01 UTC
Hi,

Anders Nordby wrote:
> Danijel, does this work for you? Can I close this PR?


Yes, please close it.

Thank you,

                                               -DaTa-

-- 
Jabber: data@jabber.pilgerer.org ICQ: 84074839 E-Mail: dt@vosat.de    ()
http://www.pilgerer.org/ - Die Kommunikations- und Kooperations-      /\
plattform fuer UnixFans und alle die es werden wollen.           ASCII RIBBON
Comment 5 Anders Nordby freebsd_committer freebsd_triage 2004-06-03 14:25:34 UTC
State Changed
From-To: open->closed

Closed on submitters request.