summaryrefslogtreecommitdiffstats
path: root/ldap/admin
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2006-03-29 19:47:28 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2006-03-29 19:47:28 +0000
commite8b95f07d9b1066e806b108d12e70986b3faa48e (patch)
tree9681289ab2a54cda8a9856616574c6b8941369af /ldap/admin
parentefaa2f49914ffa64bf9cff990bb8fac72598beeb (diff)
downloadds-e8b95f07d9b1066e806b108d12e70986b3faa48e.tar.gz
ds-e8b95f07d9b1066e806b108d12e70986b3faa48e.tar.xz
ds-e8b95f07d9b1066e806b108d12e70986b3faa48e.zip
[186642] Directory Server Makefile updates for Internal build
. removed the dependency on DBM . Updated components' RELDATEs. . Console jar file name adjustment: <brand>-<comp>-<dotversion>.jar . Fix for HP-UX IPF . Use non-branded SetupUtil; add resource file to change branding . Updated the code to call createSIE so that the right brand is passed to SetupUtil.
Diffstat (limited to 'ldap/admin')
-rw-r--r--ldap/admin/lib/Makefile2
-rw-r--r--ldap/admin/src/Makefile12
-rw-r--r--ldap/admin/src/configure_instance.cpp5
3 files changed, 14 insertions, 5 deletions
diff --git a/ldap/admin/lib/Makefile b/ldap/admin/lib/Makefile
index b736e61b..8f877797 100644
--- a/ldap/admin/lib/Makefile
+++ b/ldap/admin/lib/Makefile
@@ -65,6 +65,8 @@ OBJS = $(addprefix $(OBJDEST)/, $(subst .c,.o,$(SRCS)))
INCLUDES += -I$(LDAP_SRC)/admin/include
+SECURITYLINK += -lsoftokn3
+
EXTRA_LIBS += $(LDAP_COMMON_LIBS) $(SECURITYLINK) $(NSPRLINK)
LIBS= $(LDAP_ADMDLLDIR)/libds_admin$(DLL_PRESUF).$(DLL_SUFFIX)
diff --git a/ldap/admin/src/Makefile b/ldap/admin/src/Makefile
index 17d3ea11..d7c49358 100644
--- a/ldap/admin/src/Makefile
+++ b/ldap/admin/src/Makefile
@@ -132,9 +132,15 @@ EXTRA_LIBS += -lsocket -lnsl -lgen -lm -lposix4 -lthread
OPENSOURCE_LIBS += -lsocket -lnsl -lgen -lm -lposix4 -lthread
else
ifeq ($(ARCH),HPUX)
-ifeq ($(USE_64), 1)
-EXTRALDFLAGS += +DA2.0W +DS2.0 +Z
-endif
+ ifeq ($(NSOS_RELEASE),B.11.23)
+ ifeq ($(USE_64), 1)
+ EXTRALDFLAGS += +DD64
+ endif
+ else
+ ifeq ($(USE_64), 1)
+ EXTRALDFLAGS += +DA2.0W +DS2.0 +Z
+ endif
+ endif
else
ifeq ($(ARCH),OSF1)
#CC += -E
diff --git a/ldap/admin/src/configure_instance.cpp b/ldap/admin/src/configure_instance.cpp
index ed69bb3e..80b5b24d 100644
--- a/ldap/admin/src/configure_instance.cpp
+++ b/ldap/admin/src/configure_instance.cpp
@@ -133,7 +133,7 @@ extern "C" {
// name of script file to generate relative to slapd instance directory
#define SCRIPT_FILE_NAME "start-console"
-#define DS_JAR_FILE_NAME "ds10.jar"
+#define DS_JAR_FILE_NAME "fedora-ds-1.0.jar"
#define DS_CONSOLE_CLASS_NAME "com.netscape.admin.dirserv.DSAdmin"
#ifdef XP_WIN32
@@ -711,6 +711,7 @@ static LdapError
create_sie_and_isie(LdapEntry *sieEntry, LdapEntry *appEntry, NSString& sieDN)
{
LdapError ldapError; // return value
+ const char *adminBrand = "Fedora";
// Prepare sieEntry
sieEntry->clear();
@@ -758,7 +759,7 @@ create_sie_and_isie(LdapEntry *sieEntry, LdapEntry *appEntry, NSString& sieDN)
LdapErrorCode code = createSIE(sieEntry, appEntry, fqdn,
installInfo->get(SLAPD_KEY_SERVER_ROOT),
- ssDN);
+ ssDN, adminBrand);
delete [] fqdn;
if (code != OKAY)