Bug 28995

Summary: deMime produces blank line in header part of mail
Product: Ports & Packages Reporter: amagai <amagai>
Component: Individual Port(s)Assignee: Masafumi Max NAKANE <max>
Status: Closed FIXED    
Severity: Affects Only Me CC: amagai
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description amagai 2001-07-16 04:40:01 UTC
 A ports japanese/mimekit, the mimekit1.9 produces blank line in header part of
mail.  It causes fatal processing errors to mail reader etc.  The old version
(mimekit 1.7) works fine with same input.

How-To-Repeat:  Sample data included in this PR in uuencoded format.

uudecoe < thisPR
and make mimekit in ports collection, then 
deMime < sample.data

begin 644 sample.data
M365S<V%G92U)1#H@/#,Y1CDQ-D0Y+C1#0S<R-T4V0&%B8V1E9BYC;RYJ<#X*
M1&%T93H@1G)I+"`R-R!/8W0@,C`P,"`Q-#HT-SHP-2`K,#DP,`I&<F]M.B`\
M;7EO<VAI9&%`86)C9&5F+F-O+FIP/@I4;SH@/3]I<V\M,C`R,BUJ<#]"/T=Y
M4D-/>D)&4D5).$=Y:$,_/2`\;6ET86UU<F%`>'EZ86)C9"YC;RYJ<#XL"B`@
M(#T_:7-O+3(P,C(M:G`_0C]'>5)#5$=D2%1X<V]19ST]/ST@/&UO;FUA=$!X
M>7IA8F-D+F-O+FIP/BP*("`@8V%M97)A(`H)/&-A;65R84!A8BYC9&4N9F=H
M+F-O;3X*0T,Z(&UY;W-H:61A0&%B8V1E9BYC;RYJ<`I3=6)J96-T.B`]/VES
M;RTR,#(R+6IP/T(_1WE20U!60D5*4G-O46<]/3\]"@H;)$)+7$HX&RA""BXN
-+@H;)$(P2CYE&RA""GE2
`
end

Thank you.
Comment 1 Tetsurou Okazaki freebsd_committer freebsd_triage 2001-07-19 14:19:32 UTC
Responsible Changed
From-To: freebsd-ports->max

over to maintainer
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-06-25 00:45:27 UTC
State Changed
From-To: open->feedback

Was any progress ever made on this one?  Does it still happen 
with the current version of the port?
Comment 3 amagai 2004-06-25 09:30:04 UTC
> Was any progress ever made on this one?  Does it still happen
> with the current version of the port?

No Progress. The ports/ja-mimekit-1.8 of FreeBSD 4.10-RELEASE produces
a blank line in header.

Thank you.

Amagai Yoshiji
Comment 4 Masafumi Max NAKANE freebsd_committer freebsd_triage 2004-07-21 07:26:23 UTC
>  > Was any progress ever made on this one?  Does it still happen
>  > with the current version of the port?
 
>  No Progress. The ports/ja-mimekit-1.8 of FreeBSD 4.10-RELEASE produces
>  a blank line in header.
 
I must apologize since I have been able to spend very little time on
this.  I've attempted the following, but neither worked.

1. Upgrade the port to use the latest source in the latest
   distribution of the Delegate.

2. Looked into the current source and see where the problem is.

Now, is this a FreeBSD specific problem?  Or does this problem occur
in other platforms as well?  If latter, I would not consider this as a
problem with the port.  Of course, if a working patch is provided, I
am happy to include it in the port.

Max
Comment 5 amagai 2004-07-26 09:37:54 UTC
---
Content-Type: text/plain;
	charset=US-ASCII
Content-Transfer-Encoding: 7bit

The author of the deMime tools send me a patch that fixes the problem.
Includes the patch.

Regards,

AMAGAI Yoshiji

---
Content-Type: application/octet-stream; name="patch-ad"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="patch-ad"
Content-MD5: 5xn1ymz/Y4tePdkSxzoi2Q==

KioqIG1pbWVoZWFkLmMub3JnaQlUdWUgT2N0ICA1IDE0OjA2OjI0IDE5OTkKLS0tIG1pbWVo
ZWFkLmMJRnJpIEp1bCAyMyAxODoyOToyMyAyMDA0CioqKioqKioqKioqKioqKgoqKiogOTky
LDk5MyAqKioqCi0tLSA5OTIsMTAwMCAtLS0tCiAgCQlpZiggY2ggPT0gTkwgfHwgTFdTUF9D
SEFSKGNoKSApeworICAJCQlpZiggY2ggPT0gTkwgJiYgUENILmNfY2ggPT0gTkwgKXsKKyAg
CQkJCS8qIGlnbm9yZSBOTCBOTCAodGhlIGZpcnN0IG9uZSBtYXkgYmUgcHVzaGVkCisgIAkJ
CQkgKiBieSBub2RlY29kZV93b3JkKCkgZm9yIGZvbGRpbmcuIHRoZQorICAJCQkJICogcmVh
bCBOTCBOTCBhdCBlbmQgb2YgaGVhZGVyIGlzIG5vdCBwdXNoZWQKKyAgCQkJCSAqIGJlY2F1
c2UgaXQgaXMgcHV0IHdpdGggVU5GT0xEX0xJTkUgb2ZmKQorICAJCQkJICovCisgIAkJCX1l
bHNlCiAgCQkJaWYoIGNoID09IE5MICYmIFBDSC5jX2NoICE9IE5MICl7Cg==

-----
Comment 6 Masafumi Max NAKANE freebsd_committer freebsd_triage 2004-07-27 06:36:49 UTC
State Changed
From-To: feedback->closed

Updated the port to use source from Delegate 8.9.6-pre11 distribution, 
which integrated the patch submitted.