Index: head/sysutils/usbtop/files/patch-CMakeLists.txt =================================================================== --- head/sysutils/usbtop/files/patch-CMakeLists.txt (revision 493971) +++ head/sysutils/usbtop/files/patch-CMakeLists.txt (nonexistent) @@ -1,10 +0,0 @@ ---- CMakeLists.txt.orig 2017-12-17 21:14:26 UTC -+++ CMakeLists.txt -@@ -16,6 +16,6 @@ find_package(Boost COMPONENTS thread sys - - ## - --include_directories(include) -+include_directories(include ${PCAP_INCLUDE_DIR} ${Boost_INCLUDE_DIR}) - - add_subdirectory(src) Property changes on: head/sysutils/usbtop/files/patch-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/usbtop/files/patch-boost-1.67 =================================================================== --- head/sysutils/usbtop/files/patch-boost-1.67 (revision 493971) +++ head/sysutils/usbtop/files/patch-boost-1.67 (nonexistent) @@ -1,14 +0,0 @@ -https://github.com/aguinet/usbtop/pull/15 - ---- src/CMakeLists.txt.orig 2017-12-17 21:14:26 UTC -+++ src/CMakeLists.txt -@@ -21,5 +21,9 @@ usb_stats.cpp - - add_executable(usbtop ${SRC_FILES}) - target_link_libraries(usbtop ${PCAP_LIBRARIES} ${Boost_LIBRARIES}) -+if(UNIX AND NOT APPLE) -+ # Boost.Thread 1.67+ headers reference pthread_condattr_* -+ target_link_libraries(usbtop pthread) -+endif() - - install(TARGETS usbtop DESTINATION sbin) Property changes on: head/sysutils/usbtop/files/patch-boost-1.67 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/usbtop/files/patch-boost-1.69 =================================================================== --- head/sysutils/usbtop/files/patch-boost-1.69 (revision 493971) +++ head/sysutils/usbtop/files/patch-boost-1.69 (nonexistent) @@ -1,12 +0,0 @@ -https://github.com/aguinet/usbtop/pull/15 - ---- include/usbtop/usb_stats.h.orig 2017-12-17 21:14:26 UTC -+++ include/usbtop/usb_stats.h -@@ -35,6 +35,7 @@ - #include - - #include -+#include - #include - - #define LIVE_SAMPLE_COUNT 128 Property changes on: head/sysutils/usbtop/files/patch-boost-1.69 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/usbtop/files/patch-src_buses.cpp =================================================================== --- head/sysutils/usbtop/files/patch-src_buses.cpp (revision 493971) +++ head/sysutils/usbtop/files/patch-src_buses.cpp (nonexistent) @@ -1,14 +0,0 @@ ---- src/buses.cpp.orig 2017-12-17 21:14:26 UTC -+++ src/buses.cpp -@@ -38,7 +38,11 @@ - - #include - -+#if defined(__FreeBSD__) -+#define USB_DEVICE_START "usbus" -+#else - #define USB_DEVICE_START "usbmon" -+#endif - - static size_t g_len_usb_dev_start = 5; // strlen(USB_DEVICE_START - Property changes on: head/sysutils/usbtop/files/patch-src_buses.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/usbtop/files/patch-src_CMakeLists.txt =================================================================== --- head/sysutils/usbtop/files/patch-src_CMakeLists.txt (revision 493971) +++ head/sysutils/usbtop/files/patch-src_CMakeLists.txt (nonexistent) @@ -1,11 +0,0 @@ ---- src/CMakeLists.txt.orig 2017-12-17 21:14:26 UTC -+++ src/CMakeLists.txt -@@ -4,7 +4,7 @@ add_definitions("-std=c++0x -Wall -D_GNU - IF(CMAKE_BUILD_TYPE MATCHES "[Dd][Ee][Bb][Uu][Gg]") - add_definitions("-g") - else() -- add_definitions("-O3") -+ add_definitions("") - endif() - - set(SRC_FILES Property changes on: head/sysutils/usbtop/files/patch-src_CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/usbtop/Makefile =================================================================== --- head/sysutils/usbtop/Makefile (revision 493971) +++ head/sysutils/usbtop/Makefile (revision 493972) @@ -1,24 +1,24 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= usbtop DISTVERSIONPREFIX= release- -DISTVERSION= 0.2 -PORTREVISION= 6 +DISTVERSION= 1.0 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Utility that shows an estimated instantaneous USB bandwidth LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libboost_system.so:devel/boost-libs +LIB_DEPENDS= libboost_system.so:devel/boost-libs \ + libpcap.so:net/libpcap USES= cmake compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= aguinet PLIST_FILES= sbin/usbtop .include Index: head/sysutils/usbtop/distinfo =================================================================== --- head/sysutils/usbtop/distinfo (revision 493971) +++ head/sysutils/usbtop/distinfo (revision 493972) @@ -1,3 +1,3 @@ -TIMESTAMP = 1513559500 -SHA256 (aguinet-usbtop-release-0.2_GH0.tar.gz) = 6283454ccbfecab44276344b6bc1bf74e86808fb9f539ca63eb0447d7741487e -SIZE (aguinet-usbtop-release-0.2_GH0.tar.gz) = 10828 +TIMESTAMP = 1551197211 +SHA256 (aguinet-usbtop-release-1.0_GH0.tar.gz) = eea7f2fbdcaacbf1097f62f9e4fb50ffd238cec3085b67d384ab0a419274e1da +SIZE (aguinet-usbtop-release-1.0_GH0.tar.gz) = 626770