ports/59316: The misc/amanda-client port is not upgradable since the last commit.

Kirk Strauser kirk at strauser.com
Sun Nov 16 04:30:18 UTC 2003


>Number:         59316
>Category:       ports
>Synopsis:       The misc/amanda-client port is not upgradable since the last commit.
>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 Nov 15 20:30:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirk Strauser <kirk at strauser.com>
>Release:        FreeBSD 4.9-PRERELEASE alpha
>Organization:
The Strauser Group
>Environment:
System: FreeBSD gopher.honeypot.net 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Fri Sep 12 09:22:21 CDT 2003 root at gopher.honeypot.net:/usr/obj/usr/src/sys/GOPHER alpha


	
>Description:
The fix for the ports/59302 bug report caused some easily-fixable breakage.

A problem listed in that report was that "the server also complains about a
missing /etc/amandates file.", and the commited fix was to
"${MKDIR} /etc/amandates".  Unfortunately, that was supposed to be a file,
not a directory.  Changing that line to "${TOUCH} /etc/amandates" solves
both problems.

Note that this only affects misc/amanda-client and not misc/amanda-server.
	
>How-To-Repeat:
Attempt to portupgrade the misc/amanda-client port.  If the port is already
installed it fails with this message:

    /bin/mkdir -p /usr/local/var/amanda/gnutar-lists
    /usr/sbin/chown operator:operator /usr/local/var/amanda/gnutar-lists
    /bin/mkdir -p /etc/amandates
    mkdir: /etc/amandates: File exists
    *** Error code 1
    
    Stop in /usr/ports/misc/amanda-client.
    *** Error code 1
    
    Stop in /usr/ports/misc/amanda-client.

If the port is not already installed, I think it would complete the
(incorrect) without printing any error messages, but I have not tested
this.
	
>Fix:
	

--- diff begins here ---
diff -urN /usr/ports/misc/amanda-server/Makefile misc/amanda-server/Makefile
--- /usr/ports/misc/amanda-server/Makefile	Sat Nov 15 21:46:25 2003
+++ misc/amanda-server/Makefile	Sat Nov 15 20:51:38 2003
@@ -187,7 +187,7 @@
 		${PREFIX}/share/examples/amanda
 	${MKDIR} ${PREFIX}/var/amanda/gnutar-lists
 	${CHOWN} operator:operator ${PREFIX}/var/amanda/gnutar-lists
-	${MKDIR} /etc/amandates
+	${TOUCH} /etc/amandates
 	${CHOWN} operator:operator /etc/amandates
 
 .if defined (AMANDA_SERVER)
--- diff ends here ---


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



More information about the freebsd-ports-bugs mailing list