ports/98814: [MAINTAINER-UPDATE] sysutils/bacula-server-devel upgrade to latest beta version
Dan Langille
dan at langille.org
Sun Jun 11 15:20:19 UTC 2006
>Number: 98814
>Category: ports
>Synopsis: [MAINTAINER-UPDATE] sysutils/bacula-server-devel upgrade to latest beta version
>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: Sun Jun 11 15:20:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dan Langille
>Release: FreeBSD 4.9-STABLE i386
>Organization:
The FreeBSD Diary
>Environment:
System: FreeBSD xeon.unixathome.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 08:16:24 EST 2004 dan at polo.unixathome.org:/usr/obj/usr/src/sys/XEON i386
>Description:
>How-To-Repeat:
>Fix:
- Upgrade to 1.38.10-beta2-20060608
Details:
1 - change distversion to point at latest beta
2 - process pkg-message via SUB_FILES
3 - change $PREFIX to ${PREFIX} because $P does not exist. ;)
4 - update distinfo for latest release
5 - create files/pkg-message.in
6 - remove pkg-message
--- bacula.server.devel.patch begins here ---
diff -ruN /usr/ports/sysutils/bacula-server-devel/Makefile bacula-server-devel/Makefile
--- /usr/ports/sysutils/bacula-server-devel/Makefile Sun Jun 11 10:21:49 2006
+++ bacula-server-devel/Makefile Sun Jun 11 11:04:30 2006
@@ -6,7 +6,7 @@
#
PORTNAME= bacula
-DISTVERSION= 1.38.10-beta1-20060606
+DISTVERSION= 1.38.10-beta2-20060608
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bacula
@@ -21,6 +21,9 @@
USE_RC_SUBR?= bacula-dir.sh bacula-sd.sh
+SUB_FILES= pkg-message
+
+
# The user/group IDs below are registered, see
# http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#DADS-UID
#
@@ -339,14 +342,16 @@
@${ECHO_MSG} "For USB support read the bacula manual!! It could be necessary"
@${ECHO_MSG} "to configure/compile a new kernel!"
@${ECHO_MSG} ""
- @${ECHO_MSG} "Look at $PREFIX/share/bacula/update_bacula_tables for"
+ @${ECHO_MSG} "Look at ${PREFIX}/share/bacula/update_bacula_tables for"
@${ECHO_MSG} "database update procedure. Details can be found in the"
@${ECHO_MSG} "ReleaseNotes"
.endif
@${ECHO_MSG} "*********************************************************************"
+
.if !defined(WITH_CLIENT_ONLY)
- ${CAT} pkg-message
+ ${CAT} ${PKGMESSAGE}
.endif
+
.include <bsd.port.post.mk>
diff -ruN /usr/ports/sysutils/bacula-server-devel/distinfo bacula-server-devel/distinfo
--- /usr/ports/sysutils/bacula-server-devel/distinfo Sun Jun 11 10:21:49 2006
+++ bacula-server-devel/distinfo Sun Jun 11 10:24:31 2006
@@ -1,3 +1,3 @@
-MD5 (bacula-1.38.10-beta1-20060606.tar.gz) = 2b13e72f29b7e266ffc20df53845752c
-SHA256 (bacula-1.38.10-beta1-20060606.tar.gz) = cf0edbdbf48ce57890d1e29987b6055e11517ed84af9cc8b9278f1114929c086
-SIZE (bacula-1.38.10-beta1-20060606.tar.gz) = 2071197
+MD5 (bacula-1.38.10-beta2-20060608.tar.gz) = 7da921d00e25702e8153b50d39a70d32
+SHA256 (bacula-1.38.10-beta2-20060608.tar.gz) = 5929eb19965efd0cafbf3265129be6f6f354a5163226c179c45d7ef6f32f1468
+SIZE (bacula-1.38.10-beta2-20060608.tar.gz) = 2071828
diff -ruN /usr/ports/sysutils/bacula-server-devel/files/patch-src-lib-jcr.c bacula-server-devel/files/patch-src-lib-jcr.c
--- /usr/ports/sysutils/bacula-server-devel/files/patch-src-lib-jcr.c Wed Mar 22 10:43:26 2006
+++ bacula-server-devel/files/patch-src-lib-jcr.c Wed Dec 31 19:00:00 1969
@@ -1,12 +0,0 @@
---- src/lib/jcr.c.org 14 Mar 2006 21:41:41 -0000 1.75.2.6
-+++ src/lib/jcr.c 21 Mar 2006 11:33:43 -0000 1.75.2.7
-@@ -229,8 +229,8 @@
- jcr->job_end_push.init(1, false);
- jcr->sched_time = time(NULL);
- jcr->daemon_free_jcr = daemon_free_jcr; /* plug daemon free routine */
-- jcr->inc_use_count();
- jcr->init_mutex();
-+ jcr->inc_use_count();
- jcr->JobStatus = JS_Created; /* ready to run */
- jcr->VolumeName = get_pool_memory(PM_FNAME);
- jcr->VolumeName[0] = 0;
diff -ruN /usr/ports/sysutils/bacula-server-devel/files/pkg-message.in bacula-server-devel/files/pkg-message.in
--- /usr/ports/sysutils/bacula-server-devel/files/pkg-message.in Wed Dec 31 19:00:00 1969
+++ bacula-server-devel/files/pkg-message.in Sun Jun 11 11:00:20 2006
@@ -0,0 +1,17 @@
+################################################################################
+ Please read the file
+
+ %%DOCSDIR%%/ReleaseNotes
+
+ for the upgrade procedure!
+
+ IF YOU IGNORE THIS you may !! LOSE DATA !!
+
+ For USB support read the manual. It could be necessary
+ to configure/compile a new kernel!
+
+ Please note that bacula-server-devel no longer installs the client
+ and that the documentation could be optional installed with the
+ client port (see port sysutils/bacula-client-devel)!
+
+################################################################################
diff -ruN /usr/ports/sysutils/bacula-server-devel/pkg-message bacula-server-devel/pkg-message
--- /usr/ports/sysutils/bacula-server-devel/pkg-message Thu Mar 30 16:47:54 2006
+++ bacula-server-devel/pkg-message Wed Dec 31 19:00:00 1969
@@ -1,17 +0,0 @@
-################################################################################
- Please read the file"
-
- ${DOCSDIR}/ReleaseNotes"
-
- for the upgrade procedure!
-
- IF YOU IGNORE THIS you may !! LOSE DATA !!
-
- For USB support read the manual. It could be necessary
- to configure/compile a new kernel!
-
- Please note that bacula-server-devel no longer installs the client
- and that the documentation could be optional installed with the
- client port (see port sysutils/bacula-client-devel)!
-
-################################################################################
diff -ruN /usr/ports/sysutils/bacula-server-devel/pkg-message.in bacula-server-devel/pkg-message.in
--- /usr/ports/sysutils/bacula-server-devel/pkg-message.in Wed Dec 31 19:00:00 1969
+++ bacula-server-devel/pkg-message.in Sun Jun 11 11:00:50 2006
@@ -0,0 +1,20 @@
+################################################################################
+ Please read this file:
+
+ %%DOCSDIR%%/ReleaseNotes
+
+ for the upgrade procedure!
+
+ IF YOU IGNORE THIS you may !! LOSE DATA !!
+
+ WARNING: That file also contains important information regarding
+ Windows FD, blackslashes in FileSets, and Scratch Pools.
+
+ For USB support read the manual. It may be necessary
+ to configure/compile a new kernel.
+
+ Please note that bacula-server no longer installs the client
+ and that the documentation can be optionally installed with the
+ client port (sysutils/bacula-client).
+
+################################################################################
--- bacula.server.devel.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list