Michael S Gilbert
2009-Aug-23 21:22 UTC
[Secure-testing-team] running a local version of the tracker
hi all, i''m planning on fixing up some aspects of the tracker, so i have started by figuring out how to get ''./bin/test-web-server'' up and running. a couple of things are required to do this. first of all you need to make sure you have the python-apsw and thttpd packages installed, and you need Florian''s servinvoke: git clone http://git.enyo.de/fw/debian/servinvoke.git/ note that i had to make the following change to get this to compile correctly with gcc4.3: --- servinvoke/src/main.c 2009-08-23 17:06:23.000000000 -0400 +++ servinvoke-mod/src/main.c 2009-08-23 17:00:02.000000000 -0400 @@ -17,6 +17,7 @@ #include <sys/stat.h> #include <sys/un.h> #include <unistd.h> +#include <limits.h> static void usage (void); now, i can run the test webserver: $ ./bin/test-web-server which can be access from a web browser at http://localhost:10605/tracker. however, it is not populated with any of the secure-testing data (i.e. skeletons of the pages are there, but affected packages, version info, etc are not). any ideas on what i need to do differently to get this to be populated with real data? Florian, it would be very useful have servinvoke in the main debian archives. are you planning to upload it? mike
Michael S Gilbert
2009-Aug-23 22:03 UTC
[Secure-testing-team] running a local version of the tracker
On Sun, 23 Aug 2009 17:22:43 -0400 Michael S Gilbert Michael wrote:> however, it is not populated with any of the secure-testing data (i.e. > skeletons of the pages are there, but affected packages, version info, > etc are not). any ideas on what i need to do differently to get this to > be populated with real data?forgot to mention that i had previously used ''update-db'' to update the database, so i was expecting the tracker to automatically find that info: $ ./bin/update-db ./data/security.db mike