pf-tools commit: r835 [ccaillet-guest] - in /branches/next-gen: TODO debian/changelog doc/updatefile-syntax

parmelan-guest at users.alioth.debian.org parmelan-guest at users.alioth.debian.org
Mon Aug 23 13:17:55 UTC 2010


Author: ccaillet-guest
Date: Mon Aug 23 13:17:54 2010
New Revision: 835

URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=835
Log:
* doc/updatefile-syntax
  - basic documentation about update file

Added:
    branches/next-gen/doc/updatefile-syntax
Modified:
    branches/next-gen/TODO
    branches/next-gen/debian/changelog

Modified: branches/next-gen/TODO
URL: http://svn.debian.org/wsvn/pf-tools/branches/next-gen/TODO?rev=835&op=diff
==============================================================================
--- branches/next-gen/TODO (original)
+++ branches/next-gen/TODO Mon Aug 23 13:17:54 2010
@@ -1,7 +1,6 @@
 /--Priority: Low/Medium/Urgent
 |/-Difficulty: Easy/Medium/Hard
 ||
-LM split $FUNCTIONS{'XXX'} from PFTools::Update to PFTools::Update::XXX
 LM creating a tool to see vlan mapping e.g. all hosts defined for a specified vlan
    on a given site (including empty range into this vlan)
 LH alias definition like CONFIG: in pf-tools.conf file for using in Get_source

Modified: branches/next-gen/debian/changelog
URL: http://svn.debian.org/wsvn/pf-tools/branches/next-gen/debian/changelog?rev=835&op=diff
==============================================================================
--- branches/next-gen/debian/changelog (original)
+++ branches/next-gen/debian/changelog Mon Aug 23 13:17:54 2010
@@ -35,8 +35,10 @@
     - extrating apt-get functions (action and depends) from Update.pm
   * debian/control
     - adding libtext-diff-perl as depends for pf-tools package
-
- -- Christophe Caillet <quadchris at free.fr>  Mon, 23 Aug 2010 11:25:08 +0200
+  * doc/updatefile-syntax
+    - basic documentation about update file
+
+ -- Christophe Caillet <quadchris at free.fr>  Mon, 23 Aug 2010 14:50:49 +0200
 
 pf-tools (0.99.98-1) unstable; urgency=low
 

Added: branches/next-gen/doc/updatefile-syntax
URL: http://svn.debian.org/wsvn/pf-tools/branches/next-gen/doc/updatefile-syntax?rev=835&op=file
==============================================================================
--- branches/next-gen/doc/updatefile-syntax (added)
+++ branches/next-gen/doc/updatefile-syntax Mon Aug 23 13:17:54 2010
@@ -1,0 +1,108 @@
+SYNOPSYS : addfile or creatfile
+	* addfile		: adding a file and updating it according to the source
+	* createfile	: creating a file from source or "touch" it if no source is defined. If the file
+					  already exist even if the file is not equal to the source the creation is done
+					  and existant datas are lost
+[<file_path>]
+	! action		::= addfile|createfile
+	? depends		::= space separated list for handling section's depends
+	! source		::= space separated list containing the source(s) file(s). Each element are concatenated
+						in order defined
+	? filter		::= command(s) which is(are) executed for filtering source to obtain the final file. You
+						can use backslash char for using multiline command(s) like in bash script
+	? owner			::= username or UID for the result file. Default user is root
+	? group			::= group or GID for the result file. Default group is root
+	? mode			::= mode for the result file (use chmod syntax). Default mode is 0755
+	? on_config		::= command(s) which is(are) executed before changing the file even if noaction parameter
+						is used with update-config command. You can use backslash char for using multiline
+						command(s) like in bash script
+	? before_change	::= command(s) which is(are) executed before changing the file, if noaction parameter
+						is used with update-config, this(these) command(s) is(are) ignored. You can use
+						backslash char for using multiline command(s) like in bash script
+	? on_noaction	::= command(s) which is(are) executed after changing the file even if noaction parameter
+						is used with update-config command. You can use backslash char for using multiline
+						command(s) like in bash script
+	? after_change	::= command(s) which is(are) executed after changing the file, if noaction parameter
+						is used with update-config, this(these) command(s) is(are) ignored. You can use
+						backslash char for using multiline command(s) like in bash script
+
+SYNOPSYS : addlink
+	* addlink	: adding a symlink to a specified source
+	
+[<file_path>]
+	! action		::= addlink
+	? depends		::= space separated list for handling section's depends
+	! source		::= source for the symlink
+	? owner			::= username or UID for the result file. Default user is root
+	? group			::= group or GID for the result file. Default group is root
+	? mode			::= mode for the result file (use chmod syntax). Default mode is 0755
+	? on_config		::= command(s) which is(are) executed before changing the file even if noaction parameter
+						is used with update-config command. You can use backslash char for using multiline
+						command(s) like in bash script
+	? before_change	::= command(s) which is(are) executed before changing the file, if noaction parameter
+						is used with update-config, this(these) command(s) is(are) ignored. You can use
+						backslash char for using multiline command(s) like in bash script
+	? on_noaction	::= command(s) which is(are) executed after changing the file even if noaction parameter
+						is used with update-config command. You can use backslash char for using multiline
+						command(s) like in bash script
+	? after_change	::= command(s) which is(are) executed after changing the file, if noaction parameter
+						is used with update-config, this(these) command(s) is(are) ignored. You can use
+						backslash char for using multiline command(s) like in bash script
+
+SYNOPSYS : removefile
+	* removefile	: removing a file if exists
+	* removedir		: removing a directory if exists
+
+[<file_path>]
+	! action		::= removefile|removedir
+	? on_config		::= command(s) which is(are) executed before changing the file even if noaction parameter
+						is used with update-config command. You can use backslash char for using multiline
+						command(s) like in bash script
+	? before_change	::= command(s) which is(are) executed before changing the file, if noaction parameter
+						is used with update-config, this(these) command(s) is(are) ignored. You can use
+						backslash char for using multiline command(s) like in bash script
+	? on_noaction	::= command(s) which is(are) executed after changing the file even if noaction parameter
+						is used with update-config command. You can use backslash char for using multiline
+						command(s) like in bash script
+	? after_change	::= command(s) which is(are) executed after changing the file, if noaction parameter
+						is used with update-config, this(these) command(s) is(are) ignored. You can use
+						backslash char for using multiline command(s) like in bash script
+
+SYNOPSYS : installpkg
+	* installpkg	: installing a package
+
+[<pkg_name>]
+	! action				::= installpkg|apt-get. Warning : apt-get is now obsolete.
+	? version				::= package version number as defined in distrib
+	? deconf.<debconf_var>	::= <debconf_value> (debian specific directive)
+	? on_config				::= command(s) which is(are) executed before changing the file even if noaction parameter
+								is used with update-config command. You can use backslash char for using multiline
+								command(s) like in bash script
+	? before_change			::= command(s) which is(are) executed before changing the file, if noaction parameter
+								is used with update-config, this(these) command(s) is(are) ignored. You can use
+								backslash char for using multiline command(s) like in bash script
+	? on_noaction			::= command(s) which is(are) executed after changing the file even if noaction parameter
+								is used with update-config command. You can use backslash char for using multiline
+								command(s) like in bash script
+	? after_change			::= command(s) which is(are) executed after changing the file, if noaction parameter
+								is used with update-config, this(these) command(s) is(are) ignored. You can use
+								backslash char for using multiline command(s) like in bash script
+
+SYNOPSYS : purgepkg
+	* purgepkg	: purging an installed package
+
+[<pkg_name>]
+	! action		::= purgepkg|dpkg-purge. Warning: dpkg-purge is now obsolete
+	? version		::= package version number as defined in distrib
+	? on_config		::= command(s) which is(are) executed before changing the file even if noaction parameter
+						is used with update-config command. You can use backslash char for using multiline
+						command(s) like in bash script
+	? before_change	::= command(s) which is(are) executed before changing the file, if noaction parameter
+						is used with update-config, this(these) command(s) is(are) ignored. You can use
+						backslash char for using multiline command(s) like in bash script
+	? on_noaction	::= command(s) which is(are) executed after changing the file even if noaction parameter
+						is used with update-config command. You can use backslash char for using multiline
+						command(s) like in bash script
+	? after_change	::= command(s) which is(are) executed after changing the file, if noaction parameter
+						is used with update-config, this(these) command(s) is(are) ignored. You can use
+						backslash char for using multiline command(s) like in bash script




More information about the pf-tools-commits mailing list