Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 14:59:28 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344220 - in head/net/exabgp: . files
Message-ID:  <201402141459.s1EExSwn082256@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Fri Feb 14 14:59:28 2014
New Revision: 344220
URL: http://svnweb.freebsd.org/changeset/ports/344220
QAT: https://qat.redports.org/buildarchive/r344220/

Log:
  - Add STAGE support
  - Fix typo in rc script [1]
  - Bump PORTREVISION
  
  Reported by:	feld@ [1]

Modified:
  head/net/exabgp/Makefile
  head/net/exabgp/files/exabgp.in

Modified: head/net/exabgp/Makefile
==============================================================================
--- head/net/exabgp/Makefile	Fri Feb 14 14:59:24 2014	(r344219)
+++ head/net/exabgp/Makefile	Fri Feb 14 14:59:28 2014	(r344220)
@@ -3,6 +3,7 @@
 
 PORTNAME=	exabgp
 PORTVERSION=	3.2.18
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	GH GHC \
 		http://mirrors.rit.edu/zi/
@@ -28,7 +29,6 @@ GROUPS=		_bgpd
 
 MAN1=		${PORTNAME}.1
 
-NO_STAGE=	yes
 
 OPTIONS_DEFINE=	EXAMPLES 
 
@@ -41,16 +41,16 @@ do-build:
 	${PYTHON_CMD} -m compileall ${WRKSRC}/lib
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/sbin/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${PREFIX}/man/man1
-	@${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME} ${ETCDIR}
-	(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${PYTHON_SITELIBDIR})
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
+	${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+	@${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME} ${STAGEDIR}${ETCDIR}
+	(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR})
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	(cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 .endif
 	@if [ ! -f ${ETCDIR}/exabgp.env ]; then \
-	    	${CP} ${FILESDIR}/exabgp.env ${ETCDIR} ; \
+	    	${CP} ${FILESDIR}/exabgp.env ${STAGEDIR}${ETCDIR} ; \
 	fi
 
 post-install:

Modified: head/net/exabgp/files/exabgp.in
==============================================================================
--- head/net/exabgp/files/exabgp.in	Fri Feb 14 14:59:24 2014	(r344219)
+++ head/net/exabgp/files/exabgp.in	Fri Feb 14 14:59:28 2014	(r344220)
@@ -48,7 +48,7 @@ exabgp_start()
 	${procname} ${command} --folder %%ETCDIR%% ${exabgp_conf}
 }
 
-exabgp_reload_all() {
+exabgp_reload_all()
 {
     	echo "Reloading exabgp configuration and processes."
 	kill -USR2 $rc_pid



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