Bug 112795 - net-mail/ssmtp export tc variables for the sake of crosscompiling
Bug#: 112795 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: net-mail@gentoo.org Reported By: flameeyes@gentoo.org
Component: Ebuilds
URL: 
Summary: net-mail/ssmtp export tc variables for the sake of crosscompiling
Keywords:  
Status Whiteboard: 
Opened: 2005-11-17 03:34 0000
Description:   Opened: 2005-11-17 03:34 0000
The attached patch applied over current ebuild (and last masked ebuild) 
exports CC and LD to allow the package to cross-build (and to cross-distcc 
it). 
 
Thanks, 
Diego

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2005-11-17 03:34:53 0000 -------
Created an attachment (id=73071) [details]
Ebuild patch

------- Comment #2 From Jeroen Roovers 2005-12-05 20:43:40 0000 -------
I have incorporated this enhancement into a new build I wrote that applies a 
patch that sort of fixes an upstream bug ("ssmtp: uninitialized variable causes 
garbage in rewritten From: header"[1]).

It would also be nice to have an assigned maintainer for this system package, 
and arguably a metadata.xml.

Source patch and ebuild patch to follow.


[1] http://bugs.debian.org/315248

------- Comment #3 From Jeroen Roovers 2005-12-05 20:44:36 0000 -------
Created an attachment (id=74127) [details]
Patch against the current ssmtp-2.61.ebuild in the tree.

------- Comment #4 From Jeroen Roovers 2005-12-05 20:46:58 0000 -------
Created an attachment (id=74128) [details]
ssmtp-buf-init.patch

Basically adds a catch-all.

------- Comment #5 From Xuefer 2006-03-25 22:46:20 0000 -------
i added a bug in http://bugs.gentoo.org/show_bug.cgi?id=127592
before i see the ssmtp-buf-init.patch patch here. but i proposed another
(better, imho) patch

------- Comment #6 From Fernando J. Pereda (RETIRED) 2006-05-06 05:46:08 0000 -------
Thanks guys, fixed in -r2 and -r31.

- ferdy