Skip to content

Commit

Permalink
Merge pull request #3 from huitema/kaiserd
Browse files Browse the repository at this point in the history
Kaiserd
  • Loading branch information
huitema committed May 23, 2016
2 parents 9ec26da + 84a891a commit 6c2a350
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*.txt
*.html
*.ps
*.pdf
43 changes: 30 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
TARGET = draft-huitema-dnssd-privacy
SOURCE = ${TARGET}.xml
TRANSLATE = xml2rfc
TXT = ${TARGET}.txt
HTML = ${TARGET}.html
RM = rm -f
TARGET = draft-huitema-dnssd-privacy
SOURCE = ${TARGET}.xml
TXT = ${TARGET}.txt
HTML = ${TARGET}.html
PS = ${TARGET}.ps
PDF = ${TARGET}.pdf

.PHONY: all,txt,html,clean
XML2TXT = xml2rfc --text
XML2HTML = xml2rfc --html
TXT2PS = enscript -p
PS2PDF = ps2pdf
PDFREWORK = pdfcrop

all: txt html
RM = rm -f

txt: ${SOURCE}
${TRANSLATE} --text ${SOURCE}
.PHONY: all, html, txt, pdf, clean

html: ${SOURCE}
${TRANSLATE} --html ${SOURCE}
all: txt html pdf

%.txt: %.xml ${SOURCE}
${XML2TXT} $<

%.html: %.xml ${SOURCE}
${XML2HTML} $<

html: ${HTML}

txt: ${TXT}

pdf: ${TXT}
${TXT2PS} ${PS} ${TXT}
${PS2PDF} ${PS} ${PDF}
${PDFREWORK} ${PDF} ${PDF}

clean:
${RM} ${TXT} ${HTML}
${RM} ${TXT} ${HTML} ${PS} ${PDF}
2 changes: 1 addition & 1 deletion draft-huitema-dnssd-privacy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ pick the fist item. The discovery will "just work".
<t>
However, DNS-SD/mDNS will reveal to anybody that Alice is currently visiting the Internet Cafe.
It further discloses the fact that she uses two devices, shares an image store, and uses a chat application supporting the
_presence protocol on both of her devices. She might currenty chat with Bob or Carol, as they are also using a _presence supporting chat application.
_presence protocol on both of her devices. She might currently chat with Bob or Carol, as they are also using a _presence supporting chat application.
This information is not just available to devices actively browsing for and offering services, but to anybody passively listing to the network traffic.
</t>
</section>
Expand Down

0 comments on commit 6c2a350

Please sign in to comment.