Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17413 - New ebuild - postal mail benchmark
Summary: New ebuild - postal mail benchmark
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Net-Mail Packages
URL: http://www.coker.com.au/postal/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-03-12 18:06 UTC by Daniel Seyffer
Modified: 2005-01-07 16:38 UTC (History)
0 users

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


Attachments
My postal ebuild. (postal-0.62.ebuild,649 bytes, text/plain)
2003-03-12 18:08 UTC, Daniel Seyffer
Details
postal - smtp benchmark (postal-0.62.ebuild,617 bytes, text/plain)
2004-05-03 12:12 UTC, Daniel Seyffer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Seyffer 2003-03-12 18:06:18 UTC
Hello,

attached is a (preliminary) ebuild for "postal", proposed app-benchmark/postal. 

Postal is a powerful SMTP (and POP3 - but I never used that) benchmark suite,
supporting SSL connections, randomized user accounts and much more. (Homepage
see URL)

I did successfully compile the sources on a Knoppix CD and on Solaris, but
building it on various Gentoo systems always seems to fail during compilation:

---- snip ----
[...]
g++ -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -O2 -g -Wall -W
-Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual
-Woverloaded-virtual -pedantic -ffor-scope -c smtp.cpp
In file included from tcp.cpp:6:
/usr/include/unistd.h:946: declaration of `char* crypt(const char*, const
   char*) throw ()' throws different exceptions
/usr/include/openssl/des.h:193: than previous declaration `char* crypt(const
   char*, const char*)'
make: *** [tcp.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
---- /snip ----

I am no expert, but this seems to be an issue with openssl headers. I patched
crypt, and it did compile yet the resulting binaries were, well...somehow broken. 

So I am provinding the ebuild as it is - seems to be better than nothing. :-/ 
And, hey, there apparently is a Debian package, so why not an ebuild! :-) 

Best Regards,
Daniel Seyffer
Comment 1 Daniel Seyffer 2003-03-12 18:08:03 UTC
Created attachment 9327 [details]
My postal ebuild.

 Uh, hopefully it is not too quick and dirty. :-)
Comment 2 Daniel Seyffer 2003-03-12 18:11:12 UTC
Just saw that I attached an old version, there is a syntax error in ${DEPEND}. sorry for that. 
Comment 3 Daniel Seyffer 2004-05-03 12:12:09 UTC
Created attachment 30629 [details]
postal - smtp benchmark

Cleaned up the ebuild - now compiles and installs fine... ;-) 
Please consider adding it to portage /net-mail thanks.
Comment 4 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-01-07 16:38:05 UTC
Added to portage under net-anlyzer/postal. Thank you for providing the ebuild!