Opened 15 years ago

Closed 15 years ago

#6319 closed defect (invalid)

installing Darwin Ports breaks Cisco VPNClient 4.7.0.0

Reported by: gcolpitts@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

reinstalling Cisco VPNClient 4.7.0.0 seems to fix everything Not absolutely positive that it was DarwinPorts but it seems to have happened two weekends in a row had to reinstall DarwinPorts this weekend and then I noticed that it broke CiscoVPNClient

Change History (1)

comment:1 Changed 15 years ago by opendarwin.org@…

Resolution: invalid
Status: newclosed

The Cisco VPN client 4.7.0.0 installer is seriously brain-damaged. Have a look at: /Volumes/CiscoVPNClient/Cisco VPN Client.mpkg/vpnclient-bin.pkg/Contents/Resources/preflight and note that it does: # not a symlink, we need to move it.

if [ ! -h /opt -a -d /opt ] ; then

cp -rf /opt /private rm -rf /opt

fi

No error checking, no use of mv (instead of cp then rm). And for no great reason either, they (Cisco) just assume that there's nothing else in opt and it doesn't matter. If you've got a support contract, file a bug with them and tell them they need to hire a competent person to build their installers (yes, I was and still am pretty darn ticked off when the vpn installer ate my /opt partition).

FYI, you should be able to fix up the vpnclient install by making a link between /etc/opt/ (whateverDirectoryCiscoVPNClientCreated) to /opt/(thatDirName), or otherwise finagling the path that the Cisco VPNClient wants to see.

Marking as INVALID 'cause the Cisco VPNClient installer is braindamaged (assumes it owns /opt completely, a bogus assumption).

Note: See TracTickets for help on using tickets.