{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vault/issues/625","labels_url":"https://api.github.com/repos/hashicorp/vault/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vault/issues/625/comments","events_url":"https://api.github.com/repos/hashicorp/vault/issues/625/events","html_url":"https://github.com/hashicorp/vault/issues/625","id":107029950,"number":625,"title":"Debian packaging - keeping sane dependencies","user":{"login":"chuxau","id":11560276,"avatar_url":"https://avatars.githubusercontent.com/u/11560276?v=3","gravatar_id":"","url":"https://api.github.com/users/chuxau","html_url":"https://github.com/chuxau","followers_url":"https://api.github.com/users/chuxau/followers","following_url":"https://api.github.com/users/chuxau/following{/other_user}","gists_url":"https://api.github.com/users/chuxau/gists{/gist_id}","starred_url":"https://api.github.com/users/chuxau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuxau/subscriptions","organizations_url":"https://api.github.com/users/chuxau/orgs","repos_url":"https://api.github.com/users/chuxau/repos","events_url":"https://api.github.com/users/chuxau/events{/privacy}","received_events_url":"https://api.github.com/users/chuxau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-17T17:09:07Z","updated_at":"2015-09-17T19:06:52Z","closed_at":null,"body":"Hi,\r\n\r\nI am making my first steps at packaging vault for debian, for use in an internal network .. \r\n\r\nSo far, using the debian dh-make-golang helper utility to create a baseline package, I get a dependency list that reads like so:\r\n\r\nBuild-Depends: \r\n\r\n>                debhelper (>= 9),\r\n               dh-golang,\r\n               golang-go,\r\n               golang-github-armon-go-metrics-dev,\r\n               golang-github-armon-go-radix-dev,\r\n               golang-github-aws-aws-sdk-go-dev,\r\n               golang-github-coreos-go-etcd-dev,\r\n               golang-github-dgrijalva-jwt-go-dev,\r\n               golang-github-duosecurity-duo_api_golang-dev,\r\n               golang-github-fatih-structs-dev,\r\n               golang-github-go-ldap-ldap-dev,\r\n               golang-github-go-sql-driver-mysql-dev,\r\n               golang-github-gocql-gocql-dev,\r\n               golang-github-google-go-github-dev,\r\n               golang-github-hashicorp-consul-dev,\r\n               golang-github-hashicorp-errwrap-dev,\r\n               golang-github-hashicorp-go-multierror-dev,\r\n               golang-github-hashicorp-go-syslog-dev,\r\n               golang-github-hashicorp-golang-lru-dev,\r\n               golang-github-hashicorp-hcl-dev,\r\n               golang-github-hashicorp-logutils-dev,\r\n               golang-github-kardianos-osext-dev,\r\n               golang-github-lib-pq-dev,\r\n               golang-github-mitchellh-cli-dev,\r\n               golang-github-mitchellh-copystructure-dev,\r\n               golang-github-mitchellh-go-homedir-dev,\r\n               golang-github-mitchellh-mapstructure-dev,\r\n               golang-github-mitchellh-reflectwalk-dev,\r\n               golang-github-ryanuber-columnize-dev,\r\n               golang-github-samuel-go-zookeeper-dev,\r\n               golang-golang-x-crypto-dev,\r\n               golang-golang-x-oauth2-dev\r\n\r\nThe implication of the build-deps is that I would also need to build these packages listed .. \r\n\r\nMy questions are:\r\n* What are the base level dependencies for standard internal network use? (I have no need/use in my build for coreos, aws, zookeeper, and most others listed as build-deps)\r\n* Are you aware of anyone else that has successfully packaged vault for debian ?\r\n\r\nThanks in advance for info/comments/suggestions .."},"comment":{"url":"https://api.github.com/repos/hashicorp/vault/issues/comments/141191383","html_url":"https://github.com/hashicorp/vault/issues/625#issuecomment-141191383","issue_url":"https://api.github.com/repos/hashicorp/vault/issues/625","id":141191383,"user":{"login":"jefferai","id":28627,"avatar_url":"https://avatars.githubusercontent.com/u/28627?v=3","gravatar_id":"","url":"https://api.github.com/users/jefferai","html_url":"https://github.com/jefferai","followers_url":"https://api.github.com/users/jefferai/followers","following_url":"https://api.github.com/users/jefferai/following{/other_user}","gists_url":"https://api.github.com/users/jefferai/gists{/gist_id}","starred_url":"https://api.github.com/users/jefferai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefferai/subscriptions","organizations_url":"https://api.github.com/users/jefferai/orgs","repos_url":"https://api.github.com/users/jefferai/repos","events_url":"https://api.github.com/users/jefferai/events{/privacy}","received_events_url":"https://api.github.com/users/jefferai/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T19:06:52Z","updated_at":"2015-09-17T19:06:52Z","body":"There isn't any such thing as \"base level dependencies\"; you could patch out things you don't need and thus get rid of the dependencies that way.\r\n\r\nSince this is for internal use, my question would be why you don't make use of the Makefile that comes with Vault to simply build it along with supported dependencies for that version, and simply package the resulting file."}}