Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2019 14:17:06 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r497023 - head/sysutils/nut
Message-ID:  <201903281417.x2SEH6vP077025@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Mar 28 14:17:06 2019
New Revision: 497023
URL: https://svnweb.freebsd.org/changeset/ports/497023

Log:
  Really fix where samples go.

Modified:
  head/sysutils/nut/Makefile
  head/sysutils/nut/pkg-plist

Modified: head/sysutils/nut/Makefile
==============================================================================
--- head/sysutils/nut/Makefile	Thu Mar 28 14:07:25 2019	(r497022)
+++ head/sysutils/nut/Makefile	Thu Mar 28 14:17:06 2019	(r497023)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nut
 PORTVERSION=	2.7.4
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@@ -188,10 +188,9 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
-	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d
-	${INSTALL_DATA} ${PATCHDIR}/nut.syslog ${STAGEDIR}${PREFIX}/etc/syslog.d/nut.sample
-	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
-	${INSTALL_DATA} ${PATCHDIR}/nut.newsyslog ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/nut.conf.sample
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${PATCHDIR}/nut.syslog ${STAGEDIR}${EXAMPLESDIR}/syslog.sample
+	${INSTALL_DATA} ${PATCHDIR}/nut.newsyslog ${STAGEDIR}${EXAMPLESDIR}/newsyslog.sample
 	${MKDIR} ${STAGEDIR}/var/log/nut
 
 .include <bsd.port.mk>

Modified: head/sysutils/nut/pkg-plist
==============================================================================
--- head/sysutils/nut/pkg-plist	Thu Mar 28 14:07:25 2019	(r497022)
+++ head/sysutils/nut/pkg-plist	Thu Mar 28 14:17:06 2019	(r497023)
@@ -17,8 +17,8 @@
 @sample %%ETCDIR%%/upsd.users.sample
 @sample %%ETCDIR%%/upsmon.conf.sample
 @sample %%ETCDIR%%/upssched.conf.sample
-@sample etc/newsyslog.conf.d/nut.conf.sample
-@sample etc/syslog.d/nut.sample
+@sample %%EXAMPLESDIR%%/newsyslog.sample
+@sample %%EXAMPLESDIR%%/syslog.sample
 %%NUT_USB%%etc/devd/nut-usb.conf
 @stopdaemon nut_upsmon
 @stopdaemon nut_upslog



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