Bug 59316 - The misc/amanda-client port is not upgradable since the last commit.
Summary: The misc/amanda-client port is not upgradable since the last commit.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: jeh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-16 04:30 UTC by Kirk Strauser
Modified: 2003-11-16 12:32 UTC (History)
0 users

See Also:


Attachments
diff (491 bytes, patch)
2003-11-16 04:30 UTC, Kirk Strauser
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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