Junk Drawer Logo Junk Drawer

For all those little papers scattered across your desk

I stand for the Constitution, for due process, and for community that takes care of each other.

Packaging git-credential-1password

D. Ben Knoble on 10 Nov 2025 in Blog

I’m proud to say that packaging this 1password-based credential helper, at least for my personal overlay, was fairly easy.

The gist was:

  1. Create an overlay. I did doas eselect repository create benknoble ~/code/benknoble-gentoo-overlay, then git init inside that directory.
  2. Write the ebuild.
  3. Update the manifest: pkgdev manifest -d tmp $eb && rm -r tmp
  4. Test it: doas ebuild $eb clean install and verify all looks good
  5. Commit and publish

Note that the Portage repository is not sync’able directly this way; it’s “live” in the sense that updates are immediately reflected on the system. So I could doas emerge -av --autounmask git-credential-1password even before the last step. Meanwhile, users who want the overlay but not to maintain it should use a different command listed in the overlay’s README to install the repo.


Tags:

Categories: Blog

Load Comments
Previous Next
Back to posts