From owner-svn-ports-head@freebsd.org Tue May 24 14:31:00 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F744B47C55; Tue, 24 May 2016 14:31:00 +0000 (UTC) (envelope-from feld@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 mx1.freebsd.org (Postfix) with ESMTPS id 03D6E1E11; Tue, 24 May 2016 14:30:59 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4OEUxlt010758; Tue, 24 May 2016 14:30:59 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4OEUxdP010756; Tue, 24 May 2016 14:30:59 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201605241430.u4OEUxdP010756@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Tue, 24 May 2016 14:30:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415792 - head/net-mgmt/xymon-server X-SVN-Group: ports-head 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.22 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 May 2016 14:31:00 -0000 Author: feld Date: Tue May 24 14:30:58 2016 New Revision: 415792 URL: https://svnweb.freebsd.org/changeset/ports/415792 Log: net-mgmt/xymon-server: Modernize port Clean up pkg-plist Move @exec to post-install Reported by: bapt Modified: head/net-mgmt/xymon-server/Makefile head/net-mgmt/xymon-server/pkg-plist Modified: head/net-mgmt/xymon-server/Makefile ============================================================================== --- head/net-mgmt/xymon-server/Makefile Tue May 24 14:12:38 2016 (r415791) +++ head/net-mgmt/xymon-server/Makefile Tue May 24 14:30:58 2016 (r415792) @@ -79,7 +79,22 @@ do-configure: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ post-install: - ${MKDIR} ${STAGEDIR}${WWWDIR}/server/etc + ${MKDIR} ${STAGEDIR}${WWWDIR}/data + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/acks + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/data + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/disabled + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/hist + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/histlogs + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/hostdata + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/logs + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/rrd + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/download + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/tmp + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/html + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/notes + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/rep + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/snap + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/wml ${LN} -s ${LOCALBASE}/sbin/fping ${STAGEDIR}${WWWDIR}/server/bin/xymonping ${INSTALL_SCRIPT} ${WRKSRC}/build/upgrade430.sh ${STAGEDIR}${WWWDIR}/server/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/build/renamevars ${STAGEDIR}${WWWDIR}/server/bin/ Modified: head/net-mgmt/xymon-server/pkg-plist ============================================================================== --- head/net-mgmt/xymon-server/pkg-plist Tue May 24 14:12:38 2016 (r415791) +++ head/net-mgmt/xymon-server/pkg-plist Tue May 24 14:30:58 2016 (r415792) @@ -427,54 +427,24 @@ man/man8/xymonproxy.8 %%WWWDIR%%/server/www/menu/xymonmenu-blue.css %%WWWDIR%%/server/www/menu/xymonmenu-grey.css %%WWWDIR%%/server/xymon.sh -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/acks -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/data -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/disabled -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/hist -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/histlogs -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/hostdata -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/logs -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/rrd -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/download -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/tmp -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/html -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/notes -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/rep -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/snap -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/wml -@exec chown %%XYMONUSER%% %D/%%WWWDIR%%/server/www -@dir %%WWWDIR%%/server/www/wml -@dir %%WWWDIR%%/server/www/snap -@dir %%WWWDIR%%/server/www/rep -@dir %%WWWDIR%%/server/www/notes -@dir %%WWWDIR%%/server/www/menu -@dir %%WWWDIR%%/server/www/html -@dir %%WWWDIR%%/server/www/help/manpages/man8 -@dir %%WWWDIR%%/server/www/help/manpages/man7 -@dir %%WWWDIR%%/server/www/help/manpages/man5 -@dir %%WWWDIR%%/server/www/help/manpages/man1 -@dir %%WWWDIR%%/server/www/help/manpages -@dir %%WWWDIR%%/server/www/help -@dir %%WWWDIR%%/server/www/gifs -@dir %%WWWDIR%%/server/www -@dir %%WWWDIR%%/server/web -@dir %%WWWDIR%%/server/tmp -@dir %%WWWDIR%%/server/ext -@dir %%WWWDIR%%/server/etc/tasks.d -@dir %%WWWDIR%%/server/etc -@dir %%WWWDIR%%/server/download -@dir %%WWWDIR%%/server/bin -@dir %%WWWDIR%%/server -@dir %%WWWDIR%%/data/rrd -@dir %%WWWDIR%%/data/logs -@dir %%WWWDIR%%/data/hostdata -@dir %%WWWDIR%%/data/histlogs -@dir %%WWWDIR%%/data/hist -@dir %%WWWDIR%%/data/disabled -@dir %%WWWDIR%%/data/data +@owner %%XYMONUSER%% @dir %%WWWDIR%%/data/acks -@dir %%WWWDIR%%/data -@dir %%WWWDIR%%/cgi-secure -@dir %%WWWDIR%%/cgi-bin -@dir %%WWWDIR%% +@dir %%WWWDIR%%/data/data +@dir %%WWWDIR%%/data/disabled +@dir %%WWWDIR%%/data/hist +@dir %%WWWDIR%%/data/histlogs +@dir %%WWWDIR%%/data/hostdata +@dir %%WWWDIR%%/data/logs +@dir %%WWWDIR%%/data/rrd +@dir %%WWWDIR%%/server/download +@owner +@dir %%WWWDIR%%/server/etc/tasks.d +@owner %%XYMONUSER%% +@dir %%WWWDIR%%/server/tmp +@dir %%WWWDIR%%/server/www +@dir %%WWWDIR%%/server/www/html +@dir %%WWWDIR%%/server/www/notes +@dir %%WWWDIR%%/server/www/rep +@dir %%WWWDIR%%/server/www/snap +@dir %%WWWDIR%%/server/www/wml +@owner