From owner-svn-ports-head@freebsd.org Tue Sep 24 17:33:51 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CAE6612C715; Tue, 24 Sep 2019 17:33:51 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46d7b34jnzz3GRN; Tue, 24 Sep 2019 17:33:51 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 85B482C4F; Tue, 24 Sep 2019 17:33:51 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8OHXpRZ014233; Tue, 24 Sep 2019 17:33:51 GMT (envelope-from kai@FreeBSD.org) Received: (from kai@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8OHXp1I014231; Tue, 24 Sep 2019 17:33:51 GMT (envelope-from kai@FreeBSD.org) Message-Id: <201909241733.x8OHXp1I014231@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kai set sender to kai@FreeBSD.org using -f From: Kai Knoblich Date: Tue, 24 Sep 2019 17:33:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512729 - head/deskutils/sysctlview X-SVN-Group: ports-head X-SVN-Commit-Author: kai X-SVN-Commit-Paths: head/deskutils/sysctlview X-SVN-Commit-Revision: 512729 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2019 17:33:51 -0000 Author: kai Date: Tue Sep 24 17:33:50 2019 New Revision: 512729 URL: https://svnweb.freebsd.org/changeset/ports/512729 Log: deskutils/sysctlview: Update to 1.5.1 * The sysctlinfo interface (sysutils/sysctlinfo-kmod) is now required as build/run dependency which relies on the "oid_label" constant that was introduced in FreeBSD 1200019. Thus set the port to IGNORE if the above doesn't apply while I'm here. [1] Changelog: * Show nodes up to CTL_MAXNAME (24) levels * Show the right value of the nodes without the last name * Show a subtree without leaves (the nodes are all CTLTYPE_NODE) * The sysctlinfo interface is 30% more efficient than the kernel undocumented interface [1] PR: 240391 Submitted by: Alfonso S. Siciliano (maintainer) Modified: head/deskutils/sysctlview/Makefile head/deskutils/sysctlview/distinfo Modified: head/deskutils/sysctlview/Makefile ============================================================================== --- head/deskutils/sysctlview/Makefile Tue Sep 24 17:32:33 2019 (r512728) +++ head/deskutils/sysctlview/Makefile Tue Sep 24 17:33:50 2019 (r512729) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= sysctlview -PORTVERSION= 1.4 -PORTREVISION= 1 +PORTVERSION= 1.5.1 CATEGORIES= deskutils MAINTAINER= alfix86@gmail.com @@ -11,7 +10,9 @@ COMMENT= Show sysctl MIB Tree LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${LOCALBASE}/include/sysctlinfo.h:sysutils/sysctlinfo-kmod LIB_DEPENDS= libsysctlmibinfo.so:devel/libsysctlmibinfo +RUN_DEPENDS= ${KMODDIR}/sysctlinfo.ko:sysutils/sysctlinfo-kmod USES= compiler:c++11-lang gettext-runtime gnome pkgconfig USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glib20 glibmm glibmm \ @@ -19,7 +20,7 @@ USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 g USE_GITLAB= yes GL_ACCOUNT= alfix -GL_COMMIT= 98f202bc1b6922e3b9011d56d7715cb4c3b098a9 +GL_COMMIT= cdfd6669591497d9178ef3cca99ceb5b9bd9e670 INSTALLS_ICONS= yes @@ -36,6 +37,15 @@ OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200019 +IGNORE= needs oid_label constant in sysctl.h which was first introduced in FreeBSD 12 +.endif +.if ${OPSYS} != FreeBSD +IGNORE= not supported on anything but FreeBSD +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sysctlview ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/sysctlview.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @@ -48,4 +58,4 @@ do-install: ${MV} ${WRKSRC}/icon/sysctlview.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/sysctlview.svg -.include +.include Modified: head/deskutils/sysctlview/distinfo ============================================================================== --- head/deskutils/sysctlview/distinfo Tue Sep 24 17:32:33 2019 (r512728) +++ head/deskutils/sysctlview/distinfo Tue Sep 24 17:33:50 2019 (r512729) @@ -1,3 +1,3 @@ -TIMESTAMP = 1561476805 -SHA256 (alfix-sysctlview-98f202bc1b6922e3b9011d56d7715cb4c3b098a9_GL0.tar.gz) = 5d1bc7726d65fd7e946f9765b7a748e0ab94448e111d22c70aba111bae18884a -SIZE (alfix-sysctlview-98f202bc1b6922e3b9011d56d7715cb4c3b098a9_GL0.tar.gz) = 328529 +TIMESTAMP = 1568257634 +SHA256 (alfix-sysctlview-cdfd6669591497d9178ef3cca99ceb5b9bd9e670_GL0.tar.gz) = 1667b04d027120d0c73f49bddf956d25366a37da4b6670ba5e5b2096b703e124 +SIZE (alfix-sysctlview-cdfd6669591497d9178ef3cca99ceb5b9bd9e670_GL0.tar.gz) = 435874