ソースを参照

Bug(s) fixed: 157341
Bug Description: Tracking bug for the windows synch service
Reviewed by: no one (but it should be pretty safe)
Fix Description: Thomas and Anthony already did most of the work require to build the windows sync packages and push them as components. This change just picks up those two components and packages them with the DS build. When DS is installed, there will be a new "winsync" directory under the server root. This directory contains self extracting Windows installer files for Active Directory sync and NT4 sync, with a .msi extension. The user will have to copy these files to the Windows machine containing the domain controller.
Platforms tested: RHEL3
Flag Day: no
Doc impact: Yes. The Windows Sync documentation will have to explain where these files reside in the package and how to install them.
QA impact: should be covered by regular nightly and manual testing
New Tests integrated into TET: none

Rich Megginson 20 年 前
コミット
582a2c5f1f
3 ファイル変更76 行追加1 行削除
  1. 1 1
      Makefile
  2. 8 0
      component_versions.mk
  3. 67 0
      internal_comp_deps.mk

+ 1 - 1
Makefile

@@ -132,7 +132,7 @@ help:
 ifeq ($(INTERNAL_BUILD), 1)
   COMPONENT_DEPENDENCIES = $(ADMINUTIL_DEP) $(NSPR_DEP) $(ARLIB_DEP) $(DBM_DEP) $(SECURITY_DEP) $(SVRCORE_DEP) \
 	$(ICU_DEP) $(SETUPSDK_DEP) $(LDAPSDK_DEP) $(DB_LIB_DEP) $(SASL_DEP) $(NETSNMP_DEP) \
-	$(AXIS_DEP) $(DSMLJAR_DEP) $(DSDOC_DEP)
+	$(AXIS_DEP) $(DSMLJAR_DEP) $(DSDOC_DEP) $(ADSYNC_DEP) $(NT4SYNC_DEP)
 endif
 
 # Pull WiX MSI toolkit on Windows.

+ 8 - 0
component_versions.mk

@@ -248,3 +248,11 @@ endif
 ifndef MAVEN_VERSION
 	MAVEN_VERSION=1.0.2
 endif
+
+ifndef ADSYNC_VERSION
+	ADSYNC_VERSION=20050513
+endif
+
+ifndef NT4SYNC_VERSION
+	NT4SYNC_VERSION=20050513
+endif

+ 67 - 0
internal_comp_deps.mk

@@ -774,3 +774,70 @@ $(DSDOC_DEP): $(NSCP_DISTDIR)
 	exit 1 ; \
 	fi
 ### DOCS END #############################
+
+
+# Windows sync component for Active Directory
+ADSYNC = PassSync-$(BUILD_DEBUG).msi
+ADSYNC_DEST = $(NSCP_DISTDIR_FULL_RTL)/winsync
+ADSYNC_FILE = $(ADSYNC_DEST)/$(ADSYNC)
+ADSYNC_FILES = $(ADSYNC)
+ADSYNC_RELEASE = $(COMPONENTS_DIR)/winsync/passsync
+# windows make naming convention - release = optimize, debug = full
+ifeq ($(BUILD_DEBUG), optimize)
+	ADSYNC_DIR_SUFFIX=release
+else
+	ADSYNC_DIR_SUFFIX=debug
+endif
+ADSYNC_DIR = $(ADSYNC_RELEASE)/$(ADSYNC_VERSION)/$(ADSYNC_DIR_SUFFIX)
+
+ADSYNC_DEP = $(ADSYNC_FILE)
+PACKAGE_SRC_DEST += $(ADSYNC_FILE) winsync
+
+ifndef ADSYNC_PULL_METHOD
+ADSYNC_PULL_METHOD = $(COMPONENT_PULL_METHOD)
+endif
+
+$(ADSYNC_DEP): $(NSCP_DISTDIR_FULL_RTL) 
+ifdef COMPONENT_DEPS
+	echo "Inside ftppull"
+	$(FTP_PULL) -method $(COMPONENT_PULL_METHOD) \
+		-objdir $(ADSYNC_DEST) -componentdir $(ADSYNC_DIR) \
+		-files $(ADSYNC_FILES)
+endif
+	-@if [ ! -f $@ ] ; \
+	then echo "Error: could not get component ADSYNC files $@" ; \
+	fi
+# Windows sync component for Active Directory
+
+# Windows sync component for NT4
+NT4SYNC = ntds-$(BUILD_DEBUG).msi
+NT4SYNC_DEST = $(NSCP_DISTDIR_FULL_RTL)/winsync
+NT4SYNC_FILE = $(NT4SYNC_DEST)/$(NT4SYNC)
+NT4SYNC_FILES = $(NT4SYNC)
+NT4SYNC_RELEASE = $(COMPONENTS_DIR)/winsync/ntds
+# windows make naming convention - release = optimize, debug = full
+ifeq ($(BUILD_DEBUG), optimize)
+	NT4SYNC_DIR_SUFFIX=release
+else
+	NT4SYNC_DIR_SUFFIX=debug
+endif
+NT4SYNC_DIR = $(NT4SYNC_RELEASE)/$(NT4SYNC_VERSION)/$(NT4SYNC_DIR_SUFFIX)
+
+NT4SYNC_DEP = $(NT4SYNC_FILE)
+PACKAGE_SRC_DEST += $(NT4SYNC_FILE) winsync
+
+ifndef NT4SYNC_PULL_METHOD
+NT4SYNC_PULL_METHOD = $(COMPONENT_PULL_METHOD)
+endif
+
+$(NT4SYNC_DEP): $(NSCP_DISTDIR_FULL_RTL) 
+ifdef COMPONENT_DEPS
+	echo "Inside ftppull"
+	$(FTP_PULL) -method $(COMPONENT_PULL_METHOD) \
+		-objdir $(NT4SYNC_DEST) -componentdir $(NT4SYNC_DIR) \
+		-files $(NT4SYNC_FILES)
+endif
+	-@if [ ! -f $@ ] ; \
+	then echo "Error: could not get component NT4SYNC files $@" ; \
+	fi
+# Windows sync component for NT4