diff --git a/qpkg/Makefile b/qpkg/Makefile index 42c500f..3c42ea2 100644 --- a/qpkg/Makefile +++ b/qpkg/Makefile @@ -1,3 +1,15 @@ +# +# Makefile - Makefile of qpkg +# +# Written 2010 by Werner Almesberger +# Copyright 2010 by Werner Almesberger +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# + SHELL = /bin/bash OBJS_qpkg = gobble.o id.o prereq.o qpkg.o jrb.o diff --git a/qpkg/README b/qpkg/README index aca1927..3fa0949 100644 --- a/qpkg/README +++ b/qpkg/README @@ -1,5 +1,5 @@ -qpkg - Query package databases -============================== +qpkg - Quick package database query +=================================== qpkg is a tool that reads package databases of the kind used by opkg in OE-derived Jlime (which are very similar to what dpkg and apt use) diff --git a/qpkg/gobble.c b/qpkg/gobble.c index 04f17b7..ff9ab24 100644 --- a/qpkg/gobble.c +++ b/qpkg/gobble.c @@ -1,3 +1,16 @@ +/* + * gobble.c - Read a package database file in a hurry + * + * Written 2010 by Werner Almesberger + * Copyright 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #include #include #include diff --git a/qpkg/gobble.h b/qpkg/gobble.h index 5f6c693..66a33e4 100644 --- a/qpkg/gobble.h +++ b/qpkg/gobble.h @@ -1,3 +1,15 @@ +/* + * gobble.h - Read a package database file in a hurry + * + * Written 2010 by Werner Almesberger + * Copyright 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + #ifndef GOBBLE_H #define GOBBLE_H diff --git a/qpkg/id.c b/qpkg/id.c index 40e1d1a..d80bd17 100644 --- a/qpkg/id.c +++ b/qpkg/id.c @@ -1,5 +1,20 @@ +/* + * id.c - Registry of unique and alphabetically sorted identifiers + * + * Written 2010 by Werner Almesberger + * Copyright 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #include +#include "jrb.h" + #include "util.h" #include "id.h" diff --git a/qpkg/id.h b/qpkg/id.h index 14d7b4e..5c77cfc 100644 --- a/qpkg/id.h +++ b/qpkg/id.h @@ -1,3 +1,15 @@ +/* + * id.h - Registry of unique and alphabetically sorted identifiers + * + * Written 2010 by Werner Almesberger + * Copyright 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + #ifndef ID_H #define ID_H diff --git a/qpkg/prereq.c b/qpkg/prereq.c index f648be6..c1c600c 100644 --- a/qpkg/prereq.c +++ b/qpkg/prereq.c @@ -1,3 +1,16 @@ +/* + * prereq.c - Determine prerequisite packages + * + * Written 2010 by Werner Almesberger + * Copyright 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #include #include #include diff --git a/qpkg/prereq.h b/qpkg/prereq.h index 81cf066..87e1fb1 100644 --- a/qpkg/prereq.h +++ b/qpkg/prereq.h @@ -1,3 +1,15 @@ +/* + * prereq.h - Determine prerequisite packages + * + * Written 2010 by Werner Almesberger + * Copyright 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + #ifndef PREREQ_H #define PREREQ_H diff --git a/qpkg/qpkg.c b/qpkg/qpkg.c index 4242401..e7b4c70 100644 --- a/qpkg/qpkg.c +++ b/qpkg/qpkg.c @@ -1,3 +1,16 @@ +/* + * qpkg.c - Quick package database query + * + * Written 2010 by Werner Almesberger + * Copyright 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #include #include #include diff --git a/qpkg/qpkg.h b/qpkg/qpkg.h index d33e095..e0fc4a1 100644 --- a/qpkg/qpkg.h +++ b/qpkg/qpkg.h @@ -1,3 +1,15 @@ +/* + * qpkg.h - Quick package database query + * + * Written 2010 by Werner Almesberger + * Copyright 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + #ifndef QPKG_H #define QPKG_H diff --git a/qpkg/rbtest.c b/qpkg/rbtest.c index 118832f..d46b9aa 100644 --- a/qpkg/rbtest.c +++ b/qpkg/rbtest.c @@ -1,3 +1,16 @@ +/* + * rbtest.c - Very basic regression test for red-black trees + * + * Written 2010 by Werner Almesberger + * Copyright 2010 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #include #include