Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 148613 Details for
Bug 229691
Add enable switches for optional/experimental features
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
diffs
cvsdiffs (text/plain), 5.99 KB, created by
Rich Megginson
on 2007-02-22 19:54:32 UTC
(
hide
)
Description:
diffs
Filename:
MIME Type:
Creator:
Rich Megginson
Created:
2007-02-22 19:54:32 UTC
Size:
5.99 KB
patch
obsolete
>Index: ldapserver/Makefile.am >=================================================================== >RCS file: /cvs/dirsec/ldapserver/Makefile.am,v >retrieving revision 1.29 >diff -u -8 -r1.29 Makefile.am >--- ldapserver/Makefile.am 22 Feb 2007 19:29:47 -0000 1.29 >+++ ldapserver/Makefile.am 22 Feb 2007 19:52:42 -0000 >@@ -80,23 +80,31 @@ > #------------------------ > sbin_PROGRAMS = ns-slapd > > bin_PROGRAMS = dbscan-bin ds_newinst-bin dsktune-bin infadd-bin ldap-agent-bin \ > ldclt-bin ldif-bin migratecred-bin mmldif-bin pwdhash-bin rsearch-bin > > server_LTLIBRARIES = libslapd.la libds_admin.la libns-dshttpd.la > >+# this is how to add optional plugins >+if enable_pam_passthru >+LIBPAM_PASSTHRU_PLUGIN = libpam-passthru-plugin.la >+endif >+if enable_dna >+LIBDNA_PLUGIN = libdna-plugin.la >+endif >+ > serverplugin_LTLIBRARIES = libacl-plugin.la libattr-unique-plugin.la \ > libback-ldbm.la libchainingdb-plugin.la libcos-plugin.la libdes-plugin.la \ >- libdistrib-plugin.la libdna-plugin.la libhttp-client-plugin.la libcollation-plugin.la \ >- libpam-passthru-plugin.la libpassthru-plugin.la libpresence-plugin.la \ >+ libdistrib-plugin.la libhttp-client-plugin.la libcollation-plugin.la \ >+ libpassthru-plugin.la libpresence-plugin.la \ > libpwdstorage-plugin.la libreferint-plugin.la libreplication-plugin.la \ > libretrocl-plugin.la libroles-plugin.la libstatechange-plugin.la libsyntax-plugin.la \ >- libviews-plugin.la >+ libviews-plugin.la $(LIBPAM_PASSTHRU_PLUGIN) $(LIBDNA_PLUGIN) > > nodist_property_DATA = ns-slapd.properties > > noinst_PROGRAMS = makstrdb > > noinst_LIBRARIES = libavl.a libldaputil.a > > #------------------------ >Index: ldapserver/config.h.in >=================================================================== >RCS file: /cvs/dirsec/ldapserver/config.h.in,v >retrieving revision 1.4 >diff -u -8 -r1.4 config.h.in >--- ldapserver/config.h.in 19 Feb 2007 23:55:04 -0000 1.4 >+++ ldapserver/config.h.in 22 Feb 2007 19:52:42 -0000 >@@ -7,16 +7,25 @@ > #undef CPU_hppa > > /* cpu type ia64 */ > #undef CPU_ia64 > > /* cpu type sparc */ > #undef CPU_sparc > >+/* enable the dna plugin */ >+#undef ENABLE_DNA >+ >+/* enable ldapi support in the server */ >+#undef ENABLE_LDAPI >+ >+/* enable the pam passthru auth plugin */ >+#undef ENABLE_PAM_PASSTHRU >+ > /* Define to 1 if you have the <arpa/inet.h> header file. */ > #undef HAVE_ARPA_INET_H > > /* Define to 1 if your system has a working `chown' function. */ > #undef HAVE_CHOWN > > /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you > don't. */ >Index: ldapserver/configure.ac >=================================================================== >RCS file: /cvs/dirsec/ldapserver/configure.ac,v >retrieving revision 1.21 >diff -u -8 -r1.21 configure.ac >--- ldapserver/configure.ac 19 Feb 2007 23:55:04 -0000 1.21 >+++ ldapserver/configure.ac 22 Feb 2007 19:52:42 -0000 >@@ -46,40 +46,68 @@ > AC_TYPE_SIGNAL > AC_FUNC_STAT > AC_FUNC_STRERROR_R > AC_FUNC_STRFTIME > AC_FUNC_VPRINTF > AC_CHECK_FUNCS([setrlimit endpwent ftruncate getcwd gethostbyname inet_ntoa localtime_r memmove memset mkdir munmap putenv rmdir socket strcasecmp strchr strcspn strdup strerror strncasecmp strpbrk strrchr strstr strtol tzset]) > > AC_MSG_CHECKING(for --enable-debug) >-AC_ARG_ENABLE(debug, [ --enable-debug Enable debug features], >+AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], [Enable debug features (default: no)]), > [ > AC_MSG_RESULT(yes) > debug_defs="-DDEBUG -DMCC_DEBUG" > ], > [ > AC_MSG_RESULT(no) > debug_defs="" > ]) > AC_SUBST([debug_defs]) > > # Used for legacy style packaging where we bundle all of the dependencies. > AC_MSG_CHECKING(for --enable-bundle) >-AC_ARG_ENABLE(bundle, [ --enable-bundle Enable bundled dependencies], >+AC_ARG_ENABLE(bundle, AS_HELP_STRING([--enable-bundle], [Enable bundled dependencies (default: no)]), > [ > AC_MSG_RESULT(yes) > bundle="1"; > ], > [ > AC_MSG_RESULT(no) > bundle=""; > ]) > AM_CONDITIONAL(BUNDLE,test "$bundle" = "1") > >+# these enables are for optional or experimental features >+enable_pam_passthru=yes >+AC_ARG_ENABLE(pam-passthru, >+ AS_HELP_STRING([--enable-pam-passthru], >+ [enable the PAM passthrough auth plugin (default: yes)])) >+if test "$enable_pam_passthru" = yes ; then >+ AC_DEFINE([ENABLE_PAM_PASSTHRU], [1], [enable the pam passthru auth plugin]) >+fi >+AM_CONDITIONAL(enable_pam_passthru,test "$enable_pam_passthru" = "yes") >+ >+enable_dna=yes >+AC_ARG_ENABLE(dna, >+ AS_HELP_STRING([--enable-dna], >+ [enable the Distributed Numeric Assignment (DNA) plugin (default: yes)])) >+if test "$enable_dna" = yes ; then >+ AC_DEFINE([ENABLE_DNA], [1], [enable the dna plugin]) >+fi >+AM_CONDITIONAL(enable_dna,test "$enable_dna" = "yes") >+ >+enable_ldapi=yes >+AC_ARG_ENABLE(ldapi, >+ AS_HELP_STRING([--enable-ldapi], >+ [enable LDAP over unix domain socket (LDAPI) support (default: yes)])) >+if test "$enable_ldapi" = yes ; then >+ AC_DEFINE([ENABLE_LDAPI], [1], [enable ldapi support in the server]) >+fi >+ >+# the default prefix - override with --prefix or --with-fhs > AC_PREFIX_DEFAULT([/opt/$PACKAGE_NAME]) > > m4_include(m4/fhs.m4) > > # installation paths - by default, configure will just > # use /usr as the prefix for everything, which means > # /usr/etc and /usr/var. FHS sez to use /etc and /var. > if test "$with_fhs" = "yes"; then >@@ -114,17 +142,19 @@ > AC_SUBST(serverdir) > AC_SUBST(serverplugindir) > AC_SUBST(scripttemplatedir) > > AC_CHECKING(for instconfigdir) > > # check for --with-instconfigdir > AC_MSG_CHECKING(for --with-instconfigdir) >-AC_ARG_WITH(instconfigdir, [ --with-instconfigdir=/path Base directory for instance specific writable configuration directories (default $sysconfdir/$PACKAGE_NAME)], >+AC_ARG_WITH(instconfigdir, >+ AS_HELP_STRING([--with-instconfigdir=/path], >+ [Base directory for instance specific writable configuration directories (default $sysconfdir/$PACKAGE_NAME)]), > [ > if test $withval = yes ; then > AC_ERROR([Please specify a full path with --with-instconfigdir]) > fi > instconfigdir="$withval" > ], > [ > dnl this value is expanded out in Makefile.am
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229691
:
148613
|
148614
|
148627
|
148631
|
148636