Bug 244868

Summary: security/ruby-bitwarden Add option to specify custom host for ruby-bitwarden
Product: Ports & Packages Reporter: Frieder Griesshammer <mail>
Component: Individual Port(s)Assignee: Michael Reifenberger <mr>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (mr)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff of files/rubywarden-api.in none

Description Frieder Griesshammer 2020-03-17 20:07:24 UTC
Created attachment 212468 [details]
svn diff of files/rubywarden-api.in

Hello,
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..

Thanks.
Comment 1 commit-hook freebsd_committer freebsd_triage 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

Log:
  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

Changes:
  head/security/ruby-bitwarden/Makefile
  head/security/ruby-bitwarden/distinfo
  head/security/ruby-bitwarden/files/rubywarden-api.in
  head/security/ruby-bitwarden/pkg-plist
Comment 2 Michael Reifenberger freebsd_committer freebsd_triage 2020-03-21 21:03:21 UTC
Done.
Thanks for providing the patch.