Bug 1085 - build nscd with -laudit
Summary: build nscd with -laudit
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.3.5
: P2 normal
Target Milestone: ---
Assignee: Roland McGrath
URL:
Keywords:
Depends on:
Blocks: libc236
  Show dependency treegraph
 
Reported: 2005-07-18 01:37 UTC by Roland McGrath
Modified: 2005-07-19 03:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland McGrath 2005-07-18 01:37:33 UTC
This trunk patch should go into the 2.3 branch:

2005-06-14  Ulrich Drepper  <drepper@redhat.com>

	* configure.in: Add test for availability of libaudit.
	* config.h.in: Define HAVE_LIBAUDIT.
	* config.make.in: Define have-libaudit.
	* nscd/Makefile: If libaudit is available, link nscd with it.
	* nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
	Patch by Steve Grubb <sgrubb@redhat.com>.
Comment 1 Sourceware Commits 2005-07-18 01:39:00 UTC
Subject: Bug 1085

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-07-18 01:38:55

Modified files:
	.              : config.make.in config.h.in configure.in 
	nscd           : selinux.c Makefile 

Log message:
	2005-06-14  Ulrich Drepper  <drepper@redhat.com>
	
	[BZ #1085]
	* configure.in: Add test for availability of libaudit.
	* config.h.in: Define HAVE_LIBAUDIT.
	* config.make.in: Define have-libaudit.
	* nscd/Makefile: If libaudit is available, link nscd with it.
	* nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
	Patch by Steve Grubb <sgrubb@redhat.com>.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/config.make.in.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.106&r2=1.106.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/config.h.in.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.70&r2=1.70.4.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/configure.in.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.431&r2=1.431.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/selinux.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.3&r2=1.3.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/Makefile.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.40.2.2&r2=1.40.2.3

Comment 2 Roland McGrath 2005-07-19 03:30:33 UTC
This fix is now in the 2.3 branch as well as the trunk, and the problem should
be resolved as of the 2.3.6 release.