[apparmor] [PATCH] make manpage release configurable

Kees Cook kees at ubuntu.com
Wed Nov 3 23:26:48 GMT 2010


Hi,

This makes the --release argument more tunable. Seems like this should
be upstream.

-Kees

---
Author: Jamie Strandboge <jamie at canonical.com>
Description: define MAN_RELEASE and use it
Forwarded: no

Index: apparmor-ubuntu/common/Make.rules
===================================================================
--- apparmor-ubuntu.orig/common/Make.rules	2010-10-27 13:58:00.529563568 -0700
+++ apparmor-ubuntu/common/Make.rules	2010-10-27 14:11:18.273655968 -0700
@@ -172,29 +172,31 @@
 	     $(foreach aa_page, $(filter %.${dir}, ${AA_MANPAGES}), \
 	     	ln -sf $(aa_page) ${DESTDIR}/${MANDIR}/man${dir}/${aa_page:%=aa-%};))
 
+MAN_RELEASE="Canonical, Ltd."
+
 %.1: %.pod
-	$(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=1 > $@
+	$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=1 > $@
 
 %.2: %.pod
-	$(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=2 > $@
+	$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=2 > $@
 
 %.3: %.pod
-	$(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=3 > $@
+	$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=3 > $@
 
 %.4: %.pod
-	$(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=4 > $@
+	$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=4 > $@
 
 %.5: %.pod
-	$(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=5 > $@
+	$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=5 > $@
 
 %.6: %.pod
-	$(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=6 > $@
+	$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=6 > $@
 
 %.7: %.pod
-	$(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=7 > $@
+	$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=7 > $@
 
 %.8: %.pod
-	$(POD2MAN) $< --release=NOVELL/SUSE --center=AppArmor --section=8 > $@
+	$(POD2MAN) $< --release=$(MAN_RELEASE) --center=AppArmor --section=8 > $@
 
 %.1.html: %.pod
 	$(POD2HTML) --header --css apparmor.css --infile=$< --outfile=$@


-- 
Kees Cook
Ubuntu Security Team



More information about the AppArmor mailing list