Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 12:19:25 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340271 - head/net/relayd
Message-ID:  <201401191219.s0JCJPXY091705@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+@exec cp -n %B/%f %B/relayd.conf
 sbin/relayctl
 sbin/relayd



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