1
0

Compare commits

..

No commits in common. "3595e362946c033c243dff7df9f65c871d95b754" and "c7aa8c7756ab493e3a0f2bc851904c0b50057008" have entirely different histories.

View File

@ -15,25 +15,22 @@ let
builtins.filter (x: (builtins.match "(PLAT|MYLIBS).*" x) == null) builtins.filter (x: (builtins.match "(PLAT|MYLIBS).*" x) == null)
o.makeFlags; o.makeFlags;
}); });
s6 = prev.s6.overrideAttrs(o: s6 = prev.s6.overrideAttrs(o:
let let patch = fetchpatch {
patch = fetchpatch {
# add "p" directive in s6-log # add "p" directive in s6-log
url = "https://github.com/skarnet/s6/commit/ddc76841398dfd5e18b22943727ad74b880236d3.patch"; url = "https://github.com/skarnet/s6/commit/ddc76841398dfd5e18b22943727ad74b880236d3.patch";
hash = "sha256-fBtUinBdp5GqoxgF6fcR44Tu8hakxs/rOShhuZOgokc="; hash = "sha256-fBtUinBdp5GqoxgF6fcR44Tu8hakxs/rOShhuZOgokc=";
}; };
config = builtins.filter
(x: (builtins.match ".*shared.*" x) == null)
o.configureFlags;
patch_needed = builtins.compareVersions o.version "2.11.1.2" <= 0; patch_needed = builtins.compareVersions o.version "2.11.1.2" <= 0;
in { in {
configureFlags = (builtins.filter configureFlags = config ++ [
(x: (builtins.match ".*shared.*" x) == null)
o.configureFlags) ++
[
"--disable-allstatic" "--disable-allstatic"
"--disable-static" "--disable-static"
"--enable-shared" "--enable-shared"
]; ];
hardeningDisable = ["all"];
stripAllList = [ "sbin" "bin" ]; stripAllList = [ "sbin" "bin" ];
patches = patches =
(if o ? patches then o.patches else []) ++ (if o ? patches then o.patches else []) ++
@ -124,32 +121,7 @@ extraPkgs // {
nettle = null; nettle = null;
}; };
hostapd = hostapd = prev.hostapd.override { sqlite = null; };
let
config = [
"CONFIG_DRIVER_NL80211=y"
"CONFIG_IAPP=y"
"CONFIG_IEEE80211AC=y"
"CONFIG_IEEE80211N=y"
"CONFIG_IEEE80211W=y"
"CONFIG_INTERNAL_LIBTOMMATH=y"
"CONFIG_INTERNAL_LIBTOMMATH_FAST=y"
"CONFIG_IPV6=y"
"CONFIG_LIBNL32=y"
"CONFIG_PKCS12=y"
"CONFIG_RSN_PREAUTH=y"
"CONFIG_TLS=internal"
];
h = prev.hostapd.overrideAttrs(o: {
extraConfig = "";
configurePhase = ''
cat > hostapd/defconfig <<EOF
${builtins.concatStringsSep "\n" config}
EOF
${o.configurePhase}
'';
});
in h.override { openssl = null; sqlite = null; };
dropbear = prev.dropbear.overrideAttrs (o: { dropbear = prev.dropbear.overrideAttrs (o: {
postPatch = '' postPatch = ''