Hello, here the diff for the NMU which will be uploaded in a few minutes.
Regards, -- .''`. Mario Iseli <[EMAIL PROTECTED]> : :' : proud user of Debian unstable `. `'` `- Debian - when you have better things to do than fixing a system
diff -Naur scanlogd-2.2.5.old/debian/changelog scanlogd-2.2.5/debian/changelog --- scanlogd-2.2.5.old/debian/changelog 2007-05-17 19:10:06.000000000 +0200 +++ scanlogd-2.2.5/debian/changelog 2007-05-17 19:10:22.000000000 +0200 @@ -1,3 +1,11 @@ +scanlogd (2.2.5-2.1) unstable; urgency=medium + + * Non-maintainer upload during BSP. + * Substitute CLK_TCK with CLOCKS_PER_SEC in scanlogd.c and P53-13 to avoid + FTBFS with new glibc. (Closes: #421085). + + -- Mario Iseli <[EMAIL PROTECTED]> Thu, 17 May 2007 19:07:45 +0200 + scanlogd (2.2.5-2) unstable; urgency=low * use invoke-rc.d (closes: #338394) diff -Naur scanlogd-2.2.5.old/P53-13 scanlogd-2.2.5/P53-13 --- scanlogd-2.2.5.old/P53-13 2007-05-17 19:10:06.000000000 +0200 +++ scanlogd-2.2.5/P53-13 2007-05-17 19:10:22.000000000 +0200 @@ -305,14 +305,14 @@ * from the same source, with no longer than DELAY ticks between ports. */ #define SCAN_COUNT_THRESHOLD 10 -#define SCAN_DELAY_THRESHOLD (CLK_TCK * 5) +#define SCAN_DELAY_THRESHOLD (CLOCKS_PER_SEC * 5) /* * Log flood detection thresholds: temporarily stop logging if more than * COUNT port scans are detected with no longer than DELAY between them. */ #define LOG_COUNT_THRESHOLD 5 -#define LOG_DELAY_THRESHOLD (CLK_TCK * 20) +#define LOG_DELAY_THRESHOLD (CLOCKS_PER_SEC * 20) /* * You might want to adjust these for using your tiny append-only log file. diff -Naur scanlogd-2.2.5.old/params.h scanlogd-2.2.5/params.h --- scanlogd-2.2.5.old/params.h 2007-05-17 19:10:06.000000000 +0200 +++ scanlogd-2.2.5/params.h 2007-05-17 19:10:22.000000000 +0200 @@ -62,14 +62,14 @@ #define SCAN_MIN_COUNT 7 #define SCAN_MAX_COUNT (SCAN_MIN_COUNT * PORT_WEIGHT_PRIV) #define SCAN_WEIGHT_THRESHOLD SCAN_MAX_COUNT -#define SCAN_DELAY_THRESHOLD (CLK_TCK * 3) +#define SCAN_DELAY_THRESHOLD (CLOCKS_PER_SEC * 3) /* * Log flood detection thresholds: temporarily stop logging if more than * COUNT port scans are detected with no longer than DELAY between them. */ #define LOG_COUNT_THRESHOLD 5 -#define LOG_DELAY_THRESHOLD (CLK_TCK * 20) +#define LOG_DELAY_THRESHOLD (CLOCKS_PER_SEC * 20) /* * Log line length limit, such as to fit into one SMS message. #undef this