From owner-svn-ports-all@freebsd.org Sun Dec 16 17:37:54 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 306311334C68; Sun, 16 Dec 2018 17:37:54 +0000 (UTC) (envelope-from bofh@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 CBD458FC18; Sun, 16 Dec 2018 17:37:53 +0000 (UTC) (envelope-from bofh@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 94D1D29EC; Sun, 16 Dec 2018 17:37:53 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBGHbrEZ015887; Sun, 16 Dec 2018 17:37:53 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBGHbr7w015886; Sun, 16 Dec 2018 17:37:53 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201812161737.wBGHbr7w015886@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Sun, 16 Dec 2018 17:37:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487604 - head/net-mgmt/librenms X-SVN-Group: ports-head X-SVN-Commit-Author: bofh X-SVN-Commit-Paths: head/net-mgmt/librenms X-SVN-Commit-Revision: 487604 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: CBD458FC18 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.82 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-0.88)[-0.881,0]; NEURAL_HAM_SHORT(-0.94)[-0.942,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2018 17:37:54 -0000 Author: bofh Date: Sun Dec 16 17:37:53 2018 New Revision: 487604 URL: https://svnweb.freebsd.org/changeset/ports/487604 Log: net-mgmtt/librenms: Fix build with EXAMPLES disabled - Pet portlint PR: 233202 Submitted by: pizzamig Modified: head/net-mgmt/librenms/Makefile Modified: head/net-mgmt/librenms/Makefile ============================================================================== --- head/net-mgmt/librenms/Makefile Sun Dec 16 17:01:42 2018 (r487603) +++ head/net-mgmt/librenms/Makefile Sun Dec 16 17:37:53 2018 (r487604) @@ -3,11 +3,7 @@ PORTNAME= librenms PORTVERSION= 1.45 -PORTREVISION= 1 -# RELEASE_TIMESTAMP is used for a patch inside the vendor code -# it represents the release date via: git show --pretty='%H|%ct' -s 1.42.01 -# It sits here so you remember to update it with each release -RELEASE_TIMESTAMP= 1539772408 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= LOCAL/dvl:vendor @@ -18,8 +14,14 @@ COMMENT= Autodiscovering PHP/MySQL/SNMP based network LICENSE= GPLv3 -# perhaps we also need python-memcache python-mysqldb +USES= python${PY_MYSQL} shebangfix +# RELEASE_TIMESTAMP is used for a patch inside the vendor code +# it represents the release date via: git show --pretty='%H|%ct' -s 1.42.01 +# It sits here so you remember to update it with each release +RELEASE_TIMESTAMP= 1539772408 + +# perhaps we also need python-memcache python-mysqldb RUN_DEPENDS+= rrdtool:databases/rrdtool \ dot:graphics/graphviz \ ${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4@${PHP_FLAVOR} \ @@ -28,8 +30,6 @@ RUN_DEPENDS+= rrdtool:databases/rrdtool \ bash:shells/bash \ sudo:security/sudo -USES= python${PY_MYSQL} shebangfix - USE_PHP= ctype curl filter gd hash json ldap mbstring mysqli openssl pdo pdo_mysql posix session simplexml snmp tokenizer xml zip USE_GITHUB= yes @@ -157,6 +157,9 @@ do-install: # Ensure PHP and Python scripts are executable ${FIND} ${STAGEDIR}/${WWWDIR} -type f -name '*.py' -or -type f -name \ '*.php' -exec ${CHMOD} +x {} \; +# these values should be outside the www tree now + ${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} + ${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} @@ -170,10 +173,6 @@ do-install-EXAMPLES-on: .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${EXAMPLESDIR} .endfor - -# these values should be outside the www tree now - ${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} - ${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} post-install: @${FIND} -s ${STAGEDIR}${WWWDIR} -type f '(' -name '*.orig' -or -name '*.bak' -or -name '.gitignore' ')' -delete