[Fedora-directory-commits] ldapserver/m4 db.m4,1.6,1.7
Richard Allen Megginson (rmeggins)
fedora-directory-commits at redhat.com
Wed Feb 7 23:57:41 UTC 2007
- Previous message (by thread): [Fedora-directory-commits] ldapserver Makefile.am, 1.20, 1.21 Makefile.in, 1.23, 1.24 aclocal.m4, 1.13, 1.14 configure, 1.22, 1.23 missing, 1.8, 1.9 install-sh, 1.8, 1.9 depcomp, 1.8, 1.9 compile, 1.8, 1.9 config.sub, 1.7, 1.8 config.guess, 1.7, 1.8
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/admin/src create_instance.c, 1.41, 1.42 create_instance.h, 1.13, 1.14 ds_newinst.pl, 1.11, 1.12 ds_newinst.pl.in, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rmeggins
Update of /cvs/dirsec/ldapserver/m4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15984/ldapserver/m4
Modified Files:
db.m4
Log Message:
esolves: bug 227618
Bug Description: FHS: move exes to _bindir; move ns-slapd to _sbindir
Reviewed by: many people (Thanks!)
Fix Description: In order to be more FHS compliant, we need to make the following changes:
1) move files executable by end users to _bindir (e.g. /usr/bin) - this means logconv.pl, ds_newinst, dbscan, etc.
2) move the server executable ns-slapd to _sbindir (e.g. /usr/sbin)
And, to be more packaging friendly, the additional changes:
3) move libback-ldbm to the plugins dir - it is a plugin
4) use the libtool -avoid-version flag with plugins - we don't need the .so.0.0.0 for plugins
I had to add support for sbindir and SBINDIR to create_instance and ds_newinst. We were using serverdir for 3 things - command line programs, server specific shared libs, and the server executable itself. These are now in 3 different places. The biggest change was to the scripts. I kept serverdir and SERVER-DIR to be the location of the server shared libs to avoid changing even more stuff. I had to add SERVERBIN-DIR to the scripts - this is the location of ns-slapd and is set by sbindir in create_instance (which defaults to SBINDIR from Makefile.am which defaults to $prefix/sbin in configure - whew).
I've tested instance creation with these diffs - everything seems to work fine.
5) reorder files in alphabetical order - suggested by nkinder
6) add $LDFLAGS to test in db.m4
7) touch all template/wrapper .in files to make them newer than their corresponding files
Platforms tested: RHEL4, FC6
Flag Day: no
Doc impact: Yes, but the docs will have to change quite a bit for all of the FHS related changes.
Index: db.m4
===================================================================
RCS file: /cvs/dirsec/ldapserver/m4/db.m4,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- db.m4 7 Feb 2007 23:26:19 -0000 1.6
+++ db.m4 7 Feb 2007 23:57:34 -0000 1.7
@@ -74,7 +74,7 @@
dnl make sure the lib is available
dnl use true so libdb won't be added to LIBS
save_ldflags="$LDFLAGS"
-LDFLAGS="$db_lib"
+LDFLAGS="$db_lib $LDFLAGS"
AC_CHECK_LIB([db-$db_libver], [db_create], [true],
[AC_MSG_ERROR([$db_incdir/db.h is version $db_libver but libdb-$db_libver not found])],
[$LIBNSL])
- Previous message (by thread): [Fedora-directory-commits] ldapserver Makefile.am, 1.20, 1.21 Makefile.in, 1.23, 1.24 aclocal.m4, 1.13, 1.14 configure, 1.22, 1.23 missing, 1.8, 1.9 install-sh, 1.8, 1.9 depcomp, 1.8, 1.9 compile, 1.8, 1.9 config.sub, 1.7, 1.8 config.guess, 1.7, 1.8
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/admin/src create_instance.c, 1.41, 1.42 create_instance.h, 1.13, 1.14 ds_newinst.pl, 1.11, 1.12 ds_newinst.pl.in, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list