Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58768 - Please including testsaslauthd in cyrus-sasl ebuild
Summary: Please including testsaslauthd in cyrus-sasl ebuild
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-29 04:57 UTC by steveb
Modified: 2004-08-29 21:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.