Bug 59316

Summary: The misc/amanda-client port is not upgradable since the last commit.
Product: Ports & Packages Reporter: Kirk Strauser <kirk>
Component: Individual Port(s)Assignee: jeh <jeh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
diff none

Description Kirk Strauser 2003-11-16 04:30:16 UTC
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.
Comment 1 Oliver Eikemeier freebsd_committer freebsd_triage 2003-11-16 04:58:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jeh

over to the maintainer
Comment 2 jeh freebsd_committer freebsd_triage 2003-11-16 12:32:14 UTC
State Changed
From-To: open->closed

Commited, thanks for finding my mistake