Index: head/devel/libtuntap/files/patch-CMakeLists.txt =================================================================== --- head/devel/libtuntap/files/patch-CMakeLists.txt (revision 489095) +++ head/devel/libtuntap/files/patch-CMakeLists.txt (nonexistent) @@ -1,14 +0,0 @@ ---- CMakeLists.txt.orig 2016-10-29 14:49:34 UTC -+++ CMakeLists.txt -@@ -124,6 +124,11 @@ if(UNIX) - install(TARGETS tuntap DESTINATION lib) - install(TARGETS tuntap-static DESTINATION lib) - install(FILES tuntap.h DESTINATION include) -+ if(ENABLE_CXX) -+ install(TARGETS tuntap++ DESTINATION lib) -+ install(TARGETS tuntap++-static DESTINATION lib) -+ install(FILES bindings/cpp/tuntap++.hh DESTINATION include) -+ endif(ENABLE_CXX) - endif(UNIX) - - include(CMakeLists.txt.local OPTIONAL) Property changes on: head/devel/libtuntap/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/devel/libtuntap/files/patch-bindings_cpp_tuntap++.cc =================================================================== --- head/devel/libtuntap/files/patch-bindings_cpp_tuntap++.cc (revision 489095) +++ head/devel/libtuntap/files/patch-bindings_cpp_tuntap++.cc (nonexistent) @@ -1,20 +0,0 @@ ---- bindings/cpp/tuntap++.cc.orig 2016-10-29 14:49:34 UTC -+++ bindings/cpp/tuntap++.cc -@@ -7,7 +7,7 @@ - namespace tuntap { - - tun::tun() -- : _dev{tuntap_init()} -+ : _dev(tuntap_init()) - { - tuntap_start(_dev, TUNTAP_MODE_TUNNEL, TUNTAP_ID_ANY); - } -@@ -84,7 +84,7 @@ tun::nonblocking(bool b) - } - - tap::tap() -- : _dev{tuntap_init()} -+ : _dev(tuntap_init()) - { - tuntap_start(_dev, TUNTAP_MODE_ETHERNET, TUNTAP_ID_ANY); - } Property changes on: head/devel/libtuntap/files/patch-bindings_cpp_tuntap++.cc ___________________________________________________________________ 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/devel/libtuntap/Makefile =================================================================== --- head/devel/libtuntap/Makefile (revision 489095) +++ head/devel/libtuntap/Makefile (revision 489096) @@ -1,33 +1,32 @@ # Created by: Mahdi Mokhtari # $FreeBSD$ PORTNAME= libtuntap -DISTVERSION= 0.3-23 -PORTREVISION= 4 -DISTVERSIONSUFFIX= -ga8bcade +DISTVERSION= 0.4 +DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= devel net MAINTAINER= mmokhi@FreeBSD.org COMMENT= Configuring TUN or TAP devices API in a portable manner LICENSE= MIT USES= cmake USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= LaKabane OPTIONS_DEFINE= CXX_WRPR TEST OPTIONS_SUB= yes CXX_WRPR_DESC= Build C++ wrapper library TEST_DESC= Build regression tests CXX_WRPR_USES= compiler:c++11-lang CXX_WRPR_CMAKE_BOOL= ENABLE_CXX CXX_WRPR_VARS= USE_CXXSTD=c++11 TEST_CMAKE_BOOL= ENABLE_REGRESS TEST_TEST_TARGET= test .include Index: head/devel/libtuntap/distinfo =================================================================== --- head/devel/libtuntap/distinfo (revision 489095) +++ head/devel/libtuntap/distinfo (revision 489096) @@ -1,3 +1,3 @@ -TIMESTAMP = 1477977157 -SHA256 (LaKabane-libtuntap-0.3-23-ga8bcade_GH0.tar.gz) = 3f2db000fa77a91ef056d996c763f7e1fc18c3529847308025629ea047d56a1d -SIZE (LaKabane-libtuntap-0.3-23-ga8bcade_GH0.tar.gz) = 22262 +TIMESTAMP = 1546461503 +SHA256 (LaKabane-libtuntap-libtuntap-0.4_GH0.tar.gz) = e6bd543e75c67470005ff6e2c103fa21a2184f14085b159469a19bb21160b1fe +SIZE (LaKabane-libtuntap-libtuntap-0.4_GH0.tar.gz) = 22368 Index: head/devel/libtuntap/pkg-plist =================================================================== --- head/devel/libtuntap/pkg-plist (revision 489095) +++ head/devel/libtuntap/pkg-plist (revision 489096) @@ -1,8 +1,4 @@ include/tuntap.h %%CXX_WRPR%%include/tuntap++.hh lib/libtuntap.a -lib/libtuntap.so -lib/libtuntap.so.2.1 %%CXX_WRPR%%lib/libtuntap++.a -%%CXX_WRPR%%lib/libtuntap++.so -%%CXX_WRPR%%lib/libtuntap++.so.2.1