Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 19:20:33 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356164 - head/net/spread
Message-ID:  <201406011920.s51JKXsW032192@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sun Jun  1 19:20:33 2014
New Revision: 356164
URL: http://svnweb.freebsd.org/changeset/ports/356164
QAT: https://qat.redports.org/buildarchive/r356164/

Log:
  net/spread: fix staging
  
  - fix staging
  - simplify config samples handling
  - bump PORTREVISION
  
  Submitted by:	swills (private email)
  Approved by:	portmgr (blanket)

Modified:
  head/net/spread/Makefile
  head/net/spread/pkg-plist

Modified: head/net/spread/Makefile
==============================================================================
--- head/net/spread/Makefile	Sun Jun  1 18:58:45 2014	(r356163)
+++ head/net/spread/Makefile	Sun Jun  1 19:20:33 2014	(r356164)
@@ -3,7 +3,7 @@
 
 PORTNAME=	spread
 PORTVERSION=	3.17.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net perl5
 MASTER_SITES=	http://bsdforge.com/projects/source/apache2/
 DISTNAME=	${PORTNAME}-src-${PORTVERSION}
@@ -73,5 +73,6 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DOCSDIR}/LICENSE
 	${INSTALL} -m 750 -d ${STAGEDIR}${RUNDIR}
+	${SED} -i '' 's|^${STAGEDIR}||' ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Spread/.packlist
 
 .include <bsd.port.post.mk>

Modified: head/net/spread/pkg-plist
==============================================================================
--- head/net/spread/pkg-plist	Sun Jun  1 18:58:45 2014	(r356163)
+++ head/net/spread/pkg-plist	Sun Jun  1 19:20:33 2014	(r356164)
@@ -2,12 +2,8 @@ bin/spflooder
 bin/spmonitor
 bin/sptuser
 bin/spuser
-@unexec if cmp -s %D/etc/spread.access_ip.sample %D/etc/spread.access_ip; then rm -f %D/etc/spread.access_ip; fi
-etc/spread.access_ip.sample
-@exec if [ ! -f %D/etc/spread.access_ip ] ; then cp -p %D/%F %B/spread.access_ip; fi
-@unexec if cmp -s %D/etc/spread.conf.sample %D/etc/spread.conf; then rm -f %D/etc/spread.conf; fi
-etc/spread.conf.sample
-@exec if [ ! -f %D/etc/spread.conf ] ; then cp -p %D/%F %B/spread.conf; fi
+@sample etc/spread.access_ip.sample
+@sample etc/spread.conf.sample
 include/sp.h
 include/sp_events.h
 include/sp_func.h
@@ -36,6 +32,7 @@ man/man3/SP_poll.3.gz
 man/man3/SP_receive.3.gz
 man/man3/SP_scat_multicast.3.gz
 man/man3/SP_scat_receive.3.gz
+%%PERL5_MAN3%%/Spread.3.gz
 %%SITE_PERL%%/%%PERL_ARCH%%/Spread.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/.packlist
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/Spread.bs



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