language = strdup(line + 6);
break;
+ case CTAG('=', 'F', 'l', 's'):
+ {
+ if (line[6] != '/')
+ continue; /* no relative files, please */
+ char *p = strrchr(line + 6, '/');
+ Id did;
+ if (p && p != line + 6 && !p[1])
+ {
+ *p = 0;
+ p = strrchr(line + 6, '/');
+ }
+ if (p)
+ {
+ *p++ = 0;
+ did = repodata_str2dir(data, line + 6, 1);
+ }
+ else
+ {
+ p = line + 6;
+ did = repodata_str2dir(data, "/", 1);
+ }
+ repodata_add_dirstr(data, handle, SOLVABLE_FILELIST, did, p);
+ continue;
+ }
+
case CTAG('=', 'P', 'a', 't'):
case CTAG('=', 'P', 'k', 'g'):
break;
if (pd.common.tmp)
free(pd.common.tmp);
free(line);
+ join_freemem();
}
repo_add_susetags(repo, fp, vendor, 0, flags | SUSETAGS_EXTEND);
fclose(fp);
}
+ else if (!strcmp(fn, "packages.FL") || !strcmp(fn, "packages.FL.gz"))
+ {
+ sprintf(fnp, "%s/%s", descrdir, fn);
+ FILE *fp = myfopen(fnp);
+ if (!fp)
+ {
+ perror(fn);
+ exit(1);
+ }
+ repo_add_susetags(repo, fp, vendor, 0, flags | SUSETAGS_EXTEND);
+ fclose(fp);
+ }
else if (!strncmp(fn, "packages.", 9))
{
char lang[6];