]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Put athena-specific krb5.ini in athena subdir
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Sat, 28 Jul 2012 12:14:24 +0000 (08:14 -0400)
committerTom Yu <tlyu@mit.edu>
Wed, 29 Aug 2012 20:28:21 +0000 (16:28 -0400)
The installer only picks it up if MIT_INTERNAL is defined in
the environment; otherwise it uses the now-empty krb5.ini in
the base directory.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 2ecba2452ab53e13f138b03b64df8f9a91e87284)

ticket: 7323
status: resolved

src/windows/installer/wix/athena/krb5.ini [new file with mode: 0644]
src/windows/installer/wix/config.wxi
src/windows/installer/wix/krb5.ini
src/windows/installer/wix/site-local.wxi

diff --git a/src/windows/installer/wix/athena/krb5.ini b/src/windows/installer/wix/athena/krb5.ini
new file mode 100644 (file)
index 0000000..681ed65
--- /dev/null
@@ -0,0 +1,3 @@
+[libdefaults]
+       default_realm = ATHENA.MIT.EDU
+       allow_weak_crypto = true
index 806fe36f21d124487b2f9d736cb267458ff0c259..40bdb7ccabb2684ac8ba25a0d3c9fcc5e8aa7022 100644 (file)
     <?define SrcDir="$(var.TargetDir)"?>
     <?define InstallDir="$(var.TargetDir)windows\installer\"?>
     <?define SampleDir="$(var.TargetDir)sample\"?>
-    <?define ConfigDir=".\"?>
+    <?ifdef env.MIT_INTERNAL?>
+      <?define ConfigDir=".\athena\"?>
+    <?else?>
+      <?define ConfigDir=".\"?>
+    <?endif?>
+
     <?define SystemDir="$(env.SystemRoot)\System32\"?>
 
     <?include lang\config_$(var.BuildLang).wxi?>
index 681ed65a31b6e6c578cc6615a9a3ab19c0c1e60f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,3 +0,0 @@
-[libdefaults]
-       default_realm = ATHENA.MIT.EDU
-       allow_weak_crypto = true
index fd7e9b2ec092b96eee4a549abfa28e8f7e5aca9d..45d66dc4e1e36500aaa5fc74557e784f86abce08 100644 (file)
@@ -38,9 +38,6 @@
         <?define ProductCode="????????-????-????-????-????????????"?>
     <?endif?>
 
-    <!-- DefaultRealm, is your default realm.  Must be uppercase -->
-    <?define DefaultRealm="ATHENA.MIT.EDU"?>
-
     <!-- One of the following must be defined and must correspond to the
          version of compiler used for building Kerberos for Windows -->
 
         <?define TargetDir="$(sys.SOURCEFILEDIR)..\..\..\"?>
     <?endif?>
 
-    <?ifndef ConfigDir?>
-        <?define ConfigDir="$(env.SystemRoot)\"?>
-    <?endif?>
-
     <?ifndef VersionMajor?>
         <?define VersionMajor="4"?>
         <?define VersionMinor="0"?>
         <?error Must define BuildLang?>
     <?endif?>
 
-    <!-- DefaultRealm.  Must be uppercase. -->
-    <?ifndef DefaultRealm?>
-        <?error Must define DefaultRealm?>
-    <?endif?>
-
     <!-- The build makefile defines 'Date' and 'Time' which are strings that
          identify the time at which the build was performed. -->
 </Include>