Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-9308

[security-kit] app-crypt/1password-bin new ebuild

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      This improvement is going to tackle creating a custom autogen ebuild for the official 1password Linux desktop application so that all Funtoo users who use 1Password can leverage the upstream Desktop application natively (they have a Firefox plugin that works great as well on Funtoo Firefox).

      I have followed the install steps from 1password detailed here: https://support.1password.com/install-linux/#other-distributions-targz and actually got 1password running locally on my Funtoo 1.4 system with small modifications to their Bash install script.

      The challenge for this autogen ebuild will be multi-faceted:

      1. They distribute a tarball with the binary sources similar to something like Firefox and it installs in /opt.
      2. Unfortunately the tarball download link does not contain any versioning information in its file name: https://downloads.1password.com/linux/tar/stable/x86_64/1password-latest.tar.gz
      3. To actually get that package version without extracting it (version is in the directory name in the tarball like 1password-8.4.1.x64 ), the 1password Linux releases page will have to be scraped at: https://releases.1password.com/linux/ 
      4. There are two custom Bash scripts in the package called after-install.sh and after-remove.sh. Those will have to be adapted into the ebuild
      5. The package comes with icons and custom .desktop file that are not installed by their scripts and a custom install function will have to be added to the ebuild.
      6. Generally lots of reverse engineering is required to make this a first class autogen ebuild, which is going to be the fun part.

            siris siris
            siris siris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: