ports/146766: [patch] update sysutils/bacula-server to 5.0.2

Allan Jude freebsd.lists at thunderit.com
Thu May 20 16:50:04 UTC 2010


>Number:         146766
>Category:       ports
>Synopsis:       [patch] update sysutils/bacula-server to 5.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 20 16:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Allan Jude
>Release:        FreeBSD 7.2
>Organization:
Near Source IT
>Environment:
FreeBSD pegasus.serverbolt.net 7.2-RELEASE-p7 FreeBSD 7.2-RELEASE-p7 #0: Fri Feb 26 19:51:57 UTC 2010     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Port has not been updated since Feb 12th (5.0.0)
5.0.2 has been out since Apr 28th and contains a number of important bug fixes re: duplicate jobs
>How-To-Repeat:

>Fix:
removed: files/patch-bacula-src-cats-make_catalog_backup.pl.in
removed: files/patch-src-cats-update_postgresql_tables.in

These patches are included in 5.0.2


removed: files/patch-src-dird-ua_prune.c

the target code has been commented out in 5.0.2


Patch attached with submission follows:

diff -ruN bacula-server.orig/Makefile bacula-server/Makefile
--- bacula-server.orig/Makefile	2010-02-12 09:20:04.000000000 -0500
+++ bacula-server/Makefile	2010-05-20 11:14:47.000000000 -0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	bacula
-DISTVERSION=	5.0.0
+DISTVERSION=	5.0.2
 CATEGORIES?=	sysutils
 MASTER_SITES=	SF/bacula/bacula/${PORTVERSION}
 
diff -ruN bacula-server.orig/distinfo bacula-server/distinfo
--- bacula-server.orig/distinfo	2010-02-12 09:20:04.000000000 -0500
+++ bacula-server/distinfo	2010-05-20 11:14:50.000000000 -0400
@@ -1,3 +1,3 @@
-MD5 (bacula-5.0.0.tar.gz) = 68e008d2578a6d9a50af60439db17dcb
-SHA256 (bacula-5.0.0.tar.gz) = 4c6344807769d1b6b61f9cbddc0a5dc1160c3eb51744b23c790fcb57947ac294
-SIZE (bacula-5.0.0.tar.gz) = 4075825
+MD5 (bacula-5.0.2.tar.gz) = e9204d2e772f12662de28da3327853de
+SHA256 (bacula-5.0.2.tar.gz) = c465d00dd968832d129ba68eea59714357605a461d745cef7e802978c453c3fb
+SIZE (bacula-5.0.2.tar.gz) = 4189272
diff -ruN bacula-server.orig/files/patch-bacula-src-cats-make_catalog_backup.pl.in bacula-server/files/patch-bacula-src-cats-make_catalog_backup.pl.in
--- bacula-server.orig/files/patch-bacula-src-cats-make_catalog_backup.pl.in	2010-02-12 09:20:04.000000000 -0500
+++ bacula-server/files/patch-bacula-src-cats-make_catalog_backup.pl.in	1969-12-31 19:00:00.000000000 -0500
@@ -1,14 +0,0 @@
---- src/cats/make_catalog_backup.pl.in
-+++ src/cats/make_catalog_backup.pl.in
-@@ -89,7 +89,7 @@ sub dump_pgsql
- sub dump_mysql
- {
-     my %args = @_;
--    umask(0700);
-+    umask(0077);
-     unlink("$wd/.my.cnf");
-     open(MY, ">$wd/.my.cnf") 
-         or die "Can't open $wd/.my.cnf for writing $@";
--- 
-1.6.3
-
diff -ruN bacula-server.orig/files/patch-src-cats-update_postgresql_tables.in bacula-server/files/patch-src-cats-update_postgresql_tables.in
--- bacula-server.orig/files/patch-src-cats-update_postgresql_tables.in	2010-02-12 09:20:04.000000000 -0500
+++ bacula-server/files/patch-src-cats-update_postgresql_tables.in	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
---- src/cats/update_postgresql_tables.in
-+++ src/cats/update_postgresql_tables.in
-@@ -9,7 +9,7 @@ echo " Standard version 3.0 to 5.0"
- echo " "
- 
- bindir=@SQL_BINDIR@
--export PATH="$bindir:$PATH"
-+PATH="$bindir:$PATH"
- db_name=@db_name@
- 
- if psql -f - -d ${db_name} $* <<END-OF-DATA
diff -ruN bacula-server.orig/files/patch-src-dird-ua_prune.c bacula-server/files/patch-src-dird-ua_prune.c
--- bacula-server.orig/files/patch-src-dird-ua_prune.c	2010-02-12 09:20:04.000000000 -0500
+++ bacula-server/files/patch-src-dird-ua_prune.c	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
---- src/dird/ua_prune.c~	2010-01-25 07:56:28.000000000 +0000
-+++ src/dird/ua_prune.c	2010-01-26 13:31:52.000000000 +0000
-@@ -389,7 +389,7 @@
-     * Select all files that are older than the JobRetention period
-     *  and stuff them into the "DeletionCandidates" table.
-     */
--   edit_utime(now-period, ed1, sizeof(ed1));
-+   edit_utime(period, ed1, sizeof(ed1));
-    Jmsg(ua->jcr, M_INFO, 0, _("Begin pruning Jobs older than %s.\n"), ed1);
-    edit_int64(now - period, ed1);
-    Mmsg(query, insert_delcand, (char)JobType, ed1, 
diff -ruN bacula-server.orig/pkg-plist bacula-server/pkg-plist
--- bacula-server.orig/pkg-plist	2010-02-12 09:20:04.000000000 -0500
+++ bacula-server/pkg-plist	2010-05-20 12:12:13.000000000 -0400
@@ -1,19 +1,19 @@
 lib/bpipe-fd.so
+lib/libbac-5.0.1.so
 lib/libbac.la
 lib/libbac.so
-lib/libbac.so.1
+lib/libbaccfg-5.0.1.so
 lib/libbaccfg.la
 lib/libbaccfg.so
-lib/libbaccfg.so.1
+lib/libbacfind-5.0.1.so
 lib/libbacfind.la
 lib/libbacfind.so
-lib/libbacfind.so.1
+lib/libbacpy-5.0.1.so
 lib/libbacpy.la
 lib/libbacpy.so
-lib/libbacpy.so.1
+lib/libbacsql-5.0.1.so
 lib/libbacsql.la
 lib/libbacsql.so
-lib/libbacsql.so.1
 sbin/bacula
 sbin/bacula-dir
 sbin/bacula-sd
diff -ruN bacula-server.orig/pkg-plist.client bacula-server/pkg-plist.client
--- bacula-server.orig/pkg-plist.client	2010-02-12 09:20:04.000000000 -0500
+++ bacula-server/pkg-plist.client	2010-05-20 12:12:38.000000000 -0400
@@ -1,16 +1,16 @@
 lib/bpipe-fd.so
+lib/libbac-5.0.1.so
 lib/libbac.la
 lib/libbac.so
-lib/libbac.so.1
+lib/libbaccfg-5.0.1.so
 lib/libbaccfg.la
 lib/libbaccfg.so
-lib/libbaccfg.so.1
+lib/libbacfind-5.0.1.so
 lib/libbacfind.la
 lib/libbacfind.so
-lib/libbacfind.so.1
+lib/libbacpy-5.0.1.so
 lib/libbacpy.la
 lib/libbacpy.so
-lib/libbacpy.so.1
 %%SFDAEMON%%sbin/static-bacula-fd
 sbin/bacula-fd
 sbin/bconsole


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list