diff options
Diffstat (limited to 'www/authelia/Makefile')
-rw-r--r-- | www/authelia/Makefile | 90 |
1 files changed, 46 insertions, 44 deletions
diff --git a/www/authelia/Makefile b/www/authelia/Makefile index 4a79cf212765..a6c5b04fbdc8 100644 --- a/www/authelia/Makefile +++ b/www/authelia/Makefile @@ -2,8 +2,11 @@ PORTNAME= authelia DISTVERSIONPREFIX= v -DISTVERSION= 4.24.1 +DISTVERSION= 4.27.2 +PORTREVISION= 1 CATEGORIES= www +DISTFILES= ${PORTNAME}-public-html-${DISTVERSION}${EXTRACT_SUFX}:public_html # html root directory needs to be built in a special way +MASTER_SITES= LOCAL/yuri:public_html MAINTAINER= yuri@FreeBSD.org COMMENT= Single sign-on multi-factor portal for web apps @@ -15,81 +18,80 @@ USES= go:modules USE_GITHUB= yes GH_TUPLE= \ Azure:go-ntlmssp:66371956d46c:azure_go_ntlmssp/vendor/github.com/Azure/go-ntlmssp \ - DATA-DOG:go-sqlmock:v1.4.1:data_dog_go_sqlmock/vendor/github.com/DATA-DOG/go-sqlmock \ + DATA-DOG:go-sqlmock:v1.5.0:data_dog_go_sqlmock/vendor/github.com/DATA-DOG/go-sqlmock \ Gurpartap:logrus-stack:89c00d8a28f4:gurpartap_logrus_stack/vendor/github.com/Gurpartap/logrus-stack \ Workiva:go-datastructures:v1.0.52:workiva_go_datastructures/vendor/github.com/Workiva/go-datastructures \ - aletheia-icu:broccoli:c5ac961a357a:aletheia_icu_broccoli_fs/vendor/aletheia.icu/broccoli \ - andybalholm:brotli:v1.0.0:andybalholm_brotli/vendor/github.com/andybalholm/brotli \ - asaskevich:govalidator:f61b66f89f4a:asaskevich_govalidator/vendor/github.com/asaskevich/govalidator \ + andybalholm:brotli:v1.0.1:andybalholm_brotli/vendor/github.com/andybalholm/brotli \ + asaskevich:govalidator:7a23bdc65eef:asaskevich_govalidator/vendor/github.com/asaskevich/govalidator \ blang:semver:v3.5.1:blang_semver/vendor/github.com/blang/semver \ boombuler:barcode:6c824513bacc:boombuler_barcode/vendor/github.com/boombuler/barcode \ - cespare:xxhash:v1.1.0:cespare_xxhash/vendor/github.com/cespare/xxhash \ + cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ deckarep:golang-set:v1.7.1:deckarep_golang_set/vendor/github.com/deckarep/golang-set \ dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \ - dgryski:go-rendezvous:8d2f3be8b2d9:dgryski_go_rendezvous/vendor/github.com/dgryski/go-rendezvous \ - duosecurity:duo_api_golang:6c680f768e74:duosecurity_duo_api_golang/vendor/github.com/duosecurity/duo_api_golang \ + dgryski:go-rendezvous:9f7001d12a5f:dgryski_go_rendezvous/vendor/github.com/dgryski/go-rendezvous \ + duosecurity:duo_api_golang:0e07e9f869e3:duosecurity_duo_api_golang/vendor/github.com/duosecurity/duo_api_golang \ facebookgo:stack:751773369052:facebookgo_stack/vendor/github.com/facebookgo/stack \ - fasthttp:router:v1.2.4:fasthttp_router/vendor/github.com/fasthttp/router \ - fasthttp:session:v2.2.1:fasthttp_session_v2/vendor/github.com/fasthttp/session/v2 \ - fsnotify:fsnotify:v1.4.7:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ + fasthttp:router:v1.3.9:fasthttp_router/vendor/github.com/fasthttp/router \ + fasthttp:session:v2.3.0:fasthttp_session_v2/vendor/github.com/fasthttp/session/v2 \ + fsnotify:fsnotify:v1.4.9:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ go-asn1-ber:asn1-ber:v1.5.1:go_asn1_ber_asn1_ber/vendor/github.com/go-asn1-ber/asn1-ber \ go-ini:ini:v1.51.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ - go-ldap:ldap:v3.2.3:go_ldap_ldap_v3/vendor/github.com/go-ldap/ldap \ - go-redis:redis:v8.0.0-beta.6:go_redis_redis_v8/vendor/github.com/go-redis/redis/v8 \ + go-ldap:ldap:v3.2.4:go_ldap_ldap_v3/vendor/github.com/go-ldap/ldap \ + go-redis:redis:v8.3.4:go_redis_redis_v8/vendor/github.com/go-redis/redis/v8 \ go-sql-driver:mysql:v1.5.0:go_sql_driver_mysql/vendor/github.com/go-sql-driver/mysql \ go-yaml:yaml:9f266ea9e77c:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \ - go-yaml:yaml:v2.3.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ - golang:crypto:75b288015ac9:golang_crypto/vendor/golang.org/x/crypto \ - golang:exp:00229845015e:golang_exp/vendor/golang.org/x/exp \ - golang:mock:v1.4.4:golang_mock/vendor/github.com/golang/mock \ - golang:sys:6fdc65e7d980:golang_sys/vendor/golang.org/x/sys \ - golang:text:v0.3.3:golang_text/vendor/golang.org/x/text \ - golang:xerrors:9bdfabe68543:golang_xerrors/vendor/golang.org/x/xerrors \ - grpc:grpc-go:v1.30.0:grpc_grpc_go/vendor/google.golang.org/grpc \ + go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ + golang:crypto:5ea612d1eb83:golang_crypto/vendor/golang.org/x/crypto \ + golang:mock:v1.5.0:golang_mock/vendor/github.com/golang/mock \ + golang:sys:a50acf3fe073:golang_sys/vendor/golang.org/x/sys \ + golang:text:v0.3.5:golang_text/vendor/golang.org/x/text \ + golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \ hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ jackc:chunkreader:v2.0.1:jackc_chunkreader_v2/vendor/github.com/jackc/chunkreader/v2 \ - jackc:pgconn:v1.6.4:jackc_pgconn/vendor/github.com/jackc/pgconn \ + jackc:pgconn:v1.8.0:jackc_pgconn/vendor/github.com/jackc/pgconn \ jackc:pgio:v1.0.0:jackc_pgio/vendor/github.com/jackc/pgio \ jackc:pgpassfile:v1.0.0:jackc_pgpassfile/vendor/github.com/jackc/pgpassfile \ - jackc:pgproto3:v2.0.2:jackc_pgproto3_v2/vendor/github.com/jackc/pgproto3/v2 \ + jackc:pgproto3:v2.0.6:jackc_pgproto3_v2/vendor/github.com/jackc/pgproto3/v2 \ jackc:pgservicefile:2b9c44734f2b:jackc_pgservicefile/vendor/github.com/jackc/pgservicefile \ - jackc:pgtype:v1.4.2:jackc_pgtype/vendor/github.com/jackc/pgtype \ - jackc:pgx:v4.8.1:jackc_pgx_v4/vendor/github.com/jackc/pgx/v4 \ - klauspost:compress:v1.10.7:klauspost_compress/vendor/github.com/klauspost/compress \ - konsorten:go-windows-terminal-sequences:v1.0.3:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \ + jackc:pgtype:v1.6.2:jackc_pgtype/vendor/github.com/jackc/pgtype \ + jackc:pgx:v4.10.1:jackc_pgx_v4/vendor/github.com/jackc/pgx/v4 \ + klauspost:compress:v1.11.8:klauspost_compress/vendor/github.com/klauspost/compress \ magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \ - mattn:go-sqlite3:v2.0.3:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \ + mattn:go-sqlite3:v1.14.6:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \ mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ - onsi:ginkgo:v1.10.3:onsi_ginkgo/vendor/github.com/onsi/ginkgo \ - onsi:gomega:v1.7.1:onsi_gomega/vendor/github.com/onsi/gomega \ - open-telemetry:opentelemetry-go:v0.7.0:open_telemetry_opentelemetry_go/vendor/go.opentelemetry.io/otel \ - otiai10:copy:v1.2.0:otiai10_copy/vendor/github.com/otiai10/copy \ + open-telemetry:opentelemetry-go:v0.13.0:open_telemetry_opentelemetry_go/vendor/go.opentelemetry.io/otel \ + otiai10:copy:v1.5.0:otiai10_copy/vendor/github.com/otiai10/copy \ pelletier:go-toml:v1.4.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ - philhofer:fwd:v1.0.0:philhofer_fwd/vendor/github.com/philhofer/fwd \ - pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ + philhofer:fwd:v1.1.1:philhofer_fwd/vendor/github.com/philhofer/fwd \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ - pquerna:otp:v1.2.0:pquerna_otp/vendor/github.com/pquerna/otp \ - savsgio:dictpool:6a3c1a8f6ab2:savsgio_dictpool/vendor/github.com/savsgio/dictpool \ - savsgio:gotils:13ff1fd2c28c:savsgio_gotils/vendor/github.com/savsgio/gotils \ + pquerna:otp:v1.3.0:pquerna_otp/vendor/github.com/pquerna/otp \ + savsgio:dictpool:85d3b37fb239:savsgio_dictpool/vendor/github.com/savsgio/dictpool \ + savsgio:gotils:595c7e5a8a7a:savsgio_gotils/vendor/github.com/savsgio/gotils \ simia-tech:crypt:v0.4.3:simia_tech_crypt/vendor/github.com/simia-tech/crypt \ - sirupsen:logrus:v1.6.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ + sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ spf13:afero:v1.1.2:spf13_afero/vendor/github.com/spf13/afero \ spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ - spf13:cobra:v0.0.7:spf13_cobra/vendor/github.com/spf13/cobra \ + spf13:cobra:v1.1.3:spf13_cobra/vendor/github.com/spf13/cobra \ spf13:jwalterweatherman:v1.0.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ - spf13:pflag:v1.0.3:spf13_pflag/vendor/github.com/spf13/pflag \ + spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ spf13:viper:v1.7.1:spf13_viper/vendor/github.com/spf13/viper \ - stretchr:testify:v1.6.1:stretchr_testify/vendor/github.com/stretchr/testify \ + stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify \ subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \ tebeka:selenium:v0.9.9:tebeka_selenium/vendor/github.com/tebeka/selenium \ - tinylib:msgp:v1.1.2:tinylib_msgp/vendor/github.com/tinylib/msgp \ + tinylib:msgp:v1.1.5:tinylib_msgp/vendor/github.com/tinylib/msgp \ tstranex:u2f:v1.0.0:tstranex_u2f/vendor/github.com/tstranex/u2f \ valyala:bytebufferpool:v1.0.0:valyala_bytebufferpool/vendor/github.com/valyala/bytebufferpool \ - valyala:fasthttp:v1.15.1:valyala_fasthttp/vendor/github.com/valyala/fasthttp + valyala:fasthttp:v1.22.0:valyala_fasthttp/vendor/github.com/valyala/fasthttp GO_TARGET= ./cmd/${PORTNAME} -PLIST_FILES= bin/${PORTNAME} +post-extract: # extract -public-html + @${RM} -r ${WRKSRC}/internal/server/public_html + @${MV} ${WRKDIR}/public_html ${WRKSRC}/internal/server + @${CP} -r ${WRKSRC}/api ${WRKSRC}/internal/server/public_html/api + +post-install: # install the config file + ${INSTALL_DATA} ${WRKSRC}/config.template.yml ${STAGEDIR}${PREFIX}/etc/authelia.yml.sample .include <bsd.port.mk> |