Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58768

Summary: Please including testsaslauthd in cyrus-sasl ebuild
Product: Gentoo Linux Reporter: steveb <steeeeeveee>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description steveb 2004-07-29 04:57:31 UTC
There is a small application in cyrus-sasl, wich allows to test the sasl authentification. The name of the application is testsaslauthd and can be easy included in the current cyrus-sasl package.

At the end of src_compile, include please:
        # make the testsaslauthd binary
        cd "${S}/saslauthd"
        emake -j1 testsaslauthd || die "testsaslauthd compile problem"

And at the begining of src_install, include please:
        # install testsaslauthd binary
        exeinto /usr/sbin
        newexe "${S}/saslauthd/testsaslauthd" testsaslauthd || die "installing testsaslauthd problem"


Ater that, you can test the sasl authentification with:
 # testsaslauthd -u username -p password
0: OK "Success."
 # 

 # testsaslauthd -u username -p wrongpassword
0: NO "authentication failed"
 #


cheers

SteveB

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-08-29 21:51:34 UTC
The binary is small and useful enough to justify an extra USE flag. Fixed in cyrus-sasl-2.1.19-r1. Please test. Thanks.