You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adam D. Barratt 1a211f04cf
lib/dpkg.c: don't try to dereference a NULL pointer
11 years ago
..
Makefile Purged unused code from lib/britney-py.c 13 years ago
README Imported the old britney and its libraries. 18 years ago
assert.c Imported the old britney and its libraries. 18 years ago
britney-py.c Remove the C library placeholder for "pre-depends" 11 years ago
checklib.c Imported the old britney and its libraries. 18 years ago
dpkg-lib.cpp Even more garbage collection of dpkg.c and even some of dpkg-lib.c 13 years ago
dpkg.c lib/dpkg.c: don't try to dereference a NULL pointer 11 years ago
dpkg.h Support :any architecture qualifiers for multiarch 11 years ago
example.py Fixed a pointer problem which caused segfaults when dealing with virtual packages; fixed a bug in source removal; moved add_binary and remove_binary from the britney module to the Packages object. 18 years ago
freelist.c Imported the old britney and its libraries. 18 years ago
freelist.h Imported the old britney and its libraries. 18 years ago
index.html Imported the old britney and its libraries. 18 years ago
memory.h Imported the old britney and its libraries. 18 years ago
memory3.c Imported the old britney and its libraries. 18 years ago
templates.h Imported the old britney and its libraries. 18 years ago
thoughts Imported the old britney and its libraries. 18 years ago

README


BUILDING
========

Install libapt-pkg-dev

testing/ $ make
testing/ $ mkdir old cur out
testing/ $ cd testing
testing/testing/ $ perl Makefile.PL
testing/testing/ $ make

Add old and new packages files into old and cur, respectively.

testing/ $ ./checklib i386 alpha

Will generate some test stuff in out/

TODO
====

Need some way of actually updating archives.
Need some way of judging differences between Packages files.
(so I can see what hasn't been updated and work out why;
so I can check that Packages.gz matches dpkg-scanpackages output)
Need some way of automatically explaining why packages aren't upgraded.
(shouldn't be hard?)

BUGS
====

out/ directory must exist for checklib, or segfault