System packages #3
Comments
Added a Homebrew formula here: https://github.com/kbsecret/homebrew-kbsecret |
After poking at the pacman package generation, it seems that a key issue is that bundle overrides You should be able to fix this with liberal application of fpm's |
Thanks for the info! I was actually planning on getting rid of the |
Ah — if you're just keeping |
I didn't know about quarry; this looks great. In that case, I'll be removing all of the |
Opened anatol/quarry#81 |
@Celti Could you give |
For any future contributors, here's an initial stab at a Snapcraft config: name: kbsecret
version: FIXME
summary: A secret manager backed by Keybase and KBFS
description: |
KBSecret is a command line utility and Ruby library for managing secrets.
Secrets can be structured (like login pairs and environment keys), or
unstructured (like raw text or blobs of data). They can also be shared between
multiple individuals or entire teams via the Keybase platform.
grade: devel
confinement: devmode
apps:
kbsecret:
environment:
RUBYLIB: $SNAP/usr/lib/ruby/2.3.0:$SNAP/usr/lib/x86_64-linux-gnu/ruby/2.3.0
GEM_HOME: $SNAP/gems
GEM_PATH: $SNAP
command: ruby $SNAP/bin/kbsecret
parts:
kbsecret:
plugin: nil
source: git://github.com/kbsecret/kbsecret.git
build: gem build kbsecret.gemspec
install: gem install kbsecret-*.gem --config-file /dev/null -i $SNAPCRAFT_PART_INSTALL
build-packages: [gcc, libc6-dev, make, ruby-dev]
stage-packages: [ruby] This would ideally not be tied to Ruby 2.3 and would be generated by a script, so that |
KBSecret currently "supports" packaging for Debian (.deb
), Arch, and Red Hat (.rpm
) via fpm, but these generated packages are of dubious quality and are almost certainly broken in some form or other.It would be nice to get first-class packages for these targets (and any others). If you have any experience with packaging, please let me know!
Some notes/links:
For Debian/Ubuntu packaging:
The text was updated successfully, but these errors were encountered: