diff --git a/.editorconfig b/.editorconfig old mode 100755 new mode 100644 diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md old mode 100755 new mode 100644 diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/issue.bug.yml b/.github/ISSUE_TEMPLATE/issue.bug.yml old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/issue.feature.yml b/.github/ISSUE_TEMPLATE/issue.feature.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/call_issue_pr_tracker.yml b/.github/workflows/call_issue_pr_tracker.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/call_issues_cron.yml b/.github/workflows/call_issues_cron.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/external_trigger.yml b/.github/workflows/external_trigger.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/external_trigger_scheduler.yml b/.github/workflows/external_trigger_scheduler.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/package_trigger_scheduler.yml b/.github/workflows/package_trigger_scheduler.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/permissions.yml b/.github/workflows/permissions.yml old mode 100755 new mode 100644 diff --git a/Dockerfile b/Dockerfile index 3a81047a..89d9214b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,6 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA LABEL maintainer="aptalca" RUN \ - echo "**** install build packages ****" && \ - apk add --no-cache --virtual=build-dependencies \ - build-base && \ echo "**** install packages ****" && \ apk add --no-cache \ findutils \ @@ -31,8 +28,6 @@ RUN \ transmission-remote==${TRANSMISSION_VERSION} && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ echo "**** cleanup ****" && \ - apk del --purge \ - build-dependencies && \ rm -rf \ /tmp/* \ $HOME/.cache diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index ca14f266..15bac894 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -11,9 +11,6 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA LABEL maintainer="aptalca" RUN \ - echo "**** install build packages ****" && \ - apk add --no-cache --virtual=build-dependencies \ - build-base && \ echo "**** install packages ****" && \ apk add --no-cache \ findutils \ @@ -31,8 +28,6 @@ RUN \ transmission-remote==${TRANSMISSION_VERSION} && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ echo "**** cleanup ****" && \ - apk del --purge \ - build-dependencies && \ rm -rf \ /tmp/* \ $HOME/.cache diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/README.md b/README.md index 7347650c..cbdc7493 100644 --- a/README.md +++ b/README.md @@ -334,6 +334,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **31.05.26:** - Bind RPC to IPv6 interface by default, fall back to IPv4 if unavailable. * **29.11.24:** - Fix PEERPORT setting. * **07.10.23:** - Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar). * **10.08.23:** - Bump unrar to 6.2.10. diff --git a/readme-vars.yml b/readme-vars.yml index 102ab7bd..7c847091 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -106,6 +106,7 @@ init_diagram: | "transmission:latest" <- Base Images # changelog changelogs: + - {date: "31.05.26:", desc: "Bind RPC to IPv6 interface by default, fall back to IPv4 if unavailable."} - {date: "29.11.24:", desc: "Fix PEERPORT setting."} - {date: "07.10.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."} - {date: "10.08.23:", desc: "Bump unrar to 6.2.10."} diff --git a/root/defaults/settings.json b/root/defaults/settings.json index 91c5c379..d85138fb 100644 --- a/root/defaults/settings.json +++ b/root/defaults/settings.json @@ -41,7 +41,7 @@ "ratio-limit-enabled": false, "rename-partial-files": true, "rpc-authentication-required": false, - "rpc-bind-address": "0.0.0.0", + "rpc-bind-address": "[::]", "rpc-enabled": true, "rpc-password": "{1ddd3f1f6a71d655cde7767242a23a575b44c909n5YuRT.f", "rpc-port": 9091, diff --git a/root/etc/s6-overlay/s6-rc.d/init-transmission-config/run b/root/etc/s6-overlay/s6-rc.d/init-transmission-config/run index 94eb82fc..77629706 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-transmission-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-transmission-config/run @@ -33,6 +33,10 @@ if [[ -n "${PEERPORT}" ]]; then echo -E "$(jq -r '.["peer-port-random-on-start"] = false' /config/settings.json)" >/config/settings.json fi +if ! test -f /proc/net/if_inet6; then + echo -E "$(jq -r '.["rpc-bind-address"] = "0.0.0.0"' /config/settings.json)" > /config/settings.json +fi + if [[ -n "${UMASK}" ]]; then echo -E "$(jq -r --arg umask "${UMASK}" '.["umask"] = $umask' /config/settings.json)" >/config/settings.json fi