Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- add a license

- don't branch for supplemented packages
- fix off by one in minimize queue revert code
  • Loading branch information...
commit 13127796e4361ad8c74701736692b4ef159ec317 1 parent 9582244
@mlschroe mlschroe authored
Showing with 454 additions and 51 deletions.
  1. +28 −0 LICENSE.BSD
  2. +7 −0 src/bitmap.c
  3. +7 −0 src/bitmap.h
  4. +7 −0 src/evr.c
  5. +7 −0 src/evr.h
  6. +7 −0 src/hash.h
  7. +7 −0 src/policy.c
  8. +7 −0 src/policy.h
  9. +7 −0 src/pool.c
  10. +7 −0 src/pool.h
  11. +7 −0 src/poolarch.c
  12. +7 −0 src/poolarch.h
  13. +7 −0 src/poolid.c
  14. +7 −0 src/poolid.h
  15. +7 −0 src/poolid_private.h
  16. +7 −0 src/pooltypes.h
  17. +7 −0 src/poolvendor.c
  18. +7 −0 src/poolvendor.h
  19. +7 −0 src/queue.c
  20. +7 −0 src/queue.h
  21. +7 −0 src/repo.c
  22. +7 −0 src/repo.h
  23. +7 −0 src/repo_solv.c
  24. +7 −0 src/repo_solv.h
  25. +7 −0 src/solvable.h
  26. +54 −50 src/solver.c
  27. +7 −0 src/solver.h
  28. +7 −0 src/util.c
  29. +7 −0 src/util.h
  30. +7 −0 tools/attr_store.c
  31. +7 −0 tools/attr_store.h
  32. +7 −0 tools/attr_store_p.h
  33. +7 −0 tools/content2solv.c
  34. +7 −0 tools/dumpattr.c
  35. +7 −0 tools/dumpsolv.c
  36. +1 −0  tools/fastlz.c
  37. +7 −0 tools/helix2solv.c
  38. +7 −0 tools/mergesolv.c
  39. +7 −0 tools/patchxml2solv.c
  40. +7 −0 tools/repo_content.c
  41. +7 −0 tools/repo_content.h
  42. +7 −1 tools/repo_helix.c
  43. +7 −0 tools/repo_helix.h
  44. +7 −0 tools/repo_patchxml.c
  45. +7 −0 tools/repo_patchxml.h
  46. +7 −0 tools/repo_rpmdb.c
  47. +7 −0 tools/repo_rpmdb.h
  48. +7 −0 tools/repo_rpmmd.c
  49. +7 −0 tools/repo_rpmmd.h
  50. +7 −0 tools/repo_susetags.c
  51. +7 −0 tools/repo_susetags.h
  52. +7 −0 tools/repo_write.c
  53. +7 −0 tools/repo_write.h
  54. +7 −0 tools/rpmdb2solv.c
  55. +7 −0 tools/rpmmd2solv.c
  56. +7 −0 tools/susetags2solv.c
View
28 LICENSE.BSD
@@ -0,0 +1,28 @@
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+3. Neither the name of Novell nor the names of its contributors may
+ be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
View
7 src/bitmap.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* bitmap.c
*
*/
View
7 src/bitmap.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* bitmap.h
*
*/
View
7 src/evr.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* evr.c
*
* version compare
View
7 src/evr.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* evr.h
*
*/
View
7 src/hash.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* hash.h
* generic hash functions
*/
View
7 src/policy.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* Generic policy interface for SAT solver
*
*/
View
7 src/policy.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* Generic policy interface for SAT solver
*
*/
View
7 src/pool.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* pool.c
*
* The pool contains information about solvables
View
7 src/pool.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* pool.h
*
*/
View
7 src/poolarch.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* poolarch.c
*
* create architecture policies
View
7 src/poolarch.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#ifndef POOLARCH_H
#define POOLARCH_H
View
7 src/poolid.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* poolid.c
*
* Id management
View
7 src/poolid.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* poolid.h
*
*/
View
7 src/poolid_private.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* poolid_private.h
*
*/
View
7 src/pooltypes.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* pooltypes.h
*
*/
View
7 src/poolvendor.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
View
7 src/poolvendor.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#ifndef POOLVENDOR_H
#define POOLVENDOR_H
View
7 src/queue.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* queue.c
*
*/
View
7 src/queue.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* queue.h
*
*/
View
7 src/repo.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* repo.c
*
* Manage metadata coming from one repository
View
7 src/repo.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* repo.h
*
*/
View
7 src/repo_solv.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* repo_solv.c
*
* Read the binary dump of a Repo and create a Repo * from it
View
7 src/repo_solv.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* repo_solv.h
*
*/
View
7 src/solvable.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* solvable.h
*
* A solvable represents an object with name-epoch:version-release.arch and dependencies
View
104 src/solver.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* solver.c
*
* SAT based dependency solver
@@ -172,6 +179,33 @@ dep_possible(Solver *solv, Id dep, Map *m)
return 0;
}
+static inline int
+is_supplemented(Solver *solv, Solvable *s)
+{
+ Id sup, *supp;
+ if (!s->supplements && !s->freshens)
+ return 0;
+ if (s->supplements)
+ {
+ supp = s->repo->idarraydata + s->supplements;
+ while ((sup = *supp++) != 0)
+ if (dep_fulfilled(solv, sup))
+ break;
+ if (!sup)
+ return 0;
+ }
+ if (s->freshens)
+ {
+ supp = s->repo->idarraydata + s->freshens;
+ while ((sup = *supp++) != 0)
+ if (dep_fulfilled(solv, sup))
+ break;
+ if (!sup)
+ return 0;
+ }
+ return 1;
+}
+
static void
prune_to_highest_prio(Pool *pool, Queue *plist)
{
@@ -207,7 +241,7 @@ prune_to_recommended(Solver *solv, Queue *plist)
Pool *pool = solv->pool;
int i, j;
Solvable *s;
- Id p, *pp, sup, *supp, rec, *recp, sug, *sugp, enh, *enhp;
+ Id p, *pp, rec, *recp, sug, *sugp, enh, *enhp;
if (solv->recommends_index < 0)
{
@@ -245,28 +279,8 @@ prune_to_recommended(Solver *solv, Queue *plist)
plist->elements[j++] = p;
continue;
}
- s = pool->solvables + p;
- if (!s->supplements && !s->freshens)
- continue;
- if (s->supplements)
- {
- supp = s->repo->idarraydata + s->supplements;
- while ((sup = *supp++) != 0)
- if (dep_fulfilled(solv, sup))
- break;
- if (!sup)
- continue;
- }
- if (s->freshens)
- {
- supp = s->repo->idarraydata + s->freshens;
- while ((sup = *supp++) != 0)
- if (dep_fulfilled(solv, sup))
- break;
- if (!sup)
- continue;
- }
- plist->elements[j++] = s - pool->solvables;
+ if (is_supplemented(solv, pool->solvables + p))
+ plist->elements[j++] = p;
}
if (j)
plist->count = j;
@@ -1766,7 +1780,7 @@ revert(Solver *solv, int level)
solv->decisionq_why.count--;
solv->propagate_index = solv->decisionq.count;
}
- while (solv->minimize.count && solv->minimize.elements[solv->minimize.count - 1] < -level)
+ while (solv->minimize.count && solv->minimize.elements[solv->minimize.count - 1] <= -level)
{
solv->minimize.count--;
while (solv->minimize.count && solv->minimize.elements[solv->minimize.count - 1] >= 0)
@@ -1958,7 +1972,7 @@ run_solver(Solver *solv, int disablerules, int doweak)
int systemlevel;
int level, olevel;
Rule *r;
- int i, n;
+ int i, j, n;
Solvable *s;
Pool *pool = solv->pool;
Id p, *dp;
@@ -2174,14 +2188,22 @@ run_solver(Solver *solv, int disablerules, int doweak)
prune_to_recommended(solv, &dq);
if (dq.count > 1)
prune_best_version_arch(pool, &dq);
+ j = 0;
if (dq.count > 1)
{
- int j;
- for (j = 1; j < dq.count; j++)
- queue_push(&solv->minimize, dq.elements[j]);
- queue_push(&solv->minimize, -level);
+ /* choose the supplemented one */
+ for (j = 0; j < dq.count; j++)
+ if (is_supplemented(solv, pool->solvables + dq.elements[j]))
+ break;
+ if (j == dq.count)
+ {
+ for (j = 1; j < dq.count; j++)
+ queue_push(&solv->minimize, dq.elements[j]);
+ queue_push(&solv->minimize, -level);
+ j = 0;
+ }
}
- p = dq.elements[0];
+ p = dq.elements[j];
s = pool->solvables + p;
#if 0
printf("installing %s-%s.%s\n", id2str(pool, s->name), id2str(pool, s->evr), id2str(pool, s->arch));
@@ -2241,31 +2263,13 @@ run_solver(Solver *solv, int disablerules, int doweak)
}
else
{
- Id *supp, sup;
s = pool->solvables + i;
if (!s->supplements && !s->freshens)
continue;
if (!pool_installable(pool, s))
continue;
- if (s->supplements)
- {
- supp = s->repo->idarraydata + s->supplements;
- while ((sup = *supp++) != 0)
- if (dep_fulfilled(solv, sup))
- break;
- if (!sup)
- continue;
- }
- if (s->freshens)
- {
- supp = s->repo->idarraydata + s->freshens;
- while ((sup = *supp++) != 0)
- if (dep_fulfilled(solv, sup))
- break;
- if (!sup)
- continue;
- }
- queue_pushunique(&dq, i);
+ if (is_supplemented(solv, s))
+ queue_pushunique(&dq, i);
}
}
if (dq.count)
View
7 src/solver.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* solver.h
*
*/
View
7 src/util.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
View
7 src/util.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* util.h
*
*/
View
7 tools/attr_store.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
View
7 tools/attr_store.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#ifndef ATTR_STORE_H
#define ATTR_STORE_H
View
7 tools/attr_store_p.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#ifndef ATTR_STORE_P_H
#define ATTR_STORE_P_H
View
7 tools/content2solv.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <limits.h>
#include <fcntl.h>
View
7 tools/dumpattr.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
View
7 tools/dumpsolv.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
View
1  tools/fastlz.c
@@ -1,3 +1,4 @@
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
View
7 tools/helix2solv.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* helix2solv.c
*
* parse 'helix' type xml and write out .solv file
View
7 tools/mergesolv.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* mergesolv
*
*/
View
7 tools/patchxml2solv.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <limits.h>
#include <fcntl.h>
View
7 tools/repo_content.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <limits.h>
#include <fcntl.h>
View
7 tools/repo_content.h
@@ -1 +1,8 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
Repo * pool_addrepo_content(Pool *pool, FILE *fp);
View
8 tools/repo_helix.c
@@ -1,4 +1,10 @@
-/* -*- mode: C; c-file-style: "gnu"; fill-column: 78 -*- */
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
/*
* repo_helix.c
*
View
7 tools/repo_helix.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* repo_helix.h
*
*/
View
7 tools/repo_patchxml.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <limits.h>
#include <fcntl.h>
View
7 tools/repo_patchxml.h
@@ -1 +1,8 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
extern Repo *pool_addrepo_patchxml(Pool *pool, FILE *fp);
View
7 tools/repo_rpmdb.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* repo_rpmdb
*
* convert rpm db to repo
View
7 tools/repo_rpmdb.h
@@ -1 +1,8 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
extern Repo *pool_addrepo_rpmdb(Pool *pool, Repo *ref);
View
7 tools/repo_rpmmd.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <limits.h>
#include <fcntl.h>
View
7 tools/repo_rpmmd.h
@@ -1 +1,8 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
extern Repo *pool_addrepo_rpmmd(Pool *pool, FILE *fp);
View
7 tools/repo_susetags.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <limits.h>
#include <fcntl.h>
View
7 tools/repo_susetags.h
@@ -1 +1,8 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
extern Repo *pool_addrepo_susetags(Pool *pool, FILE *fp, Id vendor, int with_attr);
View
7 tools/repo_write.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* repo_write.c
*
* Write Repo data out to binary file
View
7 tools/repo_write.h
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* repo_write.h
*
*/
View
7 tools/rpmdb2solv.c
@@ -1,4 +1,11 @@
/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
* rpmdb2solv
*
*/
View
7 tools/rpmmd2solv.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <limits.h>
#include <fcntl.h>
View
7 tools/susetags2solv.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2007, Novell Inc.
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
#include <sys/types.h>
#include <limits.h>
#include <fcntl.h>
Please sign in to comment.
Something went wrong with that request. Please try again.