FreeBSD Bugzilla – Attachment 244612 Details for
Bug 273542
.NET ports: fix ipv6 detection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-IPv6-on-localhost-does-not-mean-a-jail-has-IPv6.-Poi.patch
0001-IPv6-on-localhost-does-not-mean-a-jail-has-IPv6.-Poi.patch (text/plain), 7.29 KB, created by
Michiel van Baak Jansen
on 2023-09-03 13:59:27 UTC
(
hide
)
Description:
0001-IPv6-on-localhost-does-not-mean-a-jail-has-IPv6.-Poi.patch
Filename:
MIME Type:
Creator:
Michiel van Baak Jansen
Created:
2023-09-03 13:59:27 UTC
Size:
7.29 KB
patch
obsolete
>From cb5c85a5e7dc2a7e8f60b064db9be502b6077f71 Mon Sep 17 00:00:00 2001 >From: Michiel van Baak Jansen <michiel@vanbaak.eu> >Date: Fri, 1 Sep 2023 22:23:10 +0200 >Subject: [PATCH] IPv6 on localhost does not mean a jail has IPv6. Pointed out > by Keith Chiem through email. Thanks! > >--- > multimedia/emby-server/Makefile | 2 +- > multimedia/emby-server/files/emby-server.in | 3 ++- > multimedia/jellyfin/Makefile | 2 +- > multimedia/jellyfin/files/jellyfin.in | 3 ++- > net-p2p/lidarr/Makefile | 1 + > net-p2p/lidarr/files/lidarr.in | 3 ++- > net-p2p/prowlarr/Makefile | 2 +- > net-p2p/prowlarr/files/prowlarr.in | 3 ++- > net-p2p/radarr/Makefile | 1 + > net-p2p/radarr/files/radarr.in | 3 ++- > net-p2p/readarr/Makefile | 1 + > net-p2p/readarr/files/readarr.in | 3 ++- > 12 files changed, 18 insertions(+), 9 deletions(-) > >diff --git a/multimedia/emby-server/Makefile b/multimedia/emby-server/Makefile >index b1d9953d2eb8..d454f22de38d 100644 >--- a/multimedia/emby-server/Makefile >+++ b/multimedia/emby-server/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= emby-server > DISTVERSION?= 4.7.14.0 >-PORTREVISION?= 0 >+PORTREVISION?= 1 > CATEGORIES= multimedia > MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \ > https://mediabrowser.github.io/embytools/ >diff --git a/multimedia/emby-server/files/emby-server.in b/multimedia/emby-server/files/emby-server.in >index d753175697b4..a21c22218e1d 100644 >--- a/multimedia/emby-server/files/emby-server.in >+++ b/multimedia/emby-server/files/emby-server.in >@@ -64,7 +64,8 @@ start_precmd=%%RC_NAME%%_start_precmd > # .NET 6+ use dual mode sockets to avoid the separate AF handling. > # disable .NET use of V6 if no ipv6 is configured. > # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259194#c17 >- ifconfig | grep -q inet6 >+ # Later version by Keith Chiem through email >+ ifconfig -a -u -G lo | grep -q inet6 > if [ $? == 1 ]; then > export DOTNET_SYSTEM_NET_DISABLEIPV6=1 > fi >diff --git a/multimedia/jellyfin/Makefile b/multimedia/jellyfin/Makefile >index 4218a22cb614..c45b86232e3d 100644 >--- a/multimedia/jellyfin/Makefile >+++ b/multimedia/jellyfin/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= jellyfin > DISTVERSION= 10.8.10 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= multimedia > MASTER_SITES= https://github.com/Thefrank/jellyfin-server-freebsd/releases/download/v${DISTVERSION}/ > DISTFILES= jellyfin-combined_${DISTVERSION}_freebsd-${ARCH}.tar.gz \ >diff --git a/multimedia/jellyfin/files/jellyfin.in b/multimedia/jellyfin/files/jellyfin.in >index 8cb52bc5cc60..35f3774f4a0c 100755 >--- a/multimedia/jellyfin/files/jellyfin.in >+++ b/multimedia/jellyfin/files/jellyfin.in >@@ -60,7 +60,8 @@ jellyfin_precmd() { > # .NET 6+ use dual mode sockets to avoid the separate AF handling. > # disable .NET use of V6 if no ipv6 is configured. > # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259194#c17 >- ifconfig | grep -q inet6 >+ # Later version by Keith Chiem through email >+ ifconfig -a -u -G lo | grep -q inet6 > if [ $? == 1 ]; then > export DOTNET_SYSTEM_NET_DISABLEIPV6=1 > fi >diff --git a/net-p2p/lidarr/Makefile b/net-p2p/lidarr/Makefile >index 567b970bc5a5..d11a95c98121 100644 >--- a/net-p2p/lidarr/Makefile >+++ b/net-p2p/lidarr/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= lidarr > DISTVERSION= 1.3.5.3530 >+PORTREVISION= 1 > CATEGORIES= net-p2p > MASTER_SITES= https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/ > DISTNAME= Lidarr.master.${DISTVERSION}.freebsd-core-x64 >diff --git a/net-p2p/lidarr/files/lidarr.in b/net-p2p/lidarr/files/lidarr.in >index db723160de4a..73ae02db7614 100644 >--- a/net-p2p/lidarr/files/lidarr.in >+++ b/net-p2p/lidarr/files/lidarr.in >@@ -43,7 +43,8 @@ start_precmd=${name}_precmd > # .NET 6+ use dual mode sockets to avoid the separate AF handling. > # disable .NET use of V6 if no ipv6 is configured. > # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259194#c17 >- ifconfig | grep -q inet6 >+ # Later version by Keith Chiem through email >+ ifconfig -a -u -G lo | grep -q inet6 > if [ $? == 1 ]; then > export DOTNET_SYSTEM_NET_DISABLEIPV6=1 > fi >diff --git a/net-p2p/prowlarr/Makefile b/net-p2p/prowlarr/Makefile >index e086a0220a26..bca21f205f5d 100644 >--- a/net-p2p/prowlarr/Makefile >+++ b/net-p2p/prowlarr/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= prowlarr > DISTVERSION= 1.7.4.3769 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= net-p2p > MASTER_SITES= https://github.com/Prowlarr/Prowlarr/releases/download/v${PORTVERSION}/ > DISTNAME= Prowlarr.master.${PORTVERSION}.freebsd-core-x64 >diff --git a/net-p2p/prowlarr/files/prowlarr.in b/net-p2p/prowlarr/files/prowlarr.in >index 41b3aa5c2b69..67077c63802a 100644 >--- a/net-p2p/prowlarr/files/prowlarr.in >+++ b/net-p2p/prowlarr/files/prowlarr.in >@@ -43,7 +43,8 @@ start_precmd=${name}_precmd > # .NET 6+ use dual mode sockets to avoid the separate AF handling. > # disable .NET use of V6 if no ipv6 is configured. > # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259194#c17 >- ifconfig | grep -q inet6 >+ # Later version by Keith Chiem through email >+ ifconfig -a -u -G lo | grep -q inet6 > if [ $? == 1 ]; then > export DOTNET_SYSTEM_NET_DISABLEIPV6=1 > fi >diff --git a/net-p2p/radarr/Makefile b/net-p2p/radarr/Makefile >index 61e33777b354..02bc286b8b7e 100644 >--- a/net-p2p/radarr/Makefile >+++ b/net-p2p/radarr/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= radarr > DISTVERSION= 4.7.5.7809 >+PORTVERSION= 1 > CATEGORIES= net-p2p > MASTER_SITES= https://github.com/Radarr/Radarr/releases/download/v${PORTVERSION}/ > DISTNAME= Radarr.master.${DISTVERSION}.freebsd-core-x64 >diff --git a/net-p2p/radarr/files/radarr.in b/net-p2p/radarr/files/radarr.in >index 90be8f5ce9b0..ac01fec8b3c1 100644 >--- a/net-p2p/radarr/files/radarr.in >+++ b/net-p2p/radarr/files/radarr.in >@@ -43,7 +43,8 @@ start_precmd=${name}_precmd > # .NET 6+ use dual mode sockets to avoid the separate AF handling. > # disable .NET use of V6 if no ipv6 is configured. > # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259194#c17 >- ifconfig | grep -q inet6 >+ # Later version by Keith Chiem through email >+ ifconfig -a -u -G lo | grep -q inet6 > if [ $? == 1 ]; then > export DOTNET_SYSTEM_NET_DISABLEIPV6=1 > fi >diff --git a/net-p2p/readarr/Makefile b/net-p2p/readarr/Makefile >index e19521bd0f4f..be7bdeb97a83 100644 >--- a/net-p2p/readarr/Makefile >+++ b/net-p2p/readarr/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= readarr > DISTVERSION= 0.3.3.2171 >+PORTREVISION= 1 > CATEGORIES= net-p2p > MASTER_SITES= https://github.com/Readarr/Readarr/releases/download/v${PORTVERSION}/ > DISTNAME= Readarr.develop.${DISTVERSION}.freebsd-core-x64 >diff --git a/net-p2p/readarr/files/readarr.in b/net-p2p/readarr/files/readarr.in >index 476cb2cff64c..75ec18a1dd3b 100644 >--- a/net-p2p/readarr/files/readarr.in >+++ b/net-p2p/readarr/files/readarr.in >@@ -43,7 +43,8 @@ start_precmd=${name}_precmd > # .NET 6+ use dual mode sockets to avoid the separate AF handling. > # disable .NET use of V6 if no ipv6 is configured. > # See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259194#c17 >- ifconfig | grep -q inet6 >+ # Later version by Keith Chiem through email >+ ifconfig -a -u -G lo | grep -q inet6 > if [ $? == 1 ]; then > export DOTNET_SYSTEM_NET_DISABLEIPV6=1 > fi >-- >2.42.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
michiel
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 273542
: 244612 |
245181
|
245182
|
245183
|
245184
|
245185
|
245186