Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2013 04:53:54 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332583 - in head/net-mgmt/netdisco: . files
Message-ID:  <201311030453.rA34rsc0003903@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Nov  3 04:53:54 2013
New Revision: 332583
URL: http://svnweb.freebsd.org/changeset/ports/332583

Log:
  - Add missing rcvar in rc.d script
  - Bump PORTREVISION for package change
  - While I'm here, use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk
  
  PR:		ports/182277
  Submitted by:	Loic Blot <loic.blot@unix-experience.fr>
  Approved by:	maintainer (timeout, 7 weeks)

Modified:
  head/net-mgmt/netdisco/Makefile
  head/net-mgmt/netdisco/files/netdisco.in

Modified: head/net-mgmt/netdisco/Makefile
==============================================================================
--- head/net-mgmt/netdisco/Makefile	Sun Nov  3 04:53:49 2013	(r332582)
+++ head/net-mgmt/netdisco/Makefile	Sun Nov  3 04:53:54 2013	(r332583)
@@ -3,6 +3,7 @@
 
 PORTNAME=	netdisco
 PORTVERSION=	1.3.2
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
 MASTER_SITES=	SF
 
@@ -38,6 +39,7 @@ USE_APACHE_RUN=	22+
 USE_RC_SUBR=	netdisco
 
 NO_BUILD=	yes
+NO_STAGE=	yes
 
 NETDISCO_RUNDIR=/var/run
 NETDISCO_DBDIR=	/var/db/netdisco
@@ -56,8 +58,7 @@ CONFIG_FILES=	netdisco.conf netdisco.cro
 
 DOCFILES=	ChangeLog doc/*.pod INSTALL README* UPGRADE
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 MIBSDIR=	${PREFIX}/share/netdisco-mibs
 .if ${PORT_OPTIONS:MMIBS}
@@ -150,4 +151,4 @@ post-install:
 .	endif
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/net-mgmt/netdisco/files/netdisco.in
==============================================================================
--- head/net-mgmt/netdisco/files/netdisco.in	Sun Nov  3 04:53:49 2013	(r332582)
+++ head/net-mgmt/netdisco/files/netdisco.in	Sun Nov  3 04:53:54 2013	(r332583)
@@ -10,6 +10,7 @@
 . /etc/rc.subr
 
 name="netdisco"
+rcvar="netdisco_enable"
 
 load_rc_config $name
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311030453.rA34rsc0003903>