pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ircd-hybrid: Adjust paths in doc/reference.conf



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Jan 30 22:25:27 2019 +0100
Changeset:	1634acb83254c4359f567bd09ebfcf2075b1b107

Modified Files:
	ircd-hybrid/Makefile

Log Message:
ircd-hybrid: Adjust paths in doc/reference.conf

doc/reference.conf paths for logs were not adjusted.  Split the
`paths' class into `mpaths' and `rpaths' respectively to adjust
ircd(8) man page paths and doc/reference.conf paths.

XXX: *log in INSTALL can be probably removed, these logs are no longer
XXX: referenced by at least doc/reference.conf and in any case now the log
XXX: files are automatically created with the 0600 permission owned by
XXX: ${IRCD_HYBRID_IRC_USER}:${IRCD_HYBRID_IRC_GROUP}.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1634acb83254c4359f567bd09ebfcf2075b1b107

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ircd-hybrid/Makefile | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diffs:
diff --git a/ircd-hybrid/Makefile b/ircd-hybrid/Makefile
index 68f7b4d0b4..2a93142309 100644
--- a/ircd-hybrid/Makefile
+++ b/ircd-hybrid/Makefile
@@ -44,12 +44,18 @@ PKG_USERS=		${IRCD_HYBRID_IRC_USER}:${IRCD_HYBRID_IRC_GROUP}
 PKG_USERS_VARS+=	IRCD_HYBRID_IRC_USER
 PKG_GROUPS_VARS+=	IRCD_HYBRID_IRC_GROUP
 
-SUBST_CLASSES+=		paths
-SUBST_MESSAGE.paths=	Fixing hardcoded paths.
-SUBST_STAGE.paths=	pre-configure
-SUBST_FILES.paths=	doc/ircd.8 doc/reference.conf
-SUBST_SED.paths+=	-e "s|/usr/share/ircd|${PKG_SYSCONFDIR}|g"
-SUBST_SED.paths+=	-e "s|/var/log|${VARBASE}/log/ircd-hybrid|g"
+SUBST_CLASSES+=		mpaths
+SUBST_MESSAGE.mpaths=	Fixing hardcoded paths in ircd(8)
+SUBST_STAGE.mpaths=	pre-configure
+SUBST_FILES.mpaths=	doc/ircd.8 doc/reference.conf
+SUBST_SED.mpaths+=	-e "s|/usr/share/ircd|${PKG_SYSCONFDIR}|g"
+SUBST_SED.mpaths+=	-e "s|/var/log|${VARBASE}/log/ircd-hybrid|g"
+
+SUBST_CLASSES+=		rpaths
+SUBST_MESSAGE.rpaths=	Adjusting paths in reference.conf
+SUBST_STAGE.rpaths=	pre-configure
+SUBST_FILES.rpaths=	doc/reference.conf
+SUBST_SED.rpaths+=	-e "s|var/log|${VARBASE}/log/ircd-hybrid/logs|g"
 
 SUBST_CLASSES+=		bpaths
 SUBST_MESSAGE.bpaths=	Fixing hardcoded build paths.


Home | Main Index | Thread Index | Old Index