Cross-Platform Password Management
The excellent 1Password by AgileBits supports import for both of the formats you mention:


  1Password can import data from many popular applications, including:
  
  AppShelf
  AutoID
  Data Guardian1 (formerly Password Retriever)
  eWallet2
  KeePass and KeePassX
  LicenseKeeper
  Minefield
  Password Safe 3
  PasswordWallet by S3
  Passwords Plus3
  RoboForm Passcards and Safenotes
  SplashID by SplashData
  TurboPasswords (formerly Cloak)
  Web Confidential


Highly recommended app, well worth the purchase price.  (EDIT) 1Password does not include Linux support at present, just OS X, Windows, iOS and Android.