Bug 244868 - security/ruby-bitwarden Add option to specify custom host for ruby-bitwarden
Summary: security/ruby-bitwarden Add option to specify custom host for ruby-bitwarden
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Michael Reifenberger
Depends on:
Reported: 2020-03-17 20:07 UTC by Frieder Griesshammer
Modified: 2020-03-21 21:03 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mr)

svn diff of files/rubywarden-api.in (815 bytes, patch)
2020-03-17 20:07 UTC, Frieder Griesshammer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frieder Griesshammer 2020-03-17 20:07:24 UTC
Created attachment 212468 [details]
svn diff of files/rubywarden-api.in

as I am running ruby-bitwarden behind some reverse proxy (which only communicates over IPv6 internally) I have the need to bind ruby-bitwarden to some custom IP-Address.

So I introduced the rubywarden_api_host variable and pass it into rackup. It defaults to localhost - the default if the host is omitted in rackup, so there should be no trouble there.
This new variable allows me to bind the service onto a specific (IPv6) address, according to my configuration.

This is my first patch to the ports system, so please do not hesitate to contact me for further details, or if I did something wrong..

Comment 1 commit-hook freebsd_committer 2020-03-21 20:56:55 UTC
A commit references this bug:

Author: mr
Date: Sat Mar 21 20:56:37 UTC 2020
New revision: 528872
URL: https://svnweb.freebsd.org/changeset/ports/528872

  Add option to specify custom host for ruby-bitwarden
  Enable ruby-bitwarden to bind to some custom IP-Address

  While there update to a newer snapshot.

  PR:		244868
  Submitted by:	Frieder Griesshammer

Comment 2 Michael Reifenberger freebsd_committer 2020-03-21 21:03:21 UTC
Thanks for providing the patch.