Bug 41653 - security/cyrus-sasl: add saslauthd daemon and fix interaction with SASL V2 port
Summary: security/cyrus-sasl: add saslauthd daemon and fix interaction with SASL V2 port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-14 06:30 UTC by Scot W. Hetzel
Modified: 2002-08-14 19:40 UTC (History)
0 users

See Also:


Attachments
file.diff (12.88 KB, patch)
2002-08-14 06:30 UTC, Scot W. Hetzel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scot W. Hetzel 2002-08-14 06:30:01 UTC
	Add saslauthd as default general password checking daemon (replaces pwcheck{_pam}).
	Fix "& &&" in pwcheck.sh

	Correct the interaction between the SASL V1 and SASL V2 libraries.  When the SASL V1 and
	SASL V2 ports are installed,  the saslpasswd2 and sasldblistusrs2 will core dump because
	they are trying to use the SASL V1 plugins (${PREFIX}/lib/sasl) instead of the SASL V2
	plugins (${PREFIX}/lib/sasl2).  The problem is caused by libtool adding '${PREFIX}/lib/sasl'
	to the ld-elf.so.hints file during the install.

	My solution was to save the list of search directories in pre-install, and then restore them
	in post-install.  Packages will not have this problem as ldconfig is only used on ${PREFIX}/lib.

Fix: Changed Files:
	    Makefile
	    files/pwcheck.sh
	    pkg-deinstall
	    pkg-install
	    pkg-message
	    pkg-plist
	    scripts/configure.sasl

	New Files:
	    files/patch-saslauthd::Makefile.am
	    files/saslauthd.sh
How-To-Repeat: 	Install security/cyrus-sasl, then install security/cyrus-sasl2.  Wait for core dumps to be
	generated by the saslpasswd2 and sasldblistusers2 programs during the install.
	(The core dumps are large)
Comment 1 Scot W. Hetzel 2002-08-14 18:46:37 UTC
With the recent change to the security/cyrus-sasl2 port, we no longer need
the LDCONFIG hack in the Makefile of the secutiry/cyrus-sasl.

After applying the previous patch, remove LDCONFIG lines from the
pre-/post-install targets.

Scot
Comment 2 Akinori MUSHA freebsd_committer freebsd_triage 2002-08-14 19:39:54 UTC
State Changed
From-To: open->closed

Committed, thanks!