alpine check Do Not Send Flowed Text by default

2010-08-31 Thread Antoine Jacoutot
Hi.

Following a chat with Daniel Dickman and after several questions in the 
past about how to send inline patches with alpine I'd like to enable the 
Do Not Send Flowed Text option by default.
Any ojections?


Index: Makefile
===
RCS file: /cvs/ports/mail/alpine/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile8 Nov 2009 08:22:53 -   1.11
+++ Makefile31 Aug 2010 08:38:39 -
@@ -18,6 +18,10 @@
 PKGNAME-pico=  pico-${PICO_V}p1
 PKGNAME-pilot= pilot-${PILOT_V}p3
 
+REVISION-main= 1
+REVISION-pico= 1
+REVISION-pilot=3
+
 MAINTAINER=Antoine Jacoutot ajacou...@openbsd.org
 
 HOMEPAGE=  http://www.washington.edu/alpine/
@@ -60,8 +64,8 @@
 
 .if ${FLAVOR:L:Mldap}
 CONFIGURE_ARGS+=--with-ldap-dir=${LOCALBASE}
-LIB_DEPENDS+=  lber.=9,ldap.=9::databases/openldap,-main
-WANTLIB+=  sasl2
+LIB_DEPENDS+=  ::databases/openldap,-main
+WANTLIB+=  sasl2 lber ldap
 WANTLIB-pico=  ${WANTLIB} asn1 com_err crypto gssapi krb5 ssl
 WANTLIB-pilot= ${WANTLIB} asn1 com_err crypto gssapi krb5 ssl
 .else
Index: patches/patch-pith_conf_c
===
RCS file: patches/patch-pith_conf_c
diff -N patches/patch-pith_conf_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-pith_conf_c   31 Aug 2010 08:38:39 -
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+By default, check Do Not Send Flowed Text.
+
+--- pith/conf.c.orig   Tue Aug 31 10:37:38 2010
 pith/conf.cTue Aug 31 10:37:51 2010
+@@ -2769,7 +2769,7 @@ feature_list(int index)
+   {use-sender-not-x-sender, Use Sender Instead of X-X-Sender,
+F_USE_SENDER_NOT_X, h_config_use_sender_not_x, PREF_SEND, 0},
+   {quell-flowed-text, Do Not Send Flowed Text,
+-   F_QUELL_FLOWED_TEXT, h_config_quell_flowed_text, PREF_SEND, 0},
++   F_QUELL_FLOWED_TEXT, h_config_quell_flowed_text, PREF_SEND, 1},
+   {downgrade-multipart-to-text, Downgrade Multipart to Text,
+F_COMPOSE_ALWAYS_DOWNGRADE, h_downgrade_multipart_to_text, PREF_SEND, 
0},
+   {enable-8bit-esmtp-negotiation, Enable 8bit ESMTP Negotiation,



-- 
Antoine



Re: alpine check Do Not Send Flowed Text by default

2010-08-31 Thread Stuart Henderson
On 2010/08/31 11:08, Antoine Jacoutot wrote:
 Hi.
 
 Following a chat with Daniel Dickman and after several questions in the 
 past about how to send inline patches with alpine I'd like to enable the 
 Do Not Send Flowed Text option by default.

cool!!!

 Any ojections?

none from me (I don't use alpine but this is total win for the mailing
lists!).



Re: alpine check Do Not Send Flowed Text by default

2010-08-31 Thread Stuart Henderson
On 2010/08/31 10:54, Stuart Henderson wrote:
 On 2010/08/31 11:08, Antoine Jacoutot wrote:
  Hi.
  
  Following a chat with Daniel Dickman and after several questions in the 
  past about how to send inline patches with alpine I'd like to enable the 
  Do Not Send Flowed Text option by default.
 
 cool!!!
 
  Any ojections?
 
 none from me (I don't use alpine but this is total win for the mailing
 lists!).
 

...and then we need to do the same for thunderbird :-)



Re: alpine check Do Not Send Flowed Text by default

2010-08-31 Thread Landry Breuil
On Tue, Aug 31, 2010 at 11:08:50AM +0200, Antoine Jacoutot wrote:
 Hi.
 
 Following a chat with Daniel Dickman and after several questions in the 
 past about how to send inline patches with alpine I'd like to enable the 
 Do Not Send Flowed Text option by default.
 Any ojections?

I don't have an opinion on the option itself, but setting REVISION
without removing pX from PKGNAME-xxx looks wrong :)

Landry

 Index: Makefile
 ===
 RCS file: /cvs/ports/mail/alpine/Makefile,v
 retrieving revision 1.11
 diff -u -r1.11 Makefile
 --- Makefile  8 Nov 2009 08:22:53 -   1.11
 +++ Makefile  31 Aug 2010 08:38:39 -
 @@ -18,6 +18,10 @@
  PKGNAME-pico=pico-${PICO_V}p1
  PKGNAME-pilot=   pilot-${PILOT_V}p3
  
 +REVISION-main=   1
 +REVISION-pico=   1
 +REVISION-pilot=  3