You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Yousong Zhou e8f79474c9 libpcap: build with cmake
The main motivation is to drop and stop maintaining
"100-debian_shared_lib.patch".  It lacks the logic to include custom
implementation of several functions like pcap_strlcpy() which can cause
build failures when glibc is used [2]

CAN and CAN-USB support related symbols are now handled by general linux
support, see [1]

"-ffunction-sections -fdata-sections" were removed as they should help
much for shared libraries

Size comparison before and after the change

  -rw-r--r-- 1 yunion yunion 238042 Oct 18 11:42 ipkg-x86_64/libpcap/usr/lib/

  lrwxrwxrwx 1 yunion yunion     16 Oct 18 13:03 ipkg-x86_64/libpcap/usr/lib/ ->
  -rwxr-xr-x 1 yunion yunion 229867 Oct 18 13:03 ipkg-x86_64/libpcap/usr/lib/

[1] On Linux, handle all CAN captures with pcap-linux.c, in cooked mode,

Signed-off-by: Yousong Zhou <>
4 years ago
102-skip-manpages.patch libpcap: build with cmake 4 years ago
103-makefile_flex_workaround.patch libpcap: update to 1.9.0 5 years ago
201-space_optimization.patch libpcap: update to 1.9.1 4 years ago
203-undef_iw_mode_monitor.patch libs/libpcap: update to 1.8.1 7 years ago
204-usb-bus-path.patch libpcap: update to 1.9.1 4 years ago