svn commit: r340271 - head/net/relayd

Martin Matuska mm at FreeBSD.org
Sun Jan 19 12:19:26 UTC 2014


Author: mm
Date: Sun Jan 19 12:19:25 2014
New Revision: 340271
URL: http://svnweb.freebsd.org/changeset/ports/340271
QAT: https://qat.redports.org/buildarchive/r340271/

Log:
  Fix pkg-plist for relayd

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

Modified: head/net/relayd/Makefile
==============================================================================
--- head/net/relayd/Makefile	Sun Jan 19 12:07:21 2014	(r340270)
+++ head/net/relayd/Makefile	Sun Jan 19 12:19:25 2014	(r340271)
@@ -2,6 +2,7 @@
 
 PORTNAME=	relayd
 PORTVERSION=	5.4.20131122
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	GH
 
@@ -54,7 +55,7 @@ post-patch:
 post-install:
 	@${INSTALL_DATA} ${WRKSRC}/../etc/relayd.conf \
 		${STAGEDIR}${PREFIX}/etc/relayd.conf.sample
-	@${CP} -n ${STAGEDIR}${PREFIX}/etc/relayd.conf.sample \
+	@${CP} -n ${WRKSRC}/../etc/relayd.conf \
 		${STAGEDIR}${PREFIX}/etc/relayd.conf || ${TRUE}
 
 .include <bsd.port.post.mk>

Modified: head/net/relayd/pkg-plist
==============================================================================
--- head/net/relayd/pkg-plist	Sun Jan 19 12:07:21 2014	(r340270)
+++ head/net/relayd/pkg-plist	Sun Jan 19 12:19:25 2014	(r340271)
@@ -1,4 +1,5 @@
 @unexec if cmp -s %D/etc/relayd.conf %D/etc/relayd.conf.sample; then rm -f %D/etc/relayd.conf; fi
 etc/relayd.conf.sample
+ at exec cp -n %B/%f %B/relayd.conf
 sbin/relayctl
 sbin/relayd


More information about the svn-ports-all mailing list