]> git.pld-linux.org Git - packages/poldek.git/blob - poldek-notimestamps.patch
This commit was manufactured by cvs2git to create tag 'auto-ac-poldek-
[packages/poldek.git] / poldek-notimestamps.patch
1 --- poldek-0.20/pkgdir/pdir/pdir_pkg_store.c.orig       2005-10-13 20:24:50.000000000 +0200
2 +++ poldek-0.20/pkgdir/pdir/pdir_pkg_store.c    2005-11-30 12:41:46.000000000 +0100
3 @@ -132,7 +132,7 @@
4      if (pkg->fn)
5          n_buf_printf(nbuf, "n: %s\n", pkg->fn);
6  
7 -    if (pkg->fmtime)
8 +    if (((flags & PKGSTORE_NOTIMESTAMP) == 0) && pkg->fmtime)
9          n_buf_printf(nbuf, "t: %u\n", pkg->fmtime);
10      
11      n_buf_printf(nbuf, "F:\n");
12 --- poldek-0.20/cli/op_makeidx.c.orig   2005-10-10 00:35:28.000000000 +0200
13 +++ poldek-0.20/cli/op_makeidx.c        2005-11-30 12:52:31.000000000 +0100
14 @@ -45,6 +45,7 @@
15  #define OPT_TYPE_ALIAS  (OPT_GID + 11) /* XXX argp bug? with +8 this doesn't work... */
16  #define OPT_NODIFF      (OPT_GID + 9)
17  #define OPT_MOPT        (OPT_GID + 10)
18 +#define        OPT_NOTIMESTAMP (OPT_GID + 12)
19  
20  /* The options we understand. */
21  static struct argp_option options[] = {
22 @@ -79,6 +80,10 @@
23  
24  {"mo", OPT_MOPT, "OPTION[,OPTION]", OPTION_HIDDEN, /* not finished yet */
25       N_("index type specific options"), OPT_GID },
26 +
27 +{"notimestamp", OPT_NOTIMESTAMP, 0, 0,
28 + N_("Don't put package timestamps into created pdir index (poldek 0.18.x compat)."), OPT_GID },
29 +
30  { 0, 0, 0, 0, 0, 0 },
31  
32  
33 @@ -176,6 +181,10 @@
34              poclidek_op_source_nodesc = 1;
35              break;
36  
37 +       case OPT_NOTIMESTAMP:
38 +           arg_s->crflags |= PKGDIR_CREAT_v018x;
39 +           break;
40 +
41          case OPT_NODIFF:
42              arg_s->crflags |= PKGDIR_CREAT_NOPATCH;
43              break;
This page took 0.029512 seconds and 3 git commands to generate.