diff options
author | Stefan Eßer <se@FreeBSD.org> | 2018-12-23 07:19:01 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2018-12-23 07:19:01 +0000 |
commit | 4d6c49aae2f811fa43af5c75bdedd7e2527846ad (patch) | |
tree | e9e9ae9cf9f01b03e20dbf78c8b1db5ceba723a7 /misc/ctm/files/patch-ctm_ctm__syntax.c | |
parent | Update to the lastest MIT krb5 github commit. (diff) |
Apply changes developed by Stephen Montgomery-Smith and required to
actually use CTM to distribute FreeBSD updates. They have been further
refined by Julian H. Stacey.
These changes add support for delta numbers with more than 5 digits
and better compression formats.
Submitted by: Stephen Montgomery-Smith, Julian H. Stacey
Approved by: antoine (implicit)
Notes
Notes:
svn path=/head/; revision=488168
Diffstat (limited to 'misc/ctm/files/patch-ctm_ctm__syntax.c')
-rw-r--r-- | misc/ctm/files/patch-ctm_ctm__syntax.c | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/misc/ctm/files/patch-ctm_ctm__syntax.c b/misc/ctm/files/patch-ctm_ctm__syntax.c new file mode 100644 index 000000000000..913e0255bad2 --- /dev/null +++ b/misc/ctm/files/patch-ctm_ctm__syntax.c @@ -0,0 +1,44 @@ +--- ctm/ctm_syntax.c.orig 2018-10-27 15:56:22 UTC ++++ ctm/ctm_syntax.c +@@ -22,16 +22,21 @@ + #define MD5 CTM_F_MD5 + #define Count CTM_F_Count + #define Bytes CTM_F_Bytes ++#define Release CTM_F_Release ++#define Forward CTM_F_Forward + + /* The qualifiers... */ + #define File CTM_Q_Name_File + #define Dir CTM_Q_Name_Dir ++#define Svnbase CTM_Q_Name_Svnbase + #define New CTM_Q_Name_New + #define Subst CTM_Q_Name_Subst + #define After CTM_Q_MD5_After + #define Before CTM_Q_MD5_Before + #define Chunk CTM_Q_MD5_Chunk + #define Force CTM_Q_MD5_Force ++#define Tar CTM_Q_Forward_Tar ++#define SVN CTM_Q_Forward_SVN + + static int ctmFM[] = /* File Make */ + { Name|File|New|Subst, Uid, Gid, Mode, +@@ -57,6 +62,12 @@ static int ctmDM[] = /* Directory Make */ + static int ctmDR[] = /* Directory Remove */ + { Name|Dir, 0 }; + ++static int ctmTR[] = /* Forward to tar */ ++ { Count, Forward|Tar, 0 }; ++ ++static int ctmSV[] = /* Forward to svnadmin load */ ++ { Name|Dir|Svnbase, Release, Count, Forward|SVN, 0 }; ++ + struct CTM_Syntax Syntax[] = { + { "FM", ctmFM }, + { "FS", ctmFS }, +@@ -66,4 +77,6 @@ struct CTM_Syntax Syntax[] = { + { "AS", ctmAS }, + { "DM", ctmDM }, + { "DR", ctmDR }, ++ { "TR", ctmTR }, ++ { "SV", ctmSV }, + { 0, 0} }; |