Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45668 - When emerging net-mail/courier with the ldap USE flag, the authldap.schema is not copied to /etc/openldap/schema
Summary: When emerging net-mail/courier with the ldap USE flag, the authldap.schema is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-24 20:48 UTC by Colin Dearborn
Modified: 2005-01-30 20:18 UTC (History)
1 user (show)

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


Attachments
Copying authldap.schema during install. (courier-ldap-schema.patch,531 bytes, patch)
2004-12-01 04:07 UTC, Rodrigo Severo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Dearborn 2004-03-24 20:48:25 UTC
authldap.schema is the default courier ldap schema.  It would be quite handy if it was copied to the /etc/openldap/schema/ directory when courier has been compiled with the ldap USE flag.

Reproducible: Always
Steps to Reproduce:
1. emerge net-mail/courier (with USE=ldap)
2. look in /etc/openldap/schema (no authldap.schema)
3. look in /var/tmp/portage/courier-0.45.1/work/courier-0.45.1/authlib (there exists authldap.schema)

Actual Results:  
could not find authldap.schema

Expected Results:  
copied the schema to the openldap schema directory.


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0)
=================================================================
System uname: 2.6.0 i686 AMD Duron(tm)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -fforce-addr -frerun-loop-opt
-frerun-cse-after-loop"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -fforce-addr
-frerun-loop-opt -frerun-cse-after-loop"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://agsn.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://agsn.ca/gentoo-portage/"
USE="apache apm arts avi berkdb crypt curl encode foomaticdb gd gdbm gif gnome
gpm gtk2 imlib jpeg kde ldap libg++ libwww mad maildir mikmod mmx motif mpeg
mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime
readline sasl sdl slang spell ssl svga tcpd tiff truetype x86 xml xml2 xmms xv zlib"
Comment 1 Rodrigo Severo 2004-12-01 04:07:05 UTC
Created attachment 45045 [details, diff]
Copying authldap.schema during install.

Here is a fix for this bug. It's small and simple.

Please consider including this patch in all courier ebuilds.

Let me know if I can help in any way.
Comment 2 Scott Taylor (RETIRED) gentoo-dev 2005-01-30 20:18:02 UTC
handled in courier-authlib, which is (or at least will be) pulled in by all
ebuilds related to courier