Attached is a patch for devel/glog to update to the latest version. Since it did not have a maintainer listed, I've added my name. I'm happy to take that on as I use it quite a bit and I need it as a dependency for another port I'm working. If that's a problem, no worries, don't want to step on anyone else.
This bumps the version from 0.3.5 -> 0.4.0. I tested this on amd64 and observed unit tests failures (this is also present in the version that's currently committed). However, it builds and installs just fine. The changelog is somewhat lengthy given that there's a few versions between what's in ports vs the current version. Nonetheless, this can be perused here: https://github.com/google/glog/releases/tag/v0.4.0 I used showvictims.py to search for anything this would victimize, nothing reported. [fagg@elara][~][0] -> obsd-ports-tools/showvictims.py devel/glog LIB_DEPENDS BUILD_DEPENDS RUN_DEPENDS TEST_DEPENDS Patch attached. Comments/feedback welcome.
diff --git a/devel/glog/Makefile b/devel/glog/Makefile index 963135f..a663fcc 100644 --- a/devel/glog/Makefile +++ b/devel/glog/Makefile @@ -4,16 +4,17 @@ COMMENT = C++ application-level logging library GH_ACCOUNT = google GH_PROJECT = glog -GH_TAGNAME = v0.3.5 -REVISION = 1 +GH_TAGNAME = v0.4.0 -SHARED_LIBS += glog 1.0 # 0.2.1 +SHARED_LIBS += glog 2.0 # 0.2.1 CATEGORIES = devel # New BSD PERMIT_PACKAGE = Yes +MAINTAINER= Ashton Fagg <[email protected]> + WANTLIB += ${COMPILER_LIBCXX} gflags m COMPILER = base-clang ports-gcc base-gcc diff --git a/devel/glog/distinfo b/devel/glog/distinfo index 61d3b55..b586ccb 100644 --- a/devel/glog/distinfo +++ b/devel/glog/distinfo @@ -1,2 +1,2 @@ -SHA256 (glog-0.3.5.tar.gz) = dYDkCKLAtaicohRzmXjOb/SAtefY12mKKqkvrcSE0eA= -SIZE (glog-0.3.5.tar.gz) = 532275 +SHA256 (glog-0.4.0.tar.gz) = 8oNZrroS8w1z2eRxHvNW3IQohpaBEhYrxzACZFE5w5w= +SIZE (glog-0.4.0.tar.gz) = 200955 diff --git a/devel/glog/pkg/PLIST b/devel/glog/pkg/PLIST index 07a8499..9dee1da 100644 --- a/devel/glog/pkg/PLIST +++ b/devel/glog/pkg/PLIST @@ -1,6 +1,5 @@ @comment $OpenBSD: PLIST,v 1.4 2018/05/17 09:45:58 espie Exp $ include/glog/ -include/glog/config.h include/glog/log_severity.h include/glog/logging.h include/glog/raw_logging.h
