cvs commit: ALFS/nALFS/src/handlers alfs.c configure.c copy.c download.c execute.c link.c make.c mkdir.c move.c ownership.c package.c patch.c permissions.c remove.c search_replace.c stage.c textdump.c unpack.c

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sun Nov 23 11:38:17 PST 2003


kpfleming    03/11/23 12:38:17

  Modified:    DTD      ALFS-CVS.dtd
               nALFS/src/handlers alfs.c configure.c copy.c download.c
                        execute.c link.c make.c mkdir.c move.c ownership.c
                        package.c patch.c permissions.c remove.c
                        search_replace.c stage.c textdump.c unpack.c
  Log:
  prepare to support syntax version 3.2
  
  Revision  Changes    Path
  1.2       +1 -1      ALFS/DTD/ALFS-CVS.dtd
  
  Index: ALFS-CVS.dtd
  ===================================================================
  RCS file: /home/cvsroot/ALFS/DTD/ALFS-CVS.dtd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ALFS-CVS.dtd	2 Nov 2003 19:57:17 -0000	1.1
  +++ ALFS-CVS.dtd	23 Nov 2003 19:38:16 -0000	1.2
  @@ -26,7 +26,7 @@
   <!ELEMENT alfs           ((%ops;)*)>
   <!ATTLIST alfs
             base           CDATA #IMPLIED
  -          version        CDATA #FIXED "3.1">
  +          version        CDATA #FIXED "3.2">
   
   <!ELEMENT archive        (#PCDATA)>
   
  
  
  
  1.11      +13 -0     ALFS/nALFS/src/handlers/alfs.c
  
  Index: alfs.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/alfs.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- alfs.c	4 Nov 2003 19:42:51 -0000	1.10
  +++ alfs.c	23 Nov 2003 19:38:16 -0000	1.11
  @@ -86,6 +86,19 @@
   		.priority = 0
   	},
   #endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "alfs",
  +		.description = "ALFS profile",
  +		.syntax_version = "3.2",
  +		.parameters = alfs_parameters,
  +		.main = alfs_main,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 0,
  +		.priority = 0
  +	},
  +#endif
   	{
   		NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 0
   	}
  
  
  
  1.12      +15 -2     ALFS/nALFS/src/handlers/configure.c
  
  Index: configure.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/configure.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- configure.c	6 Nov 2003 17:01:13 -0000	1.11
  +++ configure.c	23 Nov 2003 19:38:16 -0000	1.12
  @@ -81,7 +81,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *configure_parameters_ver3[] =
   { "param", "prefix", NULL };
  @@ -123,7 +123,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -162,6 +162,19 @@
   		.name = "configure",
   		.description = "Configure",
   		.syntax_version = "3.1",
  +		.parameters = configure_parameters_ver3,
  +		.main = configure_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "configure",
  +		.description = "Configure",
  +		.syntax_version = "3.2",
   		.parameters = configure_parameters_ver3,
   		.main = configure_main_ver3,
   		.type = 0,
  
  
  
  1.12      +15 -2     ALFS/nALFS/src/handlers/copy.c
  
  Index: copy.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/copy.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- copy.c	6 Nov 2003 17:01:13 -0000	1.11
  +++ copy.c	23 Nov 2003 19:38:16 -0000	1.12
  @@ -127,7 +127,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *copy_parameters_ver3[] =
   { "option", "source", "destination", NULL };
  @@ -219,7 +219,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -258,6 +258,19 @@
   		.name = "copy",
   		.description = "Copy",
   		.syntax_version = "3.1",
  +		.parameters = copy_parameters_ver3,
  +		.main = copy_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "copy",
  +		.description = "Copy",
  +		.syntax_version = "3.2",
   		.parameters = copy_parameters_ver3,
   		.main = copy_main_ver3,
   		.type = 0,
  
  
  
  1.12      +15 -2     ALFS/nALFS/src/handlers/download.c
  
  Index: download.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/download.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- download.c	6 Nov 2003 17:01:13 -0000	1.11
  +++ download.c	23 Nov 2003 19:38:16 -0000	1.12
  @@ -49,7 +49,7 @@
   #define El_download_destination(el) alloc_trimmed_param_value("destination", el)
   
   
  -#if HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *download_parameters[] =
   { "digest", "file", "url", "destination", NULL };
  @@ -137,7 +137,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -150,6 +150,19 @@
   		.name = "download",
   		.description = "Download",
   		.syntax_version = "3.1",
  +		.parameters = download_parameters,
  +		.main = download_main,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "download",
  +		.description = "Download",
  +		.syntax_version = "3.2",
   		.parameters = download_parameters,
   		.main = download_main,
   		.type = 0,
  
  
  
  1.15      +15 -2     ALFS/nALFS/src/handlers/execute.c
  
  Index: execute.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/execute.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- execute.c	6 Nov 2003 17:01:13 -0000	1.14
  +++ execute.c	23 Nov 2003 19:38:16 -0000	1.15
  @@ -88,7 +88,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *execute_parameters_ver3[] =
   { "base", "command", "param", "prefix", NULL };
  @@ -145,7 +145,7 @@
   	return NULL;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -184,6 +184,19 @@
   		.name = "execute",
   		.description = "Execute",
   		.syntax_version = "3.1",
  +		.parameters = execute_parameters_ver3,
  +		.main = execute_main_ver3,
  +		.type = HTYPE_EXECUTE,
  +		.alloc_data = execute_data_ver3,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "execute",
  +		.description = "Execute",
  +		.syntax_version = "3.2",
   		.parameters = execute_parameters_ver3,
   		.main = execute_main_ver3,
   		.type = HTYPE_EXECUTE,
  
  
  
  1.12      +15 -2     ALFS/nALFS/src/handlers/link.c
  
  Index: link.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/link.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- link.c	6 Nov 2003 17:01:13 -0000	1.11
  +++ link.c	23 Nov 2003 19:38:16 -0000	1.12
  @@ -134,7 +134,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *link_parameters_ver3[] =
   { "option", "target", "name", NULL };
  @@ -250,7 +250,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -289,6 +289,19 @@
   		.name = "link",
   		.description = "Link",
   		.syntax_version = "3.1",
  +		.parameters = link_parameters_ver3,
  +		.main = link_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "link",
  +		.description = "Link",
  +		.syntax_version = "3.2",
   		.parameters = link_parameters_ver3,
   		.main = link_main_ver3,
   		.type = 0,
  
  
  
  1.12      +15 -2     ALFS/nALFS/src/handlers/make.c
  
  Index: make.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/make.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- make.c	6 Nov 2003 17:01:13 -0000	1.11
  +++ make.c	23 Nov 2003 19:38:16 -0000	1.12
  @@ -75,7 +75,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *make_parameters_ver3[] = { "param", "prefix", NULL };
   // char *HANDLER_SYMBOL(attributes)[] = { "base", NULL };
  @@ -113,7 +113,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -152,6 +152,19 @@
   		.name = "make",
   		.description = "Run make",
   		.syntax_version = "3.1",
  +		.parameters = make_parameters_ver3,
  +		.main = make_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "make",
  +		.description = "Run make",
  +		.syntax_version = "3.2",
   		.parameters = make_parameters_ver3,
   		.main = make_main_ver3,
   		.type = 0,
  
  
  
  1.12      +15 -2     ALFS/nALFS/src/handlers/mkdir.c
  
  Index: mkdir.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/mkdir.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mkdir.c	6 Nov 2003 17:01:13 -0000	1.11
  +++ mkdir.c	23 Nov 2003 19:38:16 -0000	1.12
  @@ -116,7 +116,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *mkdir_parameters_ver3[] =
   { "option", "name", "permissions", NULL };
  @@ -211,7 +211,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -250,6 +250,19 @@
   		.name = "mkdir",
   		.description = "Make directories",
   		.syntax_version = "3.1",
  +		.parameters = mkdir_parameters_ver3,
  +		.main = mkdir_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "mkdir",
  +		.description = "Make directories",
  +		.syntax_version = "3.2",
   		.parameters = mkdir_parameters_ver3,
   		.main = mkdir_main_ver3,
   		.type = 0,
  
  
  
  1.12      +15 -2     ALFS/nALFS/src/handlers/move.c
  
  Index: move.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/move.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- move.c	6 Nov 2003 17:01:13 -0000	1.11
  +++ move.c	23 Nov 2003 19:38:16 -0000	1.12
  @@ -106,7 +106,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *move_parameters_ver3[] =
   { "option", "source", "destination", NULL };
  @@ -174,7 +174,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -213,6 +213,19 @@
   		.name = "move",
   		.description = "Move files",
   		.syntax_version = "3.1",
  +		.parameters = move_parameters_ver3,
  +		.main = move_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "move",
  +		.description = "Move files",
  +		.syntax_version = "3.2",
   		.parameters = move_parameters_ver3,
   		.main = move_main_ver3,
   		.type = 0,
  
  
  
  1.10      +15 -2     ALFS/nALFS/src/handlers/ownership.c
  
  Index: ownership.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/ownership.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ownership.c	6 Nov 2003 17:01:13 -0000	1.9
  +++ ownership.c	23 Nov 2003 19:38:16 -0000	1.10
  @@ -37,7 +37,7 @@
   #include "backend.h"
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *ownership_parameters[] = { "option", "name", NULL };
   // char *HANDLER_SYMBOL(attributes)[] = { "base", "user", "group", NULL };
  @@ -161,7 +161,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -187,6 +187,19 @@
   		.name = "ownership",
   		.description = "Change ownership",
   		.syntax_version = "3.1",
  +		.parameters = ownership_parameters,
  +		.main = ownership_main,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "ownership",
  +		.description = "Change ownership",
  +		.syntax_version = "3.2",
   		.parameters = ownership_parameters,
   		.main = ownership_main,
   		.type = 0,
  
  
  
  1.13      +15 -2     ALFS/nALFS/src/handlers/package.c
  
  Index: package.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/package.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- package.c	6 Nov 2003 17:01:13 -0000	1.12
  +++ package.c	23 Nov 2003 19:38:16 -0000	1.13
  @@ -76,7 +76,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static INLINE int check_utilizes(element_s *utilizes)
   {
  @@ -273,7 +273,7 @@
   	return NULL;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -312,6 +312,19 @@
   		.name = "package",
   		.description = "Package",
   		.syntax_version = "3.1",
  +		.parameters = package_parameters_ver3,
  +		.main = package_main_ver3,
  +		.type = HTYPE_PACKAGE,
  +		.alloc_data = package_data_ver3,
  +		.is_action = 0,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "package",
  +		.description = "Package",
  +		.syntax_version = "3.2",
   		.parameters = package_parameters_ver3,
   		.main = package_main_ver3,
   		.type = HTYPE_PACKAGE,
  
  
  
  1.14      +15 -2     ALFS/nALFS/src/handlers/patch.c
  
  Index: patch.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/patch.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- patch.c	6 Nov 2003 17:01:13 -0000	1.13
  +++ patch.c	23 Nov 2003 19:38:16 -0000	1.14
  @@ -80,7 +80,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *patch_parameters_ver3[] = { "param", "prefix", NULL };
   // char *HANDLER_SYMBOL(attributes)[] = { "base", NULL };
  @@ -134,7 +134,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -173,6 +173,19 @@
   		.name = "patch",
   		.description = "Patch",
   		.syntax_version = "3.1",
  +		.parameters = patch_parameters_ver3,
  +		.main = patch_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "patch",
  +		.description = "Patch",
  +		.syntax_version = "3.2",
   		.parameters = patch_parameters_ver3,
   		.main = patch_main_ver3,
   		.type = 0,
  
  
  
  1.12      +15 -2     ALFS/nALFS/src/handlers/permissions.c
  
  Index: permissions.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/permissions.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- permissions.c	6 Nov 2003 17:01:13 -0000	1.11
  +++ permissions.c	23 Nov 2003 19:38:16 -0000	1.12
  @@ -128,7 +128,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *permissions_parameters_ver3[] =
   { "option", "name", NULL };
  @@ -206,7 +206,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -245,6 +245,19 @@
   		.name = "permissions",
   		.description = "Change permissions",
   		.syntax_version = "3.1",
  +		.parameters = permissions_parameters_ver3,
  +		.main = permissions_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "permissions",
  +		.description = "Change permissions",
  +		.syntax_version = "3.2",
   		.parameters = permissions_parameters_ver3,
   		.main = permissions_main_ver3,
   		.type = 0,
  
  
  
  1.13      +15 -2     ALFS/nALFS/src/handlers/remove.c
  
  Index: remove.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/remove.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- remove.c	6 Nov 2003 17:01:13 -0000	1.12
  +++ remove.c	23 Nov 2003 19:38:16 -0000	1.13
  @@ -96,7 +96,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static int remove_main_ver3(element_s *el)
   {
  @@ -124,7 +124,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -163,6 +163,19 @@
   		.name = "remove",
   		.description = "Remove files",
   		.syntax_version = "3.1",
  +		.parameters = remove_parameters_ver,
  +		.main = remove_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "remove",
  +		.description = "Remove files",
  +		.syntax_version = "3.2",
   		.parameters = remove_parameters_ver,
   		.main = remove_main_ver3,
   		.type = 0,
  
  
  
  1.13      +15 -2     ALFS/nALFS/src/handlers/search_replace.c
  
  Index: search_replace.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/search_replace.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- search_replace.c	6 Nov 2003 17:01:13 -0000	1.12
  +++ search_replace.c	23 Nov 2003 19:38:16 -0000	1.13
  @@ -203,7 +203,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *search_replace_parameters_ver3[] =
   { "find", "replace", "file", NULL };
  @@ -221,7 +221,7 @@
   	return i;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -260,6 +260,19 @@
   		.name = "search_replace",
   		.description = "Search and replace",
   		.syntax_version = "3.1",
  +		.parameters = search_replace_parameters_ver3,
  +		.main = search_replace_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "search_replace",
  +		.description = "Search and replace",
  +		.syntax_version = "3.2",
   		.parameters = search_replace_parameters_ver3,
   		.main = search_replace_main_ver3,
   		.type = 0,
  
  
  
  1.13      +15 -2     ALFS/nALFS/src/handlers/stage.c
  
  Index: stage.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/stage.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- stage.c	6 Nov 2003 17:01:13 -0000	1.12
  +++ stage.c	23 Nov 2003 19:38:16 -0000	1.13
  @@ -50,7 +50,7 @@
   extern char **environ;
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static INLINE int set_supplementary_groups(const char *user, gid_t gid)
   {
  @@ -410,7 +410,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -436,6 +436,19 @@
   		.name = "stage",
   		.description = "Enter stage: ", // FIXME
   		.syntax_version = "3.1",
  +		.parameters = stage_parameters,
  +		.main = stage_main,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 0,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "stage",
  +		.description = "Enter stage: ", // FIXME
  +		.syntax_version = "3.2",
   		.parameters = stage_parameters,
   		.main = stage_main,
   		.type = 0,
  
  
  
  1.14      +15 -2     ALFS/nALFS/src/handlers/textdump.c
  
  Index: textdump.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/textdump.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- textdump.c	6 Nov 2003 17:01:13 -0000	1.13
  +++ textdump.c	23 Nov 2003 19:38:16 -0000	1.14
  @@ -129,7 +129,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *textdump_parameters_ver3[] =
   { "file", "content", NULL };
  @@ -148,7 +148,7 @@
   }
   
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   static char *textdump_data(element_s *el, handler_data_e data)
  @@ -196,6 +196,19 @@
   		.name = "textdump",
   		.description = "Dump text",
   		.syntax_version = "3.1",
  +		.parameters = textdump_parameters_ver3,
  +		.main = textdump_main_ver3,
  +		.type = HTYPE_TEXTDUMP,
  +		.alloc_data = textdump_data,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "textdump",
  +		.description = "Dump text",
  +		.syntax_version = "3.2",
   		.parameters = textdump_parameters_ver3,
   		.main = textdump_main_ver3,
   		.type = HTYPE_TEXTDUMP,
  
  
  
  1.18      +15 -2     ALFS/nALFS/src/handlers/unpack.c
  
  Index: unpack.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/unpack.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- unpack.c	6 Nov 2003 17:01:13 -0000	1.17
  +++ unpack.c	23 Nov 2003 19:38:16 -0000	1.18
  @@ -163,7 +163,7 @@
   #endif /* HANDLER_SYNTAX_2_0 */
   
   
  -#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1
  +#if HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static const char *unpack_parameters_ver3[] =
   { "digest", "reference", "archive", "destination", NULL };
  @@ -248,7 +248,7 @@
   	return status;
   }
   
  -#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 */
  +#endif /* HANDLER_SYNTAX_3_0 || HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2 */
   
   
   /*
  @@ -287,6 +287,19 @@
   		.name = "unpack",
   		.description = "Unpack",
   		.syntax_version = "3.1",
  +		.parameters = unpack_parameters_ver3,
  +		.main = unpack_main_ver3,
  +		.type = 0,
  +		.alloc_data = NULL,
  +		.is_action = 1,
  +		.priority = 0
  +	},
  +#endif
  +#if HANDLER_SYNTAX_3_2
  +	{
  +		.name = "unpack",
  +		.description = "Unpack",
  +		.syntax_version = "3.2",
   		.parameters = unpack_parameters_ver3,
   		.main = unpack_main_ver3,
   		.type = 0,
  
  
  



More information about the alfs-log mailing list