# the config files will not overwrite existing versions.
BUILTCONFIGFILES = \
native.logger \
- shibd.logger \
- attribute-map.xml \
- attribute-policy.xml
+ shibd.logger
# While BUILTCONFIGFILES are processed, these are not; so we should pull
# them from SRCDIR.
CONFIGFILES = \
shibboleth2.xml \
+ attribute-map.xml \
+ attribute-policy.xml \
example-metadata.xml \
console.logger \
syslog.logger \
native.logger: ${srcdir}/native.logger.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
-attribute-map.xml: ${srcdir}/attribute-map.xml.in Makefile ${top_builddir}/config.status
- $(MAKE) do-build-file FILE=$@
-
-attribute-policy.xml: ${srcdir}/attribute-policy.xml.in Makefile ${top_builddir}/config.status
- $(MAKE) do-build-file FILE=$@
-
all-data-local: $(BUILTCONFIGFILES)
install-data-local: all-data-local
shibd-debian \
shibd-osx.plist \
shibd.logger \
- native.logger \
- attribute-map.xml \
- attribute-policy.xml
+ native.logger
EXTRA_DIST = \
- attribute-map.xml.in \
- attribute-policy.xml.in \
native.logger.in \
shibd.logger.in \
apache.config.in \
xmlns="urn:mace:shibboleth:2.0:afp:mf:basic"
xmlns:basic="urn:mace:shibboleth:2.0:afp:mf:basic"
xmlns:afp="urn:mace:shibboleth:2.0:afp"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:mace:shibboleth:2.0:afp @-PKGXMLDIR-@/shibboleth-2.0-afp.xsd urn:mace:shibboleth:2.0:afp:mf:basic @-PKGXMLDIR-@/shibboleth-2.0-afp-mf-basic.xsd urn:mace:shibboleth:2.0:afp:mf:saml @-PKGXMLDIR-@/shibboleth-2.0-afp-mf-saml.xsd">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Shared rule for affiliation values. -->
<afp:PermitValueRule id="eduPersonAffiliationValues" xsi:type="OR">
'Afterwards, if the config file doesn't already exist, copy up to etc/shibboleth
'Also strip *.in for files in dist
- ConfigFile = DistDir & "attribute-map.xml.in"
- ReplaceInFile ConfigFile, "@-PKGXMLDIR-@", ConvertedDir & "/share/xml/shibboleth"
- If (NOT FileSystemObj.FileExists(ConfigDir & "attribute-map.xml")) then
- FileSystemObj.CopyFile ConfigFile, ConfigDir & "attribute-map.xml", false
- End If
- If (FileSystemObj.FileExists(DistDir & "attribute-map.xml")) then
- FileSystemObj.DeleteFile DistDir & "attribute-map.xml", true
- End If
- FileSystemObj.MoveFile ConfigFile, DistDir & "attribute-map.xml"
-
- ConfigFile = DistDir & "attribute-policy.xml.in"
- ReplaceInFile ConfigFile, "@-PKGXMLDIR-@", ConvertedDir & "/share/xml/shibboleth"
- If (NOT FileSystemObj.FileExists(ConfigDir & "attribute-policy.xml")) then
- FileSystemObj.CopyFile ConfigFile, ConfigDir & "attribute-policy.xml", false
- End If
- If (FileSystemObj.FileExists(DistDir & "attribute-policy.xml")) then
- FileSystemObj.DeleteFile DistDir & "attribute-policy.xml", true
- End If
- FileSystemObj.MoveFile ConfigFile, DistDir & "attribute-policy.xml"
-
ConfigFile = DistDir & "shibd.logger.in"
ReplaceInFile ConfigFile, "@-PKGLOGDIR-@", ConvertedDir & "/var/log/shibboleth"
If (NOT FileSystemObj.FileExists(ConfigDir & "shibd.logger")) then
FileSystemObj.CopyFile DistDir & "example-metadata.xml", ConfigDir, false
End If
+ If (NOT FileSystemObj.FileExists(ConfigDir & "attribute-map.xml")) then
+ FileSystemObj.CopyFile DistDir & "attribute-map.xml", ConfigDir, false
+ End If
+
+ If (NOT FileSystemObj.FileExists(ConfigDir & "attribute-policy.xml")) then
+ FileSystemObj.CopyFile DistDir & "attribute-policy.xml", ConfigDir, false
+ End If
+
' Finally, fix up schema catalogs.
XMLDir = InstallDir & "\share\xml\xmltooling\"