openship 0.4.5 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -24
- package/dist/bare-2HYDXQEH.js +23 -0
- package/dist/{bowser-L6PVH37V.js → bowser-O3AEA6AN.js} +3 -1
- package/dist/{chunk-YFLQGDN2.js → chunk-4TJC4JZQ.js} +18 -9
- package/dist/{chunk-JXQCFTDV.js → chunk-4Z5QO7N6.js} +4 -2
- package/dist/{chunk-JJVSOE4I.js → chunk-5MZ624VX.js} +2 -0
- package/dist/{chunk-TDFK6ISF.js → chunk-6APIPIJY.js} +6 -4
- package/dist/{chunk-3LCRNQ2C.js → chunk-6APULWSU.js} +151 -133
- package/dist/{chunk-FTBXJ2VA.js → chunk-6B5YCFFV.js} +6 -4
- package/dist/{chunk-MDFYN2QH.js → chunk-AVIB7CT7.js} +3 -1
- package/dist/{chunk-W7KGHYLV.js → chunk-DYPH4HCI.js} +2 -0
- package/dist/{chunk-5WI7ZXOC.js → chunk-EI575GHN.js} +4 -2
- package/dist/{chunk-Z6EKX6CX.js → chunk-FPRHYBY2.js} +2 -0
- package/dist/{chunk-FZJX6XP7.js → chunk-FRNAR33O.js} +4 -2
- package/dist/{chunk-XRWV5ZNR.js → chunk-FXTBHTWY.js} +360 -42
- package/dist/chunk-ILFETZOM.js +131 -0
- package/dist/{chunk-E3ZPCNPU.js → chunk-IMBD5PZ5.js} +251 -105
- package/dist/{chunk-VJTXRCTT.js → chunk-IPYPMI3S.js} +10 -6
- package/dist/{chunk-PARRPUXN.js → chunk-IXCHURVK.js} +5 -3
- package/dist/{chunk-YJAS5RQX.js → chunk-JYGD5WSN.js} +2 -0
- package/dist/{chunk-JWBXYO24.js → chunk-KI2EY3WB.js} +2 -0
- package/dist/{chunk-YVXF6GGR.js → chunk-L2VOGB2X.js} +5 -104
- package/dist/{chunk-K5OH5U7N.js → chunk-MZ2WEHHY.js} +5 -3
- package/dist/{chunk-SJBR527P.js → chunk-O6ZZF52V.js} +3 -1
- package/dist/{chunk-VLPJLXXB.js → chunk-OWED2GRM.js} +3 -1
- package/dist/{chunk-C4FOQJ63.js → chunk-OXWDY22G.js} +4 -2
- package/dist/{chunk-NPVJYR7M.js → chunk-Q2CIRAOK.js} +2 -0
- package/dist/chunk-R5BHFFAV.js +282 -0
- package/dist/{chunk-JYAGTMSJ.js → chunk-RPHRPFEH.js} +2 -0
- package/dist/{chunk-R74UB4X4.js → chunk-SJIFLLX4.js} +397 -85
- package/dist/{chunk-HYL4QYZM.js → chunk-TGIINPVM.js} +13 -2
- package/dist/{chunk-SYCZE6FQ.js → chunk-TYVME3XD.js} +7 -1
- package/dist/{chunk-UMYQALBH.js → chunk-UXWAVM4C.js} +1788 -1484
- package/dist/{chunk-HDV4NSA3.js → chunk-V6AN6XLZ.js} +16 -6
- package/dist/{chunk-3YCMJRDZ.js → chunk-VDMQJHPI.js} +36 -15
- package/dist/{chunk-RZPDJC2J.js → chunk-VFINNTUL.js} +20 -1
- package/dist/{chunk-65KKUJBR.js → chunk-VWPEKOH6.js} +4 -2
- package/dist/{chunk-GHXGCANU.js → chunk-W73X43R7.js} +4 -2
- package/dist/{chunk-7EYFCKZX.js → chunk-XFCDYZUQ.js} +8 -6
- package/dist/cloud-2KXREXMO.js +30 -0
- package/dist/{cloud-7IGG45CF.js → cloud-7QYOGF7F.js} +4 -2
- package/dist/detect-2XSCFFTF.js +44 -0
- package/dist/{dist-NQB6QGX3.js → dist-IQJ6H6UZ.js} +4 -2
- package/dist/{dist-es-DCR6UJMP.js → dist-es-5DY7K32L.js} +7 -5
- package/dist/{dist-es-TYYZ5KEF.js → dist-es-JSTDUS7Q.js} +7 -5
- package/dist/{dist-es-7EZIM4JU.js → dist-es-OSNJBLXB.js} +6 -4
- package/dist/{dist-es-6RSPR56Q.js → dist-es-RYHIPOTN.js} +15 -13
- package/dist/{dist-es-33Z3Y6VE.js → dist-es-VNKHQVIB.js} +5 -3
- package/dist/{dist-es-D6QQVWRZ.js → dist-es-WV4AMOII.js} +9 -7
- package/dist/{dist-es-GMEQINIE.js → dist-es-X3B5QYKB.js} +7 -5
- package/dist/docker-LODK5Y2S.js +16 -0
- package/dist/docker-edge-executor-VHW3JPJS.js +13 -0
- package/dist/edge-import-ZQ4Y5HEA.js +45 -0
- package/dist/ensure-container-edge-ED25XL3Z.js +31 -0
- package/dist/{event-streams-G7F6Q7QY.js → event-streams-EHRAKL75.js} +5 -3
- package/dist/{executor-O5NR7LMP.js → executor-YPT6RH6O.js} +9 -7
- package/dist/index.d.ts +2 -1
- package/dist/index.js +279 -245
- package/dist/{loadSso-LH753OSJ.js → loadSso-46FQRIZS.js} +11 -9
- package/dist/local-executor-V7U5VOZW.js +12 -0
- package/dist/nginx-XWJAOGS4.js +24 -0
- package/dist/{noop-6KC6HRDB.js → noop-FMMFG2EZ.js} +4 -2
- package/dist/{openresty-lua-KFCOJAG4.js → openresty-lua-4WLGDSER.js} +11 -3
- package/dist/server/engine/ChangeLog +2289 -0
- package/dist/server/engine/Documentations +5 -0
- package/dist/server/engine/LICENSE +674 -0
- package/dist/server/engine/README.md +34 -0
- package/dist/server/engine/conf/amavisd +150 -0
- package/dist/server/engine/conf/clamav +71 -0
- package/dist/server/engine/conf/core +632 -0
- package/dist/server/engine/conf/dovecot +151 -0
- package/dist/server/engine/conf/fail2ban +72 -0
- package/dist/server/engine/conf/global +698 -0
- package/dist/server/engine/conf/iredapd +52 -0
- package/dist/server/engine/conf/logwatch +28 -0
- package/dist/server/engine/conf/postfix +97 -0
- package/dist/server/engine/conf/postgresql +93 -0
- package/dist/server/engine/conf/spamassassin +39 -0
- package/dist/server/engine/dialog/config_via_dialog.sh +258 -0
- package/dist/server/engine/dialog/optional_components.sh +122 -0
- package/dist/server/engine/dialog/pgsql_config.sh +52 -0
- package/dist/server/engine/dialog/virtual_domain_config.sh +94 -0
- package/dist/server/engine/functions/amavisd.sh +267 -0
- package/dist/server/engine/functions/backend.sh +85 -0
- package/dist/server/engine/functions/clamav.sh +100 -0
- package/dist/server/engine/functions/cleanup.sh +393 -0
- package/dist/server/engine/functions/dovecot.sh +583 -0
- package/dist/server/engine/functions/fail2ban.sh +209 -0
- package/dist/server/engine/functions/iredapd.sh +356 -0
- package/dist/server/engine/functions/optional_components.sh +24 -0
- package/dist/server/engine/functions/packages.sh +522 -0
- package/dist/server/engine/functions/packages_freebsd.sh +179 -0
- package/dist/server/engine/functions/postfix.sh +457 -0
- package/dist/server/engine/functions/postgresql.sh +239 -0
- package/dist/server/engine/functions/spamassassin.sh +49 -0
- package/dist/server/engine/functions/system_accounts.sh +128 -0
- package/dist/server/engine/iRedMail.sh +144 -0
- package/dist/server/engine/pkgs/get_all.sh +338 -0
- package/dist/server/engine/pkgs/pkgs.freebsd.sha256 +3 -0
- package/dist/server/engine/pkgs/pkgs.openbsd.sha256 +6 -0
- package/dist/server/engine/pkgs/pkgs.sha256 +1 -0
- package/dist/server/engine/samples/amavisd/amavisd.conf +677 -0
- package/dist/server/engine/samples/amavisd/amavisd.mysql +278 -0
- package/dist/server/engine/samples/amavisd/amavisd.pgsql +253 -0
- package/dist/server/engine/samples/amavisd/amavisd.schema +942 -0
- package/dist/server/engine/samples/amavisd/default_spam_policy.sql +46 -0
- package/dist/server/engine/samples/dovecot/dovecot-2.4-mariadb.conf +758 -0
- package/dist/server/engine/samples/dovecot/dovecot-2.4-openldap.conf +767 -0
- package/dist/server/engine/samples/dovecot/dovecot-2.4-pgsql.conf +762 -0
- package/dist/server/engine/samples/dovecot/dovecot-last-login.conf +50 -0
- package/dist/server/engine/samples/dovecot/dovecot-ldap.conf +21 -0
- package/dist/server/engine/samples/dovecot/dovecot-share-folder.conf +22 -0
- package/dist/server/engine/samples/dovecot/dovecot-sql.conf +28 -0
- package/dist/server/engine/samples/dovecot/dovecot-used-quota.conf +13 -0
- package/dist/server/engine/samples/dovecot/dovecot.conf +484 -0
- package/dist/server/engine/samples/dovecot/dovecot.sieve +7 -0
- package/dist/server/engine/samples/dovecot/dovecot2-quota-warning.sh +38 -0
- package/dist/server/engine/samples/dovecot/sql/imap_share_folder.mysql +16 -0
- package/dist/server/engine/samples/dovecot/sql/last_login.mysql +12 -0
- package/dist/server/engine/samples/dovecot/sql/used_quota.mysql +26 -0
- package/dist/server/engine/samples/dovecot/systemd/override.conf +3 -0
- package/dist/server/engine/samples/fail2ban/action.d/banned_db.conf +9 -0
- package/dist/server/engine/samples/fail2ban/bin/fail2ban_banned_db +268 -0
- package/dist/server/engine/samples/fail2ban/fail2ban.local +17 -0
- package/dist/server/engine/samples/fail2ban/filter.d/dovecot.iredmail.conf +5 -0
- package/dist/server/engine/samples/fail2ban/filter.d/postfix-pregreet.iredmail.conf +16 -0
- package/dist/server/engine/samples/fail2ban/filter.d/postfix.iredmail.conf +18 -0
- package/dist/server/engine/samples/fail2ban/filter.d/roundcube.iredmail.conf +9 -0
- package/dist/server/engine/samples/fail2ban/jail.d/dovecot.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.d/nginx-http-auth.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.d/postfix-pregreet.local +9 -0
- package/dist/server/engine/samples/fail2ban/jail.d/postfix.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.d/roundcube.local +9 -0
- package/dist/server/engine/samples/fail2ban/jail.d/sogo.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.d/sshd.local +8 -0
- package/dist/server/engine/samples/fail2ban/jail.local +6 -0
- package/dist/server/engine/samples/fail2ban/openbsd/rc +27 -0
- package/dist/server/engine/samples/fail2ban/sql/fail2ban.mysql +49 -0
- package/dist/server/engine/samples/fail2ban/sql/fail2ban.pgsql +48 -0
- package/dist/server/engine/samples/firewall/firewalld/services/ssh.xml +6 -0
- package/dist/server/engine/samples/firewall/firewalld/zones/iredmail.xml +15 -0
- package/dist/server/engine/samples/firewall/iptables/ip6tables.init.debian +362 -0
- package/dist/server/engine/samples/firewall/iptables/ip6tables.rules +53 -0
- package/dist/server/engine/samples/firewall/iptables/iptables.init.debian +363 -0
- package/dist/server/engine/samples/firewall/iptables/iptables.rules +54 -0
- package/dist/server/engine/samples/firewall/nftables.conf +58 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/dovecot.conf +3 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/iredapd.conf +1 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/mlmmjadmin.conf +1 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/php-fpm.conf +2 -0
- package/dist/server/engine/samples/freebsd/newsyslog.conf.d/slapd.conf +1 -0
- package/dist/server/engine/samples/freebsd/syslog.d/dovecot.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/fail2ban.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/iredapd.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/mlmmjadmin.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/php-fpm.conf +2 -0
- package/dist/server/engine/samples/freebsd/syslog.d/slapd.conf +2 -0
- package/dist/server/engine/samples/iredmail/iredmail.mysql +491 -0
- package/dist/server/engine/samples/iredmail/iredmail.pgsql +465 -0
- package/dist/server/engine/samples/iredmail/iredmail.schema +456 -0
- package/dist/server/engine/samples/iredmail/used_quota_triggers_dovecot_2.3.pgsql +40 -0
- package/dist/server/engine/samples/iredmail/used_quota_triggers_dovecot_2.4.pgsql +18 -0
- package/dist/server/engine/samples/logrotate/dovecot +13 -0
- package/dist/server/engine/samples/logrotate/iredapd +13 -0
- package/dist/server/engine/samples/logrotate/mlmmjadmin +13 -0
- package/dist/server/engine/samples/logrotate/openldap +19 -0
- package/dist/server/engine/samples/logrotate/php-fpm +13 -0
- package/dist/server/engine/samples/openbsd/ldapd.conf +58 -0
- package/dist/server/engine/samples/openbsd/pf.conf +28 -0
- package/dist/server/engine/samples/postfix/command_filter.pcre +3 -0
- package/dist/server/engine/samples/postfix/freebsd/mailer.conf +9 -0
- package/dist/server/engine/samples/postfix/helo_access.pcre +180 -0
- package/dist/server/engine/samples/postfix/ldap/catchall_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/recipient_bcc_maps_domain.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/recipient_bcc_maps_user.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/relay_domains.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_bcc_maps_domain.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_bcc_maps_user.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_dependent_relayhost_maps_domain.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_dependent_relayhost_maps_user.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/sender_login_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/transport_maps_domain.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/transport_maps_user.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_alias_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_group_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_group_members_maps.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_mailbox_domains.cf +11 -0
- package/dist/server/engine/samples/postfix/ldap/virtual_mailbox_maps.cf +12 -0
- package/dist/server/engine/samples/postfix/main.cf +282 -0
- package/dist/server/engine/samples/postfix/main.cf.amavisd +7 -0
- package/dist/server/engine/samples/postfix/main.cf.dovecot +8 -0
- package/dist/server/engine/samples/postfix/main.cf.ldap +39 -0
- package/dist/server/engine/samples/postfix/main.cf.mlmmj +5 -0
- package/dist/server/engine/samples/postfix/main.cf.mysql +39 -0
- package/dist/server/engine/samples/postfix/main.cf.pgsql +39 -0
- package/dist/server/engine/samples/postfix/main.cf.postscreen +30 -0
- package/dist/server/engine/samples/postfix/master.cf +87 -0
- package/dist/server/engine/samples/postfix/mysql/catchall_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/domain_alias_catchall_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/domain_alias_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/recipient_bcc_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/recipient_bcc_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/relay_domains.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/sender_bcc_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/sender_bcc_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/sender_dependent_relayhost_maps.cf +6 -0
- package/dist/server/engine/samples/postfix/mysql/sender_login_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/transport_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/transport_maps_maillist.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/transport_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/virtual_alias_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/virtual_mailbox_domains.cf +5 -0
- package/dist/server/engine/samples/postfix/mysql/virtual_mailbox_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/catchall_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/domain_alias_catchall_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/domain_alias_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/recipient_bcc_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/recipient_bcc_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/relay_domains.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/sender_bcc_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/sender_bcc_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/sender_dependent_relayhost_maps.cf +6 -0
- package/dist/server/engine/samples/postfix/pgsql/sender_login_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/transport_maps_domain.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/transport_maps_maillist.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/transport_maps_user.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/virtual_alias_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/virtual_mailbox_domains.cf +5 -0
- package/dist/server/engine/samples/postfix/pgsql/virtual_mailbox_maps.cf +5 -0
- package/dist/server/engine/samples/postfix/postscreen_access.cidr +6 -0
- package/dist/server/engine/samples/postgresql/sql/add_first_domain_and_user.sql +34 -0
- package/dist/server/engine/samples/postgresql/sql/grant_permissions.sql +14 -0
- package/dist/server/engine/samples/postgresql/sql/init_vmail_db.sql +15 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-dovecot.conf +23 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-fail2ban.conf +2 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-iredapd.conf +12 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-mlmmjadmin.conf +12 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-openldap.conf +2 -0
- package/dist/server/engine/samples/rsyslog.d/1-iredmail-phpfpm.conf +3 -0
- package/dist/server/engine/samples/spamassassin/local.cf +186 -0
- package/dist/server/engine/samples/spamassassin/razor.conf +1 -0
- package/dist/server/engine/samples/systemd/clamd.service.d/override.conf +2 -0
- package/dist/server/engine/samples/systemd/mariadb.service.d/override.conf +3 -0
- package/dist/server/engine/samples/systemd/slapd.service.d/override.conf +6 -0
- package/dist/server/engine/samples/yum/CentOS-Linux-AppStream.repo +6 -0
- package/dist/server/engine/samples/yum/CentOS-Linux-PowerTools.repo +6 -0
- package/dist/server/engine/samples/yum/CentOS-Stream-AppStream.repo +7 -0
- package/dist/server/engine/samples/yum/CentOS-Stream-PowerTools.repo +7 -0
- package/dist/server/engine/samples/yum/symas-openldap.repo +6 -0
- package/dist/server/engine/tools/add_enabled_service.py +60 -0
- package/dist/server/engine/tools/backup_mysql.sh +238 -0
- package/dist/server/engine/tools/backup_openldap.sh +230 -0
- package/dist/server/engine/tools/backup_pgsql.sh +217 -0
- package/dist/server/engine/tools/backup_sogo.sh +156 -0
- package/dist/server/engine/tools/create_mail_user_OpenLDAP.py +335 -0
- package/dist/server/engine/tools/create_mail_user_OpenLDAP.sh +287 -0
- package/dist/server/engine/tools/create_mail_user_SQL.sh +127 -0
- package/dist/server/engine/tools/enable_postscreen.sh +144 -0
- package/dist/server/engine/tools/fail2ban_unban_ip.sh +39 -0
- package/dist/server/engine/tools/find_sasl_login_ip.sh +20 -0
- package/dist/server/engine/tools/find_top_sasl_usernames.sh +28 -0
- package/dist/server/engine/tools/generate_ssl_keys.sh +85 -0
- package/dist/server/engine/tools/kill_high_cpu_sogo_process.sh +32 -0
- package/dist/server/engine/tools/ldap_assign_user_to_groups.py +151 -0
- package/dist/server/engine/tools/ldap_move_members_to_another_group.py +129 -0
- package/dist/server/engine/tools/migrate_sql_alias_table.py +177 -0
- package/dist/server/engine/update/0.9.8/amavisd.mysql +29 -0
- package/dist/server/engine/update/0.9.8/amavisd.pgsql +39 -0
- package/dist/server/engine/update/0.9.8/iredmail.mysql +53 -0
- package/dist/server/engine/update/0.9.8/iredmail.pgsql +61 -0
- package/dist/server/engine/update/0.9.9/iredmail.mysql +2 -0
- package/dist/server/engine/update/0.9.9/iredmail.pgsql +2 -0
- package/dist/server/engine/update/1.0/iredmail.mysql +2 -0
- package/dist/server/engine/update/1.0/iredmail.pgsql +2 -0
- package/dist/server/engine/update/1.2/last_login.mysql +16 -0
- package/dist/server/engine/update/1.4.0/iredmail.mysql +22 -0
- package/dist/server/engine/update/1.4.0/iredmail.pgsql +20 -0
- package/dist/server/engine/update/1.4.1/iredmail.mysql +3 -0
- package/dist/server/engine/update/1.4.1/iredmail.pgsql +3 -0
- package/dist/server/engine/update/1.4.1/sogo.mysql +11 -0
- package/dist/server/engine/update/1.4.1/sogo.pgsql +30 -0
- package/dist/server/engine/update/1.4.1/update-ldap.py +66 -0
- package/dist/server/engine/update/1.4.2/iredmail.mysql +9 -0
- package/dist/server/engine/update/1.4.2/iredmail.pgsql +9 -0
- package/dist/server/engine/update/1.4.2/sogo.pgsql +30 -0
- package/dist/server/engine/update/1.6.0/sogo_view.pgsql +27 -0
- package/dist/server/engine/update/1.6.3/iredmail.mysql +1 -0
- package/dist/server/engine/update/1.7.0/fail2ban.mysql +11 -0
- package/dist/server/engine/update/1.7.0/fail2ban.pgsql +12 -0
- package/dist/server/engine/update/1.7.1/amavisd.mysql +1 -0
- package/dist/server/engine/update/1.7.2/vmail.mysql +30 -0
- package/dist/server/engine/update/1.7.3/deleted_mailboxes.mysql +43 -0
- package/dist/server/engine/update/1.7.3/iredadmin.mysql +26 -0
- package/dist/server/engine/update/1.7.3/vmail.mysql +79 -0
- package/dist/server/engine/update/1.7.3/vmail.pgsql +9 -0
- package/dist/server/engine/update/README.md +1 -0
- package/dist/server/engine/update/ldap/README.md +40 -0
- package/dist/server/engine/update/ldap/update-ldap-dovecot-2.3.py +69 -0
- package/dist/server/index.js +55793 -53701
- package/dist/server/migrations/0071_gh_device_token.sql +3 -0
- package/dist/server/migrations/0072_gh_device_token_method.sql +1 -0
- package/dist/server/migrations/meta/_journal.json +14 -0
- package/dist/setup-2DMFIA74.js +20 -0
- package/dist/{signin-PVC7MBZJ.js → signin-ITOPKKUB.js} +11 -9
- package/dist/{sso-oidc-ZXY77BSL.js → sso-oidc-NON2PD7Y.js} +11 -9
- package/dist/{sts-LX5L4UU3.js → sts-HHFFSAY2.js} +10 -8
- package/package.json +1 -1
- package/dist/bare-CNSFDNSZ.js +0 -20
- package/dist/cloud-655YYCEW.js +0 -26
- package/dist/docker-UWQPDEGW.js +0 -14
- package/dist/docker-edge-executor-ZLAYE5FE.js +0 -11
- package/dist/edge-import-AFID2EN3.js +0 -41
- package/dist/nginx-M36GDYL7.js +0 -18
- package/dist/setup-ZXXB5S22.js +0 -16
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
@@ -5,18 +7,18 @@ import {
|
|
|
5
7
|
localGitSshWriter,
|
|
6
8
|
materializeGitSsh,
|
|
7
9
|
sq
|
|
8
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4Z5QO7N6.js";
|
|
9
11
|
import {
|
|
10
12
|
getTarCreateEnv,
|
|
11
13
|
prepareSourceTarArgs
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OXWDY22G.js";
|
|
13
15
|
import {
|
|
14
16
|
packageManagerEnsureCommand
|
|
15
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6APULWSU.js";
|
|
16
18
|
import {
|
|
17
19
|
__commonJS,
|
|
18
20
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KI2EY3WB.js";
|
|
20
22
|
|
|
21
23
|
// ../../node_modules/ignore/index.js
|
|
22
24
|
var require_ignore = __commonJS({
|
|
@@ -765,14 +767,20 @@ function staticNginxTemplateLines(port) {
|
|
|
765
767
|
"}"
|
|
766
768
|
];
|
|
767
769
|
}
|
|
770
|
+
function staticBuilderOutputPath(config) {
|
|
771
|
+
const sourceDir = builderSourceDir(
|
|
772
|
+
normalizeDockerRootDirectory(config.rootDirectory, config.localPath)
|
|
773
|
+
);
|
|
774
|
+
const output = normalizeRelativePath(config.outputDirectory);
|
|
775
|
+
return output ? `${sourceDir}/${output}` : sourceDir;
|
|
776
|
+
}
|
|
768
777
|
function generateStaticDockerfile(config) {
|
|
769
778
|
const sourceDir = builderSourceDir(
|
|
770
779
|
normalizeDockerRootDirectory(config.rootDirectory, config.localPath)
|
|
771
780
|
);
|
|
772
781
|
const envPrefix = buildEnvPrefix(config.envVars);
|
|
773
782
|
const workspacePrepare = config.workspacePrepareCommand?.trim();
|
|
774
|
-
const
|
|
775
|
-
const outputPath = output ? `${sourceDir}/${output}` : sourceDir;
|
|
783
|
+
const outputPath = staticBuilderOutputPath(config);
|
|
776
784
|
const nginxTemplate = staticNginxTemplateLines(config.port).map((line) => `'${line}'`).join(" ");
|
|
777
785
|
const lines = [
|
|
778
786
|
`FROM ${config.buildImage} AS builder`,
|
|
@@ -785,6 +793,7 @@ function generateStaticDockerfile(config) {
|
|
|
785
793
|
lines.push(`WORKDIR ${sourceDir}`);
|
|
786
794
|
const stepsLine = installBuildRunLine(config, envPrefix);
|
|
787
795
|
if (stepsLine) lines.push(stepsLine);
|
|
796
|
+
if (config.staticExtractOnly) return lines.join("\n");
|
|
788
797
|
lines.push(
|
|
789
798
|
`FROM nginx:alpine AS runtime`,
|
|
790
799
|
`RUN rm -f /etc/nginx/conf.d/default.conf`,
|
|
@@ -1087,6 +1096,7 @@ async function createDockerBuildContext(config, opts) {
|
|
|
1087
1096
|
export {
|
|
1088
1097
|
normalizeDockerRelativePath,
|
|
1089
1098
|
resolveDockerfileCandidates,
|
|
1099
|
+
staticBuilderOutputPath,
|
|
1090
1100
|
generateDockerfile,
|
|
1091
1101
|
prepareSourceTree,
|
|
1092
1102
|
resolveServiceDockerfile,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
@@ -5,11 +7,10 @@ import {
|
|
|
5
7
|
resolveProjectDir,
|
|
6
8
|
resolveStaticOutputPath,
|
|
7
9
|
runLocalBuild
|
|
8
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MZ2WEHHY.js";
|
|
9
11
|
import {
|
|
10
|
-
probeListeningPort,
|
|
11
12
|
resolveEnvironment
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-L2VOGB2X.js";
|
|
13
14
|
import {
|
|
14
15
|
BuildCancelledError,
|
|
15
16
|
BuildLogger,
|
|
@@ -18,20 +19,23 @@ import {
|
|
|
18
19
|
runBuildPipeline,
|
|
19
20
|
sq,
|
|
20
21
|
transferLocalDirectory
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import {
|
|
23
|
-
LocalExecutor
|
|
24
|
-
} from "./chunk-SYCZE6FQ.js";
|
|
22
|
+
} from "./chunk-4Z5QO7N6.js";
|
|
25
23
|
import {
|
|
26
24
|
formatDuration,
|
|
27
25
|
isRemoteConnectionError,
|
|
28
26
|
isRetryableRemoteConnectionError,
|
|
29
27
|
systemDebug
|
|
30
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RPHRPFEH.js";
|
|
29
|
+
import {
|
|
30
|
+
LocalExecutor
|
|
31
|
+
} from "./chunk-TYVME3XD.js";
|
|
31
32
|
import {
|
|
32
33
|
sq as sq2,
|
|
33
34
|
wrapLocalBuildCommand
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FPRHYBY2.js";
|
|
36
|
+
import {
|
|
37
|
+
probeListeningPort
|
|
38
|
+
} from "./chunk-ILFETZOM.js";
|
|
35
39
|
import {
|
|
36
40
|
DeployError,
|
|
37
41
|
LANGUAGES,
|
|
@@ -40,7 +44,7 @@ import {
|
|
|
40
44
|
missingOutputDirectoryMessage,
|
|
41
45
|
packageManagerEnsureCommand,
|
|
42
46
|
safeErrorMessage
|
|
43
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6APULWSU.js";
|
|
44
48
|
|
|
45
49
|
// ../../packages/adapters/src/system/remote-journal.ts
|
|
46
50
|
var OPSH_RUN_VERSION = 1;
|
|
@@ -1762,13 +1766,21 @@ var BareRuntime = class {
|
|
|
1762
1766
|
config.deploymentId,
|
|
1763
1767
|
config.previousDeploymentId
|
|
1764
1768
|
) : stagedDir;
|
|
1765
|
-
const staticRoot =
|
|
1766
|
-
|
|
1769
|
+
const staticRoot = resolveStaticOutputPath(workDir, config.outputDirectory);
|
|
1770
|
+
const abort = async (message) => {
|
|
1767
1771
|
if (workDir !== stagedDir) {
|
|
1768
1772
|
await this.executor.rm(workDir).catch(() => {
|
|
1769
1773
|
});
|
|
1770
1774
|
}
|
|
1771
|
-
throw new Error(
|
|
1775
|
+
throw new Error(message);
|
|
1776
|
+
};
|
|
1777
|
+
if (!await this.executor.exists(staticRoot)) {
|
|
1778
|
+
return abort(missingOutputDirectoryMessage(config.outputDirectory));
|
|
1779
|
+
}
|
|
1780
|
+
if (await this.isEmptyDir(staticRoot)) {
|
|
1781
|
+
return abort(
|
|
1782
|
+
`The output directory "${config.outputDirectory || "."}" is empty \u2014 the build produced no files to serve, so every request would 404. Check the build command and the Output Directory setting.`
|
|
1783
|
+
);
|
|
1772
1784
|
}
|
|
1773
1785
|
return {
|
|
1774
1786
|
deploymentId: config.deploymentId,
|
|
@@ -1776,8 +1788,17 @@ var BareRuntime = class {
|
|
|
1776
1788
|
status: "running"
|
|
1777
1789
|
};
|
|
1778
1790
|
}
|
|
1779
|
-
|
|
1780
|
-
|
|
1791
|
+
/**
|
|
1792
|
+
* Is this an existing directory with no entries? Any inconclusive answer (not a
|
|
1793
|
+
* directory, unreadable, exec failed) returns false — a probe that can't read
|
|
1794
|
+
* must never be the thing that fails a deploy.
|
|
1795
|
+
*/
|
|
1796
|
+
async isEmptyDir(path) {
|
|
1797
|
+
const p = sq(path);
|
|
1798
|
+
const out = await this.executor.exec(`if [ -d ${p} ]; then echo DIR; ls -A ${p} 2>/dev/null | head -1; fi; true`).catch(() => null);
|
|
1799
|
+
if (out === null) return false;
|
|
1800
|
+
const lines = out.split("\n").map((l) => l.trim()).filter(Boolean);
|
|
1801
|
+
return lines.length === 1 && lines[0] === "DIR";
|
|
1781
1802
|
}
|
|
1782
1803
|
async stop(containerId) {
|
|
1783
1804
|
const sv = await this.supervisor();
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
4
6
|
safeErrorMessage
|
|
5
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6APULWSU.js";
|
|
6
8
|
|
|
7
9
|
// ../../packages/adapters/src/infra/openresty-lua.ts
|
|
8
10
|
import { createHash } from "crypto";
|
|
@@ -34,6 +36,20 @@ var OPENRESTY_DEFAULT_PATHS = {
|
|
|
34
36
|
sitesDir: "/usr/local/openresty/nginx/conf/sites-enabled",
|
|
35
37
|
pidPath: "/usr/local/openresty/nginx/logs/nginx.pid"
|
|
36
38
|
};
|
|
39
|
+
var EDGE_HOST_STATE_DIR = "/var/lib/openship/edge";
|
|
40
|
+
var EDGE_CONTAINER_MOUNTS = [
|
|
41
|
+
{ host: `${EDGE_HOST_STATE_DIR}/sites-enabled`, container: OPENRESTY_DEFAULT_PATHS.sitesDir },
|
|
42
|
+
{ host: "/etc/letsencrypt", container: "/etc/letsencrypt" },
|
|
43
|
+
{ host: `${EDGE_HOST_STATE_DIR}/acme`, container: "/var/www/acme" },
|
|
44
|
+
{ host: "/opt/openship/static", container: "/opt/openship/static" }
|
|
45
|
+
];
|
|
46
|
+
var EDGE_HOST_PATHS = {
|
|
47
|
+
bin: OPENRESTY_DEFAULT_PATHS.bin,
|
|
48
|
+
confPath: OPENRESTY_DEFAULT_PATHS.confPath,
|
|
49
|
+
confDir: OPENRESTY_DEFAULT_PATHS.confDir,
|
|
50
|
+
sitesDir: `${EDGE_HOST_STATE_DIR}/sites-enabled`,
|
|
51
|
+
pidPath: OPENRESTY_DEFAULT_PATHS.pidPath
|
|
52
|
+
};
|
|
37
53
|
var KNOWN_CONF_PATHS = [
|
|
38
54
|
"/usr/local/openresty/nginx/conf/nginx.conf",
|
|
39
55
|
"/etc/openresty/nginx.conf",
|
|
@@ -332,6 +348,9 @@ export {
|
|
|
332
348
|
RULES_GUARD_PATH,
|
|
333
349
|
OPENRESTY_MGMT_PORT,
|
|
334
350
|
OPENRESTY_DEFAULT_PATHS,
|
|
351
|
+
EDGE_HOST_STATE_DIR,
|
|
352
|
+
EDGE_CONTAINER_MOUNTS,
|
|
353
|
+
EDGE_HOST_PATHS,
|
|
335
354
|
detectOpenRestyPaths,
|
|
336
355
|
buildReloadCommand,
|
|
337
356
|
ensureOpenRestyConfig,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
@@ -15,11 +17,11 @@ import {
|
|
|
15
17
|
loadConfig,
|
|
16
18
|
normalizeProvider,
|
|
17
19
|
toEndpointV1
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-W73X43R7.js";
|
|
19
21
|
import {
|
|
20
22
|
parseRfc7231DateTime,
|
|
21
23
|
v4
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JYGD5WSN.js";
|
|
23
25
|
|
|
24
26
|
// ../../node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js
|
|
25
27
|
var getAllAliases = (name, aliases) => {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
@@ -17,7 +19,7 @@ import {
|
|
|
17
19
|
splitHeader,
|
|
18
20
|
toBase64,
|
|
19
21
|
toUtf8
|
|
20
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JYGD5WSN.js";
|
|
21
23
|
|
|
22
24
|
// ../../node_modules/@smithy/types/dist-es/middleware.js
|
|
23
25
|
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
@@ -1384,7 +1386,7 @@ var HttpProtocol = class extends SerdeContext {
|
|
|
1384
1386
|
});
|
|
1385
1387
|
}
|
|
1386
1388
|
async loadEventStreamCapability() {
|
|
1387
|
-
const { EventStreamSerde } = await import("./event-streams-
|
|
1389
|
+
const { EventStreamSerde } = await import("./event-streams-EHRAKL75.js");
|
|
1388
1390
|
return new EventStreamSerde({
|
|
1389
1391
|
marshaller: this.getEventStreamMarshaller(),
|
|
1390
1392
|
serializer: this.serializer,
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
4
6
|
checkGit,
|
|
5
7
|
installGit
|
|
6
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UXWAVM4C.js";
|
|
7
9
|
import {
|
|
8
10
|
createDockerBuildContext,
|
|
9
11
|
normalizeDockerRelativePath,
|
|
10
12
|
resolveDockerfileCandidates
|
|
11
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-V6AN6XLZ.js";
|
|
12
14
|
import {
|
|
13
15
|
prepareStackOutput,
|
|
14
16
|
resolveProjectDir,
|
|
15
17
|
resolveStaticOutputPath,
|
|
16
18
|
runLocalBuild
|
|
17
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MZ2WEHHY.js";
|
|
18
20
|
import {
|
|
19
21
|
BuildLogger,
|
|
20
22
|
injectGitToken,
|
|
21
23
|
runBuildPipeline,
|
|
22
24
|
sq,
|
|
23
25
|
transferLocalDirectory
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4Z5QO7N6.js";
|
|
25
27
|
import {
|
|
26
28
|
isRuntimeNotFoundError
|
|
27
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RPHRPFEH.js";
|
|
28
30
|
import {
|
|
29
31
|
STACKS,
|
|
30
32
|
SYSTEM,
|
|
@@ -33,7 +35,7 @@ import {
|
|
|
33
35
|
missingOutputDirectoryMessage,
|
|
34
36
|
packageManagerEnsureCommand,
|
|
35
37
|
safeErrorMessage
|
|
36
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6APULWSU.js";
|
|
37
39
|
|
|
38
40
|
// ../../packages/adapters/src/runtime/cloud.ts
|
|
39
41
|
import { readFile } from "fs/promises";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
5
|
+
import {
|
|
6
|
+
CloudRuntime,
|
|
7
|
+
PAGE_CONTAINER_PREFIX,
|
|
8
|
+
provisionCloudWorkspace
|
|
9
|
+
} from "./chunk-XFCDYZUQ.js";
|
|
10
|
+
import "./chunk-UXWAVM4C.js";
|
|
11
|
+
import "./chunk-V6AN6XLZ.js";
|
|
12
|
+
import "./chunk-MZ2WEHHY.js";
|
|
13
|
+
import "./chunk-L2VOGB2X.js";
|
|
14
|
+
import "./chunk-4Z5QO7N6.js";
|
|
15
|
+
import "./chunk-4TJC4JZQ.js";
|
|
16
|
+
import "./chunk-OXWDY22G.js";
|
|
17
|
+
import "./chunk-RPHRPFEH.js";
|
|
18
|
+
import "./chunk-TYVME3XD.js";
|
|
19
|
+
import "./chunk-FXTBHTWY.js";
|
|
20
|
+
import "./chunk-FPRHYBY2.js";
|
|
21
|
+
import "./chunk-R5BHFFAV.js";
|
|
22
|
+
import "./chunk-ILFETZOM.js";
|
|
23
|
+
import "./chunk-VFINNTUL.js";
|
|
24
|
+
import "./chunk-6APULWSU.js";
|
|
25
|
+
import "./chunk-KI2EY3WB.js";
|
|
26
|
+
export {
|
|
27
|
+
CloudRuntime,
|
|
28
|
+
PAGE_CONTAINER_PREFIX,
|
|
29
|
+
provisionCloudWorkspace
|
|
30
|
+
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
4
6
|
CloudInfraProvider
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-5MZ624VX.js";
|
|
8
|
+
import "./chunk-KI2EY3WB.js";
|
|
7
9
|
export {
|
|
8
10
|
CloudInfraProvider
|
|
9
11
|
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
3
|
+
import { createRequire as __ospCreateRequire } from "node:module";
|
|
4
|
+
const require = __ospCreateRequire(import.meta.url);
|
|
5
|
+
import {
|
|
6
|
+
EDGE_CONTAINER_NAME,
|
|
7
|
+
EdgeConflictError,
|
|
8
|
+
EdgeMigrateRequested,
|
|
9
|
+
classifyProxy,
|
|
10
|
+
edgeCrashReason,
|
|
11
|
+
edgeFailureReason,
|
|
12
|
+
edgeIsServing,
|
|
13
|
+
freeEdgeTargets,
|
|
14
|
+
invalidateEdgeContainer,
|
|
15
|
+
isOurEdgeContainer,
|
|
16
|
+
ourEdgeContainerRunning,
|
|
17
|
+
ourLuaOnHost,
|
|
18
|
+
probeEdge,
|
|
19
|
+
resolveOurEdgeContainer,
|
|
20
|
+
sq,
|
|
21
|
+
stopTargetsForStatus
|
|
22
|
+
} from "./chunk-R5BHFFAV.js";
|
|
23
|
+
import "./chunk-ILFETZOM.js";
|
|
24
|
+
import "./chunk-VFINNTUL.js";
|
|
25
|
+
import "./chunk-6APULWSU.js";
|
|
26
|
+
import "./chunk-KI2EY3WB.js";
|
|
27
|
+
export {
|
|
28
|
+
EDGE_CONTAINER_NAME,
|
|
29
|
+
EdgeConflictError,
|
|
30
|
+
EdgeMigrateRequested,
|
|
31
|
+
classifyProxy,
|
|
32
|
+
edgeCrashReason,
|
|
33
|
+
edgeFailureReason,
|
|
34
|
+
edgeIsServing,
|
|
35
|
+
freeEdgeTargets,
|
|
36
|
+
invalidateEdgeContainer,
|
|
37
|
+
isOurEdgeContainer,
|
|
38
|
+
ourEdgeContainerRunning,
|
|
39
|
+
ourLuaOnHost,
|
|
40
|
+
probeEdge,
|
|
41
|
+
resolveOurEdgeContainer,
|
|
42
|
+
sq,
|
|
43
|
+
stopTargetsForStatus
|
|
44
|
+
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
@@ -30,8 +32,8 @@ import {
|
|
|
30
32
|
createStaticHandler,
|
|
31
33
|
createStaticServer,
|
|
32
34
|
startStaticServer
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-AVIB7CT7.js";
|
|
36
|
+
import "./chunk-KI2EY3WB.js";
|
|
35
37
|
export {
|
|
36
38
|
Analytics,
|
|
37
39
|
AuthenticationError,
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
4
6
|
NodeHttpHandler
|
|
5
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OWED2GRM.js";
|
|
6
8
|
import {
|
|
7
9
|
setCredentialFeature
|
|
8
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VWPEKOH6.js";
|
|
9
11
|
import {
|
|
10
12
|
CredentialsProviderError,
|
|
11
13
|
HttpRequest
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-W73X43R7.js";
|
|
13
15
|
import {
|
|
14
16
|
parseRfc3339DateTime,
|
|
15
17
|
sdkStreamMixin
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-JYGD5WSN.js";
|
|
19
|
+
import "./chunk-KI2EY3WB.js";
|
|
18
20
|
|
|
19
21
|
// ../../node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js
|
|
20
22
|
import fs from "fs/promises";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
@@ -8,11 +10,11 @@ import {
|
|
|
8
10
|
ENV_SECRET,
|
|
9
11
|
ENV_SESSION,
|
|
10
12
|
fromEnv
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-FRNAR33O.js";
|
|
14
|
+
import "./chunk-VWPEKOH6.js";
|
|
15
|
+
import "./chunk-W73X43R7.js";
|
|
16
|
+
import "./chunk-JYGD5WSN.js";
|
|
17
|
+
import "./chunk-KI2EY3WB.js";
|
|
16
18
|
export {
|
|
17
19
|
ENV_ACCOUNT_ID,
|
|
18
20
|
ENV_CREDENTIAL_SCOPE,
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
4
6
|
setCredentialFeature
|
|
5
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VWPEKOH6.js";
|
|
6
8
|
import {
|
|
7
9
|
CredentialsProviderError,
|
|
8
10
|
externalDataInterceptor,
|
|
9
11
|
getProfileName,
|
|
10
12
|
parseKnownFiles
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-W73X43R7.js";
|
|
14
|
+
import "./chunk-JYGD5WSN.js";
|
|
15
|
+
import "./chunk-KI2EY3WB.js";
|
|
14
16
|
|
|
15
17
|
// ../../node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js
|
|
16
18
|
import { exec } from "child_process";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
4
6
|
setCredentialFeature
|
|
5
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VWPEKOH6.js";
|
|
6
8
|
import {
|
|
7
9
|
CredentialsProviderError,
|
|
8
10
|
HttpRequest,
|
|
@@ -10,27 +12,27 @@ import {
|
|
|
10
12
|
getProfileName,
|
|
11
13
|
parseKnownFiles,
|
|
12
14
|
readFile
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-W73X43R7.js";
|
|
16
|
+
import "./chunk-JYGD5WSN.js";
|
|
17
|
+
import "./chunk-KI2EY3WB.js";
|
|
16
18
|
|
|
17
19
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
18
20
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
19
21
|
const sourceProvidersMap = {
|
|
20
22
|
EcsContainer: async (options) => {
|
|
21
|
-
const { fromHttp } = await import("./dist-es-
|
|
22
|
-
const { fromContainerMetadata } = await import("./dist-es-
|
|
23
|
+
const { fromHttp } = await import("./dist-es-5DY7K32L.js");
|
|
24
|
+
const { fromContainerMetadata } = await import("./dist-es-VNKHQVIB.js");
|
|
23
25
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
24
26
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
25
27
|
},
|
|
26
28
|
Ec2InstanceMetadata: async (options) => {
|
|
27
29
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
28
|
-
const { fromInstanceMetadata } = await import("./dist-es-
|
|
30
|
+
const { fromInstanceMetadata } = await import("./dist-es-VNKHQVIB.js");
|
|
29
31
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
30
32
|
},
|
|
31
33
|
Environment: async (options) => {
|
|
32
34
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
33
|
-
const { fromEnv } = await import("./dist-es-
|
|
35
|
+
const { fromEnv } = await import("./dist-es-JSTDUS7Q.js");
|
|
34
36
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
35
37
|
}
|
|
36
38
|
};
|
|
@@ -65,7 +67,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, caller
|
|
|
65
67
|
const profileData = profiles[profileName];
|
|
66
68
|
const { source_profile, region } = profileData;
|
|
67
69
|
if (!options.roleAssumer) {
|
|
68
|
-
const { getDefaultRoleAssumer } = await import("./sts-
|
|
70
|
+
const { getDefaultRoleAssumer } = await import("./sts-HHFFSAY2.js");
|
|
69
71
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
70
72
|
...options.clientConfig,
|
|
71
73
|
credentialProviderLogger: options.logger,
|
|
@@ -151,7 +153,7 @@ var LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
151
153
|
return this.profileData.login_session;
|
|
152
154
|
}
|
|
153
155
|
async refresh(token) {
|
|
154
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-
|
|
156
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-ITOPKKUB.js");
|
|
155
157
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
156
158
|
const isH2 = (requestHandler2) => {
|
|
157
159
|
return requestHandler2?.metadata?.handlerProtocol === "h2";
|
|
@@ -394,14 +396,14 @@ var resolveLoginCredentials = async (profileName, options, callerClientConfig) =
|
|
|
394
396
|
|
|
395
397
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
396
398
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
397
|
-
var resolveProcessCredentials = async (options, profile) => import("./dist-es-
|
|
399
|
+
var resolveProcessCredentials = async (options, profile) => import("./dist-es-OSNJBLXB.js").then(({ fromProcess }) => fromProcess({
|
|
398
400
|
...options,
|
|
399
401
|
profile
|
|
400
402
|
})().then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
401
403
|
|
|
402
404
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
403
405
|
var resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
404
|
-
const { fromSSO } = await import("./dist-es-
|
|
406
|
+
const { fromSSO } = await import("./dist-es-WV4AMOII.js");
|
|
405
407
|
return fromSSO({
|
|
406
408
|
profile,
|
|
407
409
|
logger: options.logger,
|
|
@@ -435,7 +437,7 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
435
437
|
|
|
436
438
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
437
439
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
438
|
-
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-
|
|
440
|
+
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-X3B5QYKB.js").then(({ fromTokenFile }) => fromTokenFile({
|
|
439
441
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
440
442
|
roleArn: profile.role_arn,
|
|
441
443
|
roleSessionName: profile.role_session_name,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
@@ -5,9 +7,9 @@ import {
|
|
|
5
7
|
ProviderError,
|
|
6
8
|
loadConfig,
|
|
7
9
|
parseUrl
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-W73X43R7.js";
|
|
11
|
+
import "./chunk-JYGD5WSN.js";
|
|
12
|
+
import "./chunk-KI2EY3WB.js";
|
|
11
13
|
|
|
12
14
|
// ../../node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
|
|
13
15
|
var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
|
+
":" //# ; exec "$(command -v bun || command -v node)" "$0" "$@"
|
|
1
3
|
import { createRequire as __ospCreateRequire } from "node:module";
|
|
2
4
|
const require = __ospCreateRequire(import.meta.url);
|
|
3
5
|
import {
|
|
4
6
|
setCredentialFeature
|
|
5
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VWPEKOH6.js";
|
|
6
8
|
import {
|
|
7
9
|
CredentialsProviderError,
|
|
8
10
|
TokenProviderError,
|
|
@@ -11,9 +13,9 @@ import {
|
|
|
11
13
|
getSSOTokenFromFile,
|
|
12
14
|
loadSsoSessionData,
|
|
13
15
|
parseKnownFiles
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-W73X43R7.js";
|
|
17
|
+
import "./chunk-JYGD5WSN.js";
|
|
18
|
+
import "./chunk-KI2EY3WB.js";
|
|
17
19
|
|
|
18
20
|
// ../../node_modules/@aws-sdk/credential-provider-sso/dist-es/isSsoProfile.js
|
|
19
21
|
var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
|
|
@@ -24,7 +26,7 @@ var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the
|
|
|
24
26
|
|
|
25
27
|
// ../../node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
|
|
26
28
|
var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
27
|
-
const { SSOOIDCClient } = await import("./sso-oidc-
|
|
29
|
+
const { SSOOIDCClient } = await import("./sso-oidc-NON2PD7Y.js");
|
|
28
30
|
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
|
29
31
|
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
30
32
|
region: ssoRegion ?? init.clientConfig?.region,
|
|
@@ -36,7 +38,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
|
36
38
|
|
|
37
39
|
// ../../node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
|
|
38
40
|
var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
|
39
|
-
const { CreateTokenCommand } = await import("./sso-oidc-
|
|
41
|
+
const { CreateTokenCommand } = await import("./sso-oidc-NON2PD7Y.js");
|
|
40
42
|
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
|
41
43
|
return ssoOidcClient.send(new CreateTokenCommand({
|
|
42
44
|
clientId: ssoToken.clientId,
|
|
@@ -184,7 +186,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
|
|
|
184
186
|
});
|
|
185
187
|
}
|
|
186
188
|
const { accessToken } = token;
|
|
187
|
-
const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-
|
|
189
|
+
const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-46FQRIZS.js");
|
|
188
190
|
const sso = ssoClient || new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
189
191
|
logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
|
|
190
192
|
region: clientConfig?.region ?? ssoRegion,
|