Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2011 09:43:33 GMT
From:      Valery Komaorv <komarov@valerka.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163034: [update] sysutils/bacula-server Update to 5.2.2
Message-ID:  <201112030943.pB39hXhP093971@red.freebsd.org>
Resent-Message-ID: <201112030950.pB39o8cu067249@freefall.freebsd.org>

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

>Number:         163034
>Category:       ports
>Synopsis:       [update] sysutils/bacula-server Update to 5.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 03 09:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Valery Komaorv
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
>Description:
sysutils/bacula-server Update to 5.2.2
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN ./bacula-server.orig/Makefile ./bacula-server/Makefile
--- ./bacula-server.orig/Makefile	2011-09-24 06:00:54.000000000 +0400
+++ ./bacula-server/Makefile	2011-12-03 13:38:48.000000000 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	bacula
-DISTVERSION=	5.0.3
+DISTVERSION=	5.2.2
 CATEGORIES?=	sysutils
 MASTER_SITES=	SF/bacula/bacula/${PORTVERSION}
 
@@ -19,6 +19,7 @@
 
 PLIST_SUB+=	MAJOR=${PORTVERSION:R:R}
 
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
@@ -181,15 +182,9 @@
 .endif
 
 .if defined(WITH_CLIENT_ONLY)
-MAN8=bacula-fd.8 bconsole.8
-.else
-MAN8=bacula.8 bacula-dir.8 bacula-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 btape.8 btraceback.8 dbcheck.8
-MAN1=bsmtp.1 bacula-tray-monitor.1 bacula-bwxconsole.1
+EXTRA_PATCHES+=		${FILESDIR}/extra__manpages__Makefile.in
 .endif
 
-MAKE_ARGS+=	-E MAN8 -E MAN1
-MAKE_ENV+=	MAN8="${MAN8}" MAN1="${MAN1}"
-
 pre-everything::
 .if !defined(WITH_CLIENT_ONLY)
 	@${ECHO_MSG} "You may use the following build options (or make config):"
diff -ruN ./bacula-server.orig/distinfo ./bacula-server/distinfo
--- ./bacula-server.orig/distinfo	2011-03-19 15:31:59.000000000 +0300
+++ ./bacula-server/distinfo	2011-12-03 10:03:06.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (bacula-5.0.3.tar.gz) = 9905598e18bbe94fa871ddcb3f13ef8b754dcb301331b67b5b92a65eb834fdb4
-SIZE (bacula-5.0.3.tar.gz) = 3800556
+SHA256 (bacula-5.2.2.tar.gz) = d80f3532bd9c353dae00532b52efa60a01e8dce7ff045a717a7b42d820ca0959
+SIZE (bacula-5.2.2.tar.gz) = 4011125
diff -ruN ./bacula-server.orig/files/extra__manpages__Makefile.in ./bacula-server/files/extra__manpages__Makefile.in
--- ./bacula-server.orig/files/extra__manpages__Makefile.in	1970-01-01 03:00:00.000000000 +0300
+++ ./bacula-server/files/extra__manpages__Makefile.in	2011-12-03 10:03:54.000000000 +0400
@@ -0,0 +1,16 @@
+--- manpages/Makefile.in.orig	2011-11-26 18:08:12.000000000 +0400
++++ manpages/Makefile.in	2011-12-02 23:19:42.000000000 +0400
+@@ -4,12 +4,8 @@
+ 
+ .PHONY: dummy
+ 
+-MAN8 = bacula.8 bacula-dir.8 bacula-fd.8 bacula-sd.8 \
+-       bconsole.8 bcopy.8 bextract.8 bls.8 bscan.8 btape.8 \
+-       btraceback.8 dbcheck.8 bwild.8 bregex.8 
++MAN8 = bacula-fd.8 bconsole.8
+ 
+-MAN1 = bacula-tray-monitor.1 bacula-bwxconsole.1 bsmtp.1 bat.1
+-      
+ # bacula-bgnome-console.1
+ 
+ all:
diff -ruN ./bacula-server.orig/files/patch-configure ./bacula-server/files/patch-configure
--- ./bacula-server.orig/files/patch-configure	2010-07-17 05:00:46.000000000 +0400
+++ ./bacula-server/files/patch-configure	1970-01-01 03:00:00.000000000 +0300
@@ -1,11 +0,0 @@
---- configure.orig	2010-05-20 20:25:58.000000000 +0300
-+++ configure	2010-05-20 20:26:30.000000000 +0300
-@@ -47193,7 +47193,7 @@
-    { (exit 1); exit 1; }; }
-    fi
- 
--   QMAKEBIN="qmake"
-+   QMAKEBIN="$QMAKE"
-    cd src/qt-console
-    echo "Creating bat Makefile"
-    touch bat
diff -ruN ./bacula-server.orig/files/patch-manpages__Makefile.in ./bacula-server/files/patch-manpages__Makefile.in
--- ./bacula-server.orig/files/patch-manpages__Makefile.in	1970-01-01 03:00:00.000000000 +0300
+++ ./bacula-server/files/patch-manpages__Makefile.in	2011-12-03 13:30:18.000000000 +0400
@@ -0,0 +1,18 @@
+--- ./manpages/Makefile.in.orig	2011-11-26 18:08:12.000000000 +0400
++++ ./manpages/Makefile.in	2011-12-03 13:08:11.000000000 +0400
+@@ -31,9 +31,12 @@
+ 
+ install: install-manpages
+ 	if [ x@COMPRESS_MANPAGES@ = "xyes" ]; then \
+-	 for I in $(DESTDIR)/$(mandir)/man8/* $(DESTDIR)/$(mandir)/man1/*; do \
+-	  gzip -f $$I; \
+-	 done; \
++	    for I in ${MAN8}; do \
++		gzip -f $(DESTDIR)/$(mandir)/man8/$$I; \
++	    done; \
++	    for I in ${MAN1}; do \
++		gzip -f $(DESTDIR)/$(mandir)/man1/$$I; \
++	    done; \
+ 	fi
+ 
+ uninstall:
diff -ruN ./bacula-server.orig/files/patch-src__cats__Makefile.in ./bacula-server/files/patch-src__cats__Makefile.in
--- ./bacula-server.orig/files/patch-src__cats__Makefile.in	2010-09-07 20:21:42.000000000 +0400
+++ ./bacula-server/files/patch-src__cats__Makefile.in	2011-12-03 13:30:18.000000000 +0400
@@ -1,11 +1,31 @@
---- src/cats/Makefile.in.orig	2010-05-19 17:13:07.000000000 +0300
-+++ src/cats/Makefile.in	2010-05-19 17:15:47.000000000 +0300
-@@ -69,7 +69,7 @@
+--- ./src/cats/Makefile.in.orig	2011-11-26 18:08:12.000000000 +0400
++++ ./src/cats/Makefile.in	2011-12-03 13:08:11.000000000 +0400
+@@ -142,23 +142,23 @@
  
  libbacsql.la: Makefile $(LIBBACSQL_LOBJS)
  	@echo "Making $@ ..."	  
 -	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACSQL_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACSQL_LT_RELEASE) $(DB_LIBS)
-+	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACSQL_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBACSQL_LT_RELEASE:S/./:/g) $(DB_LIBS)
++	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACSQL_LOBJS) -export-dynamic -rpath $(libdir) -version-info 5 $(DB_LIBS)
  
- Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
- 	cd $(topdir) \
+ libbaccats.la: Makefile cats_dummy.lo
+ 	@echo "Making $@ ..."
+-	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ cats_dummy.lo -export-dynamic -rpath $(libdir) -release $(LIBBACCATS_LT_RELEASE)
++	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ cats_dummy.lo -export-dynamic -rpath $(libdir) -version-info 5
+ 
+ libbaccats-mysql.la: Makefile $(MYSQL_LOBJS)
+ 	@echo "Making $@ ..."
+-	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(MYSQL_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACCATS_LT_RELEASE) $(MYSQL_LIBS)
++	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(MYSQL_LOBJS) -export-dynamic -rpath $(libdir) -version-info 5 $(MYSQL_LIBS)
+ 
+ libbaccats-postgresql.la: Makefile $(POSTGRESQL_LOBJS)
+ 	@echo "Making $@ ..."
+-	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(POSTGRESQL_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACCATS_LT_RELEASE) $(POSTGRESQL_LIBS)
++	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(POSTGRESQL_LOBJS) -export-dynamic -rpath $(libdir) -version-info 5 $(POSTGRESQL_LIBS)
+ 
+ libbaccats-sqlite3.la: Makefile $(SQLITE_LOBJS)
+ 	@echo "Making $@ ..."
+-	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(SQLITE_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACCATS_LT_RELEASE) $(SQLITE_LIBS)
++	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(SQLITE_LOBJS) -export-dynamic -rpath $(libdir) -version-info 5 $(SQLITE_LIBS)
+ 
+ #libbaccats-ingres.la: Makefile $(INGRES_LOBJS)
+ #	 @echo "Making $@ ..."
diff -ruN ./bacula-server.orig/files/patch-src__cats__install-default-backend.in ./bacula-server/files/patch-src__cats__install-default-backend.in
--- ./bacula-server.orig/files/patch-src__cats__install-default-backend.in	1970-01-01 03:00:00.000000000 +0300
+++ ./bacula-server/files/patch-src__cats__install-default-backend.in	2011-12-03 13:30:18.000000000 +0400
@@ -0,0 +1,26 @@
+--- ./src/cats/install-default-backend.in.orig	2011-11-26 18:08:12.000000000 +0400
++++ ./src/cats/install-default-backend.in	2011-12-03 13:27:09.000000000 +0400
+@@ -22,19 +22,19 @@
+    exit 1
+ fi
+ 
+-if [ -f ${install_dir}/libbaccats-${default_backend}-${library_version}${SHLIB_EXT} ]; then
++if [ -f ${install_dir}/libbaccats-${default_backend}${SHLIB_EXT}.5 ]; then
+    #
+    # Create a default catalog library pointing to one of the shared libs.
+    #
+-   rm -f ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
++   rm -f ${install_dir}/libbaccats${SHLIB_EXT}.5
+ 
+    #
+    # Create a relative symlink to the default backend
+    # As all backends are in the same directory anyhow this should
+    # always work.
+    #
+-   ln -s libbaccats-${default_backend}-${library_version}${SHLIB_EXT} \
+-         ${install_dir}/libbaccats-${library_version}${SHLIB_EXT}
++   ln -s libbaccats-${default_backend}${SHLIB_EXT}.5 \
++         ${install_dir}/libbaccats${SHLIB_EXT}.5
+ fi
+ 
+ exit 0
diff -ruN ./bacula-server.orig/files/patch-src__dird__Makefile.in ./bacula-server/files/patch-src__dird__Makefile.in
--- ./bacula-server.orig/files/patch-src__dird__Makefile.in	2010-09-07 20:21:42.000000000 +0400
+++ ./bacula-server/files/patch-src__dird__Makefile.in	1970-01-01 03:00:00.000000000 +0300
@@ -1,17 +0,0 @@
---- src/dird/Makefile.in.orig	2010-07-20 21:01:56.000000000 -0400
-+++ src/dird/Makefile.in	2010-07-20 21:04:19.000000000 -0400
-@@ -63,12 +63,12 @@
- 
- bacula-dir: Makefile $(SVROBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE)
- 	@echo "Linking $@ ..."
--	$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../cats -L../findlib -o $@ $(SVROBJS) \
-+	$(LIBTOOL_LINK) $(CXX) -L../lib -L../cats -L../findlib $(WLDFLAGS) $(LDFLAGS) -o $@ $(SVROBJS) \
- 	      -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(DLIB) $(DB_LIBS) $(LIBS) \
- 	      $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS)
- 
- static-bacula-dir:  Makefile $(SVROBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE)
--	$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../cats -L../findlib -o $@ $(SVROBJS) \
-+	$(LIBTOOL_LINK) $(CXX) -static -L../lib -L../cats -L../findlib $(WLDFLAGS) $(LDFLAGS) -o $@ $(SVROBJS) \
- 	      -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(DLIB) $(DB_LIBS) $(LIBS) \
- 	      $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS)
- 	strip $@
diff -ruN ./bacula-server.orig/files/patch-src__findlib__Makefile.in ./bacula-server/files/patch-src__findlib__Makefile.in
--- ./bacula-server.orig/files/patch-src__findlib__Makefile.in	2010-09-07 20:21:42.000000000 +0400
+++ ./bacula-server/files/patch-src__findlib__Makefile.in	2011-12-03 13:30:18.000000000 +0400
@@ -1,11 +1,11 @@
---- src/findlib/Makefile.in.orig	2010-05-19 17:13:20.000000000 +0300
-+++ src/findlib/Makefile.in	2010-05-19 17:15:21.000000000 +0300
-@@ -59,7 +59,7 @@
+--- ./src/findlib/Makefile.in.orig	2011-11-26 18:08:12.000000000 +0400
++++ ./src/findlib/Makefile.in	2011-12-03 13:08:11.000000000 +0400
+@@ -57,7 +57,7 @@
  
  libbacfind.la: Makefile $(LIBBACFIND_LOBJS) 
  	@echo "Making $@ ..."
 -	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACFIND_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACFIND_LT_RELEASE)
-+	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACFIND_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBACFIND_LT_RELEASE:S/./:/g)
++	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACFIND_LOBJS) -export-dynamic -rpath $(libdir) -version-info 5
  
  Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
  	cd $(topdir) \
diff -ruN ./bacula-server.orig/files/patch-src__lib__Makefile.in ./bacula-server/files/patch-src__lib__Makefile.in
--- ./bacula-server.orig/files/patch-src__lib__Makefile.in	2010-09-07 20:21:42.000000000 +0400
+++ ./bacula-server/files/patch-src__lib__Makefile.in	2011-12-03 13:30:18.000000000 +0400
@@ -1,29 +1,29 @@
---- src/lib/Makefile.in.orig	2010-05-19 14:26:03.000000000 +0300
-+++ src/lib/Makefile.in	2010-05-19 17:14:18.000000000 +0300
-@@ -126,7 +126,7 @@
+--- ./src/lib/Makefile.in.orig	2011-11-26 18:08:12.000000000 +0400
++++ ./src/lib/Makefile.in	2011-12-03 13:08:11.000000000 +0400
+@@ -120,7 +120,7 @@
  
  libbac.la: Makefile $(LIBBAC_LOBJS)
  	@echo "Making $@ ..."
--	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBAC_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBAC_LT_RELEASE) $(WRAPLIBS) $(CAP_LIBS) $(ZLIBS)
-+	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBAC_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBAC_LT_RELEASE:S/./:/g) $(WRAPLIBS) $(CAP_LIBS) $(ZLIBS)
+-	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBAC_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBAC_LT_RELEASE) $(WRAPLIBS) $(CAP_LIBS) $(ZLIBS) $(OPENSSL_LIBS) $(LIBS)
++	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBAC_LOBJS) -export-dynamic -rpath $(libdir) -version-info 5 $(WRAPLIBS) $(CAP_LIBS) $(ZLIBS) $(OPENSSL_LIBS) $(LIBS)
  
  libbaccfg.a: $(LIBBACCFG_OBJS) 
  	@echo "Making $@ ..."
-@@ -135,7 +135,7 @@
+@@ -129,7 +129,7 @@
  
  libbaccfg.la: Makefile $(LIBBACCFG_LOBJS) 
  	@echo "Making $@ ..."
--	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACCFG_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACCFG_LT_RELEASE)
-+	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACCFG_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBACCFG_LT_RELEASE:S/./:/g)
+-	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACCFG_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACCFG_LT_RELEASE) $(OPENSSL_LIBS) $(LIBS)
++	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACCFG_LOBJS) -export-dynamic -rpath $(libdir) -version-info 5 $(OPENSSL_LIBS) $(LIBS)
  
  libbacpy.a: $(LIBBACPY_OBJS) 
  	@echo "Making $@ ..."
-@@ -144,7 +144,7 @@
+@@ -138,7 +138,7 @@
  
  libbacpy.la: Makefile $(LIBBACPY_LOBJS) 
  	@echo "Making $@ ..."
--	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACPY_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACPY_LT_RELEASE) $(PYTHON_LIBS)
-+	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACPY_LOBJS) -export-dynamic -rpath $(libdir) -version-info $(LIBBACPY_LT_RELEASE:S/./:/g) $(PYTHON_LIBS)
+-	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACPY_LOBJS) -export-dynamic -rpath $(libdir) -release $(LIBBACPY_LT_RELEASE) $(PYTHON_LIBS) $(OPENSSL_LIBS) $(LIBS)
++	$(LIBTOOL_LINK) $(CXX) $(DEFS) $(DEBUG) $(LDFLAGS) -o $@ $(LIBBACPY_LOBJS) -export-dynamic -rpath $(libdir) -version-info 5 $(PYTHON_LIBS) $(OPENSSL_LIBS) $(LIBS)
  
  Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
  	cd $(topdir) \
diff -ruN ./bacula-server.orig/files/patch-src__stored__Makefile.in ./bacula-server/files/patch-src__stored__Makefile.in
--- ./bacula-server.orig/files/patch-src__stored__Makefile.in	2010-07-21 20:59:10.000000000 +0400
+++ ./bacula-server/files/patch-src__stored__Makefile.in	1970-01-01 03:00:00.000000000 +0300
@@ -1,62 +0,0 @@
---- src/stored/Makefile.in.orig	2010-07-20 21:11:46.000000000 -0400
-+++ src/stored/Makefile.in	2010-07-20 21:13:47.000000000 -0400
-@@ -90,12 +90,12 @@
- 
- bacula-sd: Makefile $(SDOBJS) ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
- 	@echo "Linking $@ ..."
--	$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -o $@ $(SDOBJS) $(FDLIBS) \
-+	$(LIBTOOL_LINK) $(CXX) -L../lib $(WLDFLAGS) $(LDFLAGS) -o $@ $(SDOBJS) $(FDLIBS) \
- 	   -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(DLIB) $(LIBS) $(WRAPLIBS) \
- 	$(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS)
- 
- static-bacula-sd: Makefile $(SDOBJS) ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
--	$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -o $@ $(SDOBJS) $(FDLIBS) \
-+	$(LIBTOOL_LINK) $(CXX) -static -L../lib $(WLDFLAGS) $(LDFLAGS) -o $@ $(SDOBJS) $(FDLIBS) \
- 	   -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(DLIB) $(LIBS) $(WRAPLIBS) \
- 	$(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS)
- 	strip $@
-@@ -106,7 +106,7 @@
- 	   -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
- 
- btape: Makefile  $(TAPEOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE)
--	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../cats  -o $@ $(TAPEOBJS) \
-+	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib -L../cats $(LDFLAGS) -o $@ $(TAPEOBJS) \
- 	   -lbacsql -lbaccfg -lbac $(DLIB) -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- bls.o:	bls.c
-@@ -116,7 +116,7 @@
- 
- bls:	Makefile $(BLSOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
- 	@echo "Compiling $<"
--	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(BLSOBJS) $(DLIB) \
-+	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib -L../findlib $(LDFLAGS) -o $@ $(BLSOBJS) $(DLIB) \
- 	   -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- bextract.o: bextract.c
-@@ -126,7 +126,7 @@
- 
- bextract: Makefile $(BEXTOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
- 	@echo "Compiling $<"
--	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(BEXTOBJS) $(DLIB) $(FDLIBS) \
-+	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib -L../findlib $(LDFLAGS) -o $@ $(BEXTOBJS) $(DLIB) $(FDLIBS) \
- 	   -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- bscan.o: bscan.c
-@@ -135,7 +135,7 @@
- 	   -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
- 
- bscan:	Makefile $(SCNOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE)
--	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -L../cats -L../findlib -o $@ $(SCNOBJS) \
-+	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib -L../cats -L../findlib $(LDFLAGS) -o $@ $(SCNOBJS) \
- 	   -lbacsql $(DB_LIBS) $(FDLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- bcopy.o: bcopy.c
-@@ -144,7 +144,7 @@
- 	   -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
- 
- bcopy:	Makefile $(COPYOBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
--	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -o $@ $(COPYOBJS) \
-+	$(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) -L../lib $(LDFLAGS) -o $@ $(COPYOBJS) \
- 	   -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
diff -ruN ./bacula-server.orig/files/patch-src__tools__Makefile.in ./bacula-server/files/patch-src__tools__Makefile.in
--- ./bacula-server.orig/files/patch-src__tools__Makefile.in	2010-07-21 20:59:10.000000000 +0400
+++ ./bacula-server/files/patch-src__tools__Makefile.in	1970-01-01 03:00:00.000000000 +0300
@@ -1,77 +0,0 @@
---- src/tools/Makefile.in.orig	2010-07-20 21:14:13.000000000 -0400
-+++ src/tools/Makefile.in	2010-07-20 21:17:34.000000000 -0400
-@@ -57,21 +57,21 @@
- 	@echo " "
- 
- bsmtp: Makefile bsmtp.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)	    
--	$(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -o $@ bsmtp.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
-+	$(LIBTOOL_LINK) $(CXX) -L../lib $(LDFLAGS) -o $@ bsmtp.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- bregtest: Makefile bregtest.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)	   
--	$(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -o $@ bregtest.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
-+	$(LIBTOOL_LINK) $(CXX) -L../lib $(LDFLAGS) -o $@ bregtest.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- dbcheck: Makefile dbcheck.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) $(DIRCONFOBJS)
--	$(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -L../cats -o $@ dbcheck.o $(DIRCONFOBJS) \
-+	$(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) -o $@ dbcheck.o $(DIRCONFOBJS) \
- 	  -lbacsql -lbaccfg -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- fstype: Makefile fstype.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE)
--	$(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -L../findlib -o $@ fstype.o -lbacfind -lbac -lm \
-+	$(LIBTOOL_LINK) $(CXX) -L../lib -L../findlib $(LDFLAGS) -o $@ fstype.o -lbacfind -lbac -lm \
- 	  $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- drivetype: Makefile drivetype.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE)
--	$(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -L../findlib -o $@ drivetype.o -lbacfind -lbac -lm \
-+	$(LIBTOOL_LINK) $(CXX) -L../lib -L../findlib $(LDFLAGS) -o $@ drivetype.o -lbacfind -lbac -lm \
- 	  $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- dird_conf.o: ../dird/dird_conf.c
-@@ -84,31 +84,31 @@
- 	$(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(PYTHON_INC) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
- 
- testfind: Makefile ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) $(FINDOBJS)
--	$(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -o $@ $(FINDOBJS) -L. -L../lib -L../findlib \
-+	$(LIBTOOL_LINK) $(CXX) -g -o $@ $(FINDOBJS) -L. -L../lib -L../findlib $(LDFLAGS) \
- 	  $(DLIB) -lbacfind -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- testls: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) testls.o
--	$(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L. -L../lib -L../findlib -o $@ testls.o \
-+	$(LIBTOOL_LINK) $(CXX) -g -L. -L../lib -L../findlib $(LDFLAGS) -o $@ testls.o \
- 	  $(DLIB) -lbacfind -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- bregex: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) bregex.o
--	$(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L. -L../lib -o $@ bregex.o \
-+	$(LIBTOOL_LINK) $(CXX) -g -L. -L../lib $(LDFLAGS) -o $@ bregex.o \
- 	  $(DLIB) -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- bwild:	Makefile ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) bwild.o
--	$(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L. -L../lib -o $@ bwild.o \
-+	$(LIBTOOL_LINK) $(CXX) -g -L. -L../lib $(LDFLAGS) -o $@ bwild.o \
- 	  $(DLIB) -lbac -lm $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- bbatch: Makefile ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) bbatch.o
--	$(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L../cats -L. -L../lib -o $@ bbatch.o \
-+	$(LIBTOOL_LINK) $(CXX) -g -L../cats -L. -L../lib $(LDFLAGS) -o $@ bbatch.o \
- 	  -lbacsql -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- bvfs_test: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) bvfs_test.o
--	$(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L../cats -L. -L../lib -L../findlib -o $@ bvfs_test.o  \
-+	$(LIBTOOL_LINK) $(CXX) -g -L../cats -L. -L../lib -L../findlib $(LDFLAGS) -o $@ bvfs_test.o  \
- 	  -lbacsql -lbacfind -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- ing_test: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../cats/libbacsql$(DEFAULT_ARCHIVE_TYPE) ing_test.o
--	$(LIBTOOL_LINK) $(CXX) -g $(LDFLAGS) -L../cats -L. -L../lib -L../findlib -o $@ ing_test.o  \
-+	$(LIBTOOL_LINK) $(CXX) -g -L../cats -L. -L../lib -L../findlib $(LDFLAGS) -o $@ ing_test.o  \
- 	  -lbacsql -lbacfind -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- gigaslam.o: gigaslam.c
-@@ -118,7 +118,7 @@
- 	$(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -o $@ gigaslam.o
- 
- grow: Makefile grow.o ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
--	$(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -o $@ grow.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
-+	$(LIBTOOL_LINK) $(CXX) -L../lib $(LDFLAGS) -o $@ grow.o -lbac -lm $(DLIB) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
- 
- Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
- 	cd $(topdir) \
diff -ruN ./bacula-server.orig/pkg-plist ./bacula-server/pkg-plist
--- ./bacula-server.orig/pkg-plist	2010-09-07 20:21:42.000000000 +0400
+++ ./bacula-server/pkg-plist	2011-12-03 10:21:57.000000000 +0400
@@ -1,6 +1,12 @@
 lib/libbac.la
 lib/libbac.so
 lib/libbac.so.%%MAJOR%%
+lib/libbaccats-%%DBTYPE%%.la
+lib/libbaccats-%%DBTYPE%%.so
+lib/libbaccats-%%DBTYPE%%.so.%%MAJOR%%
+lib/libbaccats.la
+lib/libbaccats.so
+lib/libbaccats.so.%%MAJOR%%
 lib/libbaccfg.la
 lib/libbaccfg.so
 lib/libbaccfg.so.%%MAJOR%%
@@ -55,8 +61,6 @@
 %%DATADIR%%/mtx-changer
 %%DATADIR%%/mtx-changer.conf
 %%DATADIR%%/query.sql
-%%DATADIR%%/startmysql
-%%DATADIR%%/stopmysql
 %%DATADIR%%/update_bacula_tables
 %%DATADIR%%/update_%%DBTYPE%%_tables
 


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



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