Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2015 16:33:40 +0000 (UTC)
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r394229 - in head/sysutils: bareos-client bareos-server
Message-ID:  <201508141633.t7EGXeW3034085@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Fri Aug 14 16:33:39 2015
New Revision: 394229
URL: https://svnweb.freebsd.org/changeset/ports/394229

Log:
  - /var/log/bareos and /var/run/bareos are created by bareos-client now. It
    fixed a problem when bareos-client is started
  
  PR:		202291
  Reported by:	timp87  _ at _ gmail.com

Modified:
  head/sysutils/bareos-client/Makefile
  head/sysutils/bareos-server/Makefile
  head/sysutils/bareos-server/pkg-plist
  head/sysutils/bareos-server/pkg-plist.client

Modified: head/sysutils/bareos-client/Makefile
==============================================================================
--- head/sysutils/bareos-client/Makefile	Fri Aug 14 16:31:35 2015	(r394228)
+++ head/sysutils/bareos-client/Makefile	Fri Aug 14 16:33:39 2015	(r394229)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bareos
-PORTREVISION=	0
+PORTREVISION=	1
 PKGNAMESUFFIX=	-client
 
 COMMENT=	Backup archiving recovery open sourced (client)

Modified: head/sysutils/bareos-server/Makefile
==============================================================================
--- head/sysutils/bareos-server/Makefile	Fri Aug 14 16:31:35 2015	(r394228)
+++ head/sysutils/bareos-server/Makefile	Fri Aug 14 16:33:39 2015	(r394229)
@@ -3,7 +3,7 @@
 
 PORTNAME=	bareos
 DISTVERSION=	15.2
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	sysutils
 PKGNAMEPREFIX?=	#
 PKGNAMESUFFIX?=	-server
@@ -162,15 +162,13 @@ MP1+=	bsmtp.1 bregex.1 bwild.1 bareos-tr
 MAKE_ENV+=	MAN8="${MP8}" MAN1="${MP1}"
 
 post-patch:
-#	This port does not install docs.  See bacula-docs for that
+#	This port does not install docs.  See bareos-docs for that
 	${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in
 #	Default bconsole.conf is in ${ETCDIR}
 	@${REINPLACE_CMD} -e 's|./bconsole.conf|${ETCDIR}/bconsole.conf|g' ${WRKSRC}/src/console/console.c
 	@${REINPLACE_CMD} -e 's|^MAN8 =|MAN8 ?=|g' -e 's|^MAN1 =|MAN1 ?=|g' ${WRKSRC}/manpages/Makefile.in
 	@${REINPLACE_CMD} -e 's|_NONSHARED||g' ${WRKSRC}/src/filed/Makefile.in
 .if defined(WITH_CLIENT_ONLY)
-# 	In client port only install startup script out of script dir (see below post-install)
-# 	Dont mkdir ${PREFIX}/share/bacula cause it's empty
 	@${REINPLACE_CMD} -e 's|^\(fd_subdirs = .*\)scripts\(.*\)|\1\2|g' ${WRKSRC}/Makefile.in
 	${REINPLACE_CMD} -e 's|\(.*$${MKDIR} $${DESTDIR}$${scriptdir}\)|#\1|g' ${WRKSRC}/Makefile.in
 .else

Modified: head/sysutils/bareos-server/pkg-plist
==============================================================================
--- head/sysutils/bareos-server/pkg-plist	Fri Aug 14 16:31:35 2015	(r394228)
+++ head/sysutils/bareos-server/pkg-plist	Fri Aug 14 16:33:39 2015	(r394229)
@@ -93,5 +93,3 @@ sbin/btraceback
 sbin/bwild
 sbin/chio-bareos
 @dir(bareos,bareos,) %%BAREOS_DIR%%
-@dir(bareos,bareos,) /var/log/bareos
-@dir(bareos,bareos,) /var/run/bareos

Modified: head/sysutils/bareos-server/pkg-plist.client
==============================================================================
--- head/sysutils/bareos-server/pkg-plist.client	Fri Aug 14 16:31:35 2015	(r394228)
+++ head/sysutils/bareos-server/pkg-plist.client	Fri Aug 14 16:33:39 2015	(r394229)
@@ -30,5 +30,5 @@ bin/bconsole
 @dir(,bareos,) %%ETCDIR%%
 @dir lib/bareos/plugins
 @dir lib/bareos/scripts
-@dir /var/log/bareos
-
+@dir(bareos,bareos,) /var/log/bareos
+@dir(bareos,bareos,) /var/run/bareos



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