Changeset 3e800f9 in mod_gnutls for t/Makefile
- Timestamp:
- Jan 29, 2013, 9:56:00 PM (9 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, msva, proxy-ticket, upstream
- Children:
- 834d926
- Parents:
- 7d1ab49
- git-author:
- Daniel Kahn Gillmor <dkg@…> (01/29/13 21:40:33)
- git-committer:
- Daniel Kahn Gillmor <dkg@…> (01/29/13 21:56:00)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
t/Makefile
r7d1ab49 r3e800f9 26 26 ### for setting up a little miniature CA + server + client environment: 27 27 identities := server authority client imposter rogueca 28 tokens := x509.pem pubring.gpg secret.key28 tokens := x509.pem secring.gpg secret.key cert.pgp secret.pgp 29 29 all_tokens := $(foreach id,$(identities),$(foreach token,$(tokens),$(id)/$(token))) 30 30 … … 40 40 certtool --generate-privkey > $@ 41 41 42 %/ pubring.gpg: %.uid %/secret.key42 %/secring.gpg: %.uid %/secret.key 43 43 rm -f $(dir $@)pubring.gpg $(dir $@)secring.gpg $(dir $@)trustdb.gpg 44 44 PEM2OPENPGP_EXPIRATION=86400 PEM2OPENPGP_USAGE_FLAGS=authenticate,certify pem2openpgp "$$(cat $<)" < $(dir $@)secret.key | GNUPGHOME=$(dir $@) gpg --import 45 45 printf "%s:6:\n" "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)" | GNUPGHOME=$(dir $@) gpg --import-ownertrust 46 46 47 %/gpg.conf: %/secring.gpg 48 printf "default-key %s\n" "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)" > $@ 49 50 %/secret.pgp: %/secring.gpg 51 GNUPGHOME=$(dir $@) gpg --armor --batch --no-tty --yes --export-secret-key "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)" > $@ 52 53 %/minimal.pgp: %/secring.gpg 54 GNUPGHOME=$(dir $@) gpg --armor --export "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)" > $@ 55 56 %/cert.pgp: %/minimal.pgp authority/gpg.conf 57 GNUPGHOME=authority gpg --import $< 58 GNUPGHOME=authority gpg --batch --sign-key --no-tty --yes "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)" 59 GNUPGHOME=authority gpg --armor --export "$$(GNUPGHOME=$(dir $@) gpg --with-colons --list-secret-keys --fingerprint | grep ^fpr: | cut -f 10 -d :)" > $@ 60 61 # special cases for the authorities' root certs: 47 62 authority/x509.pem: authority.template authority/secret.key 48 63 certtool --generate-self-signed --load-privkey=authority/secret.key --template=authority.template > $@ … … 62 77 63 78 clean: 64 rm -rf server client authority logs cache outputs setup.done *.template79 rm -rf server client authority logs cache outputs setup.done server.template 65 80 66 81 .PHONY: all clean
Note: See TracChangeset
for help on using the changeset viewer.