From nobody@FreeBSD.org  Wed Apr 23 06:53:44 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 2C0052BC
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Apr 2014 06:53:44 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 0068A17C8
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Apr 2014 06:53:44 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3N6rhVg014289
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 23 Apr 2014 06:53:43 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3N6rhxG014281;
	Wed, 23 Apr 2014 06:53:43 GMT
	(envelope-from nobody)
Message-Id: <201404230653.s3N6rhxG014281@cgiserv.freebsd.org>
Date: Wed, 23 Apr 2014 06:53:43 GMT
From: Pavel Timofeev <timp87@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net-mgmt/zabbix2-server has wrong pkg-plist
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: pakhom706@gmail.com

>Number:         188908
>Category:       ports
>Synopsis:       net-mgmt/zabbix2-server has wrong pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 23 07:00:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Thu Apr 24 12:20:01 UTC 2014
>Originator:     Pavel Timofeev
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
OCS
>Environment:
>Description:
Hi! Something's wrong with net-mgmt/zabbix2-server port
root@reticulum:/usr/ports/net-mgmt/zabbix2-server # make showconfig
===> The following configuration options are available for zabbix2-server-2.0.10_1:
     CURL=on: Support for web monitoring
     FPING=on: Build/install fping for ping checks
     IPMI=on: Support for IPMI checks
     IPV6=off: IPv6 protocol support
     JABBER=on: Support for Jabber media type
     JAVAGW=on: Support for Java gateway
     LDAP=on: Support for LDAP server checks
     MYSQL=on: MySQL database support
     NMAP=on: Build/install nmap for o/s detection
     ODBC=on: Support for database checks via ODBC
     SSH=on: Support for SSH-based checks
====> Options available for the single DB: you have to select exactly one of them
     MYSQL=on: MySQL database support
     PGSQL=off: PostgreSQL database support
     SQLITE=off: SQLite database support
     ORACLE=off: Oracle database support
====> Support for database checks via ODBC: you have to select exactly one of them
     IODBC=off: Use iODBC for ODBC support
     UNIXODBC=on: Use UnixODBC for ODBC support
===> Use 'make config' to modify these settings


root@reticulum:/usr/ports/net-mgmt/zabbix2-server # make stage && make check-orphans && make package
====> Checking for pkg-plist issues (check-plist)
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%ZABBIX_JAVA%%/settings.sh
===> Checking for directories owned by MTREEs
===> Checking for directories handled by dependencies
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%ZABBIX_JAVA%%/settings.sh.sample
===> Error: Plist issues found.
*** [check-plist] Error code 1

Stop in /usr/ports/net-mgmt/zabbix2-server.



>How-To-Repeat:
Try to install net-mgmt/zabbix2-server with java option.
I didn't try to do similar installation of net-mgmt/zabbix22-server so it can have same problem.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Apr 23 07:00:03 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188908 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: pakhom706@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/188908: net-mgmt/zabbix2-server has wrong pkg-plist
Date: Wed, 23 Apr 2014 07:00:03 UT

 Maintainer of net-mgmt/zabbix2-server,
 
 Please note that PR ports/188908 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/188908
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Pavel Timofeev <timp87@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/188908: net-mgmt/zabbix2-server has wrong pkg-plist
Date: Thu, 24 Apr 2014 16:13:22 +0400

 Sorry, I filled it a little bit wrong. It was FreeBSD 9.2-RELEASE
 amd64 without enabled pkgng.
 Now I tried to install net-mgmt/zabbix22-server on fresh FreeBSD
 10-RELEASE amd64 and got same problem!
>Unformatted:
