Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71724 - net-libs/courier-authlib-0.50.20041116
Summary: net-libs/courier-authlib-0.50.20041116
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Scott Taylor (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-18 22:05 UTC by Tuan Van (RETIRED)
Modified: 2004-11-27 00:59 UTC (History)
1 user (show)

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


Attachments
courier-authlib-0.50.20041116.ebuild (courier-authlib-0.50.20041116.ebuild,5.00 KB, text/plain)
2004-11-18 22:06 UTC, Tuan Van (RETIRED)
Details
files/courier-authlib-0.50.20041116-authdaemond (courier-authlib-0.50.20041116-authdaemond,1.10 KB, text/plain)
2004-11-18 22:07 UTC, Tuan Van (RETIRED)
Details
files/courier-authlib-0.50.20041116-db4-bdbobj_configure.in.patch (courier-authlib-0.50.20041116-db4-bdbobj_configure.in.patch,1.23 KB, text/plain)
2004-11-18 22:07 UTC, Tuan Van (RETIRED)
Details
files/courier-authlib-0.50.20041116-db4-configure.in.patch (courier-authlib-0.50.20041116-db4-configure.in.patch,1.30 KB, text/plain)
2004-11-18 22:08 UTC, Tuan Van (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tuan Van (RETIRED) gentoo-dev 2004-11-18 22:05:56 UTC
Scott,
I have been working on courier-authlib and didn't know that you already commit it to the tree already. I'll attach the ebuild and patch files that works for courier-imap-3.0.8-20041116. Please take a look at it and merge it with your ebuild so it works for both of packages. BTW, IMHO, net-libs is a better category for courier-authlib?

Robin,
I don't use vpopmail so I can't test courier-* with vpopmail. I'll open another bug for courier-imap. Would you please test them and comment/patch as needed?

Thanks.
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-11-18 22:06:44 UTC
Created attachment 44266 [details]
courier-authlib-0.50.20041116.ebuild
Comment 2 Tuan Van (RETIRED) gentoo-dev 2004-11-18 22:07:26 UTC
Created attachment 44267 [details]
files/courier-authlib-0.50.20041116-authdaemond
Comment 3 Tuan Van (RETIRED) gentoo-dev 2004-11-18 22:07:51 UTC
Created attachment 44268 [details]
files/courier-authlib-0.50.20041116-db4-bdbobj_configure.in.patch
Comment 4 Tuan Van (RETIRED) gentoo-dev 2004-11-18 22:08:15 UTC
Created attachment 44269 [details]
files/courier-authlib-0.50.20041116-db4-configure.in.patch
Comment 5 Scott Taylor (RETIRED) gentoo-dev 2004-11-20 04:04:54 UTC
when i apply the db4 patches, it looks like it makes a bunch of stuff not build
right, this is the difference in the authdaemonrc it produces:

-authmodulelist="authuserdb authpam authshadow authldap authmysql authcustom"
+authmodulelist="authpam"

courier itself has just plain had gdbm as a dependancy since before I inherited
it. probably was related to this kind of issue. when neither database use flag
i selected, I see no reason to not just let it try to find whatever it can, and
with both selected choose gdbm and announce the situation.

expect has been removed as a dependancy from courier and a message posted if
expect doesn't exist stating that changing an authpam password from the webmail
interface is the only thing that won't work unless it gets rebuilt after
installing expect. Unless there is reason to change that, I'd prefer to keep
that as it is.
Comment 6 Tuan Van (RETIRED) gentoo-dev 2004-11-20 11:37:45 UTC
the differrent in the authmodulelist is because of the USE flag, not because of the db4 patch.

# emerge courier-authlib -vp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-libs/courier-authlib-0.50.20041116  +berkdb -debug -gdbm -ldap +mysql +pam -postgres 0 kB [1]

# grep authmodulelist /etc/courier-imap/authlib/authdaemonrc
##NAME: authmodulelist:2
#authmodulelist="authuserdb authpam authmysql authcustom" <--this is the original one, commented.
authmodulelist="authmysql"
##NAME: authmodulelistorig:2
authmodulelistorig="authuserdb authpam authmysql authcustom"

The db4 patch have nothing to do with choose between "berkdb" and "gdbm" flag. courier-authlib build will fail if you have USE="berkdb -gdbm" and have db3, db4, db4.1 db4.2 installed (and Gentoo support all of them.)

WRT expect, below is the snip from INSTALL:
     * The "expect" command. expect is usually included with most systems.
       Expect can be downloaded from http://expect.nist.gov/ if it's not
       installed on your system. This utility is used to change system login
       passwords, by scripting the passwd command. If you do not have expect
       installed you will not be able to change system login passwords.
       However non-system authentication modules (LDAP, PostgreSQL, and
       others) will work.
IMO, remove expect will affect for those have srcipt that change the system login passwords. I myself dont need it so it's up to you.

Thanks.
Comment 7 Scott Taylor (RETIRED) gentoo-dev 2004-11-27 00:59:02 UTC
Think I got everything that we covered in our other discussions. It does a
graceful upgrade from auth settings of mail-mta/courier. I'm open to making it
try to pull in configs from the other courier-* packages if its not finding
them as it is now.