ports/130244: [patch] misc/amanda-server Added knob to specifiy location of amandates.
Douglas K. Rand
rand at meridian-enviro.com
Tue Jan 6 21:40:02 UTC 2009
>Number: 130244
>Category: ports
>Synopsis: [patch] misc/amanda-server Added knob to specifiy location of amandates.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 06 21:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Douglas K. Rand
>Release: FreeBSD 6.3-RELEASE-p2 i386
>Organization:
Meridian Environmental Technology, Inc.
>Environment:
System: FreeBSD scotch.meridian-enviro.com 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #2: Mon Apr 28 16:50:40 CDT 2008 rand at scotch.meridian-enviro.com:/usr/obj/usr/src/sys/SCOTCH i386
>Description:
The Amanda 2.6 port moved the default location of the amandates
file from /etc to /usr/local/var/amanda. The attached patch
creates an AMANDA_DATES knob to specify the location of this
file.
>How-To-Repeat:
Upgrade from Amanda 2.5 to 2.6 and the client can't find amandates.
>Fix:
Apply the supplied patch and set AMANDA_DATES in /etc/make.conf.
--- Makefile.dkr 2009-01-06 13:50:45.000000000 -0600
+++ Makefile 2009-01-06 14:30:15.000000000 -0600
@@ -45,6 +45,7 @@
AMANDA_USER?= operator
AMANDA_GROUP?= operator
AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists
+AMANDA_DATES?= ${PREFIX}/var/amanda/amandadates
PLIST_SUB= SHLIBVER=${PORTVERSION}
# amanda-server/amanda-client common part
@@ -190,10 +191,12 @@
@${ECHO} " between low and high when connecting from the client"
@${ECHO} " to the server. Use ports below 1024."
@${ECHO} " The default is no restriction on UDP ports."
+ @${ECHO} " AMANDA_DATES=path to client amandates file"
@${ECHO} ""
CONFLICTS= amanda-client-2.5.*
CONFIGURE_ARGS+=--without-server
+CONFIGURE_ARGS+=--with-amandates=${AMANDA_DATES}
MAN5= amanda.conf.5 amanda-client.conf.5
MAN8= amanda.8 amrecover.8
@@ -209,8 +212,8 @@
${PREFIX}/share/examples/amanda
${MKDIR} ${AMANDA_GNUTAR_LISTDIR}
${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} ${AMANDA_GNUTAR_LISTDIR}
- ${TOUCH} /var/amanda/amandates
- ${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} /var/amanda/amandates
+ ${TOUCH} ${AMANDA_DATES}
+ ${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} ${AMANDA_DATES}
.if defined (WITH_DUMP_SNAPSHOT)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-sendbackup-dump.c
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list