[apparmor] [patch] techdoc.pdf improvements

Kees Cook kees at ubuntu.com
Tue May 8 21:44:02 UTC 2012


Hi Christian,

On Tue, May 08, 2012 at 09:59:11PM +0200, Christian Boltz wrote:
> - make table of contents, footnotes etc. clickable hyperlinks

Nice!

> - use timestamp of techdoc.tex (instead of build time) as creationdate
>   in the PDF metadata
> - don't include build date on first page of the PDF

Oh good -- this had been bothering me.

> - make clean:
>   - delete techdoc.out (created by pdftex)
>   - fix deletion of techdoc.txt (was techdo_r_.txt)

Hah, whoops.

> The initial target was to get reproduceable PDF builds (therefore the 
> timestamp-related changes), the other things came up during discussing
> this patch with David Haller.
> 
> The only remaining difference in the PDF from build to build is the /ID
> line.  This line can't be controlled in pdflatex and is now filtered 
> out by build-compare in the openSUSE build service (bnc#760867).
> 
> Credits go to David Haller for writing large parts of this patch
> (but he didn't notice the techdo_r_.txt ;-)

Looks like our pdflatex outputs differ. On Debian/Ubuntu, there's no
techdoc.txt generated:

-rw-rw-r--  1 kees kees   3542 May  8 14:41 techdoc.aux
-rw-rw-r--  1 kees kees   2200 May  8 14:41 techdoc.toc
-rw-rw-r--  1 kees kees 246153 May  8 14:41 techdoc.pdf
-rw-rw-r--  1 kees kees  14265 May  8 14:41 techdoc.log


> Signed-Off-By: Christian Boltz <apparmor at cboltz.de>

Acked-by: Kees Cook <kees at ubuntu.com>

-- 
Kees Cook



More information about the AppArmor mailing list