diff options
author | Fredrik Åslund <fredrik.aslund@umu.se> | 2013-09-24 10:19:38 +0200 |
---|---|---|
committer | Fredrik Åslund <fredrik.aslund@umu.se> | 2013-09-24 10:19:38 +0200 |
commit | 46b6a83aaecbddd698972839c8470835ac7211d6 (patch) | |
tree | 1ae4425a981267795b13981f410e938dd0fa0953 /NewMakefileWithSp | |
parent | bca2bb6b51904fc80667281e16ac25a02e615e07 (diff) |
swamid-1.0* removed
nya-1.0* removed
non-used metadata moved to swamid-2.0-obsolete
swamid-1.0/* moved to swamid-2.0/
nya-1.0/* moved to swamid-2.0/
mxml cleaned from swamid-1.0 data
Makefile cleaned from nya-1.0 and swamid-1.0 data
Diffstat (limited to 'NewMakefileWithSp')
-rw-r--r-- | NewMakefileWithSp | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/NewMakefileWithSp b/NewMakefileWithSp deleted file mode 100644 index 1341812e..00000000 --- a/NewMakefileWithSp +++ /dev/null @@ -1,73 +0,0 @@ - -KEY=/opt/swamid-credentials/swamid-signer.key -CERT=/opt/swamid-credentials/swamid-signer.crt -PASS=$(shell cat /opt/swamid-credentials/swamid-signer-pass.txt) -DEST=/opt/published-metadata - -all: update clean sign - -update: -# @svn up -q - -keys: $(KEY) $(CERT) - -MXML=$(shell echo *.mxml) - -sign: keys swamid nya swamid-compat nya-testing old-swamid-testing swamid-testing swamid-testing-idp swamid-testing-sp swamid-kalmar swamid-edugain-testing swamid-ki-sll - -urn-mace-swami.se-swamid-test-1.0-metadata.mxml: - @sed 's!http://md.swamid.se/md/swamid-1.0.xml!urn:mace:swami.se:swamid:test-1.0!g' < swamid-1.0.mxml > urn-mace-swami.se-swamid-test-1.0-metadata.mxml - -swamid-compat: urn-mace-swami.se-swamid-test-1.0-metadata.mxml - @saml-md-tool urn-mace-swami.se-swamid-test-1.0-metadata update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s urn-mace-swami.se-swamid-test-1.0-metadata-unsigned.xml && cp urn-mace-swami.se-swamid-test-1.0-metadata-unsigned.xml $(DEST)/urn-mace-swami.se-swamid-test-1.0-metadata.xml - @test -s urn-mace-swami.se-swamid-test-1.0-metadata.xml && cp urn-mace-swami.se-swamid-test-1.0-metadata.xml $(DEST)/urn-mace-swami.se-swamid-test-1.0-metadata-signed.xml - @rm -f urn-mace-swami.se-swamid-test-1.0-metadata.mxml - -swamid: - @saml-md-tool swamid-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s swamid-1.0.xml && cp swamid-1.0.xml $(DEST) - @test -s swamid-1.0-unsigned.xml && cp swamid-1.0-unsigned.xml $(DEST) - -nya: - @saml-md-tool nya-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s nya-1.0.xml && cp nya-1.0.xml $(DEST) - @test -s nya-1.0-unsigned.xml && cp nya-1.0-unsigned.xml $(DEST) - -nya-testing: - @saml-md-tool nya-1.0-testing update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s nya-1.0-testing.xml && cp nya-1.0-testing.xml $(DEST) - -swamid-testing: - @saml-md-tool swamid-testing-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s swamid-testing-1.0.xml && cp swamid-testing-1.0.xml $(DEST) - -swamid-testing-idp: - @saml-md-tool swamid-testing-idp-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s swamid-testing-idp-1.0.xml && cp swamid-testing-idp-1.0.xml $(DEST) - -swamid-testing-sp: - @saml-md-tool swamid-testing-sp-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s swamid-testing-sp-1.0.xml && cp swamid-testing-sp-1.0.xml $(DEST) - -old-swamid-testing: - @saml-md-tool swamid-1.0-testing update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s swamid-1.0-testing.xml && cp swamid-1.0-testing.xml $(DEST) - -swamid-edugain-testing: - @saml-md-tool swamid-edugain-testing-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s swamid-edugain-testing-1.0.xml && cp swamid-edugain-testing-1.0.xml $(DEST) - -swamid-kalmar: - @saml-md-tool swamid-kalmar-1.0 update --days=2 --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s swamid-kalmar-1.0.xml && cp swamid-kalmar-1.0.xml $(DEST) - -swamid-ki-sll: - @saml-md-tool swamid-ki-sll-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) - @test -s swamid-ki-sll-1.0.xml && cp swamid-ki-sll-1.0.xml $(DEST) - -test: - @for x in $(MXML); do xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x; done - -clean: - @rm -f *.xml |