svn commit: r394229 - in head/sysutils: bareos-client bareos-server

Jose Alonso Cardenas Marquez acm at FreeBSD.org
Fri Aug 14 16:33:41 UTC 2015


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%%
- at dir(bareos,bareos,) /var/log/bareos
- at 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
- at dir /var/log/bareos
-
+ at dir(bareos,bareos,) /var/log/bareos
+ at dir(bareos,bareos,) /var/run/bareos


More information about the svn-ports-all mailing list