svn commit: r549866 - in head/sysutils: nut nut-devel
Cy Schubert
cy at FreeBSD.org
Thu Sep 24 00:55:00 UTC 2020
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 at 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
+ at 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
+ at dir etc/syslog.d
@dir(%%NUT_USER%%,%%NUT_GROUP%%,750) %%STATEDIR%%
@dir libexec/nut
@dir(%%NUT_USER%%,%%NUT_GROUP%%,) /var/log/nut
More information about the svn-ports-head
mailing list