Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 00:54:58 +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: r549866 - in head/sysutils: nut nut-devel
Message-ID:  <202009240054.08O0swb0054084@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Sep 24 00:54:58 2020
New Revision: 549866
URL: https://svnweb.freebsd.org/changeset/ports/549866

Log:
  Create syslog.d subdir if it doesn't exist, allowing install/upgrade
  to complete.
  
  PR:		241234
  Submitted by:	dvl
  Reported by:	dvl, ddrinnon@cdor.net

Modified:
  head/sysutils/nut-devel/Makefile   (contents, props changed)
  head/sysutils/nut-devel/pkg-plist   (contents, props changed)
  head/sysutils/nut/Makefile   (contents, props changed)
  head/sysutils/nut/pkg-plist   (contents, props changed)

Modified: head/sysutils/nut-devel/Makefile
==============================================================================
--- head/sysutils/nut-devel/Makefile	Thu Sep 24 00:21:51 2020	(r549865)
+++ head/sysutils/nut-devel/Makefile	Thu Sep 24 00:54:58 2020	(r549866)
@@ -3,6 +3,7 @@
 
 PORTNAME=	nut
 PORTVERSION=	${NUT_COMMIT_DATE}
+PORTREVISION=	1
 CATEGORIES=	sysutils
 PKGNAMESUFFIX=	-devel
 # MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
@@ -192,6 +193,7 @@ pre-install:
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${STATEDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d
 .if ${PORT_OPTIONS:MBASH}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
 	${INSTALL_DATA} ${WRKSRC}/scripts/misc/nut.bash_completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d/

Modified: head/sysutils/nut-devel/pkg-plist
==============================================================================
--- head/sysutils/nut-devel/pkg-plist	Thu Sep 24 00:21:51 2020	(r549865)
+++ head/sysutils/nut-devel/pkg-plist	Thu Sep 24 00:54:58 2020	(r549866)
@@ -252,6 +252,7 @@ sbin/upsd
 sbin/upsdrvctl
 sbin/upsmon
 sbin/upssched
+@dir etc/syslog.d
 @dir(%%NUT_USER%%,%%NUT_GROUP%%,750) %%STATEDIR%%
 @dir libexec/nut
 @dir(%%NUT_USER%%,%%NUT_GROUP%%,) /var/log/nut

Modified: head/sysutils/nut/Makefile
==============================================================================
--- head/sysutils/nut/Makefile	Thu Sep 24 00:21:51 2020	(r549865)
+++ head/sysutils/nut/Makefile	Thu Sep 24 00:54:58 2020	(r549866)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nut
 PORTVERSION=	2.7.4
-PORTREVISION=	14
+PORTREVISION=	15
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@@ -175,6 +175,7 @@ pre-install:
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${STATEDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d
 .if ${PORT_OPTIONS:MBASH}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
 	${INSTALL_DATA} ${WRKSRC}/scripts/misc/nut.bash_completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d/

Modified: head/sysutils/nut/pkg-plist
==============================================================================
--- head/sysutils/nut/pkg-plist	Thu Sep 24 00:21:51 2020	(r549865)
+++ head/sysutils/nut/pkg-plist	Thu Sep 24 00:54:58 2020	(r549866)
@@ -247,6 +247,7 @@ sbin/upsd
 sbin/upsdrvctl
 sbin/upsmon
 sbin/upssched
+@dir etc/syslog.d
 @dir(%%NUT_USER%%,%%NUT_GROUP%%,750) %%STATEDIR%%
 @dir libexec/nut
 @dir(%%NUT_USER%%,%%NUT_GROUP%%,) /var/log/nut



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