Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  7 Apr 2006 11:01:23 -0400 (EDT)
From:      Dan Langille <dan@langille.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Dan Langille <dan@langille.org>
Subject:   ports/95474: [MAINTAINER UPDATE] sysutils/bacula-server sysutils/bacula-client : upgrade to 1.38.7
Message-ID:  <20060407150123.692D83E87@xeon.unixathome.org>
Resent-Message-ID: <200604071510.k37FADrK049201@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95474
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] sysutils/bacula-server sysutils/bacula-client : upgrade to 1.38.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 07 15:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dan Langille
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD xeon.unixathome.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 08:16:24 EST 2004 dan@polo.unixathome.org:/usr/obj/usr/src/sys/XEON i386


	
>Description:
	
- Upgrade to 1.38.7

- Move the rc.d scripts (introduced into the devel port) from z-*
  to * (e.g. z-bacula-dir.sh becomes bacula-dir.sh) because we now
  have the right stuff in REQUIRE.

- Add entry to UPDATING that mentions how to use the new rc.d scripts
  included with this update.
>How-To-Repeat:
	
>Fix:

	

--- updating.patch begins here ---
--- UPDATING	Fri Apr  7 10:27:30 2006
+++ /usr/ports/UPDATING	Fri Apr  7 10:23:54 2006
@@ -6,6 +6,27 @@
 time you update your ports collection, before attempting any port
 upgrades.
 
+20060407:
+  AFFECTS: users of sysutils/bacula*
+  AUTHOR: dan@langille.org
+
+  bacula-server now installs two rc.d scripts, one for the Director
+  and one for the Storage Daemon. To enable the Director at boot time, 
+  set the following in /etc/rc.conf[.local]:
+
+  bacula_dir_enable="YES"
+
+  To enable the Storage Daemon, set the following in rc.conf(5):
+
+  bacula_sd_enable="YES"
+
+  Similarly, bacula-client also installs a rcNG script. To enable
+  the File Daemon at boot time, set the following in rc.conf(5):
+
+  bacula_fd_enable="YES"
+
+  The old z-bacula.sh script in PREFIX/etc/rc.d should be removed.
+
 20060403:
   AFFECTS: users of databases/db*
   AUTHOR: swhetzel@gmail.com
--- updating.patch ends here ---

--- bacula-server.patch begins here ---
diff -ruN bacula-server.org/Makefile bacula-server/Makefile
--- bacula-server.org/Makefile	Fri Apr  7 08:50:59 2006
+++ bacula-server/Makefile	Fri Apr  7 10:36:08 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	bacula
-DISTVERSION=	1.38.6
+DISTVERSION=	1.38.7
 #PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@@ -20,7 +20,7 @@
 
 UNIQUENAME?=${PORTNAME}${PKGNAMESUFFIX}
 
-USE_RC_SUBR?=	z-bacula-dir.sh z-bacula-sd.sh
+USE_RC_SUBR?=	bacula-dir.sh bacula-sd.sh
 
 # The user/group IDs below are registered, see
 # http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#DADS-UID
diff -ruN bacula-server.org/distinfo bacula-server/distinfo
--- bacula-server.org/distinfo	Fri Apr  7 08:50:59 2006
+++ bacula-server/distinfo	Fri Apr  7 09:11:32 2006
@@ -1,6 +1,6 @@
-MD5 (bacula-1.38.6.tar.gz) = 219382ae85671c8ff13f375b6d9aa079
-SHA256 (bacula-1.38.6.tar.gz) = e671f3ff20c97e8392908920ae9ca38f814359c5b85b89625d43df9ad7349ed3
-SIZE (bacula-1.38.6.tar.gz) = 1952827
-MD5 (bacula-docs-1.38.6.tar.gz) = 1d62608a1a0d2fa7776277f80fa29c61
-SHA256 (bacula-docs-1.38.6.tar.gz) = 18d536368898a6dc74f8e782396dbe7b5d08e1724d7e26a2a4bb61a6795cf01a
-SIZE (bacula-docs-1.38.6.tar.gz) = 22696381
+MD5 (bacula-1.38.7.tar.gz) = 6273f45bfbcddd66e179bc6cb7e28ad1
+SHA256 (bacula-1.38.7.tar.gz) = 3f64449a863893ae42454acd57c4771af871fab4df8767c13b021d65b538aad3
+SIZE (bacula-1.38.7.tar.gz) = 1955052
+MD5 (bacula-docs-1.38.7.tar.gz) = da29daa9027c402f5d6b55a4c7982fdb
+SHA256 (bacula-docs-1.38.7.tar.gz) = 05a8db623a9950318646ac261715023d7b86d36b416287302e7fe00f8bd479f1
+SIZE (bacula-docs-1.38.7.tar.gz) = 22701695
diff -ruN bacula-server.org/files/bacula-dir.sh.in bacula-server/files/bacula-dir.sh.in
--- bacula-server.org/files/bacula-dir.sh.in	Wed Dec 31 19:00:00 1969
+++ bacula-server/files/bacula-dir.sh.in	Fri Apr  7 09:38:43 2006
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: utility
+# REQUIRE: DAEMON %%REQ_MYSQL%% %%REQ_PGSQL%%
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# bacula_dir_enable  (bool):   Set to NO by default.
+#                Set it to YES to enable bacula_dir.
+# bacula_dir_flags (params):   Set params used to start bacula_dir.
+#
+
+. %%RC_SUBR%%
+
+name="bacula_dir"
+rcvar=${name}_enable
+command=%%PREFIX%%/sbin/bacula-dir
+pidfile="${bacula_dir_pidfile}"
+
+load_rc_config $name
+
+: ${bacula_dir_enable="NO"}
+: ${bacula_dir_flags=" -u bacula -g bacula -v -c %%PREFIX%%/etc/bacula-dir.conf"}
+: ${bacula_dir_pidfile="/var/run/bacula-dir.9101.pid"}
+
+run_rc_command "$1"
diff -ruN bacula-server.org/files/bacula-fd.sh.in bacula-server/files/bacula-fd.sh.in
--- bacula-server.org/files/bacula-fd.sh.in	Wed Dec 31 19:00:00 1969
+++ bacula-server/files/bacula-fd.sh.in	Fri Apr  7 09:38:11 2006
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: utility
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# bacula_fd_enable  (bool):  Set to NO by default.
+#               Set it to YES to enable bacula_fd.
+# bacula_fd_flags (params):  Set params used to start bacula_fd.
+#
+
+. %%RC_SUBR%%
+
+name="bacula_fd"
+rcvar=${name}_enable
+command=/usr/local/sbin/bacula-fd
+pidfile="${bacula_fd_pidfile}"
+
+load_rc_config $name
+
+: ${bacula_fd_enable="NO"}
+: ${bacula_fd_flags=" -u root -g wheel -v -c /usr/local/etc/bacula-fd.conf"}
+: ${bacula_fd_pidfile="/var/run/bacula-fd.9102.pid"}
+
+run_rc_command "$1"
diff -ruN bacula-server.org/files/bacula-sd.sh.in bacula-server/files/bacula-sd.sh.in
--- bacula-server.org/files/bacula-sd.sh.in	Wed Dec 31 19:00:00 1969
+++ bacula-server/files/bacula-sd.sh.in	Fri Apr  7 09:38:17 2006
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: utility
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# bacula_sd_enable  (bool):  Set to NO by default.
+#               Set it to YES to enable bacula_sd.
+# bacula_sd_flags (params):  Set params used to start bacula_sd.
+#
+
+. %%RC_SUBR%%
+
+name="bacula_sd"
+rcvar=`set_rcvar`
+command=/usr/local/sbin/bacula-sd
+pidfile="${bacula_sd_pidfile}"
+
+load_rc_config $name
+
+: ${bacula_sd_enable="NO"}
+: ${bacula_sd_flags=" -u bacula -g operator -v -c /usr/local/etc/bacula-sd.conf"}
+: ${bacula_sd_pidfile="/var/run/bacula-sd.9103.pid"}
+
+run_rc_command "$1"
diff -ruN bacula-server.org/files/z-bacula-dir.sh.in bacula-server/files/z-bacula-dir.sh.in
--- bacula-server.org/files/z-bacula-dir.sh.in	Fri Apr  7 08:50:59 2006
+++ bacula-server/files/z-bacula-dir.sh.in	Wed Dec 31 19:00:00 1969
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: ports/sysutils/bacula-server/files/z-bacula-dir.sh.in,v 1.1 2006/03/31 10:12:32 garga Exp $
-#
-# PROVIDE: utility
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# bacula_dir_enable  (bool):   Set to NO by default.
-#                Set it to YES to enable bacula_dir.
-# bacula_dir_flags (params):   Set params used to start bacula_dir.
-#
-
-. %%RC_SUBR%%
-
-name="bacula_dir"
-rcvar=${name}_enable
-command=%%PREFIX%%/sbin/bacula-dir
-pidfile="${bacula_dir_pidfile}"
-
-load_rc_config $name
-
-: ${bacula_dir_enable="NO"}
-: ${bacula_dir_flags=" -u bacula -g bacula -v -c %%PREFIX%%/etc/bacula-dir.conf"}
-: ${bacula_dir_pidfile="/var/run/bacula-dir.9101.pid"}
-
-run_rc_command "$1"
diff -ruN bacula-server.org/files/z-bacula-fd.sh.in bacula-server/files/z-bacula-fd.sh.in
--- bacula-server.org/files/z-bacula-fd.sh.in	Fri Apr  7 08:50:59 2006
+++ bacula-server/files/z-bacula-fd.sh.in	Wed Dec 31 19:00:00 1969
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: ports/sysutils/bacula-server/files/z-bacula-fd.sh.in,v 1.1 2006/03/31 10:12:32 garga Exp $
-#
-# PROVIDE: utility
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# bacula_fd_enable  (bool):  Set to NO by default.
-#               Set it to YES to enable bacula_fd.
-# bacula_fd_flags (params):  Set params used to start bacula_fd.
-#
-
-. %%RC_SUBR%%
-
-name="bacula_fd"
-rcvar=${name}_enable
-command=/usr/local/sbin/bacula-fd
-pidfile="${bacula_fd_pidfile}"
-
-load_rc_config $name
-
-: ${bacula_fd_enable="NO"}
-: ${bacula_fd_flags=" -u root -g wheel -v -c /usr/local/etc/bacula-fd.conf"}
-: ${bacula_fd_pidfile="/var/run/bacula-fd.9102.pid"}
-
-run_rc_command "$1"
diff -ruN bacula-server.org/files/z-bacula-sd.sh.in bacula-server/files/z-bacula-sd.sh.in
--- bacula-server.org/files/z-bacula-sd.sh.in	Fri Apr  7 08:50:59 2006
+++ bacula-server/files/z-bacula-sd.sh.in	Wed Dec 31 19:00:00 1969
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: ports/sysutils/bacula-server/files/z-bacula-sd.sh.in,v 1.1 2006/03/31 10:12:32 garga Exp $
-#
-# PROVIDE: utility
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# bacula_sd_enable  (bool):  Set to NO by default.
-#               Set it to YES to enable bacula_sd.
-# bacula_sd_flags (params):  Set params used to start bacula_sd.
-#
-
-. %%RC_SUBR%%
-
-name="bacula_sd"
-rcvar=`set_rcvar`
-command=/usr/local/sbin/bacula-sd
-pidfile="${bacula_sd_pidfile}"
-
-load_rc_config $name
-
-: ${bacula_sd_enable="NO"}
-: ${bacula_sd_flags=" -u bacula -g bacula -v -c /usr/local/etc/bacula-sd.conf"}
-: ${bacula_sd_pidfile="/var/run/bacula-sd.9103.pid"}
-
-run_rc_command "$1"
--- bacula-server.patch ends here ---

--- bacula-client.patch begins here ---
diff -ruN bacula-client.org/Makefile bacula-client/Makefile
--- bacula-client.org/Makefile	Fri Apr  7 10:51:32 2006
+++ bacula-client/Makefile	Fri Apr  7 10:37:48 2006
@@ -9,6 +9,6 @@
 PLIST=		${PKGDIR}/pkg-plist.client
 
 WITH_CLIENT_ONLY=	yes
-USE_RC_SUBR=	z-bacula-fd.sh
+USE_RC_SUBR=	bacula-fd.sh
 
 .include "${MASTERDIR}/Makefile"
--- bacula-client.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
 X-send-pr-version: 3.113
 X-GNATS-Notify: 
 
 



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