Merge master into staging-next
This commit is contained in:
commit
c48794dcef
|
@ -78,7 +78,7 @@
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<link xlink:href="https://kodi.tv/">Kodi</link> has been updated to version 19.0 "Matrix". See
|
<link xlink:href="https://kodi.tv/">Kodi</link> has been updated to version 19.1 "Matrix". See
|
||||||
the <link xlink:href="https://kodi.tv/article/kodi-190-matrix-release">announcement</link> for
|
the <link xlink:href="https://kodi.tv/article/kodi-190-matrix-release">announcement</link> for
|
||||||
further details.
|
further details.
|
||||||
</para>
|
</para>
|
||||||
|
|
|
@ -15,11 +15,9 @@ let
|
||||||
apachectl = pkgs.runCommand "apachectl" { meta.priority = -1; } ''
|
apachectl = pkgs.runCommand "apachectl" { meta.priority = -1; } ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp ${pkg}/bin/apachectl $out/bin/apachectl
|
cp ${pkg}/bin/apachectl $out/bin/apachectl
|
||||||
sed -i $out/bin/apachectl -e 's|$HTTPD -t|$HTTPD -t -f ${httpdConf}|'
|
sed -i $out/bin/apachectl -e 's|$HTTPD -t|$HTTPD -t -f /etc/httpd/httpd.conf|'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
httpdConf = cfg.configFile;
|
|
||||||
|
|
||||||
php = cfg.phpPackage.override { apacheHttpd = pkg; };
|
php = cfg.phpPackage.override { apacheHttpd = pkg; };
|
||||||
|
|
||||||
phpModuleName = let
|
phpModuleName = let
|
||||||
|
@ -682,6 +680,8 @@ in
|
||||||
}) (filter (hostOpts: hostOpts.useACMEHost == null) acmeEnabledVhosts);
|
}) (filter (hostOpts: hostOpts.useACMEHost == null) acmeEnabledVhosts);
|
||||||
in listToAttrs acmePairs;
|
in listToAttrs acmePairs;
|
||||||
|
|
||||||
|
# httpd requires a stable path to the configuration file for reloads
|
||||||
|
environment.etc."httpd/httpd.conf".source = cfg.configFile;
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
apachectl
|
apachectl
|
||||||
pkg
|
pkg
|
||||||
|
@ -753,6 +753,7 @@ in
|
||||||
wants = concatLists (map (certName: [ "acme-finished-${certName}.target" ]) dependentCertNames);
|
wants = concatLists (map (certName: [ "acme-finished-${certName}.target" ]) dependentCertNames);
|
||||||
after = [ "network.target" ] ++ map (certName: "acme-selfsigned-${certName}.service") dependentCertNames;
|
after = [ "network.target" ] ++ map (certName: "acme-selfsigned-${certName}.service") dependentCertNames;
|
||||||
before = map (certName: "acme-${certName}.service") dependentCertNames;
|
before = map (certName: "acme-${certName}.service") dependentCertNames;
|
||||||
|
restartTriggers = [ cfg.configFile ];
|
||||||
|
|
||||||
path = [ pkg pkgs.coreutils pkgs.gnugrep ];
|
path = [ pkg pkgs.coreutils pkgs.gnugrep ];
|
||||||
|
|
||||||
|
@ -771,9 +772,9 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "@${pkg}/bin/httpd httpd -f ${httpdConf}";
|
ExecStart = "@${pkg}/bin/httpd httpd -f /etc/httpd/httpd.conf";
|
||||||
ExecStop = "${pkg}/bin/httpd -f ${httpdConf} -k graceful-stop";
|
ExecStop = "${pkg}/bin/httpd -f /etc/httpd/httpd.conf -k graceful-stop";
|
||||||
ExecReload = "${pkg}/bin/httpd -f ${httpdConf} -k graceful";
|
ExecReload = "${pkg}/bin/httpd -f /etc/httpd/httpd.conf -k graceful";
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
Type = "forking";
|
Type = "forking";
|
||||||
|
@ -800,6 +801,7 @@ in
|
||||||
# certs are updated _after_ config has been reloaded.
|
# certs are updated _after_ config has been reloaded.
|
||||||
before = sslTargets;
|
before = sslTargets;
|
||||||
after = sslServices;
|
after = sslServices;
|
||||||
|
restartTriggers = [ cfg.configFile ];
|
||||||
# Block reloading if not all certs exist yet.
|
# Block reloading if not all certs exist yet.
|
||||||
# Happens when config changes add new vhosts/certs.
|
# Happens when config changes add new vhosts/certs.
|
||||||
unitConfig.ConditionPathExists = map (certName: certs.${certName}.directory + "/fullchain.pem") dependentCertNames;
|
unitConfig.ConditionPathExists = map (certName: certs.${certName}.directory + "/fullchain.pem") dependentCertNames;
|
||||||
|
@ -807,7 +809,7 @@ in
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
TimeoutSec = 60;
|
TimeoutSec = 60;
|
||||||
ExecCondition = "/run/current-system/systemd/bin/systemctl -q is-active httpd.service";
|
ExecCondition = "/run/current-system/systemd/bin/systemctl -q is-active httpd.service";
|
||||||
ExecStartPre = "${pkg}/bin/httpd -f ${httpdConf} -t";
|
ExecStartPre = "${pkg}/bin/httpd -f /etc/httpd/httpd.conf -t";
|
||||||
ExecStart = "/run/current-system/systemd/bin/systemctl reload httpd.service";
|
ExecStart = "/run/current-system/systemd/bin/systemctl reload httpd.service";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
buildKodiBinaryAddon rec {
|
buildKodiBinaryAddon rec {
|
||||||
pname = "inputstream-ffmpegdirect";
|
pname = "inputstream-ffmpegdirect";
|
||||||
namespace = "inputstream.ffmpegdirect";
|
namespace = "inputstream.ffmpegdirect";
|
||||||
version = "1.21.2";
|
version = "1.21.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xbmc";
|
owner = "xbmc";
|
||||||
repo = "inputstream.ffmpegdirect";
|
repo = "inputstream.ffmpegdirect";
|
||||||
rev = "${version}-${rel}";
|
rev = "${version}-${rel}";
|
||||||
sha256 = "sha256-FXtjR/4/f434gp78PBSt+QrYtMYcnljO3Htxss/wH7U=";
|
sha256 = "sha256-OShd6sPGXXu0rlSwuQFMWqrLscE6Y0I2eV2YJYyZNMs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraBuildInputs = [ bzip2 zlib kodi.ffmpeg ];
|
extraBuildInputs = [ bzip2 zlib kodi.ffmpeg ];
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
buildKodiBinaryAddon rec {
|
buildKodiBinaryAddon rec {
|
||||||
pname = "pvr-iptvsimple";
|
pname = "pvr-iptvsimple";
|
||||||
namespace = "pvr.iptvsimple";
|
namespace = "pvr.iptvsimple";
|
||||||
version = "7.6.2";
|
version = "7.6.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kodi-pvr";
|
owner = "kodi-pvr";
|
||||||
repo = "pvr.iptvsimple";
|
repo = "pvr.iptvsimple";
|
||||||
rev = "${version}-${rel}";
|
rev = "${version}-${rel}";
|
||||||
sha256 = "sha256-MdgPUKkbqNt/WKUTrYNetlyUBQcYLSn0J8EHH2Z9I+g=";
|
sha256 = "sha256-F2uvf3BChN4p4VV1vTMAAPwQchVI5paTdxSFEi0u9a0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraBuildInputs = [
|
extraBuildInputs = [
|
||||||
|
|
|
@ -38,15 +38,15 @@ assert usbSupport -> !udevSupport; # libusb-compat-0_1 won't be used if udev is
|
||||||
assert gbmSupport || waylandSupport || x11Support;
|
assert gbmSupport || waylandSupport || x11Support;
|
||||||
|
|
||||||
let
|
let
|
||||||
kodiReleaseDate = "20210219";
|
kodiReleaseDate = "20210508";
|
||||||
kodiVersion = "19.0";
|
kodiVersion = "19.1";
|
||||||
rel = "Matrix";
|
rel = "Matrix";
|
||||||
|
|
||||||
kodi_src = fetchFromGitHub {
|
kodi_src = fetchFromGitHub {
|
||||||
owner = "xbmc";
|
owner = "xbmc";
|
||||||
repo = "xbmc";
|
repo = "xbmc";
|
||||||
rev = "${kodiVersion}-${rel}";
|
rev = "v${kodiVersion}";
|
||||||
sha256 = "097dg6a7v4ia85jx1pmlpwzdpqcqxlrmniqd005q73zvgj67zc2p";
|
sha256 = "0jh67vw3983lnfgqzqfislawwbpq0vxxk1ljsg7mar06mlwfxb7h";
|
||||||
};
|
};
|
||||||
|
|
||||||
ffmpeg = stdenv.mkDerivation rec {
|
ffmpeg = stdenv.mkDerivation rec {
|
||||||
|
|
Loading…
Reference in New Issue