From: Todd C. Miller Date: Mon, 18 Feb 2008 15:42:43 +0000 (+0000) Subject: Remove the =cut on the first line (above the copyright notice) to quiet X-Git-Tag: SUDO_1_7_0~187 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a1e2dfb593f6c983ddd7f5be770f855175f6625;p=sudo Remove the =cut on the first line (above the copyright notice) to quiet pod2man. Also remove the hackery in the FILES section and just deal with the fact that there will a newline between each pathname. --- diff --git a/Makefile.in b/Makefile.in index 60ad9f663..759c178ca 100644 --- a/Makefile.in +++ b/Makefile.in @@ -349,7 +349,7 @@ sia.o: $(authdir)/sia.c $(AUTHDEP) sudo.man.in: $(srcdir)/sudo.pod @rm -f $(srcdir)/$@ - ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e 1d -e '/^=pod/q' -e 's/^/.\\" /p' sudo.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectsu --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudo.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" | perl -p sudo.man.pl >> $@ ) + ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e '/^=pod/q' -e 's/^/.\\" /p' sudo.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectsu --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudo.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" | perl -p sudo.man.pl >> $@ ) sudo.man: sudo.man.in CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status @@ -358,7 +358,7 @@ sudo.cat: sudo.man visudo.man.in: $(srcdir)/visudo.pod @rm -f $(srcdir)/$@ - ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e 1d -e '/^=pod/q' -e 's/^/.\\" /p' visudo.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectsu --release=$(VERSION) --center="MAINTENANCE COMMANDS" visudo.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" >> $@ ) + ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e '/^=pod/q' -e 's/^/.\\" /p' visudo.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectsu --release=$(VERSION) --center="MAINTENANCE COMMANDS" visudo.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" >> $@ ) visudo.man: visudo.man.in CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status @@ -367,7 +367,7 @@ visudo.cat: visudo.man sudoers.man.in: $(srcdir)/sudoers.pod @rm -f $(srcdir)/$@ - ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e 1d -e '/^=pod/q' -e 's/^/.\\" /p' sudoers.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectform --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudoers.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" >> $@ ) + ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e '/^=pod/q' -e 's/^/.\\" /p' sudoers.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectform --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudoers.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" >> $@ ) sudoers.man:: sudoers.man.in CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status @@ -376,7 +376,7 @@ sudoers.cat: sudoers.man sudoers.ldap.man.in: $(srcdir)/sudoers.ldap.pod @rm -f $(srcdir)/$@ - ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e 1d -e '/^=pod/q' -e 's/^/.\\" /p' sudoers.ldap.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectform --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudoers.ldap.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" >> $@ ) + ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e '/^=pod/q' -e 's/^/.\\" /p' sudoers.ldap.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectform --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudoers.ldap.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" >> $@ ) sudoers.ldap.man:: sudoers.ldap.man.in CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status diff --git a/sudo.pod b/sudo.pod index ecb5b3746..b1b59a5d6 100644 --- a/sudo.pod +++ b/sudo.pod @@ -1,4 +1,3 @@ -=cut Copyright (c) 1994-1996, 1998-2005, 2007 Todd C. Miller @@ -514,13 +513,19 @@ Default editor to use in B<-e> (sudoedit) mode =head1 FILES -=over 4 +=over 24 + +=item F<@sysconfdir@/sudoers> + +List of who can run what + +=item F<@timedir@> -=item F<@sysconfdir@/sudoers>C< >List of who can run what +Directory containing timestamps -=item F<@timedir@>C< >Directory containing timestamps +=item F -=item FC< >Initial environment for B<-i> mode on Linux and AIX +Initial environment for B<-i> mode on Linux and AIX =back diff --git a/sudoers.ldap.pod b/sudoers.ldap.pod index 9ca47be16..8c9622047 100644 --- a/sudoers.ldap.pod +++ b/sudoers.ldap.pod @@ -1,4 +1,3 @@ -=cut Copyright (c) 2003-2008 Todd C. Miller diff --git a/sudoers.pod b/sudoers.pod index def8c4f5b..4923e0fe7 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -1,4 +1,3 @@ -=cut Copyright (c) 1994-1996, 1998-2005, 2007 Todd C. Miller @@ -1105,15 +1104,18 @@ B, and B. =head1 FILES -=over 4 +=over 24 + +=item F<@sysconfdir@/sudoers> -=item F<@sysconfdir@/sudoers>C< > List of who can run what -=item FC< > +=item F + Local groups file -=item FC< > +=item F + List of network groups =back diff --git a/visudo.pod b/visudo.pod index c1f9e918c..caa788c4c 100644 --- a/visudo.pod +++ b/visudo.pod @@ -1,4 +1,3 @@ -=cut Copyright (c) 1996,1998-2005, 2007 Todd C. Miller Permission to use, copy, modify, and distribute this software for any @@ -125,11 +124,15 @@ Used by visudo if VISUAL is not set =head1 FILES -=over 4 +=over 24 + +=item F<@sysconfdir@/sudoers> + +List of who can run what -=item F<@sysconfdir@/sudoers>C< >List of who can run what +=item F<@sysconfdir@/sudoers.tmp> -=item F<@sysconfdir@/sudoers.tmp>C< >Lock file for visudo +Lock file for visudo =back