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
This commit is contained in:
parent
3858ec4f14
commit
209d4500f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528872
@ -2,8 +2,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= rubywarden
|
||||
DISTVERSION= 0.0.0.20190207
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 0.0.0.20200226
|
||||
#PORTREVISION= 1
|
||||
CATEGORIES= security www
|
||||
|
||||
MAINTAINER= mr@FreeBSD.org
|
||||
@ -19,7 +19,7 @@ RUBY_NO_BUILD_DEPENDS= yes
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= jcs
|
||||
GH_TAGNAME= 5ba9f9821971942d082e327edcf7f02e8ad4c4a7
|
||||
GH_TAGNAME= 549f66466ca753ee2f3c007b6e242d59dae05fdd
|
||||
|
||||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1552216607
|
||||
SHA256 (jcs-rubywarden-0.0.0.20190207-5ba9f9821971942d082e327edcf7f02e8ad4c4a7_GH0.tar.gz) = 6dce8c391480726200d1f7a9d2f1fad4fe435f25a0c96427b3782ba96a8adbc2
|
||||
SIZE (jcs-rubywarden-0.0.0.20190207-5ba9f9821971942d082e327edcf7f02e8ad4c4a7_GH0.tar.gz) = 38046
|
||||
TIMESTAMP = 1584823928
|
||||
SHA256 (jcs-rubywarden-0.0.0.20200226-549f66466ca753ee2f3c007b6e242d59dae05fdd_GH0.tar.gz) = c5ba2fbbdbf1cb444e2cb654c67feff104af2922aefe76099a9ae1ac9a54b378
|
||||
SIZE (jcs-rubywarden-0.0.0.20200226-549f66466ca753ee2f3c007b6e242d59dae05fdd_GH0.tar.gz) = 39239
|
||||
|
@ -20,6 +20,7 @@ rcvar=rubywarden_api_enable
|
||||
load_rc_config ${name}
|
||||
|
||||
: ${rubywarden_api_enable:=NO}
|
||||
: ${rubywarden_api_host:=localhost}
|
||||
: ${rubywarden_api_port:=4567}
|
||||
: ${rubywarden_api_signups:=NO}
|
||||
: ${rubywarden_api_user:=www}
|
||||
@ -29,7 +30,7 @@ load_rc_config ${name}
|
||||
pidfile="/var/run/rubywarden/${name}.pid"
|
||||
procname=%%RUBY_WITH_SUFFIX%%
|
||||
command="%%PREFIX%%/bin/rackup"
|
||||
command_args="-P ${pidfile} -p ${rubywarden_api_port} -E production config.ru 2>&1 | logger -t rubywarden &"
|
||||
command_args="-P ${pidfile} -o ${rubywarden_api_host} -p ${rubywarden_api_port} -E production config.ru 2>&1 | logger -t rubywarden &"
|
||||
start_precmd="start_precmd"
|
||||
|
||||
start_precmd()
|
||||
|
@ -1,3 +1,4 @@
|
||||
etc/rc.d/rubywarden-api
|
||||
%%WWWDIR%%/.gitignore
|
||||
%%WWWDIR%%/API.md
|
||||
%%WWWDIR%%/AR-MIGRATE.md
|
||||
@ -17,6 +18,9 @@
|
||||
%%WWWDIR%%/db/migrate/20180818095054_create_attachments.rb
|
||||
%%WWWDIR%%/db/migrate/20180818201731_user_kdf_iterations.rb
|
||||
%%WWWDIR%%/db/migrate/20180818212323_add_user_kdf_type.rb
|
||||
%%WWWDIR%%/db/migrate/20190419171915_drop_attachments_url.rb
|
||||
%%WWWDIR%%/db/migrate/201905%%RUBY_SUFFIX%%014920_password_history.rb
|
||||
%%WWWDIR%%/db/migrate/20190724163354_no_null_kdf_iterations.rb
|
||||
%%WWWDIR%%/lib/app.rb
|
||||
%%WWWDIR%%/lib/attachment.rb
|
||||
%%WWWDIR%%/lib/bitwarden.rb
|
||||
@ -44,6 +48,8 @@
|
||||
%%WWWDIR%%/spec/icon_spec.rb
|
||||
%%WWWDIR%%/spec/identity_spec.rb
|
||||
%%WWWDIR%%/spec/spec_helper.rb
|
||||
%%WWWDIR%%/spec/support/factories.rb
|
||||
%%WWWDIR%%/spec/support/request_helpers.rb
|
||||
%%WWWDIR%%/spec/user_spec.rb
|
||||
%%WWWDIR%%/tools/1password_import.rb
|
||||
%%WWWDIR%%/tools/activate_totp.rb
|
||||
@ -53,4 +59,3 @@
|
||||
%%WWWDIR%%/tools/lastpass_import.rb
|
||||
%%WWWDIR%%/tools/migrate_to_ar.rb
|
||||
%%WWWDIR%%/tools/mitm.rb
|
||||
@dir(www,www,0750) %%WWWDIR%%/db
|
||||
|
Loading…
Reference in New Issue
Block a user