git: 0bb5037ba1ce - main - www/fabio: Update to 1.6.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 May 2022 07:32:28 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=0bb5037ba1cea908848c303ed793d17b8fbb8f9d commit 0bb5037ba1cea908848c303ed793d17b8fbb8f9d Author: Fernando Apesteguía <fernape@FreeBSD.org> AuthorDate: 2022-04-27 07:14:43 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-05-11 07:29:58 +0000 www/fabio: Update to 1.6.0 Use the new go format. ChangeLog: https://github.com/fabiolb/fabio/releases/tag/v1.6.0 PR: 263579 Reported by: glz@hidden-powers.com Approved by: stl@ossuary.net (maintainer, timeout 2 weeks) --- www/fabio/Makefile | 66 +++------------------------ www/fabio/distinfo | 114 +++-------------------------------------------- www/fabio/files/fabio.in | 39 +++++++++++++--- 3 files changed, 42 insertions(+), 177 deletions(-) diff --git a/www/fabio/Makefile b/www/fabio/Makefile index 3b138601c666..4597aa7cad40 100644 --- a/www/fabio/Makefile +++ b/www/fabio/Makefile @@ -1,7 +1,6 @@ PORTNAME= fabio -PORTVERSION= 1.5.14 +PORTVERSION= 1.6.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= www MAINTAINER= stl@ossuary.net @@ -11,71 +10,16 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules -USE_GITHUB= yes -GH_ACCOUNT= fabiolb -GH_SUBDIR= src/github.com/fabiolb/fabio -GH_TUPLE= Shopify:sarama:v1.19.0:shopify_sarama/vendor/github.com/Shopify/sarama \ - apache:thrift:da1169d75b15:apache_thrift/vendor/github.com/apache/thrift \ - armon:go-proxyproto:5b7edb60ff5f:armon_go_proxyproto/vendor/github.com/armon/go-proxyproto \ - circonus-labs:circonus-gometrics:v2.2.4:circonus_labs_circonus_gometrics/vendor/github.com/circonus-labs/circonus-gometrics \ - circonus-labs:circonusllhist:d724266ae527:circonus_labs_circonusllhist/vendor/github.com/circonus-labs/circonusllhist \ - cyberdelia:go-metrics-graphite:b8345b7f01d5:cyberdelia_go_metrics_graphite/vendor/github.com/cyberdelia/go-metrics-graphite \ - davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ - eapache:go-resiliency:v1.1.0:eapache_go_resiliency/vendor/github.com/eapache/go-resiliency \ - eapache:go-xerial-snappy:776d5712da21:eapache_go_xerial_snappy/vendor/github.com/eapache/go-xerial-snappy \ - eapache:queue:v1.1.0:eapache_queue/vendor/github.com/eapache/queue \ - fatih:structs:5ada2f449b10:fatih_structs/vendor/github.com/fatih/structs \ - go-logfmt:logfmt:v0.3.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \ - gobwas:glob:19c076cdf202:gobwas_glob/vendor/github.com/gobwas/glob \ - gogo:protobuf:v1.2.1:gogo_protobuf/vendor/github.com/gogo/protobuf \ - golang:crypto:3d3f9f413869:golang_crypto/vendor/golang.org/x/crypto \ - golang:net:adae6a3d119a:golang_net/vendor/golang.org/x/net \ - golang:protobuf:v1.2.0:golang_protobuf/vendor/github.com/golang/protobuf \ - golang:snappy:2e65f85255db:golang_snappy/vendor/github.com/golang/snappy \ - golang:sync:42b317875d0f:golang_sync/vendor/golang.org/x/sync \ - golang:sys:62eef0e2fa9b:golang_sys/vendor/golang.org/x/sys \ - golang:text:v0.3.0:golang_text/vendor/golang.org/x/text \ - google:go-genproto:082222b4a5c5:google_go_genproto/vendor/google.golang.org/genproto \ - grpc:grpc-go:v1.16.0:grpc_grpc_go/vendor/google.golang.org/grpc \ - hashicorp:consul:v1.4.2:hashicorp_consul/vendor/github.com/hashicorp/consul \ - hashicorp:errwrap:7554cd9344ce:hashicorp_errwrap/vendor/github.com/hashicorp/errwrap \ - hashicorp:go-cleanhttp:v0.5.0:hashicorp_go_cleanhttp/vendor/github.com/hashicorp/go-cleanhttp \ - hashicorp:go-multierror:d30f09973e19:hashicorp_go_multierror/vendor/github.com/hashicorp/go-multierror \ - hashicorp:go-retryablehttp:v0.5.0:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \ - hashicorp:go-rootcerts:6bb64b370b90:hashicorp_go_rootcerts/vendor/github.com/hashicorp/go-rootcerts \ - hashicorp:go-sockaddr:6d291a969b86:hashicorp_go_sockaddr/vendor/github.com/hashicorp/go-sockaddr \ - hashicorp:hcl:d7400db7143f:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ - hashicorp:serf:v0.7.0:hashicorp_serf/vendor/github.com/hashicorp/serf \ - hashicorp:vault:v0.6.0:hashicorp_vault/vendor/github.com/hashicorp/vault \ - inetaf:tcpproxy:b6bb9b5b8252:inetaf_tcpproxy/vendor/github.com/inetaf/tcpproxy \ - kr:logfmt:b84e30acd515:kr_logfmt/vendor/github.com/kr/logfmt \ - magiconair:properties:49d762b9817b:magiconair_properties/vendor/github.com/magiconair/properties \ - mitchellh:go-homedir:1111e456ffea:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \ - mitchellh:mapstructure:d2dd02622084:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ - mwitkow:grpc-proxy:0f1106ef9c76:mwitkow_grpc_proxy/vendor/github.com/mwitkow/grpc-proxy \ - opentracing-contrib:go-observer:a52f23424492:opentracing_contrib_go_observer/vendor/github.com/opentracing-contrib/go-observer \ - opentracing:opentracing-go:v1.0.2:opentracing_opentracing_go/vendor/github.com/opentracing/opentracing-go \ - openzipkin:zipkin-go-opentracing:v0.3.4:openzipkin_zipkin_go_opentracing/vendor/github.com/openzipkin/zipkin-go-opentracing \ - pascaldekloe:goe:f99183613f48:pascaldekloe_goe/vendor/github.com/pascaldekloe/goe \ - pierrec:lz4:v2.0.5:pierrec_lz4/vendor/github.com/pierrec/lz4 \ - pkg:errors:v0.8.0:pkg_errors/vendor/github.com/pkg/errors \ - pkg:profile:v1.2.1:pkg_profile/vendor/github.com/pkg/profile \ - pubnub:go-metrics-statsd:7da61f429d6b:pubnub_go_metrics_statsd/vendor/github.com/pubnub/go-metrics-statsd \ - rakyll:statik:v0.1.6:rakyll_statik/vendor/github.com/rakyll/statik \ - rcrowley:go-metrics:e2704e165165:rcrowley_go_metrics/vendor/github.com/rcrowley/go-metrics \ - rogpeppe:fastuuid:6724a57986af:rogpeppe_fastuuid/vendor/github.com/rogpeppe/fastuuid \ - sergi:go-diff:24e2351369ec:sergi_go_diff/vendor/github.com/sergi/go-diff \ - tg123:go-htpasswd:d38e564730bf:tg123_go_htpasswd/vendor/github.com/tg123/go-htpasswd \ - tv42:httpunix:b75d8614f926:tv42_httpunix/vendor/github.com/tv42/httpunix USE_RC_SUBR= fabio -PLIST_FILES= "@sample etc/fabio.properties.sample" \ - sbin/fabio - +GO_MODULE= github.com/fabiolb/fabio GO_TARGET= :${PREFIX}/sbin/fabio GO_BUILDFLAGS= -ldflags "-X main.GitDescribe=v${PORTVERSION}" +PLIST_FILES= "@sample etc/fabio.properties.sample" \ + sbin/fabio + post-install: ${INSTALL_DATA} ${GO_WRKSRC}/fabio.properties ${STAGEDIR}${PREFIX}/etc/fabio.properties.sample diff --git a/www/fabio/distinfo b/www/fabio/distinfo index 08d55b872fcc..bd7b422bc5a1 100644 --- a/www/fabio/distinfo +++ b/www/fabio/distinfo @@ -1,109 +1,5 @@ -TIMESTAMP = 1604589920 -SHA256 (fabiolb-fabio-v1.5.14_GH0.tar.gz) = 4d0be0922a371383912a0fcf2bcd325a91aad9fc9579dcda6dbc075c7dbbbc19 -SIZE (fabiolb-fabio-v1.5.14_GH0.tar.gz) = 6479125 -SHA256 (Shopify-sarama-v1.19.0_GH0.tar.gz) = ece0ef4a682e312d02db4141bb7d7830f026a66f4692168d7394511ade222bca -SIZE (Shopify-sarama-v1.19.0_GH0.tar.gz) = 182043 -SHA256 (apache-thrift-da1169d75b15_GH0.tar.gz) = 9045beca028b5354b4a0dad87601abc31d1fc7db4713e02c364951f895d92735 -SIZE (apache-thrift-da1169d75b15_GH0.tar.gz) = 2945957 -SHA256 (armon-go-proxyproto-5b7edb60ff5f_GH0.tar.gz) = bd440eab08fe39a1a9139abce0ca701b399c54791cc88e7f455078a946614cfa -SIZE (armon-go-proxyproto-5b7edb60ff5f_GH0.tar.gz) = 4598 -SHA256 (circonus-labs-circonus-gometrics-v2.2.4_GH0.tar.gz) = 5f8a3420bbb1cf4077ad400f33012a55d8582f8b3f9958a83a3fa68f0272161b -SIZE (circonus-labs-circonus-gometrics-v2.2.4_GH0.tar.gz) = 80032 -SHA256 (circonus-labs-circonusllhist-d724266ae527_GH0.tar.gz) = be66a0c83ccdb594134803aa89f556c1e9be92df99a94ec8a572042e1e9d4f29 -SIZE (circonus-labs-circonusllhist-d724266ae527_GH0.tar.gz) = 6259 -SHA256 (cyberdelia-go-metrics-graphite-b8345b7f01d5_GH0.tar.gz) = f111f4b790c8710cb81c5a7c457562ee0012baf75789d5ab79ff6afc3cdd871a -SIZE (cyberdelia-go-metrics-graphite-b8345b7f01d5_GH0.tar.gz) = 3008 -SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e -SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152 -SHA256 (eapache-go-resiliency-v1.1.0_GH0.tar.gz) = 030a8a8f9e633704198f0980cc7d33af19310fa9e74b63ca4588ba5fcfc6ace9 -SIZE (eapache-go-resiliency-v1.1.0_GH0.tar.gz) = 9881 -SHA256 (eapache-go-xerial-snappy-776d5712da21_GH0.tar.gz) = 4bc90007c4d09abfb9d5a078c48049d5daa70d84fee050565f3230358b833516 -SIZE (eapache-go-xerial-snappy-776d5712da21_GH0.tar.gz) = 7896 -SHA256 (eapache-queue-v1.1.0_GH0.tar.gz) = 2be4716ba2bba5f7c125a8fe72ba534f02cf0d7d98d3a372d4ebe54b170f7329 -SIZE (eapache-queue-v1.1.0_GH0.tar.gz) = 3502 -SHA256 (fatih-structs-5ada2f449b10_GH0.tar.gz) = bb4f902aaafa231aaa50c55c5339b81b6ce3fd911cafafdfde3e17ad9b0c78b8 -SIZE (fatih-structs-5ada2f449b10_GH0.tar.gz) = 12969 -SHA256 (go-logfmt-logfmt-v0.3.0_GH0.tar.gz) = 74a958064177fc33cc66c60ae118f95faf9f986bcab0465c47f40d8cad978fce -SIZE (go-logfmt-logfmt-v0.3.0_GH0.tar.gz) = 11546 -SHA256 (gobwas-glob-19c076cdf202_GH0.tar.gz) = 28ad6a5ca176fa23e7e272036c8954e536d9b203f2e4479900973aa241eb983c -SIZE (gobwas-glob-19c076cdf202_GH0.tar.gz) = 26149 -SHA256 (gogo-protobuf-v1.2.1_GH0.tar.gz) = 99e423905ba8921e86817607a5294ffeedb66fdd4a85efce5eb2848f715fdb3a -SIZE (gogo-protobuf-v1.2.1_GH0.tar.gz) = 2017393 -SHA256 (golang-crypto-3d3f9f413869_GH0.tar.gz) = 350f3e37a30bad009d90aa4b2df7d239c363865557788368a402492dc14c899e -SIZE (golang-crypto-3d3f9f413869_GH0.tar.gz) = 1644694 -SHA256 (golang-net-adae6a3d119a_GH0.tar.gz) = a5d1fdc73a06e97b9ed2d57fcc4ae8fa9d2a6056587f9b47387d65dc8e918724 -SIZE (golang-net-adae6a3d119a_GH0.tar.gz) = 965825 -SHA256 (golang-protobuf-v1.2.0_GH0.tar.gz) = 157a148ae4e132eb169ec794b6cb43f1002780eeacaea8b0694811d1948fb1ec -SIZE (golang-protobuf-v1.2.0_GH0.tar.gz) = 332565 -SHA256 (golang-snappy-2e65f85255db_GH0.tar.gz) = 3f0d9ed5fbea9b10b33c38321afe9a9e8a45dc3f0dbed9c3c1b640e69da05f76 -SIZE (golang-snappy-2e65f85255db_GH0.tar.gz) = 62580 -SHA256 (golang-sync-42b317875d0f_GH0.tar.gz) = f4df98b0401d7d53814fc01fa9ebee0d91f9dee6f7e82b562388dc82ad8c8a13 -SIZE (golang-sync-42b317875d0f_GH0.tar.gz) = 16233 -SHA256 (golang-sys-62eef0e2fa9b_GH0.tar.gz) = b26b140e56523a9b711177721e6aa695ce89344b1529f04df2dc2bb9b59e9d0d -SIZE (golang-sys-62eef0e2fa9b_GH0.tar.gz) = 1115777 -SHA256 (golang-text-v0.3.0_GH0.tar.gz) = 8f4c9a048345befc7beccd09267737ee1f55c7b35e5ff80f344ec9e0aa90febb -SIZE (golang-text-v0.3.0_GH0.tar.gz) = 6102619 -SHA256 (google-go-genproto-082222b4a5c5_GH0.tar.gz) = bfba3c4124984da0e8ad3d939411dc4e658fac90be5086ea171b96fcbf824746 -SIZE (google-go-genproto-082222b4a5c5_GH0.tar.gz) = 3481815 -SHA256 (grpc-grpc-go-v1.16.0_GH0.tar.gz) = 771230b79dc89753e860b35870ec245b19248b538f0de3fe45d818281739167a -SIZE (grpc-grpc-go-v1.16.0_GH0.tar.gz) = 545087 -SHA256 (hashicorp-consul-v1.4.2_GH0.tar.gz) = 1ee8652e053dda0538a1f7886a856d0a825ec778217082f21aaba096220a1f98 -SIZE (hashicorp-consul-v1.4.2_GH0.tar.gz) = 22514136 -SHA256 (hashicorp-errwrap-7554cd9344ce_GH0.tar.gz) = c690c4a5a98910352eba4d70a287b47febddb940e4bd1ab2ed52e94dc6a12ba2 -SIZE (hashicorp-errwrap-7554cd9344ce_GH0.tar.gz) = 8315 -SHA256 (hashicorp-go-cleanhttp-v0.5.0_GH0.tar.gz) = e00e9cf103f1d67ce50f222b9a84b8d4b998a41daa9005e6067d339a76b87ab9 -SIZE (hashicorp-go-cleanhttp-v0.5.0_GH0.tar.gz) = 8059 -SHA256 (hashicorp-go-multierror-d30f09973e19_GH0.tar.gz) = ec1b24f5d46a2038411b7ed3a31beffff1a6e8207328289a40148815e9791d7a -SIZE (hashicorp-go-multierror-d30f09973e19_GH0.tar.gz) = 8788 -SHA256 (hashicorp-go-retryablehttp-v0.5.0_GH0.tar.gz) = 79bf51434c9da89141eaf839b12ad07cfcc51b9c8108e6250e3de83bedb6e3c7 -SIZE (hashicorp-go-retryablehttp-v0.5.0_GH0.tar.gz) = 14668 -SHA256 (hashicorp-go-rootcerts-6bb64b370b90_GH0.tar.gz) = 05a45684aff7185b128e833ae34859b9788db8003f558544889650063da89d3a -SIZE (hashicorp-go-rootcerts-6bb64b370b90_GH0.tar.gz) = 11595 -SHA256 (hashicorp-go-sockaddr-6d291a969b86_GH0.tar.gz) = db1445b46bdf7548b353da2daf237f227b6f30a1c1bd6b4f98ca8d6597f4e77d -SIZE (hashicorp-go-sockaddr-6d291a969b86_GH0.tar.gz) = 661412 -SHA256 (hashicorp-hcl-d7400db7143f_GH0.tar.gz) = 035076d5433656f2711f71f6fd8daab3ec8afa02897faec19231909e3bf1019c -SIZE (hashicorp-hcl-d7400db7143f_GH0.tar.gz) = 60949 -SHA256 (hashicorp-serf-v0.7.0_GH0.tar.gz) = 2699dbbc616e4b76fb158d8ea3291b0ae43bb0499ab263907ef38de61f75d652 -SIZE (hashicorp-serf-v0.7.0_GH0.tar.gz) = 597426 -SHA256 (hashicorp-vault-v0.6.0_GH0.tar.gz) = 7dd00cd273ff6542940aa5084a0a8237820c7759153b52587150f54991a50e35 -SIZE (hashicorp-vault-v0.6.0_GH0.tar.gz) = 4087152 -SHA256 (inetaf-tcpproxy-b6bb9b5b8252_GH0.tar.gz) = 736b6e12f43be6276ad769dd21846e8ebc3a13911b502598f33fe1dc3a37aa04 -SIZE (inetaf-tcpproxy-b6bb9b5b8252_GH0.tar.gz) = 27637 -SHA256 (kr-logfmt-b84e30acd515_GH0.tar.gz) = bf056ba7960b6846f2aa2c6ec0a217ead3e7259bc6c537f9f3ba3af6eb82cb80 -SIZE (kr-logfmt-b84e30acd515_GH0.tar.gz) = 6411 -SHA256 (magiconair-properties-49d762b9817b_GH0.tar.gz) = 0ee2485b43e90477df6d3ecb20a35c588008338bef0a7cee3bf54357351af4b8 -SIZE (magiconair-properties-49d762b9817b_GH0.tar.gz) = 27767 -SHA256 (mitchellh-go-homedir-1111e456ffea_GH0.tar.gz) = e8a60b1973ebc0eb0e50e0878ae605291418e4e78dca8bd82d6cf7f4ee7e8542 -SIZE (mitchellh-go-homedir-1111e456ffea_GH0.tar.gz) = 2977 -SHA256 (mitchellh-mapstructure-d2dd02622084_GH0.tar.gz) = e9951e6e5d89b075bd533d16710bcb6f61ee5e923aaebba19afb06f29fc1f161 -SIZE (mitchellh-mapstructure-d2dd02622084_GH0.tar.gz) = 14258 -SHA256 (mwitkow-grpc-proxy-0f1106ef9c76_GH0.tar.gz) = 1571bd9e5b6227138d6006c7fe348d6766468bffeffc6798154c0a5509e3efaa -SIZE (mwitkow-grpc-proxy-0f1106ef9c76_GH0.tar.gz) = 14920 -SHA256 (opentracing-contrib-go-observer-a52f23424492_GH0.tar.gz) = 77a360755dffef6b9f7785d47ca8f47a14979b94f2d49b643f8872bfb6dcfce9 -SIZE (opentracing-contrib-go-observer-a52f23424492_GH0.tar.gz) = 6145 -SHA256 (opentracing-opentracing-go-v1.0.2_GH0.tar.gz) = fe3606493ab322c3ae9922b7ebf3e78350665054b0f6142a6ced06eebf1e41df -SIZE (opentracing-opentracing-go-v1.0.2_GH0.tar.gz) = 24067 -SHA256 (openzipkin-zipkin-go-opentracing-v0.3.4_GH0.tar.gz) = b62f8164a795868c8b8400be45f246980cfe8dca2ea70ecb31af8a3230e00573 -SIZE (openzipkin-zipkin-go-opentracing-v0.3.4_GH0.tar.gz) = 62542 -SHA256 (pascaldekloe-goe-f99183613f48_GH0.tar.gz) = 254ecf5f9cf440a025b6545aafea24f6ef9c5de0c69923199d7575544464c560 -SIZE (pascaldekloe-goe-f99183613f48_GH0.tar.gz) = 14044 -SHA256 (pierrec-lz4-v2.0.5_GH0.tar.gz) = 322b98493c960e940cf187646957bea4fe96a274412b88d7d199a9cbf39591c6 -SIZE (pierrec-lz4-v2.0.5_GH0.tar.gz) = 3555216 -SHA256 (pkg-errors-v0.8.0_GH0.tar.gz) = bacf6c58e490911398cee61742ddc6a90c560733e4c9dcb3d867b17a894c9dd5 -SIZE (pkg-errors-v0.8.0_GH0.tar.gz) = 11344 -SHA256 (pkg-profile-v1.2.1_GH0.tar.gz) = 21b6541e7cad44e984e9bad1dc700def6e52fa1affa38a867f32ff6a6bec3ac0 -SIZE (pkg-profile-v1.2.1_GH0.tar.gz) = 5789 -SHA256 (pubnub-go-metrics-statsd-7da61f429d6b_GH0.tar.gz) = 30e255cc8563937ae08f5aebd67e4472846d59408c5964eb61cb59077a047435 -SIZE (pubnub-go-metrics-statsd-7da61f429d6b_GH0.tar.gz) = 3454 -SHA256 (rakyll-statik-v0.1.6_GH0.tar.gz) = f157a1ada813eb643ddd9a60a0efe3158f1da25b1d11bc1ef6c7fa219d4b23bf -SIZE (rakyll-statik-v0.1.6_GH0.tar.gz) = 176556 -SHA256 (rcrowley-go-metrics-e2704e165165_GH0.tar.gz) = cca6eae5e1b80816fdcdcb826c841a0580995225f8d3f1013ba8f8618b69a50a -SIZE (rcrowley-go-metrics-e2704e165165_GH0.tar.gz) = 36763 -SHA256 (rogpeppe-fastuuid-6724a57986af_GH0.tar.gz) = c2f77628e91db32e3ef419c51a9a891668e457824bc53a23fabddd0841352ad0 -SIZE (rogpeppe-fastuuid-6724a57986af_GH0.tar.gz) = 2504 -SHA256 (sergi-go-diff-24e2351369ec_GH0.tar.gz) = bb6b6f7c52c88872d059e6cb44f79aec31395582b45320a00ed882151940bc28 -SIZE (sergi-go-diff-24e2351369ec_GH0.tar.gz) = 41476 -SHA256 (tg123-go-htpasswd-d38e564730bf_GH0.tar.gz) = 5ba44c3a3421893a6fa92e6e2ce16f0bddda9c3abddb03c55fbc24aee4ac67bd -SIZE (tg123-go-htpasswd-d38e564730bf_GH0.tar.gz) = 70542 -SHA256 (tv42-httpunix-b75d8614f926_GH0.tar.gz) = d9129f3eb7c63693b27d1b571f8e30cfcde2b4596079ca6f2ceb675ad190de0a -SIZE (tv42-httpunix-b75d8614f926_GH0.tar.gz) = 2474 +TIMESTAMP = 1649779794 +SHA256 (go/www_fabio/fabio-v1.6.0/v1.6.0.mod) = b63819db52f7160ef63b6778ae55c69d36de0c5cd1bf6fb60e7c8f5a2edfe802 +SIZE (go/www_fabio/fabio-v1.6.0/v1.6.0.mod) = 2898 +SHA256 (go/www_fabio/fabio-v1.6.0/v1.6.0.zip) = 00060f244368f43c9c7db349f07f7c8579322c40164955c2c3eb75d7bfe88ad2 +SIZE (go/www_fabio/fabio-v1.6.0/v1.6.0.zip) = 1996461 diff --git a/www/fabio/files/fabio.in b/www/fabio/files/fabio.in index a50f331ad040..d19b89f4966b 100644 --- a/www/fabio/files/fabio.in +++ b/www/fabio/files/fabio.in @@ -8,12 +8,21 @@ # Add the following lines to /etc/rc.conf.local or /etc/rc.conf # to enable this service: # -# fabio_enable (bool): Set to NO by default. -# Set it to YES to enable fabio. -# fabio_user (user): Set user to run fabio. -# Default is "nobody". -# fabio_group (group): Set group to run fabio. -# Default is "nobody". +# fabio_enable (bool): Set to NO by default. +# Set it to YES to enable fabio. +# fabio_user (user): Set user to run fabio. +# Default is "nobody". +# fabio_group (group): Set group to run fabio. +# Default is "nobody". +# fabio_syslog_output_enable (bool): Set to YES to enable syslog output +# Default is "NO". See daemon(8). +# fabio_syslog_output_tag (str): Set syslog tag if syslog enabled. +# Default is "fabio". See daemon(8). +# fabio_syslog_output_priority (str): Set syslog priority if syslog enabled. +# Default is "info". See daemon(8). +# fabio_syslog_output_facility (str): Set to YES to enable syslog output +# Default is "daemon". See daemon(8). + . /etc/rc.subr @@ -25,11 +34,27 @@ load_rc_config $name : ${fabio_enable:="NO"} : ${fabio_user:="nobody"} : ${fabio_group:="nobody"} +: ${fabio_syslog_output_enable:="NO"} + +if checkyesno fabio_syslog_output_enable; then + if [ -n "${fabio_syslog_output_tag}" ]; then + fabio_syslog_output_flags="-T ${fabio_syslog_output_tag}" + else + fabio_syslog_output_flags="-T ${name}" + fi + if [ -n "${fabio_syslog_output_priority}" ]; then + fabio_syslog_output_flags="${fabio_syslog_output_flags} -s ${fabio_syslog_output_priority}" + fi + + if [ -n "${fabio_syslog_output_facility}" ]; then + fabio_syslog_output_flags="${fabio_syslog_output_flags} -l ${fabio_syslog_output_facility}" + fi +fi pidfile=/var/run/fabio.pid procname="%%PREFIX%%/sbin/fabio" command="/usr/sbin/daemon" -command_args="-f -p ${pidfile} ${procname} -cfg %%PREFIX%%/etc/fabio.properties" +command_args="-f -t ${name} ${fabio_syslog_output_flags} -p ${pidfile} ${procname} -cfg %%PREFIX%%/etc/fabio.properties" start_precmd=fabio_startprecmd