From owner-svn-ports-head@FreeBSD.ORG Fri May 9 00:01:56 2014 Return-Path: Delivered-To: svn-ports-head@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 ED9483E9; Fri, 9 May 2014 00:01:55 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 CEC725FB; Fri, 9 May 2014 00:01:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4901trr068388; Fri, 9 May 2014 00:01:55 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4901tjv068365; Fri, 9 May 2014 00:01:55 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201405090001.s4901tjv068365@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 9 May 2014 00:01:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353374 - in head/net-mgmt/ipv6mon: . files 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.18 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: Fri, 09 May 2014 00:01:56 -0000 Author: bapt Date: Fri May 9 00:01:54 2014 New Revision: 353374 URL: http://svnweb.freebsd.org/changeset/ports/353374 QAT: https://qat.redports.org/buildarchive/r353374/ Log: Support stage Use @sample Modified: head/net-mgmt/ipv6mon/Makefile head/net-mgmt/ipv6mon/files/patch-Makefile head/net-mgmt/ipv6mon/pkg-plist Modified: head/net-mgmt/ipv6mon/Makefile ============================================================================== --- head/net-mgmt/ipv6mon/Makefile Fri May 9 00:01:50 2014 (r353373) +++ head/net-mgmt/ipv6mon/Makefile Fri May 9 00:01:54 2014 (r353374) @@ -3,7 +3,7 @@ PORTNAME= ipv6mon PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt ipv6 MASTER_SITES= http://www.si6networks.com/tools/ipv6mon/ DISTNAME= ${PORTNAME}-v${PORTVERSION} @@ -11,37 +11,32 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Tool for monitoring IPv6 address usage +OPTIONS_DEFINE= DOCS + LICENSE= GPLv3 -MAKE_ENV= DESTDIR=${PREFIX}/ +USES= uidfix +#Ignore "normal" destdir from port infra +DESTDIRNAME= IGNOREME +MAKE_ENV= DESTDIR=${STAGEDIR}${PREFIX}/ CFLAGS+= -DIPV6MON_CONF=\\\"${PREFIX}/etc/ipv6mon.conf\\\" USERS= ${PORTNAME} GROUPS= ${PORTNAME} USE_RC_SUBR= ${PORTNAME} -MAN5= ipv6mon.conf.5 -MAN8= ipv6mon.8 - PORTDOCS= README.TXT \ ipv6mon-installation-notes.odt \ ipv6mon-installation-notes.pdf \ ipv6mon-manual.odt \ ipv6mon-manual.pdf -NO_STAGE= yes post-extract: ${INSTALL_DATA} ${WRKSRC}/manuals/* ${WRKSRC} post-install: - if [ ! -r ${PREFIX}/etc/ipv6mon.conf ]; then \ - ${INSTALL_DATA} ${PREFIX}/etc/ipv6mon.conf.dist \ - ${PREFIX}/etc/ipv6mon.conf; \ - fi - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/etc/rc.d -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d + @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && \ - ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif + ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Modified: head/net-mgmt/ipv6mon/files/patch-Makefile ============================================================================== --- head/net-mgmt/ipv6mon/files/patch-Makefile Fri May 9 00:01:50 2014 (r353373) +++ head/net-mgmt/ipv6mon/files/patch-Makefile Fri May 9 00:01:54 2014 (r353374) @@ -7,7 +7,7 @@ +LDADD= -lpcap + +FILES= ipv6mon.conf -+FILESNAME= ipv6mon.conf.dist ++FILESNAME= ipv6mon.conf.sample +FILESDIR= etc + +BINDIR= sbin Modified: head/net-mgmt/ipv6mon/pkg-plist ============================================================================== --- head/net-mgmt/ipv6mon/pkg-plist Fri May 9 00:01:50 2014 (r353373) +++ head/net-mgmt/ipv6mon/pkg-plist Fri May 9 00:01:54 2014 (r353374) @@ -1,4 +1,4 @@ -@unexec cmp -s %D/etc/ipv6mon.conf.dist %D/etc/ipv6mon.conf && rm -f %D/etc/ipv6mon.conf || true -etc/ipv6mon.conf.dist -@exec if [ ! -r %D/etc/ipv6mon.conf ]; then install -m 444 %D/etc/ipv6mon.conf.dist %D/etc/ipv6mon.conf; fi +@sample etc/ipv6mon.conf.sample sbin/ipv6mon +man/man5/ipv6mon.conf.5.gz +man/man8/ipv6mon.8.gz