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
5 n_buf_printf(nbuf, "n: %s\n", pkg->fn);
8 + if (((flags & PKGSTORE_NOTIMESTAMP) == 0) && pkg->fmtime)
9 n_buf_printf(nbuf, "t: %u\n", pkg->fmtime);
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
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)
20 /* The options we understand. */
21 static struct argp_option options[] = {
24 {"mo", OPT_MOPT, "OPTION[,OPTION]", OPTION_HIDDEN, /* not finished yet */
25 N_("index type specific options"), OPT_GID },
27 +{"notimestamp", OPT_NOTIMESTAMP, 0, 0,
28 + N_("Don't put package timestamps into created pdir index (poldek 0.18.x compat)."), OPT_GID },
34 poclidek_op_source_nodesc = 1;
37 + case OPT_NOTIMESTAMP:
38 + arg_s->crflags |= PKGDIR_CREAT_v018x;
42 arg_s->crflags |= PKGDIR_CREAT_NOPATCH;