summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups.d/000.host_tools.d/autoconf_2_64_host.package24
-rw-r--r--groups.d/000.host_tools.d/autoconf_2_69_host.package24
-rw-r--r--groups.d/000.host_tools.d/autoconf_host.package8
-rw-r--r--groups.d/000.host_tools.d/automake_1_11_6_host.package15
-rw-r--r--groups.d/000.host_tools.d/automake_host.package8
-rw-r--r--groups.d/000.host_tools.d/gettext_tiny_host.package10
-rw-r--r--groups.d/000.host_tools.d/install_strip_host.package9
-rw-r--r--groups.d/000.host_tools.d/libtool_host.package9
-rw-r--r--groups.d/000.host_tools.d/m4_host.package8
-rw-r--r--groups.d/000.host_tools.d/pkgconf_host.package13
-rw-r--r--groups.d/000.host_tools.d/slibtool_host.package6
-rw-r--r--groups.d/000.host_tools.d/tpax_host.package6
-rw-r--r--groups.d/000.host_tools.group97
-rw-r--r--groups.d/010.host_deps.d/binutils_build.package14
-rw-r--r--groups.d/010.host_deps.d/bison_host.package9
-rw-r--r--groups.d/010.host_deps.d/bmake_host.package10
-rw-r--r--groups.d/010.host_deps.d/bzip2_host.package10
-rw-r--r--groups.d/010.host_deps.d/ca_certificates_host.package11
-rw-r--r--groups.d/010.host_deps.d/chainport_host.package10
-rw-r--r--groups.d/010.host_deps.d/clzip_host.package9
-rw-r--r--groups.d/010.host_deps.d/cmake_host.package14
-rw-r--r--groups.d/010.host_deps.d/expat_host.package10
-rw-r--r--groups.d/010.host_deps.d/file_host.package8
-rw-r--r--groups.d/010.host_deps.d/flex_host.package9
-rw-r--r--groups.d/010.host_deps.d/gdb_host.package17
-rw-r--r--groups.d/010.host_deps.d/gdbm_host.package10
-rw-r--r--groups.d/010.host_deps.d/glib_host.package14
-rw-r--r--groups.d/010.host_deps.d/gperf_host.package7
-rw-r--r--groups.d/010.host_deps.d/infounzip_host.package6
-rw-r--r--groups.d/010.host_deps.d/infozip_host.package6
-rw-r--r--groups.d/010.host_deps.d/intltool_host.package7
-rw-r--r--groups.d/010.host_deps.d/libffi_host.package11
-rw-r--r--groups.d/010.host_deps.d/libressl_host.package8
-rw-r--r--groups.d/010.host_deps.d/libz_host.package8
-rw-r--r--groups.d/010.host_deps.d/libzip_host.package11
-rw-r--r--groups.d/010.host_deps.d/mdso_host.package10
-rw-r--r--groups.d/010.host_deps.d/mpackage_host.package11
-rw-r--r--groups.d/010.host_deps.d/musl_fts_host.package7
-rw-r--r--groups.d/010.host_deps.d/ncurses_host.package11
-rw-r--r--groups.d/010.host_deps.d/ncursestw_host.package8
-rw-r--r--groups.d/010.host_deps.d/ncursesw_host.package9
-rw-r--r--groups.d/010.host_deps.d/pcre_host.package9
-rw-r--r--groups.d/010.host_deps.d/perk_host.package9
-rw-r--r--groups.d/010.host_deps.d/python2_host.package17
-rw-r--r--groups.d/010.host_deps.d/python3_host.package17
-rw-r--r--groups.d/010.host_deps.d/re2c_host.package8
-rw-r--r--groups.d/010.host_deps.d/readline_host.package11
-rw-r--r--groups.d/010.host_deps.d/ruby_host.package12
-rw-r--r--groups.d/010.host_deps.d/sbsigntools_host.package10
-rw-r--r--groups.d/010.host_deps.d/sqlite3_host.package8
-rw-r--r--groups.d/010.host_deps.d/texinfo_host.package12
-rw-r--r--groups.d/010.host_deps.d/tzdb_host.package10
-rw-r--r--groups.d/010.host_deps.d/util_linux_host.package9
-rw-r--r--groups.d/010.host_deps.d/xz_host.package7
-rw-r--r--groups.d/010.host_deps.group262
-rw-r--r--groups.d/020.host_deps_rpm.d/libarchive_host.package9
-rw-r--r--groups.d/020.host_deps_rpm.d/popt_host.package7
-rw-r--r--groups.d/020.host_deps_rpm.d/rpm_host.package16
-rw-r--r--groups.d/020.host_deps_rpm.group23
-rw-r--r--groups.d/030.cross_toolchain.d/binutils_cross.package20
-rw-r--r--groups.d/030.cross_toolchain.d/binutils_cross_mingw32.package15
-rw-r--r--groups.d/030.cross_toolchain.d/gcc_full_cross.package12
-rw-r--r--groups.d/030.cross_toolchain.d/gcc_libstdcpp_v3_cross.package11
-rw-r--r--groups.d/030.cross_toolchain.d/gcc_runtime_cross.package11
-rw-r--r--groups.d/030.cross_toolchain.d/gcc_stage1_cross.package12
-rw-r--r--groups.d/030.cross_toolchain.d/gcc_stage1_cross_mingw32.package14
-rw-r--r--groups.d/030.cross_toolchain.d/gmp_cross.package10
-rw-r--r--groups.d/030.cross_toolchain.d/ldso_cross.package13
-rw-r--r--groups.d/030.cross_toolchain.d/mdso_cross.package10
-rw-r--r--groups.d/030.cross_toolchain.d/mpc_cross.package10
-rw-r--r--groups.d/030.cross_toolchain.d/mpfr_cross.package10
-rw-r--r--groups.d/030.cross_toolchain.d/musl_full_cross.package17
-rw-r--r--groups.d/030.cross_toolchain.d/musl_no_complex_cross.package18
-rw-r--r--groups.d/030.cross_toolchain.d/nasm_cross.package10
-rw-r--r--groups.d/030.cross_toolchain.d/perk_cross.package9
-rw-r--r--groups.d/030.cross_toolchain.d/psxstub_cross.package10
-rw-r--r--groups.d/030.cross_toolchain.d/psxtypes_cross.package10
-rw-r--r--groups.d/030.cross_toolchain.group163
-rw-r--r--groups.d/040.host_toolchain.d/binutils_host.package30
-rw-r--r--groups.d/040.host_toolchain.d/gcc_full_host.package12
-rw-r--r--groups.d/040.host_toolchain.d/gcc_libstdcpp_v3_host.package11
-rw-r--r--groups.d/040.host_toolchain.d/gcc_runtime_host.package11
-rw-r--r--groups.d/040.host_toolchain.d/gmp_host.package10
-rw-r--r--groups.d/040.host_toolchain.d/ldso_host.package13
-rw-r--r--groups.d/040.host_toolchain.d/mpc_host.package10
-rw-r--r--groups.d/040.host_toolchain.d/mpfr_host.package10
-rw-r--r--groups.d/040.host_toolchain.d/musl_full_host.package17
-rw-r--r--groups.d/040.host_toolchain.d/musl_no_complex_host.package18
-rw-r--r--groups.d/040.host_toolchain.d/nasm_host.package10
-rw-r--r--groups.d/040.host_toolchain.d/psxstub_host.package10
-rw-r--r--groups.d/040.host_toolchain.d/psxtypes_host.package10
-rw-r--r--groups.d/040.host_toolchain.group146
-rw-r--r--groups.d/100.native_tools.d/mdso.package10
-rw-r--r--groups.d/100.native_tools.d/perk.package9
-rw-r--r--groups.d/100.native_tools.d/pkgconf.package11
-rw-r--r--groups.d/100.native_tools.d/slibtool.package6
-rw-r--r--groups.d/100.native_tools.d/tpax.package6
-rw-r--r--groups.d/100.native_tools.group24
-rw-r--r--groups.d/110.native_toolchain.d/binutils.package18
-rw-r--r--groups.d/110.native_toolchain.d/binutils_mingw32.package13
-rw-r--r--groups.d/110.native_toolchain.d/gcc_full.package10
-rw-r--r--groups.d/110.native_toolchain.d/gcc_stage1_native_mingw32.package13
-rw-r--r--groups.d/110.native_toolchain.d/gmp.package9
-rw-r--r--groups.d/110.native_toolchain.d/mpc.package9
-rw-r--r--groups.d/110.native_toolchain.d/mpfr.package9
-rw-r--r--groups.d/110.native_toolchain.d/musl_full.package16
-rw-r--r--groups.d/110.native_toolchain.group67
-rw-r--r--groups.d/120.native_runtime.d/dalist.package7
-rw-r--r--groups.d/120.native_runtime.d/ldso.package13
-rw-r--r--groups.d/120.native_runtime.d/ntapi.package7
-rw-r--r--groups.d/120.native_runtime.d/ntcon.package7
-rw-r--r--groups.d/120.native_runtime.d/ntctty.package8
-rw-r--r--groups.d/120.native_runtime.d/ntux.package8
-rw-r--r--groups.d/120.native_runtime.d/pemagine.package8
-rw-r--r--groups.d/120.native_runtime.d/psxscl.package17
-rw-r--r--groups.d/120.native_runtime.d/psxtypes.package7
-rw-r--r--groups.d/120.native_runtime.d/ptycon.package8
-rw-r--r--groups.d/120.native_runtime.d/sltdl.package8
-rw-r--r--groups.d/120.native_runtime.d/toksvc.package7
-rw-r--r--groups.d/120.native_runtime.d/u16ports.package8
-rw-r--r--groups.d/120.native_runtime.group63
-rw-r--r--groups.d/211.native_packages_cmdline.d/bas.package16
-rw-r--r--groups.d/211.native_packages_cmdline.d/bc.package7
-rw-r--r--groups.d/211.native_packages_cmdline.d/busybox.package13
-rw-r--r--groups.d/211.native_packages_cmdline.d/cabextract.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/calcurse.package10
-rw-r--r--groups.d/211.native_packages_cmdline.d/clipboard_utils.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/coreutils.package13
-rw-r--r--groups.d/211.native_packages_cmdline.d/cpio.package7
-rw-r--r--groups.d/211.native_packages_cmdline.d/dash.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/datamash.package7
-rw-r--r--groups.d/211.native_packages_cmdline.d/dos2unix.package14
-rw-r--r--groups.d/211.native_packages_cmdline.d/ed.package8
-rw-r--r--groups.d/211.native_packages_cmdline.d/exif.package8
-rw-r--r--groups.d/211.native_packages_cmdline.d/figlet.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/findutils.package7
-rw-r--r--groups.d/211.native_packages_cmdline.d/gawk.package8
-rw-r--r--groups.d/211.native_packages_cmdline.d/gcal.package10
-rw-r--r--groups.d/211.native_packages_cmdline.d/grep.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/html_xml_utils.package10
-rw-r--r--groups.d/211.native_packages_cmdline.d/jush.package7
-rw-r--r--groups.d/211.native_packages_cmdline.d/lcab.package8
-rw-r--r--groups.d/211.native_packages_cmdline.d/lzop.package8
-rw-r--r--groups.d/211.native_packages_cmdline.d/mawk.package7
-rw-r--r--groups.d/211.native_packages_cmdline.d/mc.package12
-rw-r--r--groups.d/211.native_packages_cmdline.d/mksh.package16
-rw-r--r--groups.d/211.native_packages_cmdline.d/moe.package10
-rw-r--r--groups.d/211.native_packages_cmdline.d/moon_buggy.package11
-rw-r--r--groups.d/211.native_packages_cmdline.d/mp3splt.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/mpg123.package11
-rw-r--r--groups.d/211.native_packages_cmdline.d/nano.package10
-rw-r--r--groups.d/211.native_packages_cmdline.d/ninvaders.package15
-rw-r--r--groups.d/211.native_packages_cmdline.d/openbsd_baseutils.package13
-rw-r--r--groups.d/211.native_packages_cmdline.d/pixz.package10
-rw-r--r--groups.d/211.native_packages_cmdline.d/profanity.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/pv.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/rc.package14
-rw-r--r--groups.d/211.native_packages_cmdline.d/sash.package10
-rw-r--r--groups.d/211.native_packages_cmdline.d/sbase.package11
-rw-r--r--groups.d/211.native_packages_cmdline.d/screen.package11
-rw-r--r--groups.d/211.native_packages_cmdline.d/sed.package7
-rw-r--r--groups.d/211.native_packages_cmdline.d/sharutils.package12
-rw-r--r--groups.d/211.native_packages_cmdline.d/sloccount.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/tar.package8
-rw-r--r--groups.d/211.native_packages_cmdline.d/tcsh.package8
-rw-r--r--groups.d/211.native_packages_cmdline.d/terminally_tetris.package14
-rw-r--r--groups.d/211.native_packages_cmdline.d/the_silver_searcher.package9
-rw-r--r--groups.d/211.native_packages_cmdline.d/toilet.package6
-rw-r--r--groups.d/211.native_packages_cmdline.d/tree.package10
-rw-r--r--groups.d/211.native_packages_cmdline.d/ubase.package10
-rw-r--r--groups.d/211.native_packages_cmdline.d/which.package7
-rw-r--r--groups.d/211.native_packages_cmdline.d/zsh.package11
-rw-r--r--groups.d/211.native_packages_cmdline.group314
-rw-r--r--groups.d/221.native_packages_dev.d/algol68g.package9
-rw-r--r--groups.d/221.native_packages_dev.d/autoconf.package12
-rw-r--r--groups.d/221.native_packages_dev.d/automake.package7
-rw-r--r--groups.d/221.native_packages_dev.d/bison.package11
-rw-r--r--groups.d/221.native_packages_dev.d/cdecl.package10
-rw-r--r--groups.d/221.native_packages_dev.d/chicken.package14
-rw-r--r--groups.d/221.native_packages_dev.d/cparser.package10
-rw-r--r--groups.d/221.native_packages_dev.d/cssc.package9
-rw-r--r--groups.d/221.native_packages_dev.d/diffutils.package8
-rw-r--r--groups.d/221.native_packages_dev.d/flex.package9
-rw-r--r--groups.d/221.native_packages_dev.d/gdb.package17
-rw-r--r--groups.d/221.native_packages_dev.d/gengetopt.package7
-rw-r--r--groups.d/221.native_packages_dev.d/gnucobol.package10
-rw-r--r--groups.d/221.native_packages_dev.d/indent.package8
-rw-r--r--groups.d/221.native_packages_dev.d/lua.package16
-rw-r--r--groups.d/221.native_packages_dev.d/lunix.package10
-rw-r--r--groups.d/221.native_packages_dev.d/m4.package9
-rw-r--r--groups.d/221.native_packages_dev.d/make.package10
-rw-r--r--groups.d/221.native_packages_dev.d/mandoc.package12
-rw-r--r--groups.d/221.native_packages_dev.d/nasm.package8
-rw-r--r--groups.d/221.native_packages_dev.d/p2c.package9
-rw-r--r--groups.d/221.native_packages_dev.d/patch.package10
-rw-r--r--groups.d/221.native_packages_dev.d/perl.package17
-rw-r--r--groups.d/221.native_packages_dev.d/posix_cc.package9
-rw-r--r--groups.d/221.native_packages_dev.d/python2.package16
-rw-r--r--groups.d/221.native_packages_dev.d/python3.package17
-rw-r--r--groups.d/221.native_packages_dev.d/ruby.package10
-rw-r--r--groups.d/221.native_packages_dev.d/sbsigntools.package8
-rw-r--r--groups.d/221.native_packages_dev.d/tk.package11
-rw-r--r--groups.d/221.native_packages_dev.group206
-rw-r--r--groups.d/231.native_packages_etc.d/apr.package18
-rw-r--r--groups.d/231.native_packages_etc.d/bdwgc.package7
-rw-r--r--groups.d/231.native_packages_etc.d/bmake.package10
-rw-r--r--groups.d/231.native_packages_etc.d/bochs.package15
-rw-r--r--groups.d/231.native_packages_etc.d/bzip2.package17
-rw-r--r--groups.d/231.native_packages_etc.d/cherokee.package9
-rw-r--r--groups.d/231.native_packages_etc.d/clzip.package10
-rw-r--r--groups.d/231.native_packages_etc.d/cmake.package34
-rw-r--r--groups.d/231.native_packages_etc.d/cron.package7
-rw-r--r--groups.d/231.native_packages_etc.d/dante.package10
-rw-r--r--groups.d/231.native_packages_etc.d/doomgeneric.package12
-rw-r--r--groups.d/231.native_packages_etc.d/dosbox.package10
-rw-r--r--groups.d/231.native_packages_etc.d/emacs.package11
-rw-r--r--groups.d/231.native_packages_etc.d/enscript.package7
-rw-r--r--groups.d/231.native_packages_etc.d/expat.package8
-rw-r--r--groups.d/231.native_packages_etc.d/ffmpeg.package10
-rw-r--r--groups.d/231.native_packages_etc.d/file.package9
-rw-r--r--groups.d/231.native_packages_etc.d/gdbm.package9
-rw-r--r--groups.d/231.native_packages_etc.d/geoip.package7
-rw-r--r--groups.d/231.native_packages_etc.d/gettext_tiny.package11
-rw-r--r--groups.d/231.native_packages_etc.d/ghostpdl.package12
-rw-r--r--groups.d/231.native_packages_etc.d/giflib.package9
-rw-r--r--groups.d/231.native_packages_etc.d/gnuchess.package8
-rw-r--r--groups.d/231.native_packages_etc.d/graphicsmagick.package14
-rw-r--r--groups.d/231.native_packages_etc.d/gzip.package7
-rw-r--r--groups.d/231.native_packages_etc.d/hastyhex.package9
-rw-r--r--groups.d/231.native_packages_etc.d/hexcurse.package8
-rw-r--r--groups.d/231.native_packages_etc.d/hexer.package12
-rw-r--r--groups.d/231.native_packages_etc.d/htop.package9
-rw-r--r--groups.d/231.native_packages_etc.d/icoutils.package11
-rw-r--r--groups.d/231.native_packages_etc.d/imagemagick.package12
-rw-r--r--groups.d/231.native_packages_etc.d/infounzip.package7
-rw-r--r--groups.d/231.native_packages_etc.d/infozip.package7
-rw-r--r--groups.d/231.native_packages_etc.d/john.package25
-rw-r--r--groups.d/231.native_packages_etc.d/lbreakout2.package12
-rw-r--r--groups.d/231.native_packages_etc.d/lcms.package8
-rw-r--r--groups.d/231.native_packages_etc.d/less.package8
-rw-r--r--groups.d/231.native_packages_etc.d/libmetalink.package8
-rw-r--r--groups.d/231.native_packages_etc.d/lolcode.package6
-rw-r--r--groups.d/231.native_packages_etc.d/ltris.package13
-rw-r--r--groups.d/231.native_packages_etc.d/minizip.package20
-rw-r--r--groups.d/231.native_packages_etc.d/mintty.package9
-rw-r--r--groups.d/231.native_packages_etc.d/mlogin.package7
-rw-r--r--groups.d/231.native_packages_etc.d/musl_compat.package7
-rw-r--r--groups.d/231.native_packages_etc.d/musl_fts.package7
-rw-r--r--groups.d/231.native_packages_etc.d/ncdu.package8
-rw-r--r--groups.d/231.native_packages_etc.d/ncurses.package20
-rw-r--r--groups.d/231.native_packages_etc.d/npth.package7
-rw-r--r--groups.d/231.native_packages_etc.d/openjazz.package9
-rw-r--r--groups.d/231.native_packages_etc.d/openjpeg.package21
-rw-r--r--groups.d/231.native_packages_etc.d/p7zip.package8
-rw-r--r--groups.d/231.native_packages_etc.d/pcre.package14
-rw-r--r--groups.d/231.native_packages_etc.d/php.package17
-rw-r--r--groups.d/231.native_packages_etc.d/popt.package8
-rw-r--r--groups.d/231.native_packages_etc.d/potrace.package8
-rw-r--r--groups.d/231.native_packages_etc.d/procps_ng.package15
-rw-r--r--groups.d/231.native_packages_etc.d/qemu.package11
-rw-r--r--groups.d/231.native_packages_etc.d/qpdf.package10
-rw-r--r--groups.d/231.native_packages_etc.d/qrencode.package9
-rw-r--r--groups.d/231.native_packages_etc.d/rpm.package10
-rw-r--r--groups.d/231.native_packages_etc.d/rw.package8
-rw-r--r--groups.d/231.native_packages_etc.d/sdlquake.package9
-rw-r--r--groups.d/231.native_packages_etc.d/shared_mime_info.package10
-rw-r--r--groups.d/231.native_packages_etc.d/slang.package10
-rw-r--r--groups.d/231.native_packages_etc.d/sqlite3.package9
-rw-r--r--groups.d/231.native_packages_etc.d/tcl.package11
-rw-r--r--groups.d/231.native_packages_etc.d/tdnf.package11
-rw-r--r--groups.d/231.native_packages_etc.d/texinfo.package7
-rw-r--r--groups.d/231.native_packages_etc.d/tiff.package9
-rw-r--r--groups.d/231.native_packages_etc.d/tmux.package9
-rw-r--r--groups.d/231.native_packages_etc.d/tzdb.package10
-rw-r--r--groups.d/231.native_packages_etc.d/utf8proc.package5
-rw-r--r--groups.d/231.native_packages_etc.d/util_linux.package15
-rw-r--r--groups.d/231.native_packages_etc.d/vim.package21
-rw-r--r--groups.d/231.native_packages_etc.d/vorbis_tools.package9
-rw-r--r--groups.d/231.native_packages_etc.d/w32api.package7
-rw-r--r--groups.d/231.native_packages_etc.d/w32lib.package6
-rw-r--r--groups.d/231.native_packages_etc.d/xorriso.package9
-rw-r--r--groups.d/231.native_packages_etc.d/xpdf.package12
-rw-r--r--groups.d/231.native_packages_etc.d/xz.package8
-rw-r--r--groups.d/231.native_packages_etc.d/zstd.package10
-rw-r--r--groups.d/231.native_packages_etc.group559
-rw-r--r--groups.d/241.native_packages_inet.d/apk_tools.package12
-rw-r--r--groups.d/241.native_packages_inet.d/bind.package10
-rw-r--r--groups.d/241.native_packages_inet.d/ca_certificates.package11
-rw-r--r--groups.d/241.native_packages_inet.d/curl.package10
-rw-r--r--groups.d/241.native_packages_inet.d/cvs.package12
-rw-r--r--groups.d/241.native_packages_inet.d/dropbear.package9
-rw-r--r--groups.d/241.native_packages_inet.d/elinks.package12
-rw-r--r--groups.d/241.native_packages_inet.d/fetchmail.package9
-rw-r--r--groups.d/241.native_packages_inet.d/git.package18
-rw-r--r--groups.d/241.native_packages_inet.d/gnupg.package11
-rw-r--r--groups.d/241.native_packages_inet.d/gnutls.package13
-rw-r--r--groups.d/241.native_packages_inet.d/gpgme.package12
-rw-r--r--groups.d/241.native_packages_inet.d/httpd.package11
-rw-r--r--groups.d/241.native_packages_inet.d/icecast.package11
-rw-r--r--groups.d/241.native_packages_inet.d/inetutils.package9
-rw-r--r--groups.d/241.native_packages_inet.d/irssi.package9
-rw-r--r--groups.d/241.native_packages_inet.d/isync.package9
-rw-r--r--groups.d/241.native_packages_inet.d/ldns.package10
-rw-r--r--groups.d/241.native_packages_inet.d/lighttpd.package11
-rw-r--r--groups.d/241.native_packages_inet.d/links.package9
-rw-r--r--groups.d/241.native_packages_inet.d/lynx.package12
-rw-r--r--groups.d/241.native_packages_inet.d/mailutils.package11
-rw-r--r--groups.d/241.native_packages_inet.d/microsocks.package6
-rw-r--r--groups.d/241.native_packages_inet.d/mutt.package13
-rw-r--r--groups.d/241.native_packages_inet.d/nginx.package12
-rw-r--r--groups.d/241.native_packages_inet.d/ngircd.package9
-rw-r--r--groups.d/241.native_packages_inet.d/nullmailer.package13
-rw-r--r--groups.d/241.native_packages_inet.d/openlitespeed.package14
-rw-r--r--groups.d/241.native_packages_inet.d/opensmtpd.package10
-rw-r--r--groups.d/241.native_packages_inet.d/openssh.package14
-rw-r--r--groups.d/241.native_packages_inet.d/proxytunnel.package12
-rw-r--r--groups.d/241.native_packages_inet.d/rsync.package9
-rw-r--r--groups.d/241.native_packages_inet.d/socat.package7
-rw-r--r--groups.d/241.native_packages_inet.d/thttpd.package11
-rw-r--r--groups.d/241.native_packages_inet.d/w3m.package14
-rw-r--r--groups.d/241.native_packages_inet.d/weechat.package11
-rw-r--r--groups.d/241.native_packages_inet.d/wget.package17
-rw-r--r--groups.d/241.native_packages_inet.d/whois.package12
-rw-r--r--groups.d/241.native_packages_inet.group284
-rw-r--r--groups.d/251.native_packages_lib.d/aspell.package9
-rw-r--r--groups.d/251.native_packages_lib.d/bearssl.package9
-rw-r--r--groups.d/251.native_packages_lib.d/enchant.package9
-rw-r--r--groups.d/251.native_packages_lib.d/fribidi.package7
-rw-r--r--groups.d/251.native_packages_lib.d/glib.package9
-rw-r--r--groups.d/251.native_packages_lib.d/hunspell.package9
-rw-r--r--groups.d/251.native_packages_lib.d/ivykis.package8
-rw-r--r--groups.d/251.native_packages_lib.d/jansson.package7
-rw-r--r--groups.d/251.native_packages_lib.d/kvazaar.package7
-rw-r--r--groups.d/251.native_packages_lib.d/lame.package9
-rw-r--r--groups.d/251.native_packages_lib.d/libao.package11
-rw-r--r--groups.d/251.native_packages_lib.d/libarchive.package10
-rw-r--r--groups.d/251.native_packages_lib.d/libass.package14
-rw-r--r--groups.d/251.native_packages_lib.d/libatomic_ops.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libdmtx.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libedit.package12
-rw-r--r--groups.d/251.native_packages_lib.d/libelf.package10
-rw-r--r--groups.d/251.native_packages_lib.d/libestr.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libevent.package9
-rw-r--r--groups.d/251.native_packages_lib.d/libexif.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libfastjson.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libfetch.package12
-rw-r--r--groups.d/251.native_packages_lib.d/libffi.package13
-rw-r--r--groups.d/251.native_packages_lib.d/libfirm.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libflac.package9
-rw-r--r--groups.d/251.native_packages_lib.d/libgcrypt.package13
-rw-r--r--groups.d/251.native_packages_lib.d/libglob.package6
-rw-r--r--groups.d/251.native_packages_lib.d/libgpg_error.package9
-rw-r--r--groups.d/251.native_packages_lib.d/libgsasl.package9
-rw-r--r--groups.d/251.native_packages_lib.d/libiconv.package11
-rw-r--r--groups.d/251.native_packages_lib.d/libidn.package13
-rw-r--r--groups.d/251.native_packages_lib.d/libite.package6
-rw-r--r--groups.d/251.native_packages_lib.d/libjpeg_turbo.package10
-rw-r--r--groups.d/251.native_packages_lib.d/libksba.package13
-rw-r--r--groups.d/251.native_packages_lib.d/libmad.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libmd.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libmp3splt.package10
-rw-r--r--groups.d/251.native_packages_lib.d/libmspack.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libogg.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libpcap.package9
-rw-r--r--groups.d/251.native_packages_lib.d/libpng.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libpsl.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libredwg.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libressl.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libsasl2.package10
-rw-r--r--groups.d/251.native_packages_lib.d/libshine.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libsndfile.package11
-rw-r--r--groups.d/251.native_packages_lib.d/libsolv.package29
-rw-r--r--groups.d/251.native_packages_lib.d/libssh.package15
-rw-r--r--groups.d/251.native_packages_lib.d/libstrophe.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libtasn1.package12
-rw-r--r--groups.d/251.native_packages_lib.d/libtelnet.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libtheora.package10
-rw-r--r--groups.d/251.native_packages_lib.d/libtirpc.package9
-rw-r--r--groups.d/251.native_packages_lib.d/libudns.package5
-rw-r--r--groups.d/251.native_packages_lib.d/libunistring.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libuv.package7
-rw-r--r--groups.d/251.native_packages_lib.d/libvorbis.package8
-rw-r--r--groups.d/251.native_packages_lib.d/libwebp.package9
-rw-r--r--groups.d/251.native_packages_lib.d/libxml2.package12
-rw-r--r--groups.d/251.native_packages_lib.d/libxslt.package10
-rw-r--r--groups.d/251.native_packages_lib.d/libz.package29
-rw-r--r--groups.d/251.native_packages_lib.d/lzlib.package9
-rw-r--r--groups.d/251.native_packages_lib.d/lzo.package7
-rw-r--r--groups.d/251.native_packages_lib.d/nettle.package11
-rw-r--r--groups.d/251.native_packages_lib.d/onig.package7
-rw-r--r--groups.d/251.native_packages_lib.d/opus.package8
-rw-r--r--groups.d/251.native_packages_lib.d/readline.package18
-rw-r--r--groups.d/251.native_packages_lib.d/sdl1.package35
-rw-r--r--groups.d/251.native_packages_lib.d/sdl2.package30
-rw-r--r--groups.d/251.native_packages_lib.d/twolame.package8
-rw-r--r--groups.d/251.native_packages_lib.d/wolfssl.package12
-rw-r--r--groups.d/251.native_packages_lib.group474
-rw-r--r--groups.d/261.native_packages_x11.d/cairo.package9
-rw-r--r--groups.d/261.native_packages_x11.d/fontconfig.package10
-rw-r--r--groups.d/261.native_packages_x11.d/freetype.package15
-rw-r--r--groups.d/261.native_packages_x11.d/gxemul.package12
-rw-r--r--groups.d/261.native_packages_x11.d/harfbuzz.package9
-rw-r--r--groups.d/261.native_packages_x11.d/imlib2.package12
-rw-r--r--groups.d/261.native_packages_x11.d/libcaca.package8
-rw-r--r--groups.d/261.native_packages_x11.d/libfontenc.package8
-rw-r--r--groups.d/261.native_packages_x11.d/libice.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libpthread_stubs.package7
-rw-r--r--groups.d/261.native_packages_x11.d/libsm.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libx11.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libxau.package8
-rw-r--r--groups.d/261.native_packages_x11.d/libxaw.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libxcursor.package8
-rw-r--r--groups.d/261.native_packages_x11.d/libxdamage.package8
-rw-r--r--groups.d/261.native_packages_x11.d/libxdmcp.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libxext.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libxfixes.package8
-rw-r--r--groups.d/261.native_packages_x11.d/libxfont2.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libxft.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libxi.package8
-rw-r--r--groups.d/261.native_packages_x11.d/libxkbfile.package8
-rw-r--r--groups.d/261.native_packages_x11.d/libxmu.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libxpm.package9
-rw-r--r--groups.d/261.native_packages_x11.d/libxt.package15
-rw-r--r--groups.d/261.native_packages_x11.d/pango.package9
-rw-r--r--groups.d/261.native_packages_x11.d/pixman.package7
-rw-r--r--groups.d/261.native_packages_x11.d/rdesktop.package11
-rw-r--r--groups.d/261.native_packages_x11.d/rxvt_unicode.package9
-rw-r--r--groups.d/261.native_packages_x11.d/st.package16
-rw-r--r--groups.d/261.native_packages_x11.d/util_macros.package7
-rw-r--r--groups.d/261.native_packages_x11.d/xcalc.package8
-rw-r--r--groups.d/261.native_packages_x11.d/xcb.package27
-rw-r--r--groups.d/261.native_packages_x11.d/xeyes.package8
-rw-r--r--groups.d/261.native_packages_x11.d/xorgproto.package8
-rw-r--r--groups.d/261.native_packages_x11.d/xrender.package8
-rw-r--r--groups.d/261.native_packages_x11.d/xterm.package10
-rw-r--r--groups.d/261.native_packages_x11.d/xtrans.package9
-rw-r--r--groups.d/261.native_packages_x11.d/xwd.package8
-rw-r--r--groups.d/261.native_packages_x11.d/xwin.package12
-rw-r--r--groups.d/261.native_packages_x11.group249
-rw-r--r--groups.d/800.minipix.d/bash_minipix.package10
-rw-r--r--groups.d/800.minipix.d/bzip2_minipix.package15
-rw-r--r--groups.d/800.minipix.d/ca_certificates_minipix.package5
-rw-r--r--groups.d/800.minipix.d/coreutils_minipix.package7
-rw-r--r--groups.d/800.minipix.d/dash_minipix.package6
-rw-r--r--groups.d/800.minipix.d/diffutils_minipix.package5
-rw-r--r--groups.d/800.minipix.d/dropbear_minipix.package6
-rw-r--r--groups.d/800.minipix.d/findutils_minipix.package5
-rw-r--r--groups.d/800.minipix.d/gawk_minipix.package5
-rw-r--r--groups.d/800.minipix.d/gdb_minipix.package6
-rw-r--r--groups.d/800.minipix.d/grep_minipix.package5
-rw-r--r--groups.d/800.minipix.d/gzip_minipix.package7
-rw-r--r--groups.d/800.minipix.d/infounzip_minipix.package6
-rw-r--r--groups.d/800.minipix.d/infozip_minipix.package6
-rw-r--r--groups.d/800.minipix.d/less_minipix.package5
-rw-r--r--groups.d/800.minipix.d/libz_minipix.package5
-rw-r--r--groups.d/800.minipix.d/mintty_minipix.package6
-rw-r--r--groups.d/800.minipix.d/nano_minipix.package5
-rw-r--r--groups.d/800.minipix.d/ntctty_minipix.package7
-rw-r--r--groups.d/800.minipix.d/ntux_minipix.package9
-rw-r--r--groups.d/800.minipix.d/patch_minipix.package5
-rw-r--r--groups.d/800.minipix.d/perk_minipix.package5
-rw-r--r--groups.d/800.minipix.d/ptycon_minipix.package7
-rw-r--r--groups.d/800.minipix.d/python2_minipix.package6
-rw-r--r--groups.d/800.minipix.d/sed_minipix.package5
-rw-r--r--groups.d/800.minipix.d/tar_minipix.package6
-rw-r--r--groups.d/800.minipix.d/toksvc_minipix.package7
-rw-r--r--groups.d/800.minipix.d/tpax_minipix.package6
-rw-r--r--groups.d/800.minipix.d/vim_minipix.package6
-rw-r--r--groups.d/800.minipix.d/wget_minipix.package5
-rw-r--r--groups.d/800.minipix.d/which_minipix.package5
-rw-r--r--groups.d/800.minipix.d/xz_minipix.package5
-rw-r--r--groups.d/800.minipix.group85
-rw-r--r--subr.ex/ex_pkg.subr33
-rw-r--r--subr.rtl/rtl_fileop.subr19
474 files changed, 4738 insertions, 3018 deletions
diff --git a/groups.d/000.host_tools.d/autoconf_2_64_host.package b/groups.d/000.host_tools.d/autoconf_2_64_host.package
new file mode 100644
index 00000000..25c930e5
--- /dev/null
+++ b/groups.d/000.host_tools.d/autoconf_2_64_host.package
@@ -0,0 +1,24 @@
+: ${PKG_AUTOCONF_2_64_HOST_DEPENDS:="m4_host pkgconf_host slibtool_host"};
+: ${PKG_AUTOCONF_2_64_HOST_SHA256SUM:=32d977213320b8ae76c71175305301197f2b0e04e72d70694bc3d3e2ae6c7248};
+: ${PKG_AUTOCONF_2_64_HOST_VERSION:=2.64};
+: ${PKG_AUTOCONF_2_64_HOST_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_2_64_HOST_VERSION}.tar.xz};
+: ${PKG_AUTOCONF_2_64_HOST_INSTALL_FILES_V2:="
+ /=libexec/autoconf-2.64
+ !bin/%<*>=libexec/autoconf-2.64/%[FNAME]
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoconf-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoheader-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autom4te-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoreconf-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoscan-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/autoupdate-2.64
+ +%[_files]/bin/\%[FNAME]-2.64=bin/ifnames-2.64
+ !share/autoconf-2.64/autom4te.cfg=share/autoconf/autom4te.cfg
+ -=share/autoconf-2.64/
+ !share/autoconf=share/autoconf-2.64/
+ -=share/info/dir
+ !share/info/%<*.info>=share/info/%[FNAME%.info]-2.64.info
+ !share/man/man1/%<*.1>=share/man/man1/%[FNAME%.1]-2.64.1"};
+
+ex_pkg_register "autoconf_2_64_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/autoconf_2_69_host.package b/groups.d/000.host_tools.d/autoconf_2_69_host.package
new file mode 100644
index 00000000..d7406420
--- /dev/null
+++ b/groups.d/000.host_tools.d/autoconf_2_69_host.package
@@ -0,0 +1,24 @@
+: ${PKG_AUTOCONF_2_69_HOST_DEPENDS:="m4_host pkgconf_host slibtool_host"};
+: ${PKG_AUTOCONF_2_69_HOST_SHA256SUM:=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684};
+: ${PKG_AUTOCONF_2_69_HOST_VERSION:=2.69};
+: ${PKG_AUTOCONF_2_69_HOST_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_2_69_HOST_VERSION}.tar.xz};
+: ${PKG_AUTOCONF_2_69_HOST_INSTALL_FILES_V2:="
+ /=libexec/autoconf-2.69
+ !bin/%<*>=libexec/autoconf-2.69/%[FNAME]
+ +%[_files]/bin/\%[FNAME]-2.69=bin/autoconf-2.69
+ +%[_files]/bin/\%[FNAME]-2.69=bin/autoheader-2.69
+ +%[_files]/bin/\%[FNAME]-2.69=bin/autom4te-2.69
+ +%[_files]/bin/\%[FNAME]-2.69=bin/autoreconf-2.69
+ +%[_files]/bin/\%[FNAME]-2.69=bin/autoscan-2.69
+ +%[_files]/bin/\%[FNAME]-2.69=bin/autoupdate-2.69
+ +%[_files]/bin/\%[FNAME]-2.69=bin/ifnames-2.69
+ !share/autoconf-2.69/autom4te.cfg=share/autoconf/autom4te.cfg
+ -=share/autoconf-2.69/
+ !share/autoconf=share/autoconf-2.69/
+ -=share/info/dir
+ !share/info/%<*.info>=share/info/%[FNAME%.info]-2.69.info
+ !share/man/man1/%<*.1>=share/man/man1/%[FNAME%.1]-2.69.1"}
+
+ex_pkg_register "autoconf_2_69_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/autoconf_host.package b/groups.d/000.host_tools.d/autoconf_host.package
new file mode 100644
index 00000000..37ead7aa
--- /dev/null
+++ b/groups.d/000.host_tools.d/autoconf_host.package
@@ -0,0 +1,8 @@
+: ${PKG_AUTOCONF_HOST_DEPENDS:="m4_host pkgconf_host slibtool_host"};
+: ${PKG_AUTOCONF_HOST_SHA256SUM:=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4};
+: ${PKG_AUTOCONF_HOST_VERSION:=2.71};
+: ${PKG_AUTOCONF_HOST_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_HOST_VERSION}.tar.xz};
+
+ex_pkg_register "autoconf_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/automake_1_11_6_host.package b/groups.d/000.host_tools.d/automake_1_11_6_host.package
new file mode 100644
index 00000000..beddbcb5
--- /dev/null
+++ b/groups.d/000.host_tools.d/automake_1_11_6_host.package
@@ -0,0 +1,15 @@
+: ${PKG_AUTOMAKE_1_11_6_HOST_DEPENDS:="autoconf_2_64_host pkgconf_host slibtool_host"};
+: ${PKG_AUTOMAKE_1_11_6_HOST_SHA256SUM:=1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5};
+: ${PKG_AUTOMAKE_1_11_6_HOST_VERSION:=1.11.6};
+: ${PKG_AUTOMAKE_1_11_6_HOST_URL:=https://ftp.gnu.org/gnu/automake/automake-${PKG_AUTOMAKE_1_11_6_HOST_VERSION}.tar.xz};
+: ${PKG_AUTOMAKE_1_11_6_HOST_INSTALL_FILES_V2:="
+ -=bin/%<*-1.11>
+ !bin/%<*>=bin/%[FNAME]-1.11
+ -=share/info/dir
+ !share/doc/automake=share/doc/automake-1.11.6
+ !share/info/%<*.info*>=share/info/%[FNAME%.info*]-1.11.6.%[FNAME#*.]
+ !share/man/man1/%<*.1>=share/man/man1/%[FNAME%.1]-1.11.6.1"};
+
+ex_pkg_register "automake_1_11_6_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/automake_host.package b/groups.d/000.host_tools.d/automake_host.package
new file mode 100644
index 00000000..882984b4
--- /dev/null
+++ b/groups.d/000.host_tools.d/automake_host.package
@@ -0,0 +1,8 @@
+: ${PKG_AUTOMAKE_HOST_DEPENDS:="autoconf_host pkgconf_host slibtool_host"};
+: ${PKG_AUTOMAKE_HOST_SHA256SUM:=ff2bf7656c4d1c6fdda3b8bebb21f09153a736bcba169aaf65eab25fa113bf3a};
+: ${PKG_AUTOMAKE_HOST_VERSION:=1.16.3};
+: ${PKG_AUTOMAKE_HOST_URL:=https://ftp.gnu.org/gnu/automake/automake-${PKG_AUTOMAKE_HOST_VERSION}.tar.xz};
+
+ex_pkg_register "automake_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/gettext_tiny_host.package b/groups.d/000.host_tools.d/gettext_tiny_host.package
new file mode 100644
index 00000000..42cc6f79
--- /dev/null
+++ b/groups.d/000.host_tools.d/gettext_tiny_host.package
@@ -0,0 +1,10 @@
+: ${PKG_GETTEXT_TINY_HOST_DEPENDS:="pkgconf_host slibtool_host"};
+: ${PKG_GETTEXT_TINY_HOST_SHA256SUM:=29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383};
+: ${PKG_GETTEXT_TINY_HOST_VERSION:=0.3.2};
+: ${PKG_GETTEXT_TINY_HOST_URL:=https://toolchains.bootlin.com/downloads/releases/sources/gettext-tiny-${PKG_GETTEXT_TINY_HOST_VERSION}/gettext-tiny-${PKG_GETTEXT_TINY_HOST_VERSION}.tar.gz};
+: ${PKG_GETTEXT_TINY_HOST_BUILD_DIR:=gettext-tiny-${PKG_GETTEXT_TINY_HOST_VERSION}};
+: ${PKG_GETTEXT_TINY_HOST_MAKEFLAGS_BUILD_EXTRA:="prefix=${PREFIX}"};
+
+ex_pkg_register "gettext_tiny_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/install_strip_host.package b/groups.d/000.host_tools.d/install_strip_host.package
new file mode 100644
index 00000000..8041312d
--- /dev/null
+++ b/groups.d/000.host_tools.d/install_strip_host.package
@@ -0,0 +1,9 @@
+: ${PKG_INSTALL_STRIP_HOST_BUILD_STEPS_DISABLE:="build install_make install_rpm"};
+: ${PKG_INSTALL_STRIP_HOST_NO_LOG_VARS:=1};
+: ${PKG_INSTALL_STRIP_HOST_INSTALL_FILES_V2:="
+ +%[_files]/bin/\%[_target]-install-strip=bin/%[_target]-install-strip
+ m0755=bin/%[_target]-install-strip"};
+
+ex_pkg_register "install_strip_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/libtool_host.package b/groups.d/000.host_tools.d/libtool_host.package
new file mode 100644
index 00000000..aa1de1ad
--- /dev/null
+++ b/groups.d/000.host_tools.d/libtool_host.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBTOOL_HOST_DEPENDS:="autoconf_host automake_host pkgconf_host slibtool_host"}:
+: ${PKG_LIBTOOL_HOST_SHA256SUM:=7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f};
+: ${PKG_LIBTOOL_HOST_VERSION:=2.4.6};
+: ${PKG_LIBTOOL_HOST_URL:=https://ftp.gnu.org/gnu/libtool/libtool-${PKG_LIBTOOL_HOST_VERSION}.tar.xz};
+: ${PKG_LIBTOOL_HOST_LIBTOOL:=none};
+
+ex_pkg_register "libtool_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/m4_host.package b/groups.d/000.host_tools.d/m4_host.package
new file mode 100644
index 00000000..f4b81ee9
--- /dev/null
+++ b/groups.d/000.host_tools.d/m4_host.package
@@ -0,0 +1,8 @@
+: ${PKG_M4_HOST_DEPENDS:="pkgconf_host slibtool_host"};
+: ${PKG_M4_HOST_SHA256SUM:=63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96};
+: ${PKG_M4_HOST_VERSION:=1.4.19};
+: ${PKG_M4_HOST_URL:=https://ftp.gnu.org/gnu/m4/m4-${PKG_M4_HOST_VERSION}.tar.xz};
+
+ex_pkg_register "m4_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/pkgconf_host.package b/groups.d/000.host_tools.d/pkgconf_host.package
new file mode 100644
index 00000000..100c697c
--- /dev/null
+++ b/groups.d/000.host_tools.d/pkgconf_host.package
@@ -0,0 +1,13 @@
+: ${PKG_PKGCONF_HOST_DEPENDS:="slibtool_host"};
+: ${PKG_PKGCONF_HOST_SHA256SUM:=ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf};
+: ${PKG_PKGCONF_HOST_VERSION:=1.8.0};
+: ${PKG_PKGCONF_HOST_URL:=https://distfiles.dereferenced.org/pkgconf/pkgconf-${PKG_PKGCONF_HOST_VERSION}.tar.xz};
+: ${PKG_PKGCONF_HOST_CONFIGURE_ARGS:="--prefix=${PREFIX} --with-system-libdir=${PREFIX_NATIVE}/lib --with-system-includedir=${PREFIX_NATIVE}/include --with-pkg-config-dir=${PREFIX_NATIVE}/lib/pkgconfig --with-personality-dir=${PREFIX_NATIVE}/share/pkgconfig/personality.d"};
+: ${PKG_PKGCONF_HOST_INSTALL_FILES_V2:="
+ @pkgconf=bin/pkg-config
+ +%[_files]/bin/\%[_target]-pkg-config=bin/%[_target]-pkg-config
+ m0755=bin/%[_target]-pkg-config"};
+
+ex_pkg_register "pkgconf_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/slibtool_host.package b/groups.d/000.host_tools.d/slibtool_host.package
new file mode 100644
index 00000000..3fe32604
--- /dev/null
+++ b/groups.d/000.host_tools.d/slibtool_host.package
@@ -0,0 +1,6 @@
+: ${PKG_SLIBTOOL_HOST_URLS_GIT:="slibtool=${DEFAULT_GITROOT}/slibtool"};
+: ${PKG_SLIBTOOL_HOST_CONFIGURE_ARGS:=--prefix=};
+
+ex_pkg_register "slibtool_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.d/tpax_host.package b/groups.d/000.host_tools.d/tpax_host.package
new file mode 100644
index 00000000..07396c69
--- /dev/null
+++ b/groups.d/000.host_tools.d/tpax_host.package
@@ -0,0 +1,6 @@
+: ${PKG_TPAX_HOST_URLS_GIT:="tpax=https://git.midipix.org/tpax@main"};
+: ${PKG_TPAX_HOST_CONFIGURE_ARGS:=--prefix=};
+
+ex_pkg_register "tpax_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/000.host_tools.group b/groups.d/000.host_tools.group
index fab3296d..31fe06c0 100644
--- a/groups.d/000.host_tools.group
+++ b/groups.d/000.host_tools.group
@@ -4,104 +4,7 @@
HOST_TOOLS_BUILD_TYPE="host";
HOST_TOOLS_CONFIGURE_ARGS="--disable-nls --prefix=${PREFIX}";
HOST_TOOLS_MAKEFLAGS_INSTALL="prefix= PREFIX=";
-HOST_TOOLS_PACKAGES="
-autoconf_host autoconf_2_69_host autoconf_2_64_host automake_host automake_1_11_6_host
-gettext_tiny_host install_strip_host libtool_host m4_host pkgconf_host
-slibtool_host tpax_host";
HOST_TOOLS_PREFIX="${PREFIX}";
HOST_TOOLS_RPM_DISABLE=1;
-: ${PKG_AUTOCONF_HOST_DEPENDS:="m4_host pkgconf_host slibtool_host"};
-: ${PKG_AUTOCONF_HOST_SHA256SUM:=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4};
-: ${PKG_AUTOCONF_HOST_VERSION:=2.71};
-: ${PKG_AUTOCONF_HOST_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_HOST_VERSION}.tar.xz};
-: ${PKG_AUTOCONF_2_69_HOST_DEPENDS:="m4_host pkgconf_host slibtool_host"};
-: ${PKG_AUTOCONF_2_69_HOST_SHA256SUM:=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684};
-: ${PKG_AUTOCONF_2_69_HOST_VERSION:=2.69};
-: ${PKG_AUTOCONF_2_69_HOST_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_2_69_HOST_VERSION}.tar.xz};
-: ${PKG_AUTOCONF_2_69_HOST_INSTALL_FILES_V2:="
- /=libexec/autoconf-2.69
- !bin/%<*>=libexec/autoconf-2.69/%[FNAME]
- +%[_files]/bin/\%[FNAME]-2.69=bin/autoconf-2.69
- +%[_files]/bin/\%[FNAME]-2.69=bin/autoheader-2.69
- +%[_files]/bin/\%[FNAME]-2.69=bin/autom4te-2.69
- +%[_files]/bin/\%[FNAME]-2.69=bin/autoreconf-2.69
- +%[_files]/bin/\%[FNAME]-2.69=bin/autoscan-2.69
- +%[_files]/bin/\%[FNAME]-2.69=bin/autoupdate-2.69
- +%[_files]/bin/\%[FNAME]-2.69=bin/ifnames-2.69
- !share/autoconf-2.69/autom4te.cfg=share/autoconf/autom4te.cfg
- -=share/autoconf-2.69/
- !share/autoconf=share/autoconf-2.69/
- -=share/info/dir
- !share/info/%<*.info>=share/info/%[FNAME%.info]-2.69.info
- !share/man/man1/%<*.1>=share/man/man1/%[FNAME%.1]-2.69.1"}
-: ${PKG_AUTOCONF_2_64_HOST_DEPENDS:="m4_host pkgconf_host slibtool_host"};
-: ${PKG_AUTOCONF_2_64_HOST_SHA256SUM:=32d977213320b8ae76c71175305301197f2b0e04e72d70694bc3d3e2ae6c7248};
-: ${PKG_AUTOCONF_2_64_HOST_VERSION:=2.64};
-: ${PKG_AUTOCONF_2_64_HOST_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_2_64_HOST_VERSION}.tar.xz};
-: ${PKG_AUTOCONF_2_64_HOST_INSTALL_FILES_V2:="
- /=libexec/autoconf-2.64
- !bin/%<*>=libexec/autoconf-2.64/%[FNAME]
- +%[_files]/bin/\%[FNAME]-2.64=bin/autoconf-2.64
- +%[_files]/bin/\%[FNAME]-2.64=bin/autoheader-2.64
- +%[_files]/bin/\%[FNAME]-2.64=bin/autom4te-2.64
- +%[_files]/bin/\%[FNAME]-2.64=bin/autoreconf-2.64
- +%[_files]/bin/\%[FNAME]-2.64=bin/autoscan-2.64
- +%[_files]/bin/\%[FNAME]-2.64=bin/autoupdate-2.64
- +%[_files]/bin/\%[FNAME]-2.64=bin/ifnames-2.64
- !share/autoconf-2.64/autom4te.cfg=share/autoconf/autom4te.cfg
- -=share/autoconf-2.64/
- !share/autoconf=share/autoconf-2.64/
- -=share/info/dir
- !share/info/%<*.info>=share/info/%[FNAME%.info]-2.64.info
- !share/man/man1/%<*.1>=share/man/man1/%[FNAME%.1]-2.64.1"};
-: ${PKG_AUTOMAKE_HOST_DEPENDS:="autoconf_host pkgconf_host slibtool_host"};
-: ${PKG_AUTOMAKE_HOST_SHA256SUM:=ff2bf7656c4d1c6fdda3b8bebb21f09153a736bcba169aaf65eab25fa113bf3a};
-: ${PKG_AUTOMAKE_HOST_VERSION:=1.16.3};
-: ${PKG_AUTOMAKE_HOST_URL:=https://ftp.gnu.org/gnu/automake/automake-${PKG_AUTOMAKE_HOST_VERSION}.tar.xz};
-: ${PKG_AUTOMAKE_1_11_6_HOST_DEPENDS:="autoconf_2_64_host pkgconf_host slibtool_host"};
-: ${PKG_AUTOMAKE_1_11_6_HOST_SHA256SUM:=1ffbc6cc41f0ea6c864fbe9485b981679dc5e350f6c4bc6c3512f5a4226936b5};
-: ${PKG_AUTOMAKE_1_11_6_HOST_VERSION:=1.11.6};
-: ${PKG_AUTOMAKE_1_11_6_HOST_URL:=https://ftp.gnu.org/gnu/automake/automake-${PKG_AUTOMAKE_1_11_6_HOST_VERSION}.tar.xz};
-: ${PKG_AUTOMAKE_1_11_6_HOST_INSTALL_FILES_V2:="
- -=bin/%<*-1.11>
- !bin/%<*>=bin/%[FNAME]-1.11
- -=share/info/dir
- !share/doc/automake=share/doc/automake-1.11.6
- !share/info/%<*.info*>=share/info/%[FNAME%.info*]-1.11.6.%[FNAME#*.]
- !share/man/man1/%<*.1>=share/man/man1/%[FNAME%.1]-1.11.6.1"};
-: ${PKG_GETTEXT_TINY_HOST_DEPENDS:="pkgconf_host slibtool_host"};
-: ${PKG_GETTEXT_TINY_HOST_SHA256SUM:=29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383};
-: ${PKG_GETTEXT_TINY_HOST_VERSION:=0.3.2};
-: ${PKG_GETTEXT_TINY_HOST_URL:=https://toolchains.bootlin.com/downloads/releases/sources/gettext-tiny-${PKG_GETTEXT_TINY_HOST_VERSION}/gettext-tiny-${PKG_GETTEXT_TINY_HOST_VERSION}.tar.gz};
-: ${PKG_GETTEXT_TINY_HOST_BUILD_DIR:=gettext-tiny-${PKG_GETTEXT_TINY_HOST_VERSION}};
-: ${PKG_GETTEXT_TINY_HOST_MAKEFLAGS_BUILD_EXTRA:="prefix=${PREFIX}"};
-: ${PKG_INSTALL_STRIP_HOST_BUILD_STEPS_DISABLE:="build install_make install_rpm"};
-: ${PKG_INSTALL_STRIP_HOST_NO_LOG_VARS:=1};
-: ${PKG_INSTALL_STRIP_HOST_INSTALL_FILES_V2:="
- +%[_files]/bin/\%[_target]-install-strip=bin/%[_target]-install-strip
- m0755=bin/%[_target]-install-strip"};
-: ${PKG_LIBTOOL_HOST_DEPENDS:="autoconf_host automake_host pkgconf_host slibtool_host"}:
-: ${PKG_LIBTOOL_HOST_SHA256SUM:=7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f};
-: ${PKG_LIBTOOL_HOST_VERSION:=2.4.6};
-: ${PKG_LIBTOOL_HOST_URL:=https://ftp.gnu.org/gnu/libtool/libtool-${PKG_LIBTOOL_HOST_VERSION}.tar.xz};
-: ${PKG_LIBTOOL_HOST_LIBTOOL:=none};
-: ${PKG_M4_HOST_DEPENDS:="pkgconf_host slibtool_host"};
-: ${PKG_M4_HOST_SHA256SUM:=63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96};
-: ${PKG_M4_HOST_VERSION:=1.4.19};
-: ${PKG_M4_HOST_URL:=https://ftp.gnu.org/gnu/m4/m4-${PKG_M4_HOST_VERSION}.tar.xz};
-: ${PKG_PKGCONF_HOST_DEPENDS:="slibtool_host"};
-: ${PKG_PKGCONF_HOST_SHA256SUM:=ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf};
-: ${PKG_PKGCONF_HOST_VERSION:=1.8.0};
-: ${PKG_PKGCONF_HOST_URL:=https://distfiles.dereferenced.org/pkgconf/pkgconf-${PKG_PKGCONF_HOST_VERSION}.tar.xz};
-: ${PKG_PKGCONF_HOST_CONFIGURE_ARGS:="--prefix=${PREFIX} --with-system-libdir=${PREFIX_NATIVE}/lib --with-system-includedir=${PREFIX_NATIVE}/include --with-pkg-config-dir=${PREFIX_NATIVE}/lib/pkgconfig --with-personality-dir=${PREFIX_NATIVE}/share/pkgconfig/personality.d"};
-: ${PKG_PKGCONF_HOST_INSTALL_FILES_V2:="
- @pkgconf=bin/pkg-config
- +%[_files]/bin/\%[_target]-pkg-config=bin/%[_target]-pkg-config
- m0755=bin/%[_target]-pkg-config"};
-: ${PKG_SLIBTOOL_HOST_URLS_GIT:="slibtool=${DEFAULT_GITROOT}/slibtool"};
-: ${PKG_SLIBTOOL_HOST_CONFIGURE_ARGS:=--prefix=};
-: ${PKG_TPAX_HOST_URLS_GIT:="tpax=https://git.midipix.org/tpax@main"};
-: ${PKG_TPAX_HOST_CONFIGURE_ARGS:=--prefix=};
-
# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/binutils_build.package b/groups.d/010.host_deps.d/binutils_build.package
new file mode 100644
index 00000000..3aef1d1b
--- /dev/null
+++ b/groups.d/010.host_deps.d/binutils_build.package
@@ -0,0 +1,14 @@
+: ${PKG_BINUTILS_BUILD_DEPENDS:="texinfo_host"};
+: ${PKG_BINUTILS_BUILD_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
+: ${PKG_BINUTILS_BUILD_VERSION:=2.24.51};
+: ${PKG_BINUTILS_BUILD_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_BUILD_VERSION}.tar.bz2};
+: ${PKG_BINUTILS_BUILD_AUTOCONF_CONFIG_GUESS:="keep"};
+: ${PKG_BINUTILS_BUILD_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --enable-install-libbfd --prefix=${PREFIX}/opt"};
+: ${PKG_BINUTILS_BUILD_LIBTOOL:=slibtool-static};
+: ${PKG_BINUTILS_BUILD_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_BUILD_VERSION}.midipix.patch"};
+: ${PKG_BINUTILS_BUILD_PREFIX:="${PREFIX}/opt"};
+: ${PKG_BINUTILS_BUILD_VARS_FILE:="vars/binutils.vars"};
+
+ex_pkg_register "binutils_build" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/bison_host.package b/groups.d/010.host_deps.d/bison_host.package
new file mode 100644
index 00000000..f020201d
--- /dev/null
+++ b/groups.d/010.host_deps.d/bison_host.package
@@ -0,0 +1,9 @@
+: ${PKG_BISON_HOST_DEPENDS:="readline_host"};
+: ${PKG_BISON_HOST_SHA256SUM:=67d68ce1e22192050525643fc0a7a22297576682bef6a5c51446903f5aeef3cf};
+: ${PKG_BISON_HOST_VERSION:=3.7.6};
+: ${PKG_BISON_HOST_URL:=https://ftp.gnu.org/gnu/bison/bison-${PKG_BISON_HOST_VERSION}.tar.xz};
+: ${PKG_BISON_HOST_ENV_VARS_EXTRA:="M4=${PREFIX}/bin/m4"};
+
+ex_pkg_register "bison_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/bmake_host.package b/groups.d/010.host_deps.d/bmake_host.package
new file mode 100644
index 00000000..e888593f
--- /dev/null
+++ b/groups.d/010.host_deps.d/bmake_host.package
@@ -0,0 +1,10 @@
+: ${PKG_BMAKE_HOST_VERSION:=20240401};
+: ${PKG_BMAKE_HOST_URL:=https://srcbase.foss21.org/base/bmake/srcbase.bmake-${PKG_BMAKE_HOST_VERSION}.tar.xz};
+: ${PKG_BMAKE_HOST_SHA256SUM:=4b760506cd1fdada8c1012558e78530ccd2deaa29aeb463411bc9d8755a40a7e};
+: ${PKG_BMAKE_HOST_SUBDIR:=bmake-20240401};
+: ${PKG_BMAKE_HOST_CONFIGURE_TYPE:="sofort"};
+: ${PKG_BMAKE_HOST_CONFIGURE_ARGS:="--prefix= --with-default-sys-path=${PREFIX}/share/mk"};
+
+ex_pkg_register "bmake_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/bzip2_host.package b/groups.d/010.host_deps.d/bzip2_host.package
new file mode 100644
index 00000000..21d424d0
--- /dev/null
+++ b/groups.d/010.host_deps.d/bzip2_host.package
@@ -0,0 +1,10 @@
+: ${PKG_BZIP2_HOST_SHA256SUM:=ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269};
+: ${PKG_BZIP2_HOST_VERSION:=1.0.8};
+: ${PKG_BZIP2_HOST_URL:=https://sourceware.org/pub/bzip2/bzip2-${PKG_BZIP2_HOST_VERSION}.tar.gz};
+: ${PKG_BZIP2_HOST_IN_TREE:=1};
+: ${PKG_BZIP2_HOST_MAKEFLAGS_BUILD_EXTRA:=-f Makefile-libbz2_so};
+: ${PKG_BZIP2_HOST_MAKE_INSTALL_VNAME:=PREFIX};
+
+ex_pkg_register "bzip2_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/ca_certificates_host.package b/groups.d/010.host_deps.d/ca_certificates_host.package
new file mode 100644
index 00000000..3aacffc6
--- /dev/null
+++ b/groups.d/010.host_deps.d/ca_certificates_host.package
@@ -0,0 +1,11 @@
+: ${PKG_CA_CERTIFICATES_HOST_DEPENDS:="libressl_host"};
+: ${PKG_CA_CERTIFICATES_HOST_URLS_GIT:="ca-certificates=https://github.com/Redfoxmoon3/ca-certificates@master"};
+: ${PKG_CA_CERTIFICATES_HOST_IN_TREE:=1};
+: ${PKG_CA_CERTIFICATES_HOST_CFLAGS_BUILD_EXTRA:=-I${PREFIX}/include};
+: ${PKG_CA_CERTIFICATES_HOST_LDFLAGS_BUILD_EXTRA:=-L${PREFIX}/lib};
+: ${PKG_CA_CERTIFICATES_HOST_ENV_VARS_EXTRA:="HOST_CC=gcc"};
+: ${PKG_CA_CERTIFICATES_HOST_VARS_FILE:="vars/ca_certificates.vars"};
+
+ex_pkg_register "ca_certificates_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/chainport_host.package b/groups.d/010.host_deps.d/chainport_host.package
new file mode 100644
index 00000000..f0272ed1
--- /dev/null
+++ b/groups.d/010.host_deps.d/chainport_host.package
@@ -0,0 +1,10 @@
+: ${PKG_CHAINPORT_HOST_URLS_GIT:="chainport=${DEFAULT_GITROOT}/ports/chainport"};
+: ${PKG_CHAINPORT_HOST_BUILD_STEPS_DISABLE:="build install_make install_rpm"};
+: ${PKG_CHAINPORT_HOST_NO_LOG_VARS:=1};
+: ${PKG_CHAINPORT_HOST_INSTALL_FILES_V2:="
+ -=%[_workdir]/chainport
+ +../chainport=%[_workdir]/chainport"};
+
+ex_pkg_register "chainport_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/clzip_host.package b/groups.d/010.host_deps.d/clzip_host.package
new file mode 100644
index 00000000..9c91be69
--- /dev/null
+++ b/groups.d/010.host_deps.d/clzip_host.package
@@ -0,0 +1,9 @@
+: ${PKG_CLZIP_HOST_SHA256SUM:=d9d51212afa80371dc2546d278ef8ebbb3cd57c06fdd761b7b204497586d24c0};
+: ${PKG_CLZIP_HOST_VERSION:=1.11};
+: ${PKG_CLZIP_HOST_URL:=http://download.savannah.gnu.org/releases/lzip/clzip/clzip-${PKG_CLZIP_HOST_VERSION}.tar.gz};
+: ${PKG_CLZIP_HOST_IN_TREE:=1};
+: ${PKG_CLZIP_HOST_INSTALL_FILES_V2:="@clzip=bin/lzip"};
+
+ex_pkg_register "clzip_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/cmake_host.package b/groups.d/010.host_deps.d/cmake_host.package
new file mode 100644
index 00000000..bc6f9efb
--- /dev/null
+++ b/groups.d/010.host_deps.d/cmake_host.package
@@ -0,0 +1,14 @@
+: ${PKG_CMAKE_HOST_DEPENDS:="bzip2_host musl_fts_host ncurses_host"};
+: ${PKG_CMAKE_HOST_SHA256SUM:=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0};
+: ${PKG_CMAKE_HOST_VERSION:=3.7.2};
+: ${PKG_CMAKE_HOST_URL:=https://cmake.org/files/v${PKG_CMAKE_HOST_VERSION%.*}/cmake-${PKG_CMAKE_HOST_VERSION}.tar.gz};
+: ${PKG_CMAKE_HOST_CONFIGURE_TYPE:="cmake"};
+: ${PKG_CMAKE_HOST_CMAKE_ARGS_EXTRA:="
+ -DCURSES_NCURSES_LIBRARY=${PREFIX}/lib/libncurses.so
+ -DLIBMD_LIBRARY=
+"};
+: ${PKG_CMAKE_HOST_INSTALL_FILES_V2:="+../cmake-${PKG_CMAKE_HOST_VERSION}/Modules/Platform/BSDOS.cmake=share/cmake-${PKG_CMAKE_HOST_VERSION%.*}/Modules/Platform/Midipix.cmake"};
+
+ex_pkg_register "cmake_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/expat_host.package b/groups.d/010.host_deps.d/expat_host.package
new file mode 100644
index 00000000..41d5ef27
--- /dev/null
+++ b/groups.d/010.host_deps.d/expat_host.package
@@ -0,0 +1,10 @@
+: ${PKG_EXPAT_HOST_SHA256SUM:=cb5f5a8ea211e1cabd59be0a933a52e3c02cc326e86a4d387d8d218e7ee47a3e};
+: ${PKG_EXPAT_HOST_VERSION:=2.6.0};
+: ${PKG_EXPAT_HOST_URL:=http://download.openpkg.org/components/cache/expat/expat-${PKG_EXPAT_HOST_VERSION}.tar.xz};
+: ${PKG_EXPAT_HOST_CONFIGURE_ARGS_EXTRA:="--without-docbook"};
+: ${PKG_EXPAT_HOST_CONFIGURE_TYPE:="autotools"};
+: ${PKG_EXPAT_HOST_LDFLAGS_CONFIGURE:="-Wl,-rpath,${PREFIX}/lib"};
+
+ex_pkg_register "expat_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/file_host.package b/groups.d/010.host_deps.d/file_host.package
new file mode 100644
index 00000000..4a0fb614
--- /dev/null
+++ b/groups.d/010.host_deps.d/file_host.package
@@ -0,0 +1,8 @@
+: ${PKG_FILE_HOST_SHA256SUM:=fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82};
+: ${PKG_FILE_HOST_VERSION:=5.45};
+: ${PKG_FILE_HOST_URL:=http://ftp.astron.com/pub/file/file-${PKG_FILE_HOST_VERSION}.tar.gz};
+: ${PKG_FILE_HOST_CONFIGURE_ARGS_EXTRA:="--disable-xzlib"};
+
+ex_pkg_register "file_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/flex_host.package b/groups.d/010.host_deps.d/flex_host.package
new file mode 100644
index 00000000..2fb1456d
--- /dev/null
+++ b/groups.d/010.host_deps.d/flex_host.package
@@ -0,0 +1,9 @@
+: ${PKG_FLEX_HOST_DEPENDS:="bison_host"};
+: ${PKG_FLEX_HOST_SHA256SUM:=e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995};
+: ${PKG_FLEX_HOST_VERSION:=2.6.4};
+: ${PKG_FLEX_HOST_URL:=https://github.com/westes/flex/releases/download/v${PKG_FLEX_HOST_VERSION}/flex-${PKG_FLEX_HOST_VERSION}.tar.gz};
+: ${PKG_FLEX_HOST_CFLAGS_CONFIGURE_EXTRA:="-D_GNU_SOURCE"};
+
+ex_pkg_register "flex_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/gdb_host.package b/groups.d/010.host_deps.d/gdb_host.package
new file mode 100644
index 00000000..fc28def1
--- /dev/null
+++ b/groups.d/010.host_deps.d/gdb_host.package
@@ -0,0 +1,17 @@
+: ${PKG_GDB_HOST_DISABLED:=1};
+: ${PKG_GDB_HOST_DEPENDS:="chainport_host expat_host ncurses_host python2_host"};
+: ${PKG_GDB_HOST_SHA256SUM:=149abac4add030a5713f15964bd7465bef7a23712bcc91377ca40949f33e93fb};
+: ${PKG_GDB_HOST_VERSION:=7.12};
+: ${PKG_GDB_HOST_URL:=ftp://sourceware.org/pub/gdb/releases/gdb-${PKG_GDB_HOST_VERSION}.tar.gz};
+: ${PKG_GDB_HOST_CFLAGS_CONFIGURE_EXTRA:="-g3 -O0 -I${PREFIX}/include/python2.7"};
+: ${PKG_GDB_HOST_CONFIGURE_ARGS:="--disable-nls --prefix= --target=${DEFAULT_TARGET} --with-system-libiberty --with-system-readline --with-system-zlib --with-python=python2.7 --with-guile=no --enable-guile=no"};
+: ${PKG_GDB_HOST_CXXFLAGS_CONFIGURE_EXTRA:="-fpermissive -g3 -O0 -I${PREFIX}/include/python2.7"};
+: ${PKG_GDB_HOST_ENV_VARS_EXTRA:="CFLAGS_FOR_TARGET=-g3 -O0 -I${PREFIX}/include/python2.7"};
+: ${PKG_GDB_HOST_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX}/lib"};
+: ${PKG_GDB_HOST_LIBTOOL:=rdlibtool};
+: ${PKG_GDB_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gdb/gdb-${PKG_GDB_HOST_VERSION}.midipix.patch"};
+: ${PKG_GDB_HOST_VARS_FILE:="vars/gdb.vars"};
+
+ex_pkg_register "gdb_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/gdbm_host.package b/groups.d/010.host_deps.d/gdbm_host.package
new file mode 100644
index 00000000..6b610cc0
--- /dev/null
+++ b/groups.d/010.host_deps.d/gdbm_host.package
@@ -0,0 +1,10 @@
+: ${PKG_GDBM_HOST_DEPENDS:="readline_host ncurses_host"};
+: ${PKG_GDBM_HOST_SHA256SUM:=86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc};
+: ${PKG_GDBM_HOST_VERSION:=1.18.1};
+: ${PKG_GDBM_HOST_URL:=ftp://ftp.gnu.org/gnu/gdbm/gdbm-${PKG_GDBM_HOST_VERSION}.tar.gz};
+: ${PKG_GDBM_HOST_CONFIGURE_ARGS_EXTRA:=--enable-libgdbm-compat};
+: ${PKG_GDBM_HOST_CFLAGS_CONFIGURE_EXTRA:="-fcommon"};
+
+ex_pkg_register "gdbm_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/glib_host.package b/groups.d/010.host_deps.d/glib_host.package
new file mode 100644
index 00000000..4853165e
--- /dev/null
+++ b/groups.d/010.host_deps.d/glib_host.package
@@ -0,0 +1,14 @@
+: ${PKG_GLIB_HOST_DEPENDS:="python3_host"};
+: ${PKG_GLIB_HOST_SHA256SUM:=d64abd16813501c956c4e123ae79f47f1b58de573df9fdd3b0795f1e2c1aa789};
+: ${PKG_GLIB_HOST_VERSION:=2.56.2};
+: ${PKG_GLIB_HOST_URL:="https://download.gnome.org/sources/glib/${PKG_GLIB_HOST_VERSION%.[0-9]}/glib-${PKG_GLIB_HOST_VERSION}.tar.xz https://ftp.pieskovisko.sk/slackware/slackware-current/source/l/glib2/glib-${PKG_GLIB_HOST_VERSION}.tar.xz"};
+: ${PKG_GLIB_HOST_BUILD_STEPS_DISABLE:=configure_patch};
+: ${PKG_GLIB_HOST_CONFIGURE_ARGS_EXTRA:="--with-pcre=internal --with-python=${PREFIX}/bin/python3 --disable-dtrace --disable-libelf --disable-libmount"};
+: ${PKG_GLIB_HOST_CFLAGS_BUILD_EXTRA:="-Wno-missing-include-dirs -Wno-format-nonliteral -Wno-format-overflow"};
+: ${PKG_GLIB_HOST_ENV_VARS_EXTRA:="LIBFFI_CFLAGS=-I${PREFIX}/lib/libffi-3.2.1/include:LIBFFI_LIBS=-L${PREFIX}/lib -lffi"};
+: ${PKG_GLIB_HOST_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX}/lib};
+: ${PKG_GLIB_HOST_VARS_FILE:="vars/glib.vars"}
+
+ex_pkg_register "glib_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/gperf_host.package b/groups.d/010.host_deps.d/gperf_host.package
new file mode 100644
index 00000000..8407d03b
--- /dev/null
+++ b/groups.d/010.host_deps.d/gperf_host.package
@@ -0,0 +1,7 @@
+: ${PKG_GPERF_HOST_SHA256SUM:=588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2};
+: ${PKG_GPERF_HOST_VERSION:=3.1};
+: ${PKG_GPERF_HOST_URL:=https://ftp.gnu.org/gnu/gperf/gperf-${PKG_GPERF_HOST_VERSION}.tar.gz};
+
+ex_pkg_register "gperf_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/infounzip_host.package b/groups.d/010.host_deps.d/infounzip_host.package
new file mode 100644
index 00000000..508f62f4
--- /dev/null
+++ b/groups.d/010.host_deps.d/infounzip_host.package
@@ -0,0 +1,6 @@
+: ${PKG_INFOUNZIP_HOST_URLS_GIT:=infounzip-host=https://github.com/Redfoxmoon3/infounzip.git@master};
+: ${PKG_INFOUNZIP_HOST_IN_TREE:=1};
+
+ex_pkg_register "infounzip_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/infozip_host.package b/groups.d/010.host_deps.d/infozip_host.package
new file mode 100644
index 00000000..a5d83f5c
--- /dev/null
+++ b/groups.d/010.host_deps.d/infozip_host.package
@@ -0,0 +1,6 @@
+: ${PKG_INFOZIP_HOST_URLS_GIT:=infozip-host=https://github.com/Redfoxmoon3/infozip.git@master};
+: ${PKG_INFOZIP_HOST_IN_TREE:=1};
+
+ex_pkg_register "infozip_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/intltool_host.package b/groups.d/010.host_deps.d/intltool_host.package
new file mode 100644
index 00000000..4bd30336
--- /dev/null
+++ b/groups.d/010.host_deps.d/intltool_host.package
@@ -0,0 +1,7 @@
+: ${PKG_INTLTOOL_HOST_SHA256SUM:=67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd};
+: ${PKG_INTLTOOL_HOST_VERSION:=0.51.0};
+: ${PKG_INTLTOOL_HOST_URL:=https://launchpad.net/intltool/trunk/${PKG_INTLTOOL_HOST_VERSION}/+download/intltool-${PKG_INTLTOOL_HOST_VERSION}.tar.gz};
+
+ex_pkg_register "intltool_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/libffi_host.package b/groups.d/010.host_deps.d/libffi_host.package
new file mode 100644
index 00000000..f28e011c
--- /dev/null
+++ b/groups.d/010.host_deps.d/libffi_host.package
@@ -0,0 +1,11 @@
+: ${PKG_LIBFFI_HOST_SHA256SUM:=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37};
+: ${PKG_LIBFFI_HOST_VERSION:=3.2.1};
+: ${PKG_LIBFFI_HOST_URL:=ftp://sourceware.org/pub/libffi/libffi-${PKG_LIBFFI_HOST_VERSION}.tar.gz};
+: ${PKG_LIBFFI_HOST_INSTALL_FILES_V2:="
+ @../lib/libffi-3.2.1/include/ffi.h=include/ffi.h
+ @../lib/libffi-3.2.1/include/ffitarget.h=include/ffitarget.h"};
+: ${PKG_LIBFFI_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/libffi/libffi-${PKG_LIBFFI_HOST_VERSION}.midipix.patch"};
+
+ex_pkg_register "libffi_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/libressl_host.package b/groups.d/010.host_deps.d/libressl_host.package
new file mode 100644
index 00000000..d8c6d205
--- /dev/null
+++ b/groups.d/010.host_deps.d/libressl_host.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBRESSL_HOST_SHA256SUM:=acfac61316e93b919c28d62d53037ca734de85c46b4d703f19fd8395cf006774};
+: ${PKG_LIBRESSL_HOST_VERSION:=3.6.1};
+: ${PKG_LIBRESSL_HOST_URL:=http://ftp.eu.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${PKG_LIBRESSL_HOST_VERSION}.tar.gz};
+: ${PKG_LIBRESSL_HOST_LDFLAGS_CONFIGURE:="-Wl,-rpath,${PREFIX}/lib"};
+
+ex_pkg_register "libressl_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/libz_host.package b/groups.d/010.host_deps.d/libz_host.package
new file mode 100644
index 00000000..55a84afa
--- /dev/null
+++ b/groups.d/010.host_deps.d/libz_host.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBZ_HOST_SHA256SUM:=abcc2831b7a0e891d0875fa852e9b9510b420d843d3d20aad010f65493fe4f7b};
+: ${PKG_LIBZ_HOST_VERSION:=1.2.8.2015.12.26};
+: ${PKG_LIBZ_HOST_URL:=https://sortix.org/libz/release/libz-${PKG_LIBZ_HOST_VERSION}.tar.gz};
+: ${PKG_LIBZ_HOST_CONFIGURE_ARGS:="--enable-shared --prefix="};
+
+ex_pkg_register "libz_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/libzip_host.package b/groups.d/010.host_deps.d/libzip_host.package
new file mode 100644
index 00000000..ff15ed15
--- /dev/null
+++ b/groups.d/010.host_deps.d/libzip_host.package
@@ -0,0 +1,11 @@
+: ${PKG_LIBZIP_HOST_DEPENDS:="cmake_host libz_host"};
+: ${PKG_LIBZIP_HOST_SHA256SUM:=a020dc1b17a79faa748e43a05f8605d65e403813e8e97ad3a300a90ddba097ac};
+: ${PKG_LIBZIP_HOST_VERSION:=1.7.1};
+: ${PKG_LIBZIP_HOST_URL:=https://libzip.org/download/libzip-${PKG_LIBZIP_HOST_VERSION}.tar.xz};
+: ${PKG_LIBZIP_HOST_CMAKE_ARGS_EXTRA:="
+ -DENABLE_GNUTLS=:BOOL=OFF
+ -DENABLE_MBEDTLS=:BOOL=OFF"};
+
+ex_pkg_register "libzip_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/mdso_host.package b/groups.d/010.host_deps.d/mdso_host.package
new file mode 100644
index 00000000..d55b8d06
--- /dev/null
+++ b/groups.d/010.host_deps.d/mdso_host.package
@@ -0,0 +1,10 @@
+: ${PKG_MDSO_HOST_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
+: ${PKG_MDSO_HOST_CONFIGURE_ARGS:="--prefix="};
+: ${PKG_MDSO_HOST_INSTALL_FILES_V2:="
+ @mdso=bin/${DEFAULT_TARGET}-mdso
+ /=${DEFAULT_TARGET}/bin
+ +bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
+
+ex_pkg_register "mdso_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/mpackage_host.package b/groups.d/010.host_deps.d/mpackage_host.package
new file mode 100644
index 00000000..2128a50c
--- /dev/null
+++ b/groups.d/010.host_deps.d/mpackage_host.package
@@ -0,0 +1,11 @@
+: ${PKG_MPACKAGE_HOST_URLS_GIT:=mpackage=${DEFAULT_GITROOT}/mpackage};
+: ${PKG_MPACKAGE_HOST_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
+: ${PKG_MPACKAGE_HOST_IN_TREE:=1};
+: ${PKG_MPACKAGE_HOST_NO_CLEAN_BUILD_DIR:=1};
+: ${PKG_MPACKAGE_HOST_PKGLIST_DISABLE:=1};
+: ${PKG_MPACKAGE_HOST_PREFIX:=${PREFIX_NATIVE}};
+: ${PKG_MPACKAGE_HOST_RPM_DISABLE:=1};
+
+ex_pkg_register "mpackage_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/musl_fts_host.package b/groups.d/010.host_deps.d/musl_fts_host.package
new file mode 100644
index 00000000..005686df
--- /dev/null
+++ b/groups.d/010.host_deps.d/musl_fts_host.package
@@ -0,0 +1,7 @@
+: ${PKG_MUSL_FTS_HOST_SHA256SUM:=32dfe02768f1d3d91ab04df4fbdb7922cd34cd529ce7081a78c3ca8b8652d1ee};
+: ${PKG_MUSL_FTS_HOST_VERSION:=1.2.7};
+: ${PKG_MUSL_FTS_HOST_URL:=https://midipix.org/mirror/musl-fts/musl-fts-${PKG_MUSL_FTS_HOST_VERSION}.tar.xz};
+
+ex_pkg_register "musl_fts_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/ncurses_host.package b/groups.d/010.host_deps.d/ncurses_host.package
new file mode 100644
index 00000000..fe158932
--- /dev/null
+++ b/groups.d/010.host_deps.d/ncurses_host.package
@@ -0,0 +1,11 @@
+: ${PKG_NCURSES_HOST_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
+: ${PKG_NCURSES_HOST_VERSION:=6.3};
+: ${PKG_NCURSES_HOST_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSES_HOST_VERSION}.tar.gz};
+: ${PKG_NCURSES_HOST_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
+: ${PKG_NCURSES_HOST_CONFIGURE_ARGS:="-C --disable-nls --prefix=${PREFIX} --program-prefix= --with-curses"};
+: ${PKG_NCURSES_HOST_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX}/lib/pkgconfig --without-manpages --without-progs --with-shared --with-termlib --without-ada --without-tests --disable-widec --without-pthread"};
+: ${PKG_NCURSES_HOST_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
+
+ex_pkg_register "ncurses_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/ncursestw_host.package b/groups.d/010.host_deps.d/ncursestw_host.package
new file mode 100644
index 00000000..da3e4028
--- /dev/null
+++ b/groups.d/010.host_deps.d/ncursestw_host.package
@@ -0,0 +1,8 @@
+: ${PKG_NCURSESTW_HOST_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
+: ${PKG_NCURSESTW_HOST_VERSION:=6.3};
+: ${PKG_NCURSESTW_HOST_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESTW_HOST_VERSION}.tar.gz};
+: ${PKG_NCURSESTW_HOST_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX}/lib/pkgconfig --without-manpages --without-progs --with-shared --with-termlib --without-ada --without-tests --disable-widec --with-pthread"};
+
+ex_pkg_register "ncursestw_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/ncursesw_host.package b/groups.d/010.host_deps.d/ncursesw_host.package
new file mode 100644
index 00000000..685c5fc9
--- /dev/null
+++ b/groups.d/010.host_deps.d/ncursesw_host.package
@@ -0,0 +1,9 @@
+: ${PKG_NCURSESW_HOST_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
+: ${PKG_NCURSESW_HOST_VERSION:=6.3};
+: ${PKG_NCURSESW_HOST_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESW_HOST_VERSION}.tar.gz};
+: ${PKG_NCURSESW_HOST_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX}/lib/pkgconfig --with-manpages --with-progs --with-shared --with-termlib --without-ada --without-tests --enable-widec --without-pthread"};
+: ${PKG_NCURSESW_HOST_INSTALL_FILES_V2:="@ncursesw/ncurses.h=include/ncurses.h"};
+
+ex_pkg_register "ncursesw_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/pcre_host.package b/groups.d/010.host_deps.d/pcre_host.package
new file mode 100644
index 00000000..031f7994
--- /dev/null
+++ b/groups.d/010.host_deps.d/pcre_host.package
@@ -0,0 +1,9 @@
+: ${PKG_PCRE_HOST_DEPENDS:="bzip2_host"};
+: ${PKG_PCRE_HOST_SHA256SUM:=0b8e7465dc5e98c757cc3650a20a7843ee4c3edf50aaf60bb33fd879690d2c73};
+: ${PKG_PCRE_HOST_VERSION:=8.43};
+: ${PKG_PCRE_HOST_URL:="https://osdn.net/frs/g_redir.php?m=gigenet&f=pcre%2Fpcre%2F8.43%2Fpcre-${PKG_PCRE_HOST_VERSION}.tar.gz"};
+: ${PKG_PCRE_HOST_FNAME:="pcre-${PKG_PCRE_HOST_VERSION}.tar.gz"};
+
+ex_pkg_register "pcre_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/perk_host.package b/groups.d/010.host_deps.d/perk_host.package
new file mode 100644
index 00000000..4147ab18
--- /dev/null
+++ b/groups.d/010.host_deps.d/perk_host.package
@@ -0,0 +1,9 @@
+: ${PKG_PERK_HOST_DEPENDS:="mdso_host"};
+: ${PKG_PERK_HOST_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
+: ${PKG_PERK_HOST_CONFIGURE_ARGS:="--prefix="};
+: ${PKG_PERK_HOST_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
+: ${PKG_PERK_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
+
+ex_pkg_register "perk_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/python2_host.package b/groups.d/010.host_deps.d/python2_host.package
new file mode 100644
index 00000000..8da337b2
--- /dev/null
+++ b/groups.d/010.host_deps.d/python2_host.package
@@ -0,0 +1,17 @@
+: ${PKG_PYTHON2_HOST_DEPENDS:="bzip2_host expat_host gdbm_host libffi_host readline_host libz_host ncurses_host ncursesw_host sqlite3_host"};
+: ${PKG_PYTHON2_HOST_SHA256SUM:=b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43};
+: ${PKG_PYTHON2_HOST_VERSION:=2.7.18};
+: ${PKG_PYTHON2_HOST_URL:="https://www.python.org/ftp/python/${PKG_PYTHON2_HOST_VERSION}/Python-${PKG_PYTHON2_HOST_VERSION}.tar.xz"};
+: ${PKG_PYTHON2_HOST_URLS_GIT:="build/sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"};
+: ${PKG_PYTHON2_HOST_BASE_DIR:=${BUILD_WORKDIR}/python2_host-host-${DEFAULT_TARGET}};
+: ${PKG_PYTHON2_HOST_BUILD_DIR:=build/python2};
+: ${PKG_PYTHON2_HOST_CONFIGURE:=build/sbpython2/configure};
+: ${PKG_PYTHON2_HOST_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON2_HOST_VERSION} --prefix=${PREFIX}"};
+: ${PKG_PYTHON2_HOST_CONFIGURE_TYPE:="sofort"};
+: ${PKG_PYTHON2_HOST_INSTALL_FILES_V2:="+%[_files]/bin/python2.7-config=bin/%[FNAME]"};
+: ${PKG_PYTHON2_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= EXEC_PREFIX= BINDIR=/bin SBINDIR=/sbin LIBDIR=/lib INCLUDEDIR=/include OLDINCLUDEDIR=/include MANDIR=/share/man DOCDIR=/share/doc LIBEXECDIR=/libexec"};
+: ${PKG_PYTHON2_HOST_SUBDIR:=Python-${PKG_PYTHON2_HOST_VERSION}};
+
+ex_pkg_register "python2_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/python3_host.package b/groups.d/010.host_deps.d/python3_host.package
new file mode 100644
index 00000000..9d38e427
--- /dev/null
+++ b/groups.d/010.host_deps.d/python3_host.package
@@ -0,0 +1,17 @@
+: ${PKG_PYTHON3_HOST_DEPENDS:="bzip2_host expat_host gdbm_host libffi_host readline_host libressl_host libz_host ncurses_host ncursesw_host sqlite3_host xz_host"};
+: ${PKG_PYTHON3_HOST_SHA256SUM:=f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b};
+: ${PKG_PYTHON3_HOST_VERSION:=3.7.10};
+: ${PKG_PYTHON3_HOST_URL:="https://www.python.org/ftp/python/${PKG_PYTHON3_HOST_VERSION}/Python-${PKG_PYTHON3_HOST_VERSION}.tar.xz"};
+: ${PKG_PYTHON3_HOST_URLS_GIT:="build/sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"};
+: ${PKG_PYTHON3_HOST_BASE_DIR:=${BUILD_WORKDIR}/python3_host-host-${DEFAULT_TARGET}};
+: ${PKG_PYTHON3_HOST_BUILD_DIR:=build/python3};
+: ${PKG_PYTHON3_HOST_CONFIGURE:=build/sbpython3/configure};
+: ${PKG_PYTHON3_HOST_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_HOST_VERSION} --prefix=${PREFIX}"};
+: ${PKG_PYTHON3_HOST_CONFIGURE_TYPE:="sofort"};
+: ${PKG_PYTHON3_HOST_INSTALL_FILES_V2:="@python3=bin/python"};
+: ${PKG_PYTHON3_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= EXEC_PREFIX= BINDIR=/bin SBINDIR=/sbin LIBDIR=/lib INCLUDEDIR=/include OLDINCLUDEDIR=/include MANDIR=/share/man DOCDIR=/share/doc LIBEXECDIR=/libexec"};
+: ${PKG_PYTHON3_HOST_SUBDIR:=Python-${PKG_PYTHON3_HOST_VERSION}};
+
+ex_pkg_register "python3_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/re2c_host.package b/groups.d/010.host_deps.d/re2c_host.package
new file mode 100644
index 00000000..9ef2b225
--- /dev/null
+++ b/groups.d/010.host_deps.d/re2c_host.package
@@ -0,0 +1,8 @@
+: ${PKG_RE2C_HOST_DEPENDS:="python3_host"};
+: ${PKG_RE2C_HOST_SHA256SUM:=0ac299ad359e3f512b06a99397d025cfff81d3be34464ded0656f8a96676c029};
+: ${PKG_RE2C_HOST_VERSION:=3.1};
+: ${PKG_RE2C_HOST_URL:=https://github.com/skvadrik/re2c/releases/download/${PKG_RE2C_HOST_VERSION}/re2c-${PKG_RE2C_HOST_VERSION}.tar.xz};
+
+ex_pkg_register "re2c_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/readline_host.package b/groups.d/010.host_deps.d/readline_host.package
new file mode 100644
index 00000000..071a7210
--- /dev/null
+++ b/groups.d/010.host_deps.d/readline_host.package
@@ -0,0 +1,11 @@
+: ${PKG_READLINE_HOST_DEPENDS:="ncurses_host ncursestw_host ncursesw_host"};
+: ${PKG_READLINE_HOST_SHA256SUM:=3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35};
+: ${PKG_READLINE_HOST_VERSION:=8.2};
+: ${PKG_READLINE_HOST_URL:=https://ftp.gnu.org/gnu/readline/readline-${PKG_READLINE_HOST_VERSION}.tar.gz};
+: ${PKG_READLINE_HOST_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
+: ${PKG_READLINE_HOST_CONFIGURE_ARGS_EXTRA:="--with-curses"};
+: ${PKG_READLINE_HOST_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
+
+ex_pkg_register "readline_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/ruby_host.package b/groups.d/010.host_deps.d/ruby_host.package
new file mode 100644
index 00000000..53df7757
--- /dev/null
+++ b/groups.d/010.host_deps.d/ruby_host.package
@@ -0,0 +1,12 @@
+: ${PKG_RUBY_HOST_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507};
+: ${PKG_RUBY_HOST_VERSION:=2.3.0};
+: ${PKG_RUBY_HOST_URL:=https://cache.ruby-lang.org/pub/ruby/${PKG_RUBY_HOST_VERSION%.*}/ruby-${PKG_RUBY_HOST_VERSION}.tar.gz};
+: ${PKG_RUBY_HOST_BUILD_STEPS_DISABLE:=configure_patch};
+: ${PKG_RUBY_HOST_CFLAGS_CONFIGURE:="-g0 -O1 -DHAVE_RL_USERNAME_COMPLETION_FUNCTION=1"};
+: ${PKG_RUBY_HOST_CONFIGURE_ARGS_EXTRA:="--disable-install-rdoc --with-out-ext=fiddle,openssl"};
+: ${PKG_RUBY_HOST_MAKEFLAGS_VERBOSITY:="none"};
+: ${PKG_RUBY_HOST_VARS_FILE:="vars/ruby.vars"}
+
+ex_pkg_register "ruby_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/sbsigntools_host.package b/groups.d/010.host_deps.d/sbsigntools_host.package
new file mode 100644
index 00000000..2bdc5d68
--- /dev/null
+++ b/groups.d/010.host_deps.d/sbsigntools_host.package
@@ -0,0 +1,10 @@
+: ${PKG_SBSIGNTOOLS_HOST_DEPENDS:="binutils_build libressl_host util_linux_host"};
+: ${PKG_SBSIGNTOOLS_HOST_URLS_GIT:=sbsigntools-master=https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git@master};
+: ${PKG_SBSIGNTOOLS_HOST_SUBDIR:=sbsigntools-master};
+: ${PKG_SBSIGNTOOLS_HOST_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX}/opt/include"};
+: ${PKG_SBSIGNTOOLS_HOST_IN_TREE:=1};
+: ${PKG_SBSIGNTOOLS_HOST_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX}/opt/lib"};
+
+ex_pkg_register "sbsigntools_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/sqlite3_host.package b/groups.d/010.host_deps.d/sqlite3_host.package
new file mode 100644
index 00000000..a1584fed
--- /dev/null
+++ b/groups.d/010.host_deps.d/sqlite3_host.package
@@ -0,0 +1,8 @@
+: ${PKG_SQLITE3_HOST_DEPENDS:="readline_host ncurses_host"};
+: ${PKG_SQLITE3_HOST_SHA256SUM:=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3};
+: ${PKG_SQLITE3_HOST_VERSION:=3360000};
+: ${PKG_SQLITE3_HOST_URL:=https://sqlite.org/2021/sqlite-autoconf-${PKG_SQLITE3_HOST_VERSION}.tar.gz};
+
+ex_pkg_register "sqlite3_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/texinfo_host.package b/groups.d/010.host_deps.d/texinfo_host.package
new file mode 100644
index 00000000..75d6ea4f
--- /dev/null
+++ b/groups.d/010.host_deps.d/texinfo_host.package
@@ -0,0 +1,12 @@
+: ${PKG_TEXINFO_HOST_SHA256SUM:=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa};
+: ${PKG_TEXINFO_HOST_VERSION:=6.7};
+: ${PKG_TEXINFO_HOST_URL:=https://ftp.gnu.org/gnu/texinfo/texinfo-${PKG_TEXINFO_HOST_VERSION}.tar.xz};
+: ${PKG_TEXINFO_HOST_INSTALL_FILES_V2:="
+ !bin/makeinfo=bin/makeinfo.dist
+ +%[_files]/bin/makeinfo=bin/makeinfo
+ m0755=bin/makeinfo"};
+: ${PKG_TEXINFO_HOST_LIBTOOL:=rdlibtool};
+
+ex_pkg_register "texinfo_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/tzdb_host.package b/groups.d/010.host_deps.d/tzdb_host.package
new file mode 100644
index 00000000..1db45d1c
--- /dev/null
+++ b/groups.d/010.host_deps.d/tzdb_host.package
@@ -0,0 +1,10 @@
+: ${PKG_TZDB_HOST_DEPENDS:="clzip_host"};
+: ${PKG_TZDB_HOST_SHA256SUM:=511af6b467f40b1ec9ac3684d1701793af470f3e29ddfb97b82be438e8601a7a};
+: ${PKG_TZDB_HOST_VERSION:=2024a};
+: ${PKG_TZDB_HOST_URL:=https://data.iana.org/time-zones/releases/tzdb-${PKG_TZDB_HOST_VERSION}.tar.lz};
+: ${PKG_TZDB_HOST_BUILD_DIR:="tzdb-${PKG_TZDB_HOST_VERSION}"};
+: ${PKG_TZDB_HOST_INSTALL_FILES_V2:="-=etc/%<*>"};
+
+ex_pkg_register "tzdb_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/util_linux_host.package b/groups.d/010.host_deps.d/util_linux_host.package
new file mode 100644
index 00000000..62fec998
--- /dev/null
+++ b/groups.d/010.host_deps.d/util_linux_host.package
@@ -0,0 +1,9 @@
+: ${PKG_UTIL_LINUX_HOST_DEPENDS:="ncursesw_host"};
+: ${PKG_UTIL_LINUX_HOST_SHA256SUM:=37de03dbb98cdeffdf9e754122b0aca2a9bbdc19769f6570dfcb6f123643bf53};
+: ${PKG_UTIL_LINUX_HOST_VERSION:=2.36.1};
+: ${PKG_UTIL_LINUX_HOST_URL:=https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${PKG_UTIL_LINUX_HOST_VERSION%.*}/util-linux-${PKG_UTIL_LINUX_HOST_VERSION}.tar.gz};
+: ${PKG_UTIL_LINUX_HOST_CONFIGURE_ARGS_EXTRA:="--disable-all-programs --enable-libuuid"};
+
+ex_pkg_register "util_linux" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.d/xz_host.package b/groups.d/010.host_deps.d/xz_host.package
new file mode 100644
index 00000000..0e30bf06
--- /dev/null
+++ b/groups.d/010.host_deps.d/xz_host.package
@@ -0,0 +1,7 @@
+: ${PKG_XZ_HOST_SHA256SUM:=3e1e518ffc912f86608a8cb35e4bd41ad1aec210df2a47aaa1f95e7f5576ef56};
+: ${PKG_XZ_HOST_VERSION:=5.2.5};
+: ${PKG_XZ_HOST_URL:=https://mirror.midipix.org/xz/xz-${PKG_XZ_HOST_VERSION}.tar.xz};
+
+ex_pkg_register "xz_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/010.host_deps.group b/groups.d/010.host_deps.group
index 053011e8..1f188df3 100644
--- a/groups.d/010.host_deps.group
+++ b/groups.d/010.host_deps.group
@@ -9,270 +9,8 @@ HOST_DEPS_CONFIGURE_ARGS="--disable-nls --prefix=${PREFIX} --program-prefix=";
HOST_DEPS_GROUP_DEPENDS="host_tools";
HOST_DEPS_LDFLAGS_CONFIGURE="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib";
HOST_DEPS_MAKEFLAGS_INSTALL="prefix= PREFIX=";
-HOST_DEPS_PACKAGES="
-binutils_build bison_host bmake_host bzip2_host ca_certificates_host
-chainport_host clzip_host cmake_host
-expat_host file_host flex_host gdb_host gdbm_host glib_host gperf_host
-infounzip_host infozip_host intltool_host libffi_host
-libressl_host libz_host libzip_host mdso_host mpackage_host
-musl_fts_host ncurses_host ncursestw_host ncursesw_host pcre_host
-perk_host python2_host python3_host readline_host re2c_host ruby_host sbsigntools_host
-sqlite3_host texinfo_host tzdb_host util_linux_host xz_host";
HOST_DEPS_PKG_CONFIG="${PREFIX}/bin/pkgconf";
HOST_DEPS_PREFIX="${PREFIX}";
HOST_DEPS_TOOLS_RPM_DISABLE=1;
-: ${PKG_BINUTILS_BUILD_DEPENDS:="texinfo_host"};
-: ${PKG_BINUTILS_BUILD_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
-: ${PKG_BINUTILS_BUILD_VERSION:=2.24.51};
-: ${PKG_BINUTILS_BUILD_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_BUILD_VERSION}.tar.bz2};
-: ${PKG_BINUTILS_BUILD_AUTOCONF_CONFIG_GUESS:="keep"};
-: ${PKG_BINUTILS_BUILD_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --enable-install-libbfd --prefix=${PREFIX}/opt"};
-: ${PKG_BINUTILS_BUILD_LIBTOOL:=slibtool-static};
-: ${PKG_BINUTILS_BUILD_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_BUILD_VERSION}.midipix.patch"};
-: ${PKG_BINUTILS_BUILD_PREFIX:="${PREFIX}/opt"};
-: ${PKG_BINUTILS_BUILD_VARS_FILE:="vars/binutils.vars"};
-: ${PKG_BISON_HOST_DEPENDS:="readline_host"};
-: ${PKG_BISON_HOST_SHA256SUM:=67d68ce1e22192050525643fc0a7a22297576682bef6a5c51446903f5aeef3cf};
-: ${PKG_BISON_HOST_VERSION:=3.7.6};
-: ${PKG_BISON_HOST_URL:=https://ftp.gnu.org/gnu/bison/bison-${PKG_BISON_HOST_VERSION}.tar.xz};
-: ${PKG_BISON_HOST_ENV_VARS_EXTRA:="M4=${PREFIX}/bin/m4"};
-
-: ${PKG_BMAKE_HOST_VERSION:=20240401};
-: ${PKG_BMAKE_HOST_URL:=https://srcbase.foss21.org/base/bmake/srcbase.bmake-${PKG_BMAKE_HOST_VERSION}.tar.xz};
-: ${PKG_BMAKE_HOST_SHA256SUM:=4b760506cd1fdada8c1012558e78530ccd2deaa29aeb463411bc9d8755a40a7e};
-: ${PKG_BMAKE_HOST_SUBDIR:=bmake-20240401};
-: ${PKG_BMAKE_HOST_CONFIGURE_TYPE:="sofort"};
-: ${PKG_BMAKE_HOST_CONFIGURE_ARGS:="--prefix= --with-default-sys-path=${PREFIX}/share/mk"};
-
-: ${PKG_BZIP2_HOST_SHA256SUM:=ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269};
-: ${PKG_BZIP2_HOST_VERSION:=1.0.8};
-: ${PKG_BZIP2_HOST_URL:=https://sourceware.org/pub/bzip2/bzip2-${PKG_BZIP2_HOST_VERSION}.tar.gz};
-: ${PKG_BZIP2_HOST_IN_TREE:=1};
-: ${PKG_BZIP2_HOST_MAKEFLAGS_BUILD_EXTRA:=-f Makefile-libbz2_so};
-: ${PKG_BZIP2_HOST_MAKE_INSTALL_VNAME:=PREFIX};
-: ${PKG_CA_CERTIFICATES_HOST_DEPENDS:="libressl_host"};
-: ${PKG_CA_CERTIFICATES_HOST_URLS_GIT:="ca-certificates=https://github.com/Redfoxmoon3/ca-certificates@master"};
-: ${PKG_CA_CERTIFICATES_HOST_IN_TREE:=1};
-: ${PKG_CA_CERTIFICATES_HOST_CFLAGS_BUILD_EXTRA:=-I${PREFIX}/include};
-: ${PKG_CA_CERTIFICATES_HOST_LDFLAGS_BUILD_EXTRA:=-L${PREFIX}/lib};
-: ${PKG_CA_CERTIFICATES_HOST_ENV_VARS_EXTRA:="HOST_CC=gcc"};
-: ${PKG_CA_CERTIFICATES_HOST_VARS_FILE:="vars/ca_certificates.vars"};
-: ${PKG_CHAINPORT_HOST_URLS_GIT:="chainport=${DEFAULT_GITROOT}/ports/chainport"};
-: ${PKG_CHAINPORT_HOST_BUILD_STEPS_DISABLE:="build install_make install_rpm"};
-: ${PKG_CHAINPORT_HOST_NO_LOG_VARS:=1};
-: ${PKG_CHAINPORT_HOST_INSTALL_FILES_V2:="
- -=%[_workdir]/chainport
- +../chainport=%[_workdir]/chainport"};
-: ${PKG_CLZIP_HOST_SHA256SUM:=d9d51212afa80371dc2546d278ef8ebbb3cd57c06fdd761b7b204497586d24c0};
-: ${PKG_CLZIP_HOST_VERSION:=1.11};
-: ${PKG_CLZIP_HOST_URL:=http://download.savannah.gnu.org/releases/lzip/clzip/clzip-${PKG_CLZIP_HOST_VERSION}.tar.gz};
-: ${PKG_CLZIP_HOST_IN_TREE:=1};
-: ${PKG_CLZIP_HOST_INSTALL_FILES_V2:="@clzip=bin/lzip"};
-: ${PKG_CMAKE_HOST_DEPENDS:="bzip2_host musl_fts_host ncurses_host"};
-: ${PKG_CMAKE_HOST_SHA256SUM:=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0};
-: ${PKG_CMAKE_HOST_VERSION:=3.7.2};
-: ${PKG_CMAKE_HOST_URL:=https://cmake.org/files/v${PKG_CMAKE_HOST_VERSION%.*}/cmake-${PKG_CMAKE_HOST_VERSION}.tar.gz};
-: ${PKG_CMAKE_HOST_CONFIGURE_TYPE:="cmake"};
-: ${PKG_CMAKE_HOST_CMAKE_ARGS_EXTRA:="
- -DCURSES_NCURSES_LIBRARY=${PREFIX}/lib/libncurses.so
- -DLIBMD_LIBRARY=
-"};
-: ${PKG_CMAKE_HOST_INSTALL_FILES_V2:="+../cmake-${PKG_CMAKE_HOST_VERSION}/Modules/Platform/BSDOS.cmake=share/cmake-${PKG_CMAKE_HOST_VERSION%.*}/Modules/Platform/Midipix.cmake"};
-: ${PKG_EXPAT_HOST_SHA256SUM:=cb5f5a8ea211e1cabd59be0a933a52e3c02cc326e86a4d387d8d218e7ee47a3e};
-: ${PKG_EXPAT_HOST_VERSION:=2.6.0};
-: ${PKG_EXPAT_HOST_URL:=http://download.openpkg.org/components/cache/expat/expat-${PKG_EXPAT_HOST_VERSION}.tar.xz};
-: ${PKG_EXPAT_HOST_CONFIGURE_ARGS_EXTRA:="--without-docbook"};
-: ${PKG_EXPAT_HOST_CONFIGURE_TYPE:="autotools"};
-: ${PKG_EXPAT_HOST_LDFLAGS_CONFIGURE:="-Wl,-rpath,${PREFIX}/lib"};
-: ${PKG_FILE_HOST_SHA256SUM:=fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82};
-: ${PKG_FILE_HOST_VERSION:=5.45};
-: ${PKG_FILE_HOST_URL:=http://ftp.astron.com/pub/file/file-${PKG_FILE_HOST_VERSION}.tar.gz};
-: ${PKG_FILE_HOST_CONFIGURE_ARGS_EXTRA:="--disable-xzlib"};
-: ${PKG_FLEX_HOST_DEPENDS:="bison_host"};
-: ${PKG_FLEX_HOST_SHA256SUM:=e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995};
-: ${PKG_FLEX_HOST_VERSION:=2.6.4};
-: ${PKG_FLEX_HOST_URL:=https://github.com/westes/flex/releases/download/v${PKG_FLEX_HOST_VERSION}/flex-${PKG_FLEX_HOST_VERSION}.tar.gz};
-: ${PKG_FLEX_HOST_CFLAGS_CONFIGURE_EXTRA:="-D_GNU_SOURCE"};
-: ${PKG_GDB_HOST_DISABLED:=1};
-: ${PKG_GDB_HOST_DEPENDS:="chainport_host expat_host ncurses_host python2_host"};
-: ${PKG_GDB_HOST_SHA256SUM:=149abac4add030a5713f15964bd7465bef7a23712bcc91377ca40949f33e93fb};
-: ${PKG_GDB_HOST_VERSION:=7.12};
-: ${PKG_GDB_HOST_URL:=ftp://sourceware.org/pub/gdb/releases/gdb-${PKG_GDB_HOST_VERSION}.tar.gz};
-: ${PKG_GDB_HOST_CFLAGS_CONFIGURE_EXTRA:="-g3 -O0 -I${PREFIX}/include/python2.7"};
-: ${PKG_GDB_HOST_CONFIGURE_ARGS:="--disable-nls --prefix= --target=${DEFAULT_TARGET} --with-system-libiberty --with-system-readline --with-system-zlib --with-python=python2.7 --with-guile=no --enable-guile=no"};
-: ${PKG_GDB_HOST_CXXFLAGS_CONFIGURE_EXTRA:="-fpermissive -g3 -O0 -I${PREFIX}/include/python2.7"};
-: ${PKG_GDB_HOST_ENV_VARS_EXTRA:="CFLAGS_FOR_TARGET=-g3 -O0 -I${PREFIX}/include/python2.7"};
-: ${PKG_GDB_HOST_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX}/lib"};
-: ${PKG_GDB_HOST_LIBTOOL:=rdlibtool};
-: ${PKG_GDB_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gdb/gdb-${PKG_GDB_HOST_VERSION}.midipix.patch"};
-: ${PKG_GDB_HOST_VARS_FILE:="vars/gdb.vars"};
-: ${PKG_GDBM_HOST_DEPENDS:="readline_host ncurses_host"};
-: ${PKG_GDBM_HOST_SHA256SUM:=86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc};
-: ${PKG_GDBM_HOST_VERSION:=1.18.1};
-: ${PKG_GDBM_HOST_URL:=ftp://ftp.gnu.org/gnu/gdbm/gdbm-${PKG_GDBM_HOST_VERSION}.tar.gz};
-: ${PKG_GDBM_HOST_CONFIGURE_ARGS_EXTRA:=--enable-libgdbm-compat};
-: ${PKG_GDBM_HOST_CFLAGS_CONFIGURE_EXTRA:="-fcommon"};
-: ${PKG_GLIB_HOST_DEPENDS:="python3_host"};
-: ${PKG_GLIB_HOST_SHA256SUM:=d64abd16813501c956c4e123ae79f47f1b58de573df9fdd3b0795f1e2c1aa789};
-: ${PKG_GLIB_HOST_VERSION:=2.56.2};
-: ${PKG_GLIB_HOST_URL:="https://download.gnome.org/sources/glib/${PKG_GLIB_HOST_VERSION%.[0-9]}/glib-${PKG_GLIB_HOST_VERSION}.tar.xz https://ftp.pieskovisko.sk/slackware/slackware-current/source/l/glib2/glib-${PKG_GLIB_HOST_VERSION}.tar.xz"};
-: ${PKG_GLIB_HOST_BUILD_STEPS_DISABLE:=configure_patch};
-: ${PKG_GLIB_HOST_CONFIGURE_ARGS_EXTRA:="--with-pcre=internal --with-python=${PREFIX}/bin/python3 --disable-dtrace --disable-libelf --disable-libmount"};
-: ${PKG_GLIB_HOST_CFLAGS_BUILD_EXTRA:="-Wno-missing-include-dirs -Wno-format-nonliteral -Wno-format-overflow"};
-: ${PKG_GLIB_HOST_ENV_VARS_EXTRA:="LIBFFI_CFLAGS=-I${PREFIX}/lib/libffi-3.2.1/include:LIBFFI_LIBS=-L${PREFIX}/lib -lffi"};
-: ${PKG_GLIB_HOST_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX}/lib};
-: ${PKG_GLIB_HOST_VARS_FILE:="vars/glib.vars"}
-: ${PKG_GPERF_HOST_SHA256SUM:=588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2};
-: ${PKG_GPERF_HOST_VERSION:=3.1};
-: ${PKG_GPERF_HOST_URL:=https://ftp.gnu.org/gnu/gperf/gperf-${PKG_GPERF_HOST_VERSION}.tar.gz};
-: ${PKG_INFOUNZIP_HOST_URLS_GIT:=infounzip-host=https://github.com/Redfoxmoon3/infounzip.git@master};
-: ${PKG_INFOUNZIP_HOST_IN_TREE:=1};
-: ${PKG_INFOZIP_HOST_URLS_GIT:=infozip-host=https://github.com/Redfoxmoon3/infozip.git@master};
-: ${PKG_INFOZIP_HOST_IN_TREE:=1};
-: ${PKG_INTLTOOL_HOST_SHA256SUM:=67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd};
-: ${PKG_INTLTOOL_HOST_VERSION:=0.51.0};
-: ${PKG_INTLTOOL_HOST_URL:=https://launchpad.net/intltool/trunk/${PKG_INTLTOOL_HOST_VERSION}/+download/intltool-${PKG_INTLTOOL_HOST_VERSION}.tar.gz};
-: ${PKG_LIBFFI_HOST_SHA256SUM:=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37};
-: ${PKG_LIBFFI_HOST_VERSION:=3.2.1};
-: ${PKG_LIBFFI_HOST_URL:=ftp://sourceware.org/pub/libffi/libffi-${PKG_LIBFFI_HOST_VERSION}.tar.gz};
-: ${PKG_LIBFFI_HOST_INSTALL_FILES_V2:="
- @../lib/libffi-3.2.1/include/ffi.h=include/ffi.h
- @../lib/libffi-3.2.1/include/ffitarget.h=include/ffitarget.h"};
-: ${PKG_LIBFFI_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/libffi/libffi-${PKG_LIBFFI_HOST_VERSION}.midipix.patch"};
-: ${PKG_LIBRESSL_HOST_SHA256SUM:=acfac61316e93b919c28d62d53037ca734de85c46b4d703f19fd8395cf006774};
-: ${PKG_LIBRESSL_HOST_VERSION:=3.6.1};
-: ${PKG_LIBRESSL_HOST_URL:=http://ftp.eu.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${PKG_LIBRESSL_HOST_VERSION}.tar.gz};
-: ${PKG_LIBRESSL_HOST_LDFLAGS_CONFIGURE:="-Wl,-rpath,${PREFIX}/lib"};
-: ${PKG_LIBZ_HOST_SHA256SUM:=abcc2831b7a0e891d0875fa852e9b9510b420d843d3d20aad010f65493fe4f7b};
-: ${PKG_LIBZ_HOST_VERSION:=1.2.8.2015.12.26};
-: ${PKG_LIBZ_HOST_URL:=https://sortix.org/libz/release/libz-${PKG_LIBZ_HOST_VERSION}.tar.gz};
-: ${PKG_LIBZ_HOST_CONFIGURE_ARGS:="--enable-shared --prefix="};
-: ${PKG_LIBZIP_HOST_DEPENDS:="cmake_host libz_host"};
-: ${PKG_LIBZIP_HOST_SHA256SUM:=a020dc1b17a79faa748e43a05f8605d65e403813e8e97ad3a300a90ddba097ac};
-: ${PKG_LIBZIP_HOST_VERSION:=1.7.1};
-: ${PKG_LIBZIP_HOST_URL:=https://libzip.org/download/libzip-${PKG_LIBZIP_HOST_VERSION}.tar.xz};
-: ${PKG_LIBZIP_HOST_CMAKE_ARGS_EXTRA:="
- -DENABLE_GNUTLS=:BOOL=OFF
- -DENABLE_MBEDTLS=:BOOL=OFF"};
-: ${PKG_MDSO_HOST_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
-: ${PKG_MDSO_HOST_CONFIGURE_ARGS:="--prefix="};
-: ${PKG_MDSO_HOST_INSTALL_FILES_V2:="
- @mdso=bin/${DEFAULT_TARGET}-mdso
- /=${DEFAULT_TARGET}/bin
- +bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
-: ${PKG_MPACKAGE_HOST_URLS_GIT:=mpackage=${DEFAULT_GITROOT}/mpackage};
-: ${PKG_MPACKAGE_HOST_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
-: ${PKG_MPACKAGE_HOST_IN_TREE:=1};
-: ${PKG_MPACKAGE_HOST_NO_CLEAN_BUILD_DIR:=1};
-: ${PKG_MPACKAGE_HOST_PKGLIST_DISABLE:=1};
-: ${PKG_MPACKAGE_HOST_PREFIX:=${PREFIX_NATIVE}};
-: ${PKG_MPACKAGE_HOST_RPM_DISABLE:=1};
-: ${PKG_MUSL_FTS_HOST_SHA256SUM:=32dfe02768f1d3d91ab04df4fbdb7922cd34cd529ce7081a78c3ca8b8652d1ee};
-: ${PKG_MUSL_FTS_HOST_VERSION:=1.2.7};
-: ${PKG_MUSL_FTS_HOST_URL:=https://midipix.org/mirror/musl-fts/musl-fts-${PKG_MUSL_FTS_HOST_VERSION}.tar.xz};
-: ${PKG_NCURSES_HOST_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
-: ${PKG_NCURSES_HOST_VERSION:=6.3};
-: ${PKG_NCURSES_HOST_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSES_HOST_VERSION}.tar.gz};
-: ${PKG_NCURSES_HOST_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
-: ${PKG_NCURSES_HOST_CONFIGURE_ARGS:="-C --disable-nls --prefix=${PREFIX} --program-prefix= --with-curses"};
-: ${PKG_NCURSES_HOST_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX}/lib/pkgconfig --without-manpages --without-progs --with-shared --with-termlib --without-ada --without-tests --disable-widec --without-pthread"};
-: ${PKG_NCURSES_HOST_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
-: ${PKG_NCURSESTW_HOST_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
-: ${PKG_NCURSESTW_HOST_VERSION:=6.3};
-: ${PKG_NCURSESTW_HOST_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESTW_HOST_VERSION}.tar.gz};
-: ${PKG_NCURSESTW_HOST_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX}/lib/pkgconfig --without-manpages --without-progs --with-shared --with-termlib --without-ada --without-tests --disable-widec --with-pthread"};
-: ${PKG_NCURSESW_HOST_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
-: ${PKG_NCURSESW_HOST_VERSION:=6.3};
-: ${PKG_NCURSESW_HOST_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESW_HOST_VERSION}.tar.gz};
-: ${PKG_NCURSESW_HOST_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX}/lib/pkgconfig --with-manpages --with-progs --with-shared --with-termlib --without-ada --without-tests --enable-widec --without-pthread"};
-: ${PKG_NCURSESW_HOST_INSTALL_FILES_V2:="@ncursesw/ncurses.h=include/ncurses.h"};
-: ${PKG_PCRE_HOST_DEPENDS:="bzip2_host"};
-: ${PKG_PCRE_HOST_SHA256SUM:=0b8e7465dc5e98c757cc3650a20a7843ee4c3edf50aaf60bb33fd879690d2c73};
-: ${PKG_PCRE_HOST_VERSION:=8.43};
-: ${PKG_PCRE_HOST_URL:="https://osdn.net/frs/g_redir.php?m=gigenet&f=pcre%2Fpcre%2F8.43%2Fpcre-${PKG_PCRE_HOST_VERSION}.tar.gz"};
-: ${PKG_PCRE_HOST_FNAME:="pcre-${PKG_PCRE_HOST_VERSION}.tar.gz"};
-: ${PKG_PERK_HOST_DEPENDS:="mdso_host"};
-: ${PKG_PERK_HOST_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
-: ${PKG_PERK_HOST_CONFIGURE_ARGS:="--prefix="};
-: ${PKG_PERK_HOST_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
-: ${PKG_PERK_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
-: ${PKG_PYTHON2_HOST_DEPENDS:="bzip2_host expat_host gdbm_host libffi_host readline_host libz_host ncurses_host ncursesw_host sqlite3_host"};
-: ${PKG_PYTHON2_HOST_SHA256SUM:=b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43};
-: ${PKG_PYTHON2_HOST_VERSION:=2.7.18};
-: ${PKG_PYTHON2_HOST_URL:="https://www.python.org/ftp/python/${PKG_PYTHON2_HOST_VERSION}/Python-${PKG_PYTHON2_HOST_VERSION}.tar.xz"};
-: ${PKG_PYTHON2_HOST_URLS_GIT:="build/sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"};
-: ${PKG_PYTHON2_HOST_BASE_DIR:=${BUILD_WORKDIR}/python2_host-host-${DEFAULT_TARGET}};
-: ${PKG_PYTHON2_HOST_BUILD_DIR:=build/python2};
-: ${PKG_PYTHON2_HOST_CONFIGURE:=build/sbpython2/configure};
-: ${PKG_PYTHON2_HOST_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON2_HOST_VERSION} --prefix=${PREFIX}"};
-: ${PKG_PYTHON2_HOST_CONFIGURE_TYPE:="sofort"};
-: ${PKG_PYTHON2_HOST_INSTALL_FILES_V2:="+%[_files]/bin/python2.7-config=bin/%[FNAME]"};
-: ${PKG_PYTHON2_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= EXEC_PREFIX= BINDIR=/bin SBINDIR=/sbin LIBDIR=/lib INCLUDEDIR=/include OLDINCLUDEDIR=/include MANDIR=/share/man DOCDIR=/share/doc LIBEXECDIR=/libexec"};
-: ${PKG_PYTHON2_HOST_SUBDIR:=Python-${PKG_PYTHON2_HOST_VERSION}};
-: ${PKG_PYTHON3_HOST_DEPENDS:="bzip2_host expat_host gdbm_host libffi_host readline_host libressl_host libz_host ncurses_host ncursesw_host sqlite3_host xz_host"};
-: ${PKG_PYTHON3_HOST_SHA256SUM:=f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b};
-: ${PKG_PYTHON3_HOST_VERSION:=3.7.10};
-: ${PKG_PYTHON3_HOST_URL:="https://www.python.org/ftp/python/${PKG_PYTHON3_HOST_VERSION}/Python-${PKG_PYTHON3_HOST_VERSION}.tar.xz"};
-: ${PKG_PYTHON3_HOST_URLS_GIT:="build/sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"};
-: ${PKG_PYTHON3_HOST_BASE_DIR:=${BUILD_WORKDIR}/python3_host-host-${DEFAULT_TARGET}};
-: ${PKG_PYTHON3_HOST_BUILD_DIR:=build/python3};
-: ${PKG_PYTHON3_HOST_CONFIGURE:=build/sbpython3/configure};
-: ${PKG_PYTHON3_HOST_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_HOST_VERSION} --prefix=${PREFIX}"};
-: ${PKG_PYTHON3_HOST_CONFIGURE_TYPE:="sofort"};
-: ${PKG_PYTHON3_HOST_INSTALL_FILES_V2:="@python3=bin/python"};
-: ${PKG_PYTHON3_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= EXEC_PREFIX= BINDIR=/bin SBINDIR=/sbin LIBDIR=/lib INCLUDEDIR=/include OLDINCLUDEDIR=/include MANDIR=/share/man DOCDIR=/share/doc LIBEXECDIR=/libexec"};
-: ${PKG_PYTHON3_HOST_SUBDIR:=Python-${PKG_PYTHON3_HOST_VERSION}};
-: ${PKG_READLINE_HOST_DEPENDS:="ncurses_host ncursestw_host ncursesw_host"};
-: ${PKG_READLINE_HOST_SHA256SUM:=3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35};
-: ${PKG_READLINE_HOST_VERSION:=8.2};
-: ${PKG_READLINE_HOST_URL:=https://ftp.gnu.org/gnu/readline/readline-${PKG_READLINE_HOST_VERSION}.tar.gz};
-: ${PKG_READLINE_HOST_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
-: ${PKG_READLINE_HOST_CONFIGURE_ARGS_EXTRA:="--with-curses"};
-: ${PKG_READLINE_HOST_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
-: ${PKG_RE2C_HOST_DEPENDS:="python3_host"};
-: ${PKG_RE2C_HOST_SHA256SUM:=0ac299ad359e3f512b06a99397d025cfff81d3be34464ded0656f8a96676c029};
-: ${PKG_RE2C_HOST_VERSION:=3.1};
-: ${PKG_RE2C_HOST_URL:=https://github.com/skvadrik/re2c/releases/download/${PKG_RE2C_HOST_VERSION}/re2c-${PKG_RE2C_HOST_VERSION}.tar.xz};
-: ${PKG_RUBY_HOST_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507};
-: ${PKG_RUBY_HOST_VERSION:=2.3.0};
-: ${PKG_RUBY_HOST_URL:=https://cache.ruby-lang.org/pub/ruby/${PKG_RUBY_HOST_VERSION%.*}/ruby-${PKG_RUBY_HOST_VERSION}.tar.gz};
-: ${PKG_RUBY_HOST_BUILD_STEPS_DISABLE:=configure_patch};
-: ${PKG_RUBY_HOST_CFLAGS_CONFIGURE:="-g0 -O1 -DHAVE_RL_USERNAME_COMPLETION_FUNCTION=1"};
-: ${PKG_RUBY_HOST_CONFIGURE_ARGS_EXTRA:="--disable-install-rdoc --with-out-ext=fiddle,openssl"};
-: ${PKG_RUBY_HOST_MAKEFLAGS_VERBOSITY:="none"};
-: ${PKG_RUBY_HOST_VARS_FILE:="vars/ruby.vars"}
-: ${PKG_SBSIGNTOOLS_HOST_DEPENDS:="binutils_build libressl_host util_linux_host"};
-: ${PKG_SBSIGNTOOLS_HOST_URLS_GIT:=sbsigntools-master=https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git@master};
-: ${PKG_SBSIGNTOOLS_HOST_SUBDIR:=sbsigntools-master};
-: ${PKG_SBSIGNTOOLS_HOST_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX}/opt/include"};
-: ${PKG_SBSIGNTOOLS_HOST_IN_TREE:=1};
-: ${PKG_SBSIGNTOOLS_HOST_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX}/opt/lib"};
-: ${PKG_SQLITE3_HOST_DEPENDS:="readline_host ncurses_host"};
-: ${PKG_SQLITE3_HOST_SHA256SUM:=bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3};
-: ${PKG_SQLITE3_HOST_VERSION:=3360000};
-: ${PKG_SQLITE3_HOST_URL:=https://sqlite.org/2021/sqlite-autoconf-${PKG_SQLITE3_HOST_VERSION}.tar.gz};
-: ${PKG_TEXINFO_HOST_SHA256SUM:=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa};
-: ${PKG_TEXINFO_HOST_VERSION:=6.7};
-: ${PKG_TEXINFO_HOST_URL:=https://ftp.gnu.org/gnu/texinfo/texinfo-${PKG_TEXINFO_HOST_VERSION}.tar.xz};
-: ${PKG_TEXINFO_HOST_INSTALL_FILES_V2:="
- !bin/makeinfo=bin/makeinfo.dist
- +%[_files]/bin/makeinfo=bin/makeinfo
- m0755=bin/makeinfo"};
-: ${PKG_TEXINFO_HOST_LIBTOOL:=rdlibtool};
-: ${PKG_TZDB_HOST_DEPENDS:="clzip_host"};
-: ${PKG_TZDB_HOST_SHA256SUM:=511af6b467f40b1ec9ac3684d1701793af470f3e29ddfb97b82be438e8601a7a};
-: ${PKG_TZDB_HOST_VERSION:=2024a};
-: ${PKG_TZDB_HOST_URL:=https://data.iana.org/time-zones/releases/tzdb-${PKG_TZDB_HOST_VERSION}.tar.lz};
-: ${PKG_TZDB_HOST_BUILD_DIR:="tzdb-${PKG_TZDB_HOST_VERSION}"};
-: ${PKG_TZDB_HOST_INSTALL_FILES_V2:="-=etc/%<*>"};
-: ${PKG_UTIL_LINUX_HOST_DEPENDS:="ncursesw_host"};
-: ${PKG_UTIL_LINUX_HOST_SHA256SUM:=37de03dbb98cdeffdf9e754122b0aca2a9bbdc19769f6570dfcb6f123643bf53};
-: ${PKG_UTIL_LINUX_HOST_VERSION:=2.36.1};
-: ${PKG_UTIL_LINUX_HOST_URL:=https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${PKG_UTIL_LINUX_HOST_VERSION%.*}/util-linux-${PKG_UTIL_LINUX_HOST_VERSION}.tar.gz};
-: ${PKG_UTIL_LINUX_HOST_CONFIGURE_ARGS_EXTRA:="--disable-all-programs --enable-libuuid"};
-: ${PKG_XZ_HOST_SHA256SUM:=3e1e518ffc912f86608a8cb35e4bd41ad1aec210df2a47aaa1f95e7f5576ef56};
-: ${PKG_XZ_HOST_VERSION:=5.2.5};
-: ${PKG_XZ_HOST_URL:=https://mirror.midipix.org/xz/xz-${PKG_XZ_HOST_VERSION}.tar.xz};
-
# vim:filetype=sh textwidth=0
diff --git a/groups.d/020.host_deps_rpm.d/libarchive_host.package b/groups.d/020.host_deps_rpm.d/libarchive_host.package
new file mode 100644
index 00000000..028c1907
--- /dev/null
+++ b/groups.d/020.host_deps_rpm.d/libarchive_host.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBARCHIVE_HOST_SHA256SUM:=f0b19ff39c3c9a5898a219497ababbadab99d8178acc980155c7e1271089b5a0};
+: ${PKG_LIBARCHIVE_HOST_VERSION:=3.5.2};
+: ${PKG_LIBARCHIVE_HOST_URL:=http://www.libarchive.org/downloads/libarchive-${PKG_LIBARCHIVE_HOST_VERSION}.tar.xz};
+: ${PKG_LIBARCHIVE_HOST_CONFIGURE_ARGS_EXTRA:="--without-xml2"};
+: ${PKG_LIBARCHIVE_HOST_LIBTOOL:=rdlibtool};
+
+ex_pkg_register "libarchive_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps_rpm";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/020.host_deps_rpm.d/popt_host.package b/groups.d/020.host_deps_rpm.d/popt_host.package
new file mode 100644
index 00000000..209fa0e2
--- /dev/null
+++ b/groups.d/020.host_deps_rpm.d/popt_host.package
@@ -0,0 +1,7 @@
+: ${PKG_POPT_HOST_SHA256SUM:=5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1};
+: ${PKG_POPT_HOST_VERSION:=1.18};
+: ${PKG_POPT_HOST_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/popt/popt-${PKG_POPT_HOST_VERSION}.tar.gz};
+
+ex_pkg_register "popt_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps_rpm";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/020.host_deps_rpm.d/rpm_host.package b/groups.d/020.host_deps_rpm.d/rpm_host.package
new file mode 100644
index 00000000..f5f5039e
--- /dev/null
+++ b/groups.d/020.host_deps_rpm.d/rpm_host.package
@@ -0,0 +1,16 @@
+: ${PKG_RPM_HOST_DEPENDS:="libarchive_host popt_host file_host"};
+: ${PKG_RPM_HOST_SHA256SUM:=ca5974e9da2939afb422598818ef187385061889ba766166c4a3829c5ef8d411};
+: ${PKG_RPM_HOST_VERSION:=4.16.0};
+: ${PKG_RPM_HOST_URL:=http://ftp.rpm.org/releases/rpm-${PKG_RPM_HOST_VERSION%.*}.x/rpm-${PKG_RPM_HOST_VERSION}.tar.bz2};
+: ${PKG_RPM_HOST_LIBTOOL:=rdlibtool};
+: ${PKG_RPM_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include -I${PREFIX}/include/dbus-1.0 -I${PREFIX}/lib/dbus-1.0/include"};
+: ${PKG_RPM_HOST_CONFIGURE_ARGS_EXTRA:="--enable-bdb=no --enable-ndb --with-crypto=openssl --with-vendor=midipix --without-lua --disable-libelf"};
+: ${PKG_RPM_HOST_INSTALL_FILES_V2:="
+ +%[_files]/lib/rpm/elfdeps=lib/rpm/elfdeps
+ m0755=lib/rpm/elfdeps
+ -=var/%<*>"};
+: ${PKG_RPM_HOST_FORCE_AUTORECONF:=1};
+
+ex_pkg_register "rpm_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps_rpm";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/020.host_deps_rpm.group b/groups.d/020.host_deps_rpm.group
index 17f91b2d..c3ebf575 100644
--- a/groups.d/020.host_deps_rpm.group
+++ b/groups.d/020.host_deps_rpm.group
@@ -9,31 +9,8 @@ HOST_DEPS_RPM_CONFIGURE_ARGS="--disable-nls --prefix=${PREFIX}";
HOST_DEPS_RPM_GROUP_DEPENDS="host_deps host_tools";
HOST_DEPS_RPM_LDFLAGS_CONFIGURE="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib";
HOST_DEPS_RPM_MAKEFLAGS_INSTALL_EXTRA="prefix= PREFIX=";
-HOST_DEPS_RPM_PACKAGES="
-libarchive_host popt_host rpm_host";
HOST_DEPS_RPM_PKG_CONFIG="${PREFIX}/bin/pkgconf";
HOST_DEPS_RPM_PREFIX="${PREFIX}";
HOST_DEPS_RPM_RPM_DISABLE=1;
-: ${PKG_LIBARCHIVE_HOST_SHA256SUM:=f0b19ff39c3c9a5898a219497ababbadab99d8178acc980155c7e1271089b5a0};
-: ${PKG_LIBARCHIVE_HOST_VERSION:=3.5.2};
-: ${PKG_LIBARCHIVE_HOST_URL:=http://www.libarchive.org/downloads/libarchive-${PKG_LIBARCHIVE_HOST_VERSION}.tar.xz};
-: ${PKG_LIBARCHIVE_HOST_CONFIGURE_ARGS_EXTRA:="--without-xml2"};
-: ${PKG_LIBARCHIVE_HOST_LIBTOOL:=rdlibtool};
-: ${PKG_POPT_HOST_SHA256SUM:=5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1};
-: ${PKG_POPT_HOST_VERSION:=1.18};
-: ${PKG_POPT_HOST_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/popt/popt-${PKG_POPT_HOST_VERSION}.tar.gz};
-: ${PKG_RPM_HOST_DEPENDS:="libarchive_host popt_host file_host"};
-: ${PKG_RPM_HOST_SHA256SUM:=ca5974e9da2939afb422598818ef187385061889ba766166c4a3829c5ef8d411};
-: ${PKG_RPM_HOST_VERSION:=4.16.0};
-: ${PKG_RPM_HOST_URL:=http://ftp.rpm.org/releases/rpm-${PKG_RPM_HOST_VERSION%.*}.x/rpm-${PKG_RPM_HOST_VERSION}.tar.bz2};
-: ${PKG_RPM_HOST_LIBTOOL:=rdlibtool};
-: ${PKG_RPM_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include -I${PREFIX}/include/dbus-1.0 -I${PREFIX}/lib/dbus-1.0/include"};
-: ${PKG_RPM_HOST_CONFIGURE_ARGS_EXTRA:="--enable-bdb=no --enable-ndb --with-crypto=openssl --with-vendor=midipix --without-lua --disable-libelf"};
-: ${PKG_RPM_HOST_INSTALL_FILES_V2:="
- +%[_files]/lib/rpm/elfdeps=lib/rpm/elfdeps
- m0755=lib/rpm/elfdeps
- -=var/%<*>"};
-: ${PKG_RPM_HOST_FORCE_AUTORECONF:=1};
-
# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/binutils_cross.package b/groups.d/030.cross_toolchain.d/binutils_cross.package
new file mode 100644
index 00000000..6340dc5d
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/binutils_cross.package
@@ -0,0 +1,20 @@
+: ${PKG_BINUTILS_CROSS_DEPENDS:="perk_cross"};
+: ${PKG_BINUTILS_CROSS_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
+: ${PKG_BINUTILS_CROSS_VERSION:=2.24.51};
+: ${PKG_BINUTILS_CROSS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_CROSS_VERSION}.tar.bz2};
+: ${PKG_BINUTILS_CROSS_AUTOCONF_CONFIG_GUESS:="keep"};
+: ${PKG_BINUTILS_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include -g2 -O0"};
+: ${PKG_BINUTILS_CROSS_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --prefix=${PREFIX_LOCAL} --target=${DEFAULT_TARGET} --with-sysroot=${PREFIX_CROSS}"};
+: ${PKG_BINUTILS_CROSS_INSTALL_FILES_V2:="
+ @%[_target]-windmc=bin/windmc
+ @%[_target]-windres=bin/windres"};
+: ${PKG_BINUTILS_CROSS_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
+: ${PKG_BINUTILS_CROSS_LIBTOOL:=slibtool-static};
+: ${PKG_BINUTILS_CROSS_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= prefix="};
+: ${PKG_BINUTILS_CROSS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_CROSS_VERSION}.midipix.patch"};
+: ${PKG_BINUTILS_CROSS_PREFIX:=${PREFIX_LOCAL}};
+: ${PKG_BINUTILS_CROSS_VARS_FILE:="vars/binutils.vars"};
+
+ex_pkg_register "binutils_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/binutils_cross_mingw32.package b/groups.d/030.cross_toolchain.d/binutils_cross_mingw32.package
new file mode 100644
index 00000000..33d477e7
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/binutils_cross_mingw32.package
@@ -0,0 +1,15 @@
+: ${PKG_BINUTILS_CROSS_MINGW32_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
+: ${PKG_BINUTILS_CROSS_MINGW32_VERSION:=2.24.51};
+: ${PKG_BINUTILS_CROSS_MINGW32_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_CROSS_MINGW32_VERSION}.tar.bz2};
+: ${PKG_BINUTILS_CROSS_MINGW32_AUTOCONF_CONFIG_GUESS:="keep"};
+: ${PKG_BINUTILS_CROSS_MINGW32_CONFIGURE_ARGS:="--disable-nls --disable-werror --enable-deterministic-archives --prefix=${PREFIX_LOCAL} --target=x86_64-w64-mingw32 --with-sysroot=${PREFIX_MINGW32}"};
+: ${PKG_BINUTILS_CROSS_MINGW32_LIBTOOL:=slibtool-static};
+: ${PKG_BINUTILS_CROSS_MINGW32_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
+: ${PKG_BINUTILS_CROSS_MINGW32_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_CROSS_MINGW32_VERSION}.midipix.patch"};
+: ${PKG_BINUTILS_CROSS_MINGW32_PREFIX:=${PREFIX_LOCAL}};
+: ${PKG_BINUTILS_CROSS_MINGW32_TARGET:="x86_64-w64-mingw32"};
+: ${PKG_BINUTILS_CROSS_MINGW32_VARS_FILE:="vars/binutils.vars"};
+
+ex_pkg_register "binutils_cross_mingw32" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/gcc_full_cross.package b/groups.d/030.cross_toolchain.d/gcc_full_cross.package
new file mode 100644
index 00000000..2ac35d37
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/gcc_full_cross.package
@@ -0,0 +1,12 @@
+: ${PKG_GCC_FULL_CROSS_DEPENDS:="gcc_stage1_cross gcc_libstdcpp_v3_cross ldso_cross musl_full_cross"};
+: ${PKG_GCC_FULL_CROSS_VERSION:=4.6.4};
+: ${PKG_GCC_FULL_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
+: ${PKG_GCC_FULL_CROSS_BUILD_DIR:="cbb-gcc-4.6.4-cross-x86_64-nt64-midipix"};
+: ${PKG_GCC_FULL_CROSS_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_FULL_CROSS_NO_CLEAN_BASE_DIR:=1};
+: ${PKG_GCC_FULL_CROSS_PREFIX:=${PREFIX_LOCAL}};
+: ${PKG_GCC_FULL_CROSS_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_full_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/gcc_libstdcpp_v3_cross.package b/groups.d/030.cross_toolchain.d/gcc_libstdcpp_v3_cross.package
new file mode 100644
index 00000000..2414ac9c
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/gcc_libstdcpp_v3_cross.package
@@ -0,0 +1,11 @@
+: ${PKG_GCC_LIBSTDCPP_V3_CROSS_DEPENDS:="gcc_runtime_cross gcc_stage1_cross ldso_cross musl_full_cross"};
+: ${PKG_GCC_LIBSTDCPP_V3_CROSS_VERSION:=4.6.4};
+: ${PKG_GCC_LIBSTDCPP_V3_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
+: ${PKG_GCC_LIBSTDCPP_V3_CROSS_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_LIBSTDCPP_V3_CROSS_NO_CLEAN_BASE_DIR:=1};
+: ${PKG_GCC_LIBSTDCPP_V3_CROSS_PREFIX:=${PREFIX_LOCAL}};
+: ${PKG_GCC_LIBSTDCPP_V3_CROSS_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_libstdcpp_v3_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/gcc_runtime_cross.package b/groups.d/030.cross_toolchain.d/gcc_runtime_cross.package
new file mode 100644
index 00000000..5e01a513
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/gcc_runtime_cross.package
@@ -0,0 +1,11 @@
+: ${PKG_GCC_RUNTIME_CROSS_DEPENDS:="gcc_stage1_cross musl_no_complex_cross psxtypes_cross psxstub_cross mdso_cross perk_cross"};
+: ${PKG_GCC_RUNTIME_CROSS_VERSION:=4.6.4};
+: ${PKG_GCC_RUNTIME_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
+: ${PKG_GCC_RUNTIME_CROSS_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_RUNTIME_CROSS_NO_CLEAN_BASE_DIR:=1};
+: ${PKG_GCC_RUNTIME_CROSS_PREFIX:=${PREFIX_LOCAL}};
+: ${PKG_GCC_RUNTIME_CROSS_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_runtime_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/gcc_stage1_cross.package b/groups.d/030.cross_toolchain.d/gcc_stage1_cross.package
new file mode 100644
index 00000000..16978a83
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/gcc_stage1_cross.package
@@ -0,0 +1,12 @@
+: ${PKG_GCC_STAGE1_CROSS_DEPENDS:="binutils_cross gmp_cross mpc_cross mpfr_cross"};
+: ${PKG_GCC_STAGE1_CROSS_VERSION:=4.6.4};
+: ${PKG_GCC_STAGE1_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
+: ${PKG_GCC_STAGE1_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include -g3 -O0"};
+: ${PKG_GCC_STAGE1_CROSS_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_STAGE1_CROSS_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
+: ${PKG_GCC_STAGE1_CROSS_PREFIX:=${PREFIX_LOCAL}};
+: ${PKG_GCC_STAGE1_CROSS_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_stage1_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/gcc_stage1_cross_mingw32.package b/groups.d/030.cross_toolchain.d/gcc_stage1_cross_mingw32.package
new file mode 100644
index 00000000..d223ce80
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/gcc_stage1_cross_mingw32.package
@@ -0,0 +1,14 @@
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_DEPENDS:="binutils_cross_mingw32 gmp_cross mpc_cross mpfr_cross"};
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_VERSION:=4.6.4};
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-x86_64-w64-mingw32};
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include"};
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_CONFIGURE_ARGS:="--disable-nls --prefix=${PREFIX_LOCAL} --target=x86_64-w64-mingw32"};
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_PREFIX:=${PREFIX_LOCAL}};
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_TARGET:="x86_64-w64-mingw32"};
+: ${PKG_GCC_STAGE1_CROSS_MINGW32_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_stage1_cross_mingw32" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/gmp_cross.package b/groups.d/030.cross_toolchain.d/gmp_cross.package
new file mode 100644
index 00000000..f20f7c01
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/gmp_cross.package
@@ -0,0 +1,10 @@
+: ${PKG_GMP_CROSS_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2};
+: ${PKG_GMP_CROSS_VERSION:=6.1.2};
+: ${PKG_GMP_CROSS_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_CROSS_VERSION}.tar.bz2};
+: ${PKG_GMP_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix="};
+: ${PKG_GMP_CROSS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gmp/gmp-${PKG_GMP_CROSS_VERSION}.midipix.patch"};
+: ${PKG_GMP_CROSS_PREFIX:=${PREFIX_LOCAL}};
+
+ex_pkg_register "gmp_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/ldso_cross.package b/groups.d/030.cross_toolchain.d/ldso_cross.package
new file mode 100644
index 00000000..df9fc13c
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/ldso_cross.package
@@ -0,0 +1,13 @@
+: ${PKG_LDSO_CROSS_PREFIX="${PREFIX_CROSS}"};
+: ${PKG_LDSO_CROSS_DEPENDS:="gcc_stage1_cross musl_full_cross psxtypes_cross"};
+: ${PKG_LDSO_CROSS_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
+: ${PKG_LDSO_CROSS_BUILD_TYPE:=cross};
+: ${PKG_LDSO_CROSS_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
+: ${PKG_LDSO_CROSS_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET} --disable-shared"};
+: ${PKG_LDSO_CROSS_INSTALL_FILES_V2:="@../%[_target]/lib/libldso.a=%[_prefix]/lib/libldso.a"};
+: ${PKG_LDSO_CROSS_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
+: ${PKG_LDSO_CROSS_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
+
+ex_pkg_register "ldso_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/mdso_cross.package b/groups.d/030.cross_toolchain.d/mdso_cross.package
new file mode 100644
index 00000000..8dccd1b0
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/mdso_cross.package
@@ -0,0 +1,10 @@
+: ${PKG_MDSO_CROSS_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
+: ${PKG_MDSO_CROSS_CONFIGURE_ARGS:="--prefix="};
+: ${PKG_MDSO_CROSS_INSTALL_FILES_V2:="
+ @mdso=bin/${DEFAULT_TARGET}-mdso
+ /=${DEFAULT_TARGET}/bin
+ +bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
+
+ex_pkg_register "mdso_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/mpc_cross.package b/groups.d/030.cross_toolchain.d/mpc_cross.package
new file mode 100644
index 00000000..5c9f4d2a
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/mpc_cross.package
@@ -0,0 +1,10 @@
+: ${PKG_MPC_CROSS_DEPENDS:="gmp_cross mpfr_cross"};
+: ${PKG_MPC_CROSS_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff};
+: ${PKG_MPC_CROSS_VERSION:=1.0.1};
+: ${PKG_MPC_CROSS_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_CROSS_VERSION}.tar.gz};
+: ${PKG_MPC_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX_LOCAL} --with-mpfr=${PREFIX_LOCAL}"};
+: ${PKG_MPC_CROSS_PREFIX:=${PREFIX_LOCAL}};
+
+ex_pkg_register "mpc_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/mpfr_cross.package b/groups.d/030.cross_toolchain.d/mpfr_cross.package
new file mode 100644
index 00000000..1cd156f0
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/mpfr_cross.package
@@ -0,0 +1,10 @@
+: ${PKG_MPFR_CROSS_DEPENDS:="gmp_cross"};
+: ${PKG_MPFR_CROSS_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b};
+: ${PKG_MPFR_CROSS_VERSION:=3.1.2};
+: ${PKG_MPFR_CROSS_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_CROSS_VERSION}.tar.bz2};
+: ${PKG_MPFR_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX_LOCAL}"};
+: ${PKG_MPFR_CROSS_PREFIX:=${PREFIX_LOCAL}};
+
+ex_pkg_register "mpfr_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/musl_full_cross.package b/groups.d/030.cross_toolchain.d/musl_full_cross.package
new file mode 100644
index 00000000..25fe6955
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/musl_full_cross.package
@@ -0,0 +1,17 @@
+: ${PKG_MUSL_FULL_CROSS_DEPENDS:="gcc_stage1_cross gcc_runtime_cross"};
+: ${PKG_MUSL_FULL_CROSS_SHA256SUM:=a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4};
+: ${PKG_MUSL_FULL_CROSS_VERSION:=1.2.5};
+: ${PKG_MUSL_FULL_CROSS_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_FULL_CROSS_VERSION}.tar.gz"}
+: ${PKG_MUSL_FULL_CROSS_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
+: ${PKG_MUSL_FULL_CROSS_BASE_DIR:=${BUILD_WORKDIR}/musl_full-cross-${DEFAULT_TARGET}};
+: ${PKG_MUSL_FULL_CROSS_BUILD_DIR:=build/musl};
+: ${PKG_MUSL_FULL_CROSS_BUILD_TYPE:=cross};
+: ${PKG_MUSL_FULL_CROSS_CONFIGURE:=build/mmglue/configure};
+: ${PKG_MUSL_FULL_CROSS_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_FULL_CROSS_VERSION} --prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_MUSL_FULL_CROSS_INSTALL_FILES_V2:="-=include/iconv.h"};
+: ${PKG_MUSL_FULL_CROSS_SUBDIR:=musl-${PKG_MUSL_FULL_CROSS_VERSION}};
+: ${PKG_MUSL_FULL_CROSS_VARS_FILE:="vars/musl.vars"};
+
+ex_pkg_register "musl_full_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/musl_no_complex_cross.package b/groups.d/030.cross_toolchain.d/musl_no_complex_cross.package
new file mode 100644
index 00000000..50af268b
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/musl_no_complex_cross.package
@@ -0,0 +1,18 @@
+: ${PKG_MUSL_NO_COMPLEX_CROSS_PREFIX:="${PREFIX_CROSS}"};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_DEPENDS:="gcc_stage1_cross "};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_SHA256SUM:=${PKG_MUSL_FULL_CROSS_SHA256SUM}};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_VERSION:=${PKG_MUSL_FULL_CROSS_VERSION}};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION}.tar.gz"}
+: ${PKG_MUSL_NO_COMPLEX_CROSS_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_BASE_DIR:=${BUILD_WORKDIR}/musl_no_complex-cross-${DEFAULT_TARGET}};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_BUILD_DIR:=build/musl};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_BUILD_TYPE:=cross};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_CONFIGURE:=build/mmglue/configure};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION} --no-complex --prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_INSTALL_FILES_V2:="-=include/iconv.h"};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_SUBDIR:=musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION}};
+: ${PKG_MUSL_NO_COMPLEX_CROSS_VARS_FILE:="vars/musl.vars"};
+
+ex_pkg_register "musl_no_complex_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/nasm_cross.package b/groups.d/030.cross_toolchain.d/nasm_cross.package
new file mode 100644
index 00000000..097413a2
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/nasm_cross.package
@@ -0,0 +1,10 @@
+: ${PKG_NASM_CROSS_SHA256SUM:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558};
+: ${PKG_NASM_CROSS_VERSION:=2.16.01};
+: ${PKG_NASM_CROSS_URL:=http://www.nasm.us/pub/nasm/releasebuilds/${PKG_NASM_CROSS_VERSION}/nasm-${PKG_NASM_CROSS_VERSION}.tar.xz};
+: ${PKG_NASM_CROSS_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
+: ${PKG_NASM_CROSS_INSTALL_FILES_V2:="!bin/%<*>=bin/%[_target]-%[FNAME]"};
+: ${PKG_NASM_CROSS_PREFIX:=${PREFIX_LOCAL}};
+
+ex_pkg_register "nasm_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/perk_cross.package b/groups.d/030.cross_toolchain.d/perk_cross.package
new file mode 100644
index 00000000..1e6145a6
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/perk_cross.package
@@ -0,0 +1,9 @@
+: ${PKG_PERK_CROSS_DEPENDS:="mdso_cross"};
+: ${PKG_PERK_CROSS_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
+: ${PKG_PERK_CROSS_CONFIGURE_ARGS:="--prefix="};
+: ${PKG_PERK_CROSS_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
+: ${PKG_PERK_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include"};
+
+ex_pkg_register "perk_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/psxstub_cross.package b/groups.d/030.cross_toolchain.d/psxstub_cross.package
new file mode 100644
index 00000000..586e8a40
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/psxstub_cross.package
@@ -0,0 +1,10 @@
+: ${PKG_PSXSTUB_CROSS_PREFIX:="${PREFIX_CROSS}"};
+: ${PKG_PSXSTUB_CROSS_DEPENDS:="gcc_stage1_cross"};
+: ${PKG_PSXSTUB_CROSS_URLS_GIT:="psxstub=${DEFAULT_GITROOT}/psxstub"};
+: ${PKG_PSXSTUB_CROSS_BUILD_STEPS_DISABLE:=build};
+: ${PKG_PSXSTUB_CROSS_ENV_VARS_EXTRA:=TARGET=${DEFAULT_TARGET}};
+: ${PKG_PSXSTUB_CROSS_IN_TREE:=1};
+
+ex_pkg_register "psxstub_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.d/psxtypes_cross.package b/groups.d/030.cross_toolchain.d/psxtypes_cross.package
new file mode 100644
index 00000000..aee82d3e
--- /dev/null
+++ b/groups.d/030.cross_toolchain.d/psxtypes_cross.package
@@ -0,0 +1,10 @@
+: ${PKG_PSXTYPES_CROSS_PREFIX:="${PREFIX_CROSS}"};
+: ${PKG_PSXTYPES_CROSS_DEPENDS:="gcc_stage1_cross"};
+: ${PKG_PSXTYPES_CROSS_URLS_GIT:=psxtypes=${DEFAULT_GITROOT}/psxtypes};
+: ${PKG_PSXTYPES_CROSS_BUILD_STEPS_DISABLE:=build};
+: ${PKG_PSXTYPES_CROSS_CONFIGURE_ARGS:="--disable-nls --prefix="};
+: ${PKG_PSXTYPES_CROSS_IN_TREE:=1};
+
+ex_pkg_register "psxtypes_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/030.cross_toolchain.group b/groups.d/030.cross_toolchain.group
index 2c05c27d..111e388d 100644
--- a/groups.d/030.cross_toolchain.group
+++ b/groups.d/030.cross_toolchain.group
@@ -5,171 +5,8 @@ CROSS_TOOLCHAIN_BUILD_TYPE="host";
CROSS_TOOLCHAIN_CONFIGURE_ARGS="--disable-nls --prefix= --target=${DEFAULT_TARGET}";
CROSS_TOOLCHAIN_GROUP_DEPENDS="host_deps host_deps_rpm host_tools";
CROSS_TOOLCHAIN_MAKEFLAGS_INSTALL_EXTRA="prefix= PREFIX=";
-CROSS_TOOLCHAIN_PACKAGES="
-binutils_cross binutils_cross_mingw32 gcc_full_cross gcc_libstdcpp_v3_cross
-gcc_runtime_cross gcc_stage1_cross_mingw32 gcc_stage1_cross gmp_cross
-ldso_cross mdso_cross mpc_cross mpfr_cross musl_full_cross musl_no_complex_cross
-nasm_cross perk_cross psxstub_cross psxtypes_cross";
CROSS_TOOLCHAIN_PKG_CONFIG="${PREFIX}/bin/pkgconf";
CROSS_TOOLCHAIN_PREFIX="${PREFIX_LOCAL}";
CROSS_TOOLCHAIN_RPM_DISABLE=1;
-: ${PKG_BINUTILS_CROSS_DEPENDS:="perk_cross"};
-: ${PKG_BINUTILS_CROSS_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
-: ${PKG_BINUTILS_CROSS_VERSION:=2.24.51};
-: ${PKG_BINUTILS_CROSS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_CROSS_VERSION}.tar.bz2};
-: ${PKG_BINUTILS_CROSS_AUTOCONF_CONFIG_GUESS:="keep"};
-: ${PKG_BINUTILS_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include -g2 -O0"};
-: ${PKG_BINUTILS_CROSS_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --prefix=${PREFIX_LOCAL} --target=${DEFAULT_TARGET} --with-sysroot=${PREFIX_CROSS}"};
-: ${PKG_BINUTILS_CROSS_INSTALL_FILES_V2:="
- @%[_target]-windmc=bin/windmc
- @%[_target]-windres=bin/windres"};
-: ${PKG_BINUTILS_CROSS_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
-: ${PKG_BINUTILS_CROSS_LIBTOOL:=slibtool-static};
-: ${PKG_BINUTILS_CROSS_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= prefix="};
-: ${PKG_BINUTILS_CROSS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_CROSS_VERSION}.midipix.patch"};
-: ${PKG_BINUTILS_CROSS_PREFIX:=${PREFIX_LOCAL}};
-: ${PKG_BINUTILS_CROSS_VARS_FILE:="vars/binutils.vars"};
-: ${PKG_BINUTILS_CROSS_MINGW32_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
-: ${PKG_BINUTILS_CROSS_MINGW32_VERSION:=2.24.51};
-: ${PKG_BINUTILS_CROSS_MINGW32_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_CROSS_MINGW32_VERSION}.tar.bz2};
-: ${PKG_BINUTILS_CROSS_MINGW32_AUTOCONF_CONFIG_GUESS:="keep"};
-: ${PKG_BINUTILS_CROSS_MINGW32_CONFIGURE_ARGS:="--disable-nls --disable-werror --enable-deterministic-archives --prefix=${PREFIX_LOCAL} --target=x86_64-w64-mingw32 --with-sysroot=${PREFIX_MINGW32}"};
-: ${PKG_BINUTILS_CROSS_MINGW32_LIBTOOL:=slibtool-static};
-: ${PKG_BINUTILS_CROSS_MINGW32_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
-: ${PKG_BINUTILS_CROSS_MINGW32_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_CROSS_MINGW32_VERSION}.midipix.patch"};
-: ${PKG_BINUTILS_CROSS_MINGW32_PREFIX:=${PREFIX_LOCAL}};
-: ${PKG_BINUTILS_CROSS_MINGW32_TARGET:="x86_64-w64-mingw32"};
-: ${PKG_BINUTILS_CROSS_MINGW32_VARS_FILE:="vars/binutils.vars"};
-: ${PKG_GCC_FULL_CROSS_DEPENDS:="gcc_stage1_cross gcc_libstdcpp_v3_cross ldso_cross musl_full_cross"};
-: ${PKG_GCC_FULL_CROSS_VERSION:=4.6.4};
-: ${PKG_GCC_FULL_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
-: ${PKG_GCC_FULL_CROSS_BUILD_DIR:="cbb-gcc-4.6.4-cross-x86_64-nt64-midipix"};
-: ${PKG_GCC_FULL_CROSS_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_FULL_CROSS_NO_CLEAN_BASE_DIR:=1};
-: ${PKG_GCC_FULL_CROSS_PREFIX:=${PREFIX_LOCAL}};
-: ${PKG_GCC_FULL_CROSS_VARS_FILE:="vars/gcc.vars"};
-: ${PKG_GCC_LIBSTDCPP_V3_CROSS_DEPENDS:="gcc_runtime_cross gcc_stage1_cross ldso_cross musl_full_cross"};
-: ${PKG_GCC_LIBSTDCPP_V3_CROSS_VERSION:=4.6.4};
-: ${PKG_GCC_LIBSTDCPP_V3_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
-: ${PKG_GCC_LIBSTDCPP_V3_CROSS_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_LIBSTDCPP_V3_CROSS_NO_CLEAN_BASE_DIR:=1};
-: ${PKG_GCC_LIBSTDCPP_V3_CROSS_PREFIX:=${PREFIX_LOCAL}};
-: ${PKG_GCC_LIBSTDCPP_V3_CROSS_VARS_FILE:="vars/gcc.vars"};
-: ${PKG_GCC_RUNTIME_CROSS_DEPENDS:="gcc_stage1_cross musl_no_complex_cross psxtypes_cross psxstub_cross mdso_cross perk_cross"};
-: ${PKG_GCC_RUNTIME_CROSS_VERSION:=4.6.4};
-: ${PKG_GCC_RUNTIME_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
-: ${PKG_GCC_RUNTIME_CROSS_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_RUNTIME_CROSS_NO_CLEAN_BASE_DIR:=1};
-: ${PKG_GCC_RUNTIME_CROSS_PREFIX:=${PREFIX_LOCAL}};
-: ${PKG_GCC_RUNTIME_CROSS_VARS_FILE:="vars/gcc.vars"};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_DEPENDS:="binutils_cross_mingw32 gmp_cross mpc_cross mpfr_cross"};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_VERSION:=4.6.4};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-x86_64-w64-mingw32};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include"};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_CONFIGURE_ARGS:="--disable-nls --prefix=${PREFIX_LOCAL} --target=x86_64-w64-mingw32"};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_PREFIX:=${PREFIX_LOCAL}};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_TARGET:="x86_64-w64-mingw32"};
-: ${PKG_GCC_STAGE1_CROSS_MINGW32_VARS_FILE:="vars/gcc.vars"};
-
-: ${PKG_GCC_STAGE1_CROSS_DEPENDS:="binutils_cross gmp_cross mpc_cross mpfr_cross"};
-: ${PKG_GCC_STAGE1_CROSS_VERSION:=4.6.4};
-: ${PKG_GCC_STAGE1_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
-: ${PKG_GCC_STAGE1_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include -g3 -O0"};
-: ${PKG_GCC_STAGE1_CROSS_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_STAGE1_CROSS_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
-: ${PKG_GCC_STAGE1_CROSS_PREFIX:=${PREFIX_LOCAL}};
-: ${PKG_GCC_STAGE1_CROSS_VARS_FILE:="vars/gcc.vars"};
-
-: ${PKG_GMP_CROSS_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2};
-: ${PKG_GMP_CROSS_VERSION:=6.1.2};
-: ${PKG_GMP_CROSS_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_CROSS_VERSION}.tar.bz2};
-: ${PKG_GMP_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix="};
-: ${PKG_GMP_CROSS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gmp/gmp-${PKG_GMP_CROSS_VERSION}.midipix.patch"};
-: ${PKG_GMP_CROSS_PREFIX:=${PREFIX_LOCAL}};
-
-: ${PKG_LDSO_CROSS_PREFIX="${PREFIX_CROSS}"};
-: ${PKG_LDSO_CROSS_DEPENDS:="gcc_stage1_cross musl_full_cross psxtypes_cross"};
-: ${PKG_LDSO_CROSS_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
-: ${PKG_LDSO_CROSS_BUILD_TYPE:=cross};
-: ${PKG_LDSO_CROSS_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
-: ${PKG_LDSO_CROSS_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET} --disable-shared"};
-: ${PKG_LDSO_CROSS_INSTALL_FILES_V2:="@../%[_target]/lib/libldso.a=%[_prefix]/lib/libldso.a"};
-: ${PKG_LDSO_CROSS_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
-: ${PKG_LDSO_CROSS_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
-
-: ${PKG_MDSO_CROSS_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
-: ${PKG_MDSO_CROSS_CONFIGURE_ARGS:="--prefix="};
-: ${PKG_MDSO_CROSS_INSTALL_FILES_V2:="
- @mdso=bin/${DEFAULT_TARGET}-mdso
- /=${DEFAULT_TARGET}/bin
- +bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
-
-: ${PKG_MPC_CROSS_DEPENDS:="gmp_cross mpfr_cross"};
-: ${PKG_MPC_CROSS_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff};
-: ${PKG_MPC_CROSS_VERSION:=1.0.1};
-: ${PKG_MPC_CROSS_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_CROSS_VERSION}.tar.gz};
-: ${PKG_MPC_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX_LOCAL} --with-mpfr=${PREFIX_LOCAL}"};
-: ${PKG_MPC_CROSS_PREFIX:=${PREFIX_LOCAL}};
-: ${PKG_MPFR_CROSS_DEPENDS:="gmp_cross"};
-: ${PKG_MPFR_CROSS_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b};
-: ${PKG_MPFR_CROSS_VERSION:=3.1.2};
-: ${PKG_MPFR_CROSS_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_CROSS_VERSION}.tar.bz2};
-: ${PKG_MPFR_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX_LOCAL}"};
-: ${PKG_MPFR_CROSS_PREFIX:=${PREFIX_LOCAL}};
-: ${PKG_MUSL_FULL_CROSS_DEPENDS:="gcc_stage1_cross gcc_runtime_cross"};
-: ${PKG_MUSL_FULL_CROSS_SHA256SUM:=a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4};
-: ${PKG_MUSL_FULL_CROSS_VERSION:=1.2.5};
-: ${PKG_MUSL_FULL_CROSS_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_FULL_CROSS_VERSION}.tar.gz"}
-: ${PKG_MUSL_FULL_CROSS_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
-: ${PKG_MUSL_FULL_CROSS_BASE_DIR:=${BUILD_WORKDIR}/musl_full-cross-${DEFAULT_TARGET}};
-: ${PKG_MUSL_FULL_CROSS_BUILD_DIR:=build/musl};
-: ${PKG_MUSL_FULL_CROSS_BUILD_TYPE:=cross};
-: ${PKG_MUSL_FULL_CROSS_CONFIGURE:=build/mmglue/configure};
-: ${PKG_MUSL_FULL_CROSS_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_FULL_CROSS_VERSION} --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_MUSL_FULL_CROSS_INSTALL_FILES_V2:="-=include/iconv.h"};
-: ${PKG_MUSL_FULL_CROSS_SUBDIR:=musl-${PKG_MUSL_FULL_CROSS_VERSION}};
-: ${PKG_MUSL_FULL_CROSS_VARS_FILE:="vars/musl.vars"};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_PREFIX:="${PREFIX_CROSS}"};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_DEPENDS:="gcc_stage1_cross "};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_SHA256SUM:=${PKG_MUSL_FULL_CROSS_SHA256SUM}};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_VERSION:=${PKG_MUSL_FULL_CROSS_VERSION}};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION}.tar.gz"}
-: ${PKG_MUSL_NO_COMPLEX_CROSS_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_BASE_DIR:=${BUILD_WORKDIR}/musl_no_complex-cross-${DEFAULT_TARGET}};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_BUILD_DIR:=build/musl};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_BUILD_TYPE:=cross};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_CONFIGURE:=build/mmglue/configure};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION} --no-complex --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_INSTALL_FILES_V2:="-=include/iconv.h"};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_SUBDIR:=musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION}};
-: ${PKG_MUSL_NO_COMPLEX_CROSS_VARS_FILE:="vars/musl.vars"};
-: ${PKG_NASM_CROSS_SHA256SUM:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558};
-: ${PKG_NASM_CROSS_VERSION:=2.16.01};
-: ${PKG_NASM_CROSS_URL:=http://www.nasm.us/pub/nasm/releasebuilds/${PKG_NASM_CROSS_VERSION}/nasm-${PKG_NASM_CROSS_VERSION}.tar.xz};
-: ${PKG_NASM_CROSS_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
-: ${PKG_NASM_CROSS_INSTALL_FILES_V2:="!bin/%<*>=bin/%[_target]-%[FNAME]"};
-: ${PKG_NASM_CROSS_PREFIX:=${PREFIX_LOCAL}};
-
-: ${PKG_PERK_CROSS_DEPENDS:="mdso_cross"};
-: ${PKG_PERK_CROSS_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
-: ${PKG_PERK_CROSS_CONFIGURE_ARGS:="--prefix="};
-: ${PKG_PERK_CROSS_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
-: ${PKG_PERK_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include"};
-
-: ${PKG_PSXSTUB_CROSS_PREFIX:="${PREFIX_CROSS}"};
-: ${PKG_PSXSTUB_CROSS_DEPENDS:="gcc_stage1_cross"};
-: ${PKG_PSXSTUB_CROSS_URLS_GIT:="psxstub=${DEFAULT_GITROOT}/psxstub"};
-: ${PKG_PSXSTUB_CROSS_BUILD_STEPS_DISABLE:=build};
-: ${PKG_PSXSTUB_CROSS_ENV_VARS_EXTRA:=TARGET=${DEFAULT_TARGET}};
-: ${PKG_PSXSTUB_CROSS_IN_TREE:=1};
-: ${PKG_PSXTYPES_CROSS_PREFIX:="${PREFIX_CROSS}"};
-: ${PKG_PSXTYPES_CROSS_DEPENDS:="gcc_stage1_cross"};
-: ${PKG_PSXTYPES_CROSS_URLS_GIT:=psxtypes=${DEFAULT_GITROOT}/psxtypes};
-: ${PKG_PSXTYPES_CROSS_BUILD_STEPS_DISABLE:=build};
-: ${PKG_PSXTYPES_CROSS_CONFIGURE_ARGS:="--disable-nls --prefix="};
-: ${PKG_PSXTYPES_CROSS_IN_TREE:=1};
-
# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/binutils_host.package b/groups.d/040.host_toolchain.d/binutils_host.package
new file mode 100644
index 00000000..e1569bac
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/binutils_host.package
@@ -0,0 +1,30 @@
+: ${PKG_BINUTILS_HOST_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
+: ${PKG_BINUTILS_HOST_VERSION:=2.24.51};
+: ${PKG_BINUTILS_HOST_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_HOST_VERSION}.tar.bz2};
+: ${PKG_BINUTILS_HOST_AUTOCONF_CONFIG_GUESS:="keep"};
+: ${PKG_BINUTILS_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include -g2 -O0"};
+: ${PKG_BINUTILS_HOST_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --prefix=${PREFIX} --target=${DEFAULT_TARGET} --with-sysroot=${PREFIX_NATIVE}"};
+: ${PKG_BINUTILS_HOST_INSTALL_FILES_V2:="
+ @%[_target]-windmc=bin/windmc
+ @%[_target]-windres=bin/windres"};
+: ${PKG_BINUTILS_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"};
+: ${PKG_BINUTILS_HOST_LIBTOOL:=slibtool-static};
+: ${PKG_BINUTILS_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= prefix="};
+: ${PKG_BINUTILS_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_HOST_VERSION}.midipix.patch"};
+: ${PKG_BINUTILS_HOST_PREFIX:=${PREFIX}};
+: ${PKG_BINUTILS_HOST_VARS_FILE:="vars/binutils.vars"};
+: ${PKG_BINUTILS_HOST_MINGW32_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
+: ${PKG_BINUTILS_HOST_MINGW32_VERSION:=2.24.51};
+: ${PKG_BINUTILS_HOST_MINGW32_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_HOST_MINGW32_VERSION}.tar.bz2};
+: ${PKG_BINUTILS_HOST_MINGW32_AUTOCONF_CONFIG_GUESS:="keep"};
+: ${PKG_BINUTILS_HOST_MINGW32_CONFIGURE_ARGS:="--disable-nls --disable-werror --enable-deterministic-archives --prefix=${PREFIX} --target=x86_64-w64-mingw32 --with-sysroot=${PREFIX_MINGW32}"};
+: ${PKG_BINUTILS_HOST_MINGW32_LIBTOOL:=slibtool-static};
+: ${PKG_BINUTILS_HOST_MINGW32_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
+: ${PKG_BINUTILS_HOST_MINGW32_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_HOST_MINGW32_VERSION}.midipix.patch"};
+: ${PKG_BINUTILS_HOST_MINGW32_PREFIX:=${PREFIX}};
+: ${PKG_BINUTILS_HOST_MINGW32_TARGET:="x86_64-w64-mingw32"};
+: ${PKG_BINUTILS_HOST_MINGW32_VARS_FILE:="vars/binutils.vars"};
+
+ex_pkg_register "binutils_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/gcc_full_host.package b/groups.d/040.host_toolchain.d/gcc_full_host.package
new file mode 100644
index 00000000..79dd9079
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/gcc_full_host.package
@@ -0,0 +1,12 @@
+: ${PKG_GCC_FULL_HOST_DEPENDS:="gcc_stage1_host gcc_libstdcpp_v3_host ldso_host musl_full_host"};
+: ${PKG_GCC_FULL_HOST_VERSION:=4.6.4};
+: ${PKG_GCC_FULL_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
+: ${PKG_GCC_FULL_HOST_BUILD_DIR:="cbb-gcc-4.6.4-host-x86_64-nt64-midipix"};
+: ${PKG_GCC_FULL_HOST_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_FULL_HOST_NO_CLEAN_BASE_DIR:=1};
+: ${PKG_GCC_FULL_HOST_PREFIX:=${PREFIX}};
+: ${PKG_GCC_FULL_HOST_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_full_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/gcc_libstdcpp_v3_host.package b/groups.d/040.host_toolchain.d/gcc_libstdcpp_v3_host.package
new file mode 100644
index 00000000..0d0534aa
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/gcc_libstdcpp_v3_host.package
@@ -0,0 +1,11 @@
+: ${PKG_GCC_LIBSTDCPP_V3_HOST_DEPENDS:="gcc_runtime_host gcc_stage1_host ldso_host musl_full_host"};
+: ${PKG_GCC_LIBSTDCPP_V3_HOST_VERSION:=4.6.4};
+: ${PKG_GCC_LIBSTDCPP_V3_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
+: ${PKG_GCC_LIBSTDCPP_V3_HOST_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_LIBSTDCPP_V3_HOST_NO_CLEAN_BASE_DIR:=1};
+: ${PKG_GCC_LIBSTDCPP_V3_HOST_PREFIX:=${PREFIX}};
+: ${PKG_GCC_LIBSTDCPP_V3_HOST_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_libstdcpp_v3_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/gcc_runtime_host.package b/groups.d/040.host_toolchain.d/gcc_runtime_host.package
new file mode 100644
index 00000000..4ec8b444
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/gcc_runtime_host.package
@@ -0,0 +1,11 @@
+: ${PKG_GCC_RUNTIME_HOST_DEPENDS:="gcc_stage1_host musl_no_complex_host psxstub_host"};
+: ${PKG_GCC_RUNTIME_HOST_VERSION:=4.6.4};
+: ${PKG_GCC_RUNTIME_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
+: ${PKG_GCC_RUNTIME_HOST_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_RUNTIME_HOST_NO_CLEAN_BASE_DIR:=1};
+: ${PKG_GCC_RUNTIME_HOST_PREFIX:=${PREFIX}};
+: ${PKG_GCC_RUNTIME_HOST_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_runtime" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/gmp_host.package b/groups.d/040.host_toolchain.d/gmp_host.package
new file mode 100644
index 00000000..67dd2c44
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/gmp_host.package
@@ -0,0 +1,10 @@
+: ${PKG_GMP_HOST_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2};
+: ${PKG_GMP_HOST_VERSION:=6.1.2};
+: ${PKG_GMP_HOST_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_HOST_VERSION}.tar.bz2};
+: ${PKG_GMP_HOST_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix="};
+: ${PKG_GMP_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gmp/gmp-${PKG_GMP_HOST_VERSION}.midipix.patch"};
+: ${PKG_GMP_HOST_PREFIX:=${PREFIX}};
+
+ex_pkg_register "gmp_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/ldso_host.package b/groups.d/040.host_toolchain.d/ldso_host.package
new file mode 100644
index 00000000..1f918045
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/ldso_host.package
@@ -0,0 +1,13 @@
+: ${PKG_LDSO_HOST_PREFIX="${PREFIX_NATIVE}"};
+: ${PKG_LDSO_HOST_DEPENDS:="gcc_stage1_host musl_full_host psxtypes_host"};
+: ${PKG_LDSO_HOST_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
+: ${PKG_LDSO_HOST_BUILD_TYPE:=cross};
+: ${PKG_LDSO_HOST_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
+: ${PKG_LDSO_HOST_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET} --disable-shared"};
+: ${PKG_LDSO_HOST_INSTALL_FILES_V2:="@../%[_target]/lib/libldso.a=%[_prefix]/lib/libldso.a"};
+: ${PKG_LDSO_HOST_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
+: ${PKG_LDSO_HOST_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
+
+ex_pkg_register "ldso_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/mpc_host.package b/groups.d/040.host_toolchain.d/mpc_host.package
new file mode 100644
index 00000000..3b5cb5d4
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/mpc_host.package
@@ -0,0 +1,10 @@
+: ${PKG_MPC_HOST_DEPENDS:="gmp_host mpfr_host"};
+: ${PKG_MPC_HOST_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff};
+: ${PKG_MPC_HOST_VERSION:=1.0.1};
+: ${PKG_MPC_HOST_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_HOST_VERSION}.tar.gz};
+: ${PKG_MPC_HOST_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX} --with-mpfr=${PREFIX}"};
+: ${PKG_MPC_HOST_PREFIX:=${PREFIX}};
+
+ex_pkg_register "mpc_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/mpfr_host.package b/groups.d/040.host_toolchain.d/mpfr_host.package
new file mode 100644
index 00000000..462184cf
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/mpfr_host.package
@@ -0,0 +1,10 @@
+: ${PKG_MPFR_HOST_DEPENDS:="gmp_host"};
+: ${PKG_MPFR_HOST_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b};
+: ${PKG_MPFR_HOST_VERSION:=3.1.2};
+: ${PKG_MPFR_HOST_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_HOST_VERSION}.tar.bz2};
+: ${PKG_MPFR_HOST_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX}"};
+: ${PKG_MPFR_HOST_PREFIX:=${PREFIX}};
+
+ex_pkg_register "mpfr_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/musl_full_host.package b/groups.d/040.host_toolchain.d/musl_full_host.package
new file mode 100644
index 00000000..c774ed52
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/musl_full_host.package
@@ -0,0 +1,17 @@
+: ${PKG_MUSL_FULL_HOST_DEPENDS:="gcc_stage1_host gcc_runtime_host"};
+: ${PKG_MUSL_FULL_HOST_SHA256SUM:=a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4};
+: ${PKG_MUSL_FULL_HOST_VERSION:=1.2.5};
+: ${PKG_MUSL_FULL_HOST_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_FULL_HOST_VERSION}.tar.gz"}
+: ${PKG_MUSL_FULL_HOST_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
+: ${PKG_MUSL_FULL_HOST_BASE_DIR:=${BUILD_WORKDIR}/musl_full-host-${DEFAULT_TARGET}};
+: ${PKG_MUSL_FULL_HOST_BUILD_DIR:=build/musl};
+: ${PKG_MUSL_FULL_HOST_BUILD_TYPE:=cross};
+: ${PKG_MUSL_FULL_HOST_CONFIGURE:=build/mmglue/configure};
+: ${PKG_MUSL_FULL_HOST_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_FULL_HOST_VERSION} --prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_MUSL_FULL_HOST_INSTALL_FILES_V2:="-=include/iconv.h"};
+: ${PKG_MUSL_FULL_HOST_SUBDIR:=musl-${PKG_MUSL_FULL_HOST_VERSION}};
+: ${PKG_MUSL_FULL_HOST_VARS_FILE:="vars/musl.vars"};
+
+ex_pkg_register "musl_full_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/musl_no_complex_host.package b/groups.d/040.host_toolchain.d/musl_no_complex_host.package
new file mode 100644
index 00000000..da35c193
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/musl_no_complex_host.package
@@ -0,0 +1,18 @@
+: ${PKG_MUSL_NO_COMPLEX_HOST_PREFIX:="${PREFIX_NATIVE}"};
+: ${PKG_MUSL_NO_COMPLEX_HOST_DEPENDS:="gcc_stage1_host"};
+: ${PKG_MUSL_NO_COMPLEX_HOST_SHA256SUM:=${PKG_MUSL_FULL_HOST_SHA256SUM}};
+: ${PKG_MUSL_NO_COMPLEX_HOST_VERSION:=${PKG_MUSL_FULL_HOST_VERSION}};
+: ${PKG_MUSL_NO_COMPLEX_HOST_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_NO_COMPLEX_HOST_VERSION}.tar.gz"}
+: ${PKG_MUSL_NO_COMPLEX_HOST_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
+: ${PKG_MUSL_NO_COMPLEX_HOST_BASE_DIR:=${BUILD_WORKDIR}/musl_no_complex-host-${DEFAULT_TARGET}};
+: ${PKG_MUSL_NO_COMPLEX_HOST_BUILD_DIR:=build/musl};
+: ${PKG_MUSL_NO_COMPLEX_HOST_BUILD_TYPE:=cross};
+: ${PKG_MUSL_NO_COMPLEX_HOST_CONFIGURE:=build/mmglue/configure};
+: ${PKG_MUSL_NO_COMPLEX_HOST_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_NO_COMPLEX_HOST_VERSION} --no-complex --prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_MUSL_NO_COMPLEX_HOST_INSTALL_FILES_V2:="-=include/iconv.h"};
+: ${PKG_MUSL_NO_COMPLEX_HOST_SUBDIR:=musl-${PKG_MUSL_NO_COMPLEX_HOST_VERSION}};
+: ${PKG_MUSL_NO_COMPLEX_HOST_VARS_FILE:="vars/musl.vars"};
+
+ex_pkg_register "musl_no_complex_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/nasm_host.package b/groups.d/040.host_toolchain.d/nasm_host.package
new file mode 100644
index 00000000..049ca217
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/nasm_host.package
@@ -0,0 +1,10 @@
+: ${PKG_NASM_HOST_SHA256SUM:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558};
+: ${PKG_NASM_HOST_VERSION:=2.16.01};
+: ${PKG_NASM_HOST_URL:=http://www.nasm.us/pub/nasm/releasebuilds/${PKG_NASM_HOST_VERSION}/nasm-${PKG_NASM_HOST_VERSION}.tar.xz};
+: ${PKG_NASM_HOST_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
+: ${PKG_NASM_HOST_INSTALL_FILES_V2:="!bin/%<*>=bin/%[_target]-%[FNAME]"};
+: ${PKG_NASM_HOST_PREFIX:=${PREFIX}};
+
+ex_pkg_register "nasm_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/psxstub_host.package b/groups.d/040.host_toolchain.d/psxstub_host.package
new file mode 100644
index 00000000..0cbcdda8
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/psxstub_host.package
@@ -0,0 +1,10 @@
+: ${PKG_PSXSTUB_HOST_PREFIX:="${PREFIX_NATIVE}"};
+: ${PKG_PSXSTUB_HOST_DEPENDS:="gcc_stage1_host"};
+: ${PKG_PSXSTUB_HOST_URLS_GIT:="psxstub=${DEFAULT_GITROOT}/psxstub"};
+: ${PKG_PSXSTUB_HOST_BUILD_STEPS_DISABLE:=build};
+: ${PKG_PSXSTUB_HOST_ENV_VARS_EXTRA:=TARGET=${DEFAULT_TARGET}};
+: ${PKG_PSXSTUB_HOST_IN_TREE:=1};
+
+ex_pkg_register "psxstub_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/psxtypes_host.package b/groups.d/040.host_toolchain.d/psxtypes_host.package
new file mode 100644
index 00000000..bfca6b58
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/psxtypes_host.package
@@ -0,0 +1,10 @@
+: ${PKG_PSXTYPES_HOST_PREFIX:="${PREFIX_NATIVE}"};
+: ${PKG_PSXTYPES_HOST_DEPENDS:="gcc_stage1_host"};
+: ${PKG_PSXTYPES_HOST_URLS_GIT:=psxtypes=${DEFAULT_GITROOT}/psxtypes};
+: ${PKG_PSXTYPES_HOST_BUILD_STEPS_DISABLE:=build};
+: ${PKG_PSXTYPES_HOST_CONFIGURE_ARGS:="--disable-nls --prefix="};
+: ${PKG_PSXTYPES_HOST_IN_TREE:=1};
+
+ex_pkg_register "psxtypes_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.group b/groups.d/040.host_toolchain.group
index f5acb070..c7657dc1 100644
--- a/groups.d/040.host_toolchain.group
+++ b/groups.d/040.host_toolchain.group
@@ -5,154 +5,8 @@ HOST_TOOLCHAIN_BUILD_TYPE="host";
HOST_TOOLCHAIN_CONFIGURE_ARGS="--disable-nls --prefix= --target=${DEFAULT_TARGET}";
HOST_TOOLCHAIN_GROUP_DEPENDS="host_deps host_deps_rpm host_tools cross_toolchain";
HOST_TOOLCHAIN_MAKEFLAGS_INSTALL_EXTRA="prefix= PREFIX=";
-HOST_TOOLCHAIN_PACKAGES="
-binutils_host binutils_host_mingw32 gcc_full_host gcc_libstdcpp_v3_host
-gcc_runtime_host gcc_stage1_host_mingw32 gcc_stage1_host gmp_host
-ldso_host mpc_host mpfr_host musl_full_host musl_no_complex_host nasm_host
-psxstub_host psxtypes_host";
HOST_TOOLCHAIN_PKG_CONFIG="${PREFIX}/bin/pkgconf";
HOST_TOOLCHAIN_PREFIX="${PREFIX_CROSS}";
HOST_TOOLCHAIN_RPM_DISABLE=1;
-: ${PKG_BINUTILS_HOST_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
-: ${PKG_BINUTILS_HOST_VERSION:=2.24.51};
-: ${PKG_BINUTILS_HOST_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_HOST_VERSION}.tar.bz2};
-: ${PKG_BINUTILS_HOST_AUTOCONF_CONFIG_GUESS:="keep"};
-: ${PKG_BINUTILS_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include -g2 -O0"};
-: ${PKG_BINUTILS_HOST_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --prefix=${PREFIX} --target=${DEFAULT_TARGET} --with-sysroot=${PREFIX_NATIVE}"};
-: ${PKG_BINUTILS_HOST_INSTALL_FILES_V2:="
- @%[_target]-windmc=bin/windmc
- @%[_target]-windres=bin/windres"};
-: ${PKG_BINUTILS_HOST_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"};
-: ${PKG_BINUTILS_HOST_LIBTOOL:=slibtool-static};
-: ${PKG_BINUTILS_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= prefix="};
-: ${PKG_BINUTILS_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_HOST_VERSION}.midipix.patch"};
-: ${PKG_BINUTILS_HOST_PREFIX:=${PREFIX}};
-: ${PKG_BINUTILS_HOST_VARS_FILE:="vars/binutils.vars"};
-: ${PKG_BINUTILS_HOST_MINGW32_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
-: ${PKG_BINUTILS_HOST_MINGW32_VERSION:=2.24.51};
-: ${PKG_BINUTILS_HOST_MINGW32_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_HOST_MINGW32_VERSION}.tar.bz2};
-: ${PKG_BINUTILS_HOST_MINGW32_AUTOCONF_CONFIG_GUESS:="keep"};
-: ${PKG_BINUTILS_HOST_MINGW32_CONFIGURE_ARGS:="--disable-nls --disable-werror --enable-deterministic-archives --prefix=${PREFIX} --target=x86_64-w64-mingw32 --with-sysroot=${PREFIX_MINGW32}"};
-: ${PKG_BINUTILS_HOST_MINGW32_LIBTOOL:=slibtool-static};
-: ${PKG_BINUTILS_HOST_MINGW32_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
-: ${PKG_BINUTILS_HOST_MINGW32_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_HOST_MINGW32_VERSION}.midipix.patch"};
-: ${PKG_BINUTILS_HOST_MINGW32_PREFIX:=${PREFIX}};
-: ${PKG_BINUTILS_HOST_MINGW32_TARGET:="x86_64-w64-mingw32"};
-: ${PKG_BINUTILS_HOST_MINGW32_VARS_FILE:="vars/binutils.vars"};
-: ${PKG_GCC_FULL_HOST_DEPENDS:="gcc_stage1_host gcc_libstdcpp_v3_host ldso_host musl_full_host"};
-: ${PKG_GCC_FULL_HOST_VERSION:=4.6.4};
-: ${PKG_GCC_FULL_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
-: ${PKG_GCC_FULL_HOST_BUILD_DIR:="cbb-gcc-4.6.4-host-x86_64-nt64-midipix"};
-: ${PKG_GCC_FULL_HOST_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_FULL_HOST_NO_CLEAN_BASE_DIR:=1};
-: ${PKG_GCC_FULL_HOST_PREFIX:=${PREFIX}};
-: ${PKG_GCC_FULL_HOST_VARS_FILE:="vars/gcc.vars"};
-: ${PKG_GCC_LIBSTDCPP_V3_HOST_DEPENDS:="gcc_runtime_host gcc_stage1_host ldso_host musl_full_host"};
-: ${PKG_GCC_LIBSTDCPP_V3_HOST_VERSION:=4.6.4};
-: ${PKG_GCC_LIBSTDCPP_V3_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
-: ${PKG_GCC_LIBSTDCPP_V3_HOST_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_LIBSTDCPP_V3_HOST_NO_CLEAN_BASE_DIR:=1};
-: ${PKG_GCC_LIBSTDCPP_V3_HOST_PREFIX:=${PREFIX}};
-: ${PKG_GCC_LIBSTDCPP_V3_HOST_VARS_FILE:="vars/gcc.vars"};
-: ${PKG_GCC_RUNTIME_HOST_DEPENDS:="gcc_stage1_host musl_no_complex_host psxstub_host"};
-: ${PKG_GCC_RUNTIME_HOST_VERSION:=4.6.4};
-: ${PKG_GCC_RUNTIME_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
-: ${PKG_GCC_RUNTIME_HOST_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_RUNTIME_HOST_NO_CLEAN_BASE_DIR:=1};
-: ${PKG_GCC_RUNTIME_HOST_PREFIX:=${PREFIX}};
-: ${PKG_GCC_RUNTIME_HOST_VARS_FILE:="vars/gcc.vars"};
-
-: ${PKG_GCC_STAGE1_HOST_MINGW32_DEPENDS:="binutils_host_mingw32 gmp_host mpc_host mpfr_host"};
-: ${PKG_GCC_STAGE1_HOST_MINGW32_VERSION:=4.6.4};
-: ${PKG_GCC_STAGE1_HOST_MINGW32_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-x86_64-w64-mingw32};
-: ${PKG_GCC_STAGE1_HOST_MINGW32_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
-: ${PKG_GCC_STAGE1_HOST_MINGW32_CONFIGURE_ARGS:="--disable-nls --prefix=${PREFIX} --target=x86_64-w64-mingw32"};
-: ${PKG_GCC_STAGE1_HOST_MINGW32_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"};
-: ${PKG_GCC_STAGE1_HOST_MINGW32_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_STAGE1_HOST_MINGW32_PREFIX:=${PREFIX}};
-: ${PKG_GCC_STAGE1_HOST_MINGW32_TARGET:="x86_64-w64-mingw32"};
-: ${PKG_GCC_STAGE1_HOST_MINGW32_VARS_FILE:="vars/gcc.vars"};
-
-: ${PKG_GCC_STAGE1_HOST_DEPENDS:="binutils_host gmp_host mpc_host mpfr_host"};
-: ${PKG_GCC_STAGE1_HOST_VERSION:=4.6.4};
-: ${PKG_GCC_STAGE1_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
-: ${PKG_GCC_STAGE1_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
-: ${PKG_GCC_STAGE1_HOST_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_STAGE1_HOST_LDFLAGS_CONFIGURE:="-Wl,-rpath,${PREFIX}/lib"};
-: ${PKG_GCC_STAGE1_HOST_PREFIX:=${PREFIX}};
-: ${PKG_GCC_STAGE1_HOST_VARS_FILE:="vars/gcc.vars"};
-: ${PKG_GMP_HOST_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2};
-: ${PKG_GMP_HOST_VERSION:=6.1.2};
-: ${PKG_GMP_HOST_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_HOST_VERSION}.tar.bz2};
-: ${PKG_GMP_HOST_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix="};
-: ${PKG_GMP_HOST_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gmp/gmp-${PKG_GMP_HOST_VERSION}.midipix.patch"};
-: ${PKG_GMP_HOST_PREFIX:=${PREFIX}};
-: ${PKG_LDSO_HOST_PREFIX="${PREFIX_NATIVE}"};
-: ${PKG_LDSO_HOST_DEPENDS:="gcc_stage1_host musl_full_host psxtypes_host"};
-: ${PKG_LDSO_HOST_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
-: ${PKG_LDSO_HOST_BUILD_TYPE:=cross};
-: ${PKG_LDSO_HOST_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
-: ${PKG_LDSO_HOST_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET} --disable-shared"};
-: ${PKG_LDSO_HOST_INSTALL_FILES_V2:="@../%[_target]/lib/libldso.a=%[_prefix]/lib/libldso.a"};
-: ${PKG_LDSO_HOST_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
-: ${PKG_LDSO_HOST_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
-: ${PKG_MPC_HOST_DEPENDS:="gmp_host mpfr_host"};
-: ${PKG_MPC_HOST_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff};
-: ${PKG_MPC_HOST_VERSION:=1.0.1};
-: ${PKG_MPC_HOST_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_HOST_VERSION}.tar.gz};
-: ${PKG_MPC_HOST_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX} --with-mpfr=${PREFIX}"};
-: ${PKG_MPC_HOST_PREFIX:=${PREFIX}};
-: ${PKG_MPFR_HOST_DEPENDS:="gmp_host"};
-: ${PKG_MPFR_HOST_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b};
-: ${PKG_MPFR_HOST_VERSION:=3.1.2};
-: ${PKG_MPFR_HOST_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_HOST_VERSION}.tar.bz2};
-: ${PKG_MPFR_HOST_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX}"};
-: ${PKG_MPFR_HOST_PREFIX:=${PREFIX}};
-: ${PKG_MUSL_FULL_HOST_DEPENDS:="gcc_stage1_host gcc_runtime_host"};
-: ${PKG_MUSL_FULL_HOST_SHA256SUM:=a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4};
-: ${PKG_MUSL_FULL_HOST_VERSION:=1.2.5};
-: ${PKG_MUSL_FULL_HOST_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_FULL_HOST_VERSION}.tar.gz"}
-: ${PKG_MUSL_FULL_HOST_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
-: ${PKG_MUSL_FULL_HOST_BASE_DIR:=${BUILD_WORKDIR}/musl_full-host-${DEFAULT_TARGET}};
-: ${PKG_MUSL_FULL_HOST_BUILD_DIR:=build/musl};
-: ${PKG_MUSL_FULL_HOST_BUILD_TYPE:=cross};
-: ${PKG_MUSL_FULL_HOST_CONFIGURE:=build/mmglue/configure};
-: ${PKG_MUSL_FULL_HOST_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_FULL_HOST_VERSION} --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_MUSL_FULL_HOST_INSTALL_FILES_V2:="-=include/iconv.h"};
-: ${PKG_MUSL_FULL_HOST_SUBDIR:=musl-${PKG_MUSL_FULL_HOST_VERSION}};
-: ${PKG_MUSL_FULL_HOST_VARS_FILE:="vars/musl.vars"};
-: ${PKG_MUSL_NO_COMPLEX_HOST_PREFIX:="${PREFIX_NATIVE}"};
-: ${PKG_MUSL_NO_COMPLEX_HOST_DEPENDS:="gcc_stage1_host"};
-: ${PKG_MUSL_NO_COMPLEX_HOST_SHA256SUM:=${PKG_MUSL_FULL_HOST_SHA256SUM}};
-: ${PKG_MUSL_NO_COMPLEX_HOST_VERSION:=${PKG_MUSL_FULL_HOST_VERSION}};
-: ${PKG_MUSL_NO_COMPLEX_HOST_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_NO_COMPLEX_HOST_VERSION}.tar.gz"}
-: ${PKG_MUSL_NO_COMPLEX_HOST_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
-: ${PKG_MUSL_NO_COMPLEX_HOST_BASE_DIR:=${BUILD_WORKDIR}/musl_no_complex-host-${DEFAULT_TARGET}};
-: ${PKG_MUSL_NO_COMPLEX_HOST_BUILD_DIR:=build/musl};
-: ${PKG_MUSL_NO_COMPLEX_HOST_BUILD_TYPE:=cross};
-: ${PKG_MUSL_NO_COMPLEX_HOST_CONFIGURE:=build/mmglue/configure};
-: ${PKG_MUSL_NO_COMPLEX_HOST_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_NO_COMPLEX_HOST_VERSION} --no-complex --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_MUSL_NO_COMPLEX_HOST_INSTALL_FILES_V2:="-=include/iconv.h"};
-: ${PKG_MUSL_NO_COMPLEX_HOST_SUBDIR:=musl-${PKG_MUSL_NO_COMPLEX_HOST_VERSION}};
-: ${PKG_MUSL_NO_COMPLEX_HOST_VARS_FILE:="vars/musl.vars"};
-: ${PKG_NASM_HOST_SHA256SUM:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558};
-: ${PKG_NASM_HOST_VERSION:=2.16.01};
-: ${PKG_NASM_HOST_URL:=http://www.nasm.us/pub/nasm/releasebuilds/${PKG_NASM_HOST_VERSION}/nasm-${PKG_NASM_HOST_VERSION}.tar.xz};
-: ${PKG_NASM_HOST_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
-: ${PKG_NASM_HOST_INSTALL_FILES_V2:="!bin/%<*>=bin/%[_target]-%[FNAME]"};
-: ${PKG_NASM_HOST_PREFIX:=${PREFIX}};
-: ${PKG_PSXSTUB_HOST_PREFIX:="${PREFIX_NATIVE}"};
-: ${PKG_PSXSTUB_HOST_DEPENDS:="gcc_stage1_host"};
-: ${PKG_PSXSTUB_HOST_URLS_GIT:="psxstub=${DEFAULT_GITROOT}/psxstub"};
-: ${PKG_PSXSTUB_HOST_BUILD_STEPS_DISABLE:=build};
-: ${PKG_PSXSTUB_HOST_ENV_VARS_EXTRA:=TARGET=${DEFAULT_TARGET}};
-: ${PKG_PSXSTUB_HOST_IN_TREE:=1};
-: ${PKG_PSXTYPES_HOST_PREFIX:="${PREFIX_NATIVE}"};
-: ${PKG_PSXTYPES_HOST_DEPENDS:="gcc_stage1_host"};
-: ${PKG_PSXTYPES_HOST_URLS_GIT:=psxtypes=${DEFAULT_GITROOT}/psxtypes};
-: ${PKG_PSXTYPES_HOST_BUILD_STEPS_DISABLE:=build};
-: ${PKG_PSXTYPES_HOST_CONFIGURE_ARGS:="--disable-nls --prefix="};
-: ${PKG_PSXTYPES_HOST_IN_TREE:=1};
-
# vim:filetype=sh textwidth=0
diff --git a/groups.d/100.native_tools.d/mdso.package b/groups.d/100.native_tools.d/mdso.package
new file mode 100644
index 00000000..10a2c05a
--- /dev/null
+++ b/groups.d/100.native_tools.d/mdso.package
@@ -0,0 +1,10 @@
+: ${PKG_MDSO_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
+: ${PKG_MDSO_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_MDSO_INSTALL_FILES_V2:="
+ @mdso=bin/${DEFAULT_TARGET}-mdso
+ /=${DEFAULT_TARGET}/bin
+ @../../bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
+
+ex_pkg_register "mdso" "${RTL_FILEOP_SOURCE_FNAME}" "native_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/100.native_tools.d/perk.package b/groups.d/100.native_tools.d/perk.package
new file mode 100644
index 00000000..2ff84603
--- /dev/null
+++ b/groups.d/100.native_tools.d/perk.package
@@ -0,0 +1,9 @@
+: ${PKG_PERK_DEPENDS:="mdso"};
+: ${PKG_PERK_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
+: ${PKG_PERK_CFLAGS_CONFIGURE:="-I${PREFIX_NATIVE}/include"};
+: ${PKG_PERK_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_PERK_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
+
+ex_pkg_register "perk" "${RTL_FILEOP_SOURCE_FNAME}" "native_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/100.native_tools.d/pkgconf.package b/groups.d/100.native_tools.d/pkgconf.package
new file mode 100644
index 00000000..826f198a
--- /dev/null
+++ b/groups.d/100.native_tools.d/pkgconf.package
@@ -0,0 +1,11 @@
+: ${PKG_PKGCONF_SHA256SUM:=ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf};
+: ${PKG_PKGCONF_VERSION:=1.9.0};
+: ${PKG_PKGCONF_URL:=https://distfiles.dereferenced.org/pkgconf/pkgconf-${PKG_PKGCONF_HOST_VERSION}.tar.xz};
+: ${PKG_PKGCONF_CONFIGURE_ARGS:="--prefix= --host=${DEFAULT_TARGET} --with-sysroot=/"};
+: ${PKG_PKGCONF_INSTALL_FILES_V2:="
+ @pkgconf=bin/pkg-config
+ /=lib/pkgconfig"};
+
+ex_pkg_register "pkgconf" "${RTL_FILEOP_SOURCE_FNAME}" "native_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/100.native_tools.d/slibtool.package b/groups.d/100.native_tools.d/slibtool.package
new file mode 100644
index 00000000..383b63ec
--- /dev/null
+++ b/groups.d/100.native_tools.d/slibtool.package
@@ -0,0 +1,6 @@
+: ${PKG_SLIBTOOL_URLS_GIT:="slibtool=https://git.midipix.org/slibtool"};
+: ${PKG_SLIBTOOL_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}"};
+
+ex_pkg_register "slibtool" "${RTL_FILEOP_SOURCE_FNAME}" "native_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/100.native_tools.d/tpax.package b/groups.d/100.native_tools.d/tpax.package
new file mode 100644
index 00000000..d7b04331
--- /dev/null
+++ b/groups.d/100.native_tools.d/tpax.package
@@ -0,0 +1,6 @@
+: ${PKG_TPAX_URLS_GIT:="tpax=https://git.midipix.org/tpax@main"};
+: ${PKG_TPAX_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}"};
+
+ex_pkg_register "tpax" "${RTL_FILEOP_SOURCE_FNAME}" "native_tools";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/100.native_tools.group b/groups.d/100.native_tools.group
index f735a959..70e5df5f 100644
--- a/groups.d/100.native_tools.group
+++ b/groups.d/100.native_tools.group
@@ -4,31 +4,7 @@
NATIVE_TOOLS_CONFIGURE_ARGS="--disable-nls --host=${DEFAULT_TARGET} --program-prefix= --prefix=/ --target=${DEFAULT_TARGET}";
NATIVE_TOOLS_GROUP_DEPENDS="host_deps host_deps_rpm cross_toolchain host_toolchain host_tools";
NATIVE_TOOLS_MAKEFLAGS_INSTALL="PREFIX= prefix=";
-NATIVE_TOOLS_PACKAGES="
-mdso perk pkgconf slibtool tpax";
NATIVE_TOOLS_PKG_CONFIG_LIBDIR="${PREFIX_NATIVE}/lib/pkgconfig";
NATIVE_TOOLS_PREFIX="${PREFIX_NATIVE}";
-: ${PKG_MDSO_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
-: ${PKG_MDSO_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_MDSO_INSTALL_FILES_V2:="
- @mdso=bin/${DEFAULT_TARGET}-mdso
- /=${DEFAULT_TARGET}/bin
- @../../bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
-: ${PKG_PERK_DEPENDS:="mdso"};
-: ${PKG_PERK_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
-: ${PKG_PERK_CFLAGS_CONFIGURE:="-I${PREFIX_NATIVE}/include"};
-: ${PKG_PERK_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_PERK_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
-: ${PKG_PKGCONF_SHA256SUM:=ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf};
-: ${PKG_PKGCONF_VERSION:=1.9.0};
-: ${PKG_PKGCONF_URL:=https://distfiles.dereferenced.org/pkgconf/pkgconf-${PKG_PKGCONF_HOST_VERSION}.tar.xz};
-: ${PKG_PKGCONF_CONFIGURE_ARGS:="--prefix= --host=${DEFAULT_TARGET} --with-sysroot=/"};
-: ${PKG_PKGCONF_INSTALL_FILES_V2:="
- @pkgconf=bin/pkg-config
- /=lib/pkgconfig"};
-: ${PKG_SLIBTOOL_URLS_GIT:="slibtool=https://git.midipix.org/slibtool"};
-: ${PKG_SLIBTOOL_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_TPAX_URLS_GIT:="tpax=https://git.midipix.org/tpax@main"};
-: ${PKG_TPAX_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}"};
# vim:filetype=sh textwidth=0
diff --git a/groups.d/110.native_toolchain.d/binutils.package b/groups.d/110.native_toolchain.d/binutils.package
new file mode 100644
index 00000000..6664c3e2
--- /dev/null
+++ b/groups.d/110.native_toolchain.d/binutils.package
@@ -0,0 +1,18 @@
+: ${PKG_BINUTILS_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
+: ${PKG_BINUTILS_VERSION:=2.24.51};
+: ${PKG_BINUTILS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_VERSION}.tar.bz2};
+: ${PKG_BINUTILS_AUTOCONF_CONFIG_GUESS:="keep"};
+: ${PKG_BINUTILS_CONFIGURE_ARGS_EXTRA:="--enable-deterministic-archives --with-libelf=${PREFIX_NATIVE} --with-gmp=${PREFIX_NATIVE} --with-mpc=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE} --with-sysroot=/"};
+: ${PKG_BINUTILS_CFLAGS_CONFIGURE:="-isystem ${PREFIX_NATIVE}/include -Wno-error=cpp"};
+: ${PKG_BINUTILS_LDFLAGS_CONFIGURE:="-L${PREFIX_NATIVE}/lib"};
+: ${PKG_BINUTILS_INSTALL_FILES_V2:="
+ +%[_builddir]/bfd/bfd.h=include/%[FNAME]
+ +%[_builddir]/bfd/.libs/libbfd.a=lib/%[FNAME]
+ +%[_subdir]/include/ansidecl.h=include/%[FNAME]
+ +%[_subdir]/include/symcat.h=include/%[FNAME]"};
+: ${PKG_BINUTILS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_VERSION}.midipix.patch"};
+: ${PKG_BINUTILS_LIBTOOL:=slibtool-static};
+
+ex_pkg_register "binutils" "${RTL_FILEOP_SOURCE_FNAME}" "native_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/110.native_toolchain.d/binutils_mingw32.package b/groups.d/110.native_toolchain.d/binutils_mingw32.package
new file mode 100644
index 00000000..2e751876
--- /dev/null
+++ b/groups.d/110.native_toolchain.d/binutils_mingw32.package
@@ -0,0 +1,13 @@
+: ${PKG_BINUTILS_MINGW32_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
+: ${PKG_BINUTILS_MINGW32_VERSION:=2.24.51};
+: ${PKG_BINUTILS_MINGW32_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_MINGW32_VERSION}.tar.bz2};
+: ${PKG_BINUTILS_MINGW32_AUTOCONF_CONFIG_GUESS:="keep"};
+: ${PKG_BINUTILS_MINGW32_CONFIGURE_ARGS:="--disable-nls --enable-deterministic-archives --host=${DEFAULT_TARGET} --prefix=/ --target=x86_64-w64-mingw32 --with-libelf=${PREFIX_NATIVE} --with-gmp=${PREFIX_NATIVE} --with-mpc=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE} --with-sysroot=/"};
+: ${PKG_BINUTILS_MINGW32_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_MINGW32_VERSION}.midipix.patch"};
+: ${PKG_BINUTILS_MINGW32_PREFIX:="${PREFIX_NATIVE}"};
+: ${PKG_BINUTILS_MINGW32_LIBTOOL:=slibtool-static};
+: ${PKG_BINUTILS_MINGW32_VARS_FILE:="vars/binutils.vars"};
+
+ex_pkg_register "binutils_mingw32" "${RTL_FILEOP_SOURCE_FNAME}" "native_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/110.native_toolchain.d/gcc_full.package b/groups.d/110.native_toolchain.d/gcc_full.package
new file mode 100644
index 00000000..66dba814
--- /dev/null
+++ b/groups.d/110.native_toolchain.d/gcc_full.package
@@ -0,0 +1,10 @@
+: ${PKG_GCC_FULL_DEPENDS:="binutils gmp mpc mpfr musl_full"};
+: ${PKG_GCC_FULL_VERSION:=4.6.4};
+: ${PKG_GCC_FULL_BASE_DIR:=${BUILD_WORKDIR}/gcc-native-${DEFAULT_TARGET}};
+: ${PKG_GCC_FULL_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
+: ${PKG_GCC_FULL_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_FULL_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_full" "${RTL_FILEOP_SOURCE_FNAME}" "native_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/110.native_toolchain.d/gcc_stage1_native_mingw32.package b/groups.d/110.native_toolchain.d/gcc_stage1_native_mingw32.package
new file mode 100644
index 00000000..fc2ffd61
--- /dev/null
+++ b/groups.d/110.native_toolchain.d/gcc_stage1_native_mingw32.package
@@ -0,0 +1,13 @@
+: ${PKG_GCC_STAGE1_NATIVE_MINGW32_DEPENDS:="binutils_mingw32 gmp mpc mpfr"};
+: ${PKG_GCC_STAGE1_NATIVE_MINGW32_VERSION:=4.6.4};
+: ${PKG_GCC_STAGE1_NATIVE_MINGW32_BASE_DIR:=${BUILD_WORKDIR}/gcc-native-x86_64-w64-mingw32};
+: ${PKG_GCC_STAGE1_NATIVE_MINGW32_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
+: ${PKG_GCC_STAGE1_NATIVE_MINGW32_CONFIGURE_ARGS:="--disable-nls --host=${DEFAULT_TARGET} --prefix=/ --target=x86_64-w64-mingw32"};
+: ${PKG_GCC_STAGE1_NATIVE_MINGW32_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_STAGE1_NATIVE_MINGW32_PREFIX:="${PREFIX_NATIVE}"};
+: ${PKG_GCC_STAGE1_NATIVE_MINGW32_TARGET:=x86_64-w64-mingw32};
+: ${PKG_GCC_STAGE1_NATIVE_MINGW32_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_stage1_native_mingw32" "${RTL_FILEOP_SOURCE_FNAME}" "native_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/110.native_toolchain.d/gmp.package b/groups.d/110.native_toolchain.d/gmp.package
new file mode 100644
index 00000000..8898f6c1
--- /dev/null
+++ b/groups.d/110.native_toolchain.d/gmp.package
@@ -0,0 +1,9 @@
+: ${PKG_GMP_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2};
+: ${PKG_GMP_VERSION:=6.1.2};
+: ${PKG_GMP_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_VERSION}.tar.bz2};
+: ${PKG_GMP_CONFIGURE_ARGS_EXTRA:=--disable-assembly};
+: ${PKG_GMP_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gmp/gmp-${PKG_GMP_VERSION}.midipix.patch"};
+
+ex_pkg_register "gmp" "${RTL_FILEOP_SOURCE_FNAME}" "native_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/110.native_toolchain.d/mpc.package b/groups.d/110.native_toolchain.d/mpc.package
new file mode 100644
index 00000000..8b71c0f5
--- /dev/null
+++ b/groups.d/110.native_toolchain.d/mpc.package
@@ -0,0 +1,9 @@
+: ${PKG_MPC_DEPENDS:="gmp mpfr"};
+: ${PKG_MPC_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff};
+: ${PKG_MPC_VERSION:=1.0.1};
+: ${PKG_MPC_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_VERSION}.tar.gz};
+: ${PKG_MPC_CONFIGURE_ARGS_EXTRA:="--disable-assembly --with-gmp=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE}"};
+
+ex_pkg_register "mpc" "${RTL_FILEOP_SOURCE_FNAME}" "native_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/110.native_toolchain.d/mpfr.package b/groups.d/110.native_toolchain.d/mpfr.package
new file mode 100644
index 00000000..7ce52b59
--- /dev/null
+++ b/groups.d/110.native_toolchain.d/mpfr.package
@@ -0,0 +1,9 @@
+: ${PKG_MPFR_DEPENDS:="gmp"};
+: ${PKG_MPFR_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b};
+: ${PKG_MPFR_VERSION:=3.1.2};
+: ${PKG_MPFR_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_VERSION}.tar.bz2};
+: ${PKG_MPFR_CONFIGURE_ARGS_EXTRA:="--disable-assembly --with-gmp=${PREFIX_NATIVE}"};
+
+ex_pkg_register "mpfr" "${RTL_FILEOP_SOURCE_FNAME}" "native_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/110.native_toolchain.d/musl_full.package b/groups.d/110.native_toolchain.d/musl_full.package
new file mode 100644
index 00000000..b7a5cbc7
--- /dev/null
+++ b/groups.d/110.native_toolchain.d/musl_full.package
@@ -0,0 +1,16 @@
+: ${PKG_MUSL_FULL_DEPENDS:="binutils"};
+: ${PKG_MUSL_FULL_SHA256SUM:=a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4};
+: ${PKG_MUSL_FULL_VERSION:=1.2.5};
+: ${PKG_MUSL_FULL_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_FULL_VERSION}.tar.gz"}
+: ${PKG_MUSL_FULL_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
+: ${PKG_MUSL_FULL_BASE_DIR:=${BUILD_WORKDIR}/musl_full-native-${DEFAULT_TARGET}};
+: ${PKG_MUSL_FULL_BUILD_DIR:=build/musl};
+: ${PKG_MUSL_FULL_CONFIGURE:=build/mmglue/configure};
+: ${PKG_MUSL_FULL_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_FULL_VERSION} --prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_MUSL_FULL_INSTALL_FILES_V2:="-=include/iconv.h"};
+: ${PKG_MUSL_FULL_SUBDIR:=musl-${PKG_MUSL_FULL_VERSION}};
+: ${PKG_MUSL_FULL_VARS_FILE:="vars/musl.vars"};
+
+ex_pkg_register "musl_full" "${RTL_FILEOP_SOURCE_FNAME}" "native_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/110.native_toolchain.group b/groups.d/110.native_toolchain.group
index c242dabf..014ed809 100644
--- a/groups.d/110.native_toolchain.group
+++ b/groups.d/110.native_toolchain.group
@@ -3,73 +3,6 @@
#
NATIVE_TOOLCHAIN_CONFIGURE_ARGS="--disable-nls --host=${DEFAULT_TARGET} --program-prefix= --prefix=/ --target=${DEFAULT_TARGET}";
NATIVE_TOOLCHAIN_GROUP_DEPENDS="host_deps host_deps_rpm cross_toolchain host_toolchain host_tools native_tools";
-NATIVE_TOOLCHAIN_PACKAGES="
-binutils binutils_mingw32 gcc_full gcc_stage1_native_mingw32 gmp mpc mpfr musl_full ";
NATIVE_TOOLCHAIN_PREFIX="${PREFIX_NATIVE}";
-: ${PKG_BINUTILS_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
-: ${PKG_BINUTILS_VERSION:=2.24.51};
-: ${PKG_BINUTILS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_VERSION}.tar.bz2};
-: ${PKG_BINUTILS_AUTOCONF_CONFIG_GUESS:="keep"};
-: ${PKG_BINUTILS_CONFIGURE_ARGS_EXTRA:="--enable-deterministic-archives --with-libelf=${PREFIX_NATIVE} --with-gmp=${PREFIX_NATIVE} --with-mpc=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE} --with-sysroot=/"};
-: ${PKG_BINUTILS_CFLAGS_CONFIGURE:="-isystem ${PREFIX_NATIVE}/include -Wno-error=cpp"};
-: ${PKG_BINUTILS_LDFLAGS_CONFIGURE:="-L${PREFIX_NATIVE}/lib"};
-: ${PKG_BINUTILS_INSTALL_FILES_V2:="
- +%[_builddir]/bfd/bfd.h=include/%[FNAME]
- +%[_builddir]/bfd/.libs/libbfd.a=lib/%[FNAME]
- +%[_subdir]/include/ansidecl.h=include/%[FNAME]
- +%[_subdir]/include/symcat.h=include/%[FNAME]"};
-: ${PKG_BINUTILS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_VERSION}.midipix.patch"};
-: ${PKG_BINUTILS_LIBTOOL:=slibtool-static};
-: ${PKG_BINUTILS_MINGW32_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
-: ${PKG_BINUTILS_MINGW32_VERSION:=2.24.51};
-: ${PKG_BINUTILS_MINGW32_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_MINGW32_VERSION}.tar.bz2};
-: ${PKG_BINUTILS_MINGW32_AUTOCONF_CONFIG_GUESS:="keep"};
-: ${PKG_BINUTILS_MINGW32_CONFIGURE_ARGS:="--disable-nls --enable-deterministic-archives --host=${DEFAULT_TARGET} --prefix=/ --target=x86_64-w64-mingw32 --with-libelf=${PREFIX_NATIVE} --with-gmp=${PREFIX_NATIVE} --with-mpc=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE} --with-sysroot=/"};
-: ${PKG_BINUTILS_MINGW32_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_MINGW32_VERSION}.midipix.patch"};
-: ${PKG_BINUTILS_MINGW32_PREFIX:="${PREFIX_NATIVE}"};
-: ${PKG_BINUTILS_MINGW32_LIBTOOL:=slibtool-static};
-: ${PKG_BINUTILS_MINGW32_VARS_FILE:="vars/binutils.vars"};
-: ${PKG_GCC_FULL_DEPENDS:="binutils gmp mpc mpfr musl_full"};
-: ${PKG_GCC_FULL_VERSION:=4.6.4};
-: ${PKG_GCC_FULL_BASE_DIR:=${BUILD_WORKDIR}/gcc-native-${DEFAULT_TARGET}};
-: ${PKG_GCC_FULL_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
-: ${PKG_GCC_FULL_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_FULL_VARS_FILE:="vars/gcc.vars"};
-: ${PKG_GCC_STAGE1_NATIVE_MINGW32_DEPENDS:="binutils_mingw32 gmp mpc mpfr"};
-: ${PKG_GCC_STAGE1_NATIVE_MINGW32_VERSION:=4.6.4};
-: ${PKG_GCC_STAGE1_NATIVE_MINGW32_BASE_DIR:=${BUILD_WORKDIR}/gcc-native-x86_64-w64-mingw32};
-: ${PKG_GCC_STAGE1_NATIVE_MINGW32_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
-: ${PKG_GCC_STAGE1_NATIVE_MINGW32_CONFIGURE_ARGS:="--disable-nls --host=${DEFAULT_TARGET} --prefix=/ --target=x86_64-w64-mingw32"};
-: ${PKG_GCC_STAGE1_NATIVE_MINGW32_GITROOT:=${DEFAULT_GITROOT}};
-: ${PKG_GCC_STAGE1_NATIVE_MINGW32_PREFIX:="${PREFIX_NATIVE}"};
-: ${PKG_GCC_STAGE1_NATIVE_MINGW32_TARGET:=x86_64-w64-mingw32};
-: ${PKG_GCC_STAGE1_NATIVE_MINGW32_VARS_FILE:="vars/gcc.vars"};
-: ${PKG_GMP_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2};
-: ${PKG_GMP_VERSION:=6.1.2};
-: ${PKG_GMP_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_VERSION}.tar.bz2};
-: ${PKG_GMP_CONFIGURE_ARGS_EXTRA:=--disable-assembly};
-: ${PKG_GMP_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gmp/gmp-${PKG_GMP_VERSION}.midipix.patch"};
-: ${PKG_MPC_DEPENDS:="gmp mpfr"};
-: ${PKG_MPC_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff};
-: ${PKG_MPC_VERSION:=1.0.1};
-: ${PKG_MPC_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_VERSION}.tar.gz};
-: ${PKG_MPC_CONFIGURE_ARGS_EXTRA:="--disable-assembly --with-gmp=${PREFIX_NATIVE} --with-mpfr=${PREFIX_NATIVE}"};
-: ${PKG_MPFR_DEPENDS:="gmp"};
-: ${PKG_MPFR_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b};
-: ${PKG_MPFR_VERSION:=3.1.2};
-: ${PKG_MPFR_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_VERSION}.tar.bz2};
-: ${PKG_MPFR_CONFIGURE_ARGS_EXTRA:="--disable-assembly --with-gmp=${PREFIX_NATIVE}"};
-: ${PKG_MUSL_FULL_DEPENDS:="binutils"};
-: ${PKG_MUSL_FULL_SHA256SUM:=a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4};
-: ${PKG_MUSL_FULL_VERSION:=1.2.5};
-: ${PKG_MUSL_FULL_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_FULL_VERSION}.tar.gz"}
-: ${PKG_MUSL_FULL_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
-: ${PKG_MUSL_FULL_BASE_DIR:=${BUILD_WORKDIR}/musl_full-native-${DEFAULT_TARGET}};
-: ${PKG_MUSL_FULL_BUILD_DIR:=build/musl};
-: ${PKG_MUSL_FULL_CONFIGURE:=build/mmglue/configure};
-: ${PKG_MUSL_FULL_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_FULL_VERSION} --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_MUSL_FULL_INSTALL_FILES_V2:="-=include/iconv.h"};
-: ${PKG_MUSL_FULL_SUBDIR:=musl-${PKG_MUSL_FULL_VERSION}};
-: ${PKG_MUSL_FULL_VARS_FILE:="vars/musl.vars"};
# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/dalist.package b/groups.d/120.native_runtime.d/dalist.package
new file mode 100644
index 00000000..ff2075d9
--- /dev/null
+++ b/groups.d/120.native_runtime.d/dalist.package
@@ -0,0 +1,7 @@
+: ${PKG_DALIST_DEPENDS:="ldso psxtypes"};
+: ${PKG_DALIST_URLS_GIT:=dalist=${DEFAULT_GITROOT}/dalist};
+: ${PKG_DALIST_INSTALL_TARGET_EXTRA:=install-lib};
+
+ex_pkg_register "dalist" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/ldso.package b/groups.d/120.native_runtime.d/ldso.package
new file mode 100644
index 00000000..ff966d64
--- /dev/null
+++ b/groups.d/120.native_runtime.d/ldso.package
@@ -0,0 +1,13 @@
+: ${PKG_LDSO_DEPENDS:="psxtypes"};
+: ${PKG_LDSO_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
+: ${PKG_LDSO_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
+: ${PKG_LDSO_CONFIGURE_ARGS_EXTRA:=--disable-shared};
+: ${PKG_LDSO_INSTALL_FILES_V2:="
+ /=${DEFAULT_TARGET}/lib
+ @../../lib/libldso.a=${DEFAULT_TARGET}/lib/libldso.a"};
+: ${PKG_LDSO_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
+: ${PKG_LDSO_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
+
+ex_pkg_register "ldso" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/ntapi.package b/groups.d/120.native_runtime.d/ntapi.package
new file mode 100644
index 00000000..a3be3768
--- /dev/null
+++ b/groups.d/120.native_runtime.d/ntapi.package
@@ -0,0 +1,7 @@
+: ${PKG_NTAPI_DEPENDS:="dalist ldso pemagine psxtypes"};
+: ${PKG_NTAPI_URLS_GIT:=ntapi=${DEFAULT_GITROOT}/ntapi};
+: ${PKG_NTAPI_INSTALL_TARGET_EXTRA:=install-lib};
+
+ex_pkg_register "ntapi" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/ntcon.package b/groups.d/120.native_runtime.d/ntcon.package
new file mode 100644
index 00000000..2c7cc21c
--- /dev/null
+++ b/groups.d/120.native_runtime.d/ntcon.package
@@ -0,0 +1,7 @@
+: ${PKG_NTCON_DEPENDS:="ldso pemagine"};
+: ${PKG_NTCON_URLS_GIT:=ntcon=${DEFAULT_GITROOT}/ntcon};
+: ${PKG_NTCON_INSTALL_TARGET_EXTRA:=install-lib};
+
+ex_pkg_register "ntcon" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/ntctty.package b/groups.d/120.native_runtime.d/ntctty.package
new file mode 100644
index 00000000..19a795fa
--- /dev/null
+++ b/groups.d/120.native_runtime.d/ntctty.package
@@ -0,0 +1,8 @@
+: ${PKG_NTCTTY_DEPENDS:="dalist ldso ntapi pemagine"};
+: ${PKG_NTCTTY_URLS_GIT:=ntctty=${DEFAULT_GITROOT_HEAD}/ntctty};
+: ${PKG_NTCTTY_CFLAGS_CONFIGURE_EXTRA:=-O0};
+: ${PKG_NTCTTY_MIRRORS_GIT:="skip"};
+
+ex_pkg_register "ntctty" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/ntux.package b/groups.d/120.native_runtime.d/ntux.package
new file mode 100644
index 00000000..e41e869d
--- /dev/null
+++ b/groups.d/120.native_runtime.d/ntux.package
@@ -0,0 +1,8 @@
+: ${PKG_NTUX_DEPENDS:="dalist ldso ntapi pemagine psxscl"};
+: ${PKG_NTUX_URLS_GIT:=ntux=${DEFAULT_GITROOT}/ntux};
+: ${PKG_NTUX_CFLAGS_CONFIGURE_EXTRA:=-O0};
+: ${PKG_NTUX_HOST_INSTALL_FILES_V2:="+ntux/bin/ntux=bin/%[FNAME]"};
+
+ex_pkg_register "ntux" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/pemagine.package b/groups.d/120.native_runtime.d/pemagine.package
new file mode 100644
index 00000000..4971ea0b
--- /dev/null
+++ b/groups.d/120.native_runtime.d/pemagine.package
@@ -0,0 +1,8 @@
+: ${PKG_PEMAGINE_DEPENDS:="ldso psxtypes"};
+: ${PKG_PEMAGINE_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
+: ${PKG_PEMAGINE_CFLAGS_CONFIGURE_EXTRA:=-O0};
+: ${PKG_PEMAGINE_INSTALL_TARGET_EXTRA:=install-lib};
+
+ex_pkg_register "pemagine" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/psxscl.package b/groups.d/120.native_runtime.d/psxscl.package
new file mode 100644
index 00000000..d179403d
--- /dev/null
+++ b/groups.d/120.native_runtime.d/psxscl.package
@@ -0,0 +1,17 @@
+: ${PKG_PSXSCL_DEPENDS:="dalist ldso ntapi pemagine psxtypes"};
+: ${PKG_PSXSCL_URLS_GIT:=psxscl=${DEFAULT_GITROOT_HEAD}/psxscl};
+: ${PKG_PSXSCL_CFLAGS_CONFIGURE_EXTRA:=-O0};
+: ${PKG_PSXSCL_INSTALL_TARGET_EXTRA:=install-lib};
+: ${PKG_PSXSCL_MIRRORS_GIT:="skip"};
+: ${PKG_PSXSCL_STRACE_DEPENDS:="dalist ldso ntapi pemagine psxtypes"};
+: ${PKG_PSXSCL_STRACE_URLS_GIT:=psxscl=${DEFAULT_GITROOT_HEAD}/psxscl};
+: ${PKG_PSXSCL_STRACE_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_PSXSCL_STRACE_CFLAGS_CONFIGURE_EXTRA:="-DPSX_EXTENDED_STRACE -O0"};
+: ${PKG_PSXSCL_STRACE_INSTALL_FILES_V2:="
+ /=lib/debug
+ +../obj/lib/libpsxscl.so=lib/debug/%[FNAME]"};
+: ${PKG_PSXSCL_STRACE_MIRRORS_GIT:="skip"};
+
+ex_pkg_register "psxscl" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/psxtypes.package b/groups.d/120.native_runtime.d/psxtypes.package
new file mode 100644
index 00000000..02ecab36
--- /dev/null
+++ b/groups.d/120.native_runtime.d/psxtypes.package
@@ -0,0 +1,7 @@
+: ${PKG_PSXTYPES_URLS_GIT:=psxtypes=${DEFAULT_GITROOT}/psxtypes};
+: ${PKG_PSXTYPES_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
+: ${PKG_PSXTYPES_IN_TREE:=1};
+
+ex_pkg_register "psxtypes" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/ptycon.package b/groups.d/120.native_runtime.d/ptycon.package
new file mode 100644
index 00000000..5bb5bbc0
--- /dev/null
+++ b/groups.d/120.native_runtime.d/ptycon.package
@@ -0,0 +1,8 @@
+: ${PKG_PTYCON_DEPENDS:="dalist ldso ntapi ntcon psxscl"};
+: ${PKG_PTYCON_URLS_GIT:=ptycon=${DEFAULT_GITROOT}/ptycon};
+: ${PKG_PTYCON_CFLAGS_CONFIGURE_EXTRA:=-O0};
+: ${PKG_PTYCON_INSTALL_TARGET_EXTRA:="install-app install-lib"};
+
+ex_pkg_register "ptycon" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/sltdl.package b/groups.d/120.native_runtime.d/sltdl.package
new file mode 100644
index 00000000..bb9b0982
--- /dev/null
+++ b/groups.d/120.native_runtime.d/sltdl.package
@@ -0,0 +1,8 @@
+: ${PKG_SLTDL_DEPENDS:="ldso"};
+: ${PKG_SLTDL_URLS_GIT:=sltdl=${DEFAULT_GITROOT}/sltdl};
+: ${PKG_SLTDL_CONFIGURE_ARGS_EXTRA:=--as-ltdl-drop-in-replacement};
+: ${PKG_SLTDL_INSTALL_TARGET_EXTRA:=install-lib};
+
+ex_pkg_register "sltdl" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/toksvc.package b/groups.d/120.native_runtime.d/toksvc.package
new file mode 100644
index 00000000..0359b317
--- /dev/null
+++ b/groups.d/120.native_runtime.d/toksvc.package
@@ -0,0 +1,7 @@
+: ${PKG_TOKSVC_DEPENDS:="dalist ldso ntapi ntcon psxscl"};
+: ${PKG_TOKSVC_URLS_GIT:=toksvc=${DEFAULT_GITROOT}/toksvc};
+: ${PKG_TOKSVC_CFLAGS_CONFIGURE_EXTRA:=-O0};
+
+ex_pkg_register "toksvc" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.d/u16ports.package b/groups.d/120.native_runtime.d/u16ports.package
new file mode 100644
index 00000000..46bd3b87
--- /dev/null
+++ b/groups.d/120.native_runtime.d/u16ports.package
@@ -0,0 +1,8 @@
+: ${PKG_U16PORTS_DEPENDS:="ldso"};
+: ${PKG_U16PORTS_URLS_GIT:=u16ports=${DEFAULT_GITROOT}/u16ports};
+: ${PKG_U16PORTS_CFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -Wno-missing-field-initializers"};
+: ${PKG_U16PORTS_INSTALL_TARGET_EXTRA:=install-lib};
+
+ex_pkg_register "u16ports" "${RTL_FILEOP_SOURCE_FNAME}" "native_runtime";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/120.native_runtime.group b/groups.d/120.native_runtime.group
index 71eceaed..153a40f1 100644
--- a/groups.d/120.native_runtime.group
+++ b/groups.d/120.native_runtime.group
@@ -7,69 +7,6 @@ NATIVE_RUNTIME_CXXFLAGS_CONFIGURE="${DEFAULT_CXXFLAGS_RUNTIME}";
NATIVE_RUNTIME_CONFIGURE_ARGS="--prefix= --strict --host=${DEFAULT_TARGET}";
NATIVE_RUNTIME_ENV_VARS_EXTRA="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib";
NATIVE_RUNTIME_GROUP_DEPENDS="host_deps host_deps_rpm cross_toolchain host_toolchain host_tools native_toolchain native_tools";
-NATIVE_RUNTIME_PACKAGES="
-dalist ldso ntapi ntcon ntctty ntux pemagine psxscl psxscl_strace psxtypes ptycon toksvc sltdl u16ports";
NATIVE_RUNTIME_PREFIX="${PREFIX_NATIVE}";
-: ${PKG_DALIST_DEPENDS:="ldso psxtypes"};
-: ${PKG_DALIST_URLS_GIT:=dalist=${DEFAULT_GITROOT}/dalist};
-: ${PKG_DALIST_INSTALL_TARGET_EXTRA:=install-lib};
-: ${PKG_LDSO_DEPENDS:="psxtypes"};
-: ${PKG_LDSO_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
-: ${PKG_LDSO_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
-: ${PKG_LDSO_CONFIGURE_ARGS_EXTRA:=--disable-shared};
-: ${PKG_LDSO_INSTALL_FILES_V2:="
- /=${DEFAULT_TARGET}/lib
- @../../lib/libldso.a=${DEFAULT_TARGET}/lib/libldso.a"};
-: ${PKG_LDSO_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
-: ${PKG_LDSO_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
-: ${PKG_NTAPI_DEPENDS:="dalist ldso pemagine psxtypes"};
-: ${PKG_NTAPI_URLS_GIT:=ntapi=${DEFAULT_GITROOT}/ntapi};
-: ${PKG_NTAPI_INSTALL_TARGET_EXTRA:=install-lib};
-: ${PKG_NTCON_DEPENDS:="ldso pemagine"};
-: ${PKG_NTCON_URLS_GIT:=ntcon=${DEFAULT_GITROOT}/ntcon};
-: ${PKG_NTCON_INSTALL_TARGET_EXTRA:=install-lib};
-: ${PKG_NTCTTY_DEPENDS:="dalist ldso ntapi pemagine"};
-: ${PKG_NTCTTY_URLS_GIT:=ntctty=${DEFAULT_GITROOT_HEAD}/ntctty};
-: ${PKG_NTCTTY_CFLAGS_CONFIGURE_EXTRA:=-O0};
-: ${PKG_NTCTTY_MIRRORS_GIT:="skip"};
-: ${PKG_NTUX_DEPENDS:="dalist ldso ntapi pemagine psxscl"};
-: ${PKG_NTUX_URLS_GIT:=ntux=${DEFAULT_GITROOT}/ntux};
-: ${PKG_NTUX_CFLAGS_CONFIGURE_EXTRA:=-O0};
-: ${PKG_NTUX_HOST_INSTALL_FILES_V2:="+ntux/bin/ntux=bin/%[FNAME]"};
-: ${PKG_PEMAGINE_DEPENDS:="ldso psxtypes"};
-: ${PKG_PEMAGINE_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
-: ${PKG_PEMAGINE_CFLAGS_CONFIGURE_EXTRA:=-O0};
-: ${PKG_PEMAGINE_INSTALL_TARGET_EXTRA:=install-lib};
-: ${PKG_PSXSCL_DEPENDS:="dalist ldso ntapi pemagine psxtypes"};
-: ${PKG_PSXSCL_URLS_GIT:=psxscl=${DEFAULT_GITROOT_HEAD}/psxscl};
-: ${PKG_PSXSCL_CFLAGS_CONFIGURE_EXTRA:=-O0};
-: ${PKG_PSXSCL_INSTALL_TARGET_EXTRA:=install-lib};
-: ${PKG_PSXSCL_MIRRORS_GIT:="skip"};
-: ${PKG_PSXSCL_STRACE_DEPENDS:="dalist ldso ntapi pemagine psxtypes"};
-: ${PKG_PSXSCL_STRACE_URLS_GIT:=psxscl=${DEFAULT_GITROOT_HEAD}/psxscl};
-: ${PKG_PSXSCL_STRACE_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_PSXSCL_STRACE_CFLAGS_CONFIGURE_EXTRA:="-DPSX_EXTENDED_STRACE -O0"};
-: ${PKG_PSXSCL_STRACE_INSTALL_FILES_V2:="
- /=lib/debug
- +../obj/lib/libpsxscl.so=lib/debug/%[FNAME]"};
-: ${PKG_PSXSCL_STRACE_MIRRORS_GIT:="skip"};
-: ${PKG_PSXTYPES_URLS_GIT:=psxtypes=${DEFAULT_GITROOT}/psxtypes};
-: ${PKG_PSXTYPES_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
-: ${PKG_PSXTYPES_IN_TREE:=1};
-: ${PKG_PTYCON_DEPENDS:="dalist ldso ntapi ntcon psxscl"};
-: ${PKG_PTYCON_URLS_GIT:=ptycon=${DEFAULT_GITROOT}/ptycon};
-: ${PKG_PTYCON_CFLAGS_CONFIGURE_EXTRA:=-O0};
-: ${PKG_PTYCON_INSTALL_TARGET_EXTRA:="install-app install-lib"};
-: ${PKG_TOKSVC_DEPENDS:="dalist ldso ntapi ntcon psxscl"};
-: ${PKG_TOKSVC_URLS_GIT:=toksvc=${DEFAULT_GITROOT}/toksvc};
-: ${PKG_TOKSVC_CFLAGS_CONFIGURE_EXTRA:=-O0};
-: ${PKG_SLTDL_DEPENDS:="ldso"};
-: ${PKG_SLTDL_URLS_GIT:=sltdl=${DEFAULT_GITROOT}/sltdl};
-: ${PKG_SLTDL_CONFIGURE_ARGS_EXTRA:=--as-ltdl-drop-in-replacement};
-: ${PKG_SLTDL_INSTALL_TARGET_EXTRA:=install-lib};
-: ${PKG_U16PORTS_DEPENDS:="ldso"};
-: ${PKG_U16PORTS_URLS_GIT:=u16ports=${DEFAULT_GITROOT}/u16ports};
-: ${PKG_U16PORTS_CFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -Wno-missing-field-initializers"};
-: ${PKG_U16PORTS_INSTALL_TARGET_EXTRA:=install-lib};
# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/bas.package b/groups.d/211.native_packages_cmdline.d/bas.package
new file mode 100644
index 00000000..87e4fa87
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/bas.package
@@ -0,0 +1,16 @@
+: ${PKG_BAS_DEPENDS:="ncurses"};
+: ${PKG_BAS_SHA256SUM:=ec45efa90aaa7f15647fe7898fa0789ba26dc8e10b7ecf8e049b1310f626b884};
+: ${PKG_BAS_VERSION:=2.6};
+: ${PKG_BAS_URL:=www.moria.de/~michael/bas/bas-${PKG_BAS_VERSION}.tar.gz};
+: ${PKG_BAS_IN_TREE:=1};
+: ${PKG_BAS_FORCE_AUTORECONF:=1};
+: ${PKG_BASH_DEPENDS:="ncurses"};
+: ${PKG_BASH_SHA256SUM:=c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8};
+: ${PKG_BASH_VERSION:=5.2.21};
+: ${PKG_BASH_URL:=https://ftp.gnu.org/gnu/bash/bash-${PKG_BASH_VERSION}.tar.gz};
+: ${PKG_BASH_CONFIGURE_ARGS_EXTRA:="--without-bash-malloc --with-curses"};
+: ${PKG_BASH_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "bas" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/bc.package b/groups.d/211.native_packages_cmdline.d/bc.package
new file mode 100644
index 00000000..057334ea
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/bc.package
@@ -0,0 +1,7 @@
+: ${PKG_BC_SHA256SUM:=62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a};
+: ${PKG_BC_VERSION:=1.07.1};
+: ${PKG_BC_URL:=https://ftp.gnu.org/gnu/bc/bc-${PKG_BC_VERSION}.tar.gz};
+
+ex_pkg_register "bc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/busybox.package b/groups.d/211.native_packages_cmdline.d/busybox.package
new file mode 100644
index 00000000..98a617a5
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/busybox.package
@@ -0,0 +1,13 @@
+: ${PKG_BUSYBOX_DEPENDS:="libarchive"};
+: ${PKG_BUSYBOX_SHA256SUM:=faeeb244c35a348a334f4a59e44626ee870fb07b6884d68c10ae8bc19f83a694};
+: ${PKG_BUSYBOX_VERSION:=1.35.0};
+: ${PKG_BUSYBOX_URL:=https://busybox.net/downloads/busybox-${PKG_BUSYBOX_VERSION}.tar.bz2};
+: ${PKG_BUSYBOX_DESTDIR:=destdir/busybox};
+: ${PKG_BUSYBOX_IN_TREE=1};
+: ${PKG_BUSYBOX_INSTALL_FILES_V2:="
+ :%[_builddir]/_install/bin/%<*>=bin/%[FNAME]"};
+: ${PKG_BUSYBOX_PREFIX:=${PREFIX_NATIVE}/busybox};
+
+ex_pkg_register "busybox" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/cabextract.package b/groups.d/211.native_packages_cmdline.d/cabextract.package
new file mode 100644
index 00000000..dc0c1eb8
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/cabextract.package
@@ -0,0 +1,9 @@
+: ${PKG_CABEXTRACT_DEPENDS:="libiconv libmspack"};
+: ${PKG_CABEXTRACT_SHA256SUM:=b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6};
+: ${PKG_CABEXTRACT_VERSION:=1.11};
+: ${PKG_CABEXTRACT_URL:=https://www.cabextract.org.uk/cabextract-${PKG_CABEXTRACT_VERSION}.tar.gz};
+: ${PKG_CABEXTRACT_CONFIGURE_ARGS_EXTRA:=--with-external-libmspack};
+
+ex_pkg_register "cabextract" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/calcurse.package b/groups.d/211.native_packages_cmdline.d/calcurse.package
new file mode 100644
index 00000000..e38c906c
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/calcurse.package
@@ -0,0 +1,10 @@
+: ${PKG_CALCURSE_DEPENDS:="ncursesw"};
+: ${PKG_CALCURSE_SHA256SUM:=d86bb37014fd69b8d83ccb904ac979c6b8ddf59ee3dbc80f5a274525e4d5830a};
+: ${PKG_CALCURSE_VERSION:=4.8.1};
+: ${PKG_CALCURSE_URL:=https://www.calcurse.org/files/calcurse-${PKG_CALCURSE_VERSION}.tar.gz};
+: ${PKG_CALCURSE_CONFIGURE_ARGS_EXTRA:="--without-asciidoc"};
+: ${PKG_CALCURSE_ENV_VARS_EXTRA:="LIBS=-ltinfow"};
+
+ex_pkg_register "calcurse" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/clipboard_utils.package b/groups.d/211.native_packages_cmdline.d/clipboard_utils.package
new file mode 100644
index 00000000..35f58bda
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/clipboard_utils.package
@@ -0,0 +1,9 @@
+: ${PKG_CLIPBOARD_UTILS_DEPENDS:="w32lib"};
+: ${PKG_CLIPBOARD_UTILS_URLS_GIT:=clipboard-utils=https://github.com/redfoxymoon/clipboard-utils.git@master};
+: ${PKG_CLIPBOARD_UTILS_BUILD_DIR:=clipboard-utils};
+: ${PKG_CLIPBOARD_UTILS_CFLAGS_BUILD_EXTRA:="-g2 -O0"};
+: ${PKG_CLIPBOARD_UTILS_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib"};
+
+ex_pkg_register "clipboard_utils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/coreutils.package b/groups.d/211.native_packages_cmdline.d/coreutils.package
new file mode 100644
index 00000000..82063621
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/coreutils.package
@@ -0,0 +1,13 @@
+: ${PKG_COREUTILS_DEPENDS:="libiconv"};
+: ${PKG_COREUTILS_SHA256SUM:=61a1f410d78ba7e7f37a5a4f50e6d1320aca33375484a3255eddf17a38580423};
+: ${PKG_COREUTILS_VERSION:=9.1};
+: ${PKG_COREUTILS_URL:=https://ftp.gnu.org/gnu/coreutils/coreutils-${PKG_COREUTILS_VERSION}.tar.xz};
+: ${PKG_COREUTILS_CONFIGURE_ARGS_EXTRA:="--enable-no-install-program=kill"}
+: ${PKG_COREUTILS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/pemagine -I${PREFIX_NATIVE}/include/dalist"};
+: ${PKG_COREUTILS_ENV_VARS_EXTRA:="LIBS=-lntapi"};
+: ${PKG_COREUTILS_CONFIG_CACHE_EXTRA:="
+gl_cv_have_proc_uptime=yes"};
+
+ex_pkg_register "coreutils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/cpio.package b/groups.d/211.native_packages_cmdline.d/cpio.package
new file mode 100644
index 00000000..db47990b
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/cpio.package
@@ -0,0 +1,7 @@
+: ${PKG_CPIO_SHA256SUM:=937610b97c329a1ec9268553fb780037bcfff0dcffe9725ebc4fd9c1aa9075db};
+: ${PKG_CPIO_VERSION:=2.15};
+: ${PKG_CPIO_URL:=https://ftp.gnu.org/gnu/cpio/cpio-${PKG_CPIO_VERSION}.tar.bz2};
+
+ex_pkg_register "cpio" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/dash.package b/groups.d/211.native_packages_cmdline.d/dash.package
new file mode 100644
index 00000000..7a01ca7a
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/dash.package
@@ -0,0 +1,9 @@
+: ${PKG_DASH_SHA256SUM:=0d632f6b945058d84809cac7805326775bd60cb4a316907d0bd4228ff7107154};
+: ${PKG_DASH_VERSION:=0.5.12};
+: ${PKG_DASH_URL:=https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${PKG_DASH_VERSION}.tar.gz};
+: ${PKG_DASH_CONFIGURE_ARGS_EXTRA:="--disable-glob --enable-fnmatch"};
+: ${PKG_DASH_INSTALL_FILES_V2:="@dash=bin/sh"};
+
+ex_pkg_register "dash" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/datamash.package b/groups.d/211.native_packages_cmdline.d/datamash.package
new file mode 100644
index 00000000..d160a3b8
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/datamash.package
@@ -0,0 +1,7 @@
+: ${PKG_DATAMASH_SHA256SUM:=7ad97e8c7ef616dd03aa5bd67ae24c488272db3e7d1f5774161c18b75f29f6fd};
+: ${PKG_DATAMASH_VERSION:=1.8};
+: ${PKG_DATAMASH_URL:=https://ftp.gnu.org/gnu/datamash/datamash-${PKG_DATAMASH_VERSION}.tar.gz};
+
+ex_pkg_register "datamash" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/dos2unix.package b/groups.d/211.native_packages_cmdline.d/dos2unix.package
new file mode 100644
index 00000000..f97a75f5
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/dos2unix.package
@@ -0,0 +1,14 @@
+: ${PKG_DOS2UNIX_SHA256SUM:=264742446608442eb48f96c20af6da303cb3a92b364e72cb7e24f88239c4bf3a};
+: ${PKG_DOS2UNIX_VERSION:=7.5.2};
+: ${PKG_DOS2UNIX_URL:=http://waterlan.home.xs4all.nl/dos2unix/dos2unix-${PKG_DOS2UNIX_VERSION}.tar.gz};
+: ${PKG_DOS2UNIX_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
+: ${PKG_DOS2UNIX_IN_TREE:=1};
+: ${PKG_DOS2UNIX_INSTALL_FILES_V2:="
+ +../dos2unix-${PKG_DOS2UNIX_VERSION}/dos2unix=bin/%[FNAME]
+ +../dos2unix-${PKG_DOS2UNIX_VERSION}/unix2dos=bin/%[FNAME]
+ @dos2unix=bin/mac2unix
+ @unix2dos=bin/unix2mac"};
+
+ex_pkg_register "dos2unix" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/ed.package b/groups.d/211.native_packages_cmdline.d/ed.package
new file mode 100644
index 00000000..70addede
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/ed.package
@@ -0,0 +1,8 @@
+: ${PKG_ED_SHA256SUM:=c6030defe6ae172f1687906d7354054c75a6a9130af319d4e73c50a91959c5a6};
+: ${PKG_ED_VERSION:=1.20};
+: ${PKG_ED_URL:=https://ftp.gnu.org/gnu/ed/ed-${PKG_ED_VERSION}.tar.lz};
+: ${PKG_ED_CONFIGURE_ARGS_LIST:="--prefix=:CC=${DEFAULT_NATIVE_CC}"};
+
+ex_pkg_register "ed" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/exif.package b/groups.d/211.native_packages_cmdline.d/exif.package
new file mode 100644
index 00000000..408b25b0
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/exif.package
@@ -0,0 +1,8 @@
+: ${PKG_EXIF_DEPENDS:="libexif popt"};
+: ${PKG_EXIF_SHA256SUM:=0fe268736e0ca0538d4af941022761a438854a64c8024a4175e57bf0418117b9};
+: ${PKG_EXIF_VERSION:=0.6.22};
+: ${PKG_EXIF_URL:=https://github.com/libexif/exif/releases/download/exif-0_6_22-release/exif-${PKG_EXIF_VERSION}.tar.xz};
+
+ex_pkg_register "exif" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/figlet.package b/groups.d/211.native_packages_cmdline.d/figlet.package
new file mode 100644
index 00000000..2401f518
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/figlet.package
@@ -0,0 +1,9 @@
+: ${PKG_FIGLET_SHA256SUM:=bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d};
+: ${PKG_FIGLET_VERSION:=2.2.5};
+: ${PKG_FIGLET_URL:=ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-${PKG_FIGLET_VERSION}.tar.gz};
+: ${PKG_FIGLET_IN_TREE:=1};
+: ${PKG_FIGLET_MAKEFLAGS_BUILD_LIST:=CC=${DEFAULT_NATIVE_CC}:LD=${DEFAULT_NATIVE_CCLD}};
+
+ex_pkg_register "figlet" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/findutils.package b/groups.d/211.native_packages_cmdline.d/findutils.package
new file mode 100644
index 00000000..e84670b2
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/findutils.package
@@ -0,0 +1,7 @@
+: ${PKG_FINDUTILS_SHA256SUM:=a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe};
+: ${PKG_FINDUTILS_VERSION:=4.9.0};
+: ${PKG_FINDUTILS_URL:=https://ftp.gnu.org/gnu/findutils/findutils-${PKG_FINDUTILS_VERSION}.tar.xz};
+
+ex_pkg_register "findutils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/gawk.package b/groups.d/211.native_packages_cmdline.d/gawk.package
new file mode 100644
index 00000000..f0492add
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/gawk.package
@@ -0,0 +1,8 @@
+: ${PKG_GAWK_DEPENDS:="readline"};
+: ${PKG_GAWK_SHA256SUM:=d87629386e894bbea11a5e00515fc909dc9b7249529dad9e6a3a2c77085f7ea2};
+: ${PKG_GAWK_VERSION:=5.1.1};
+: ${PKG_GAWK_URL:=https://ftp.gnu.org/gnu/gawk/gawk-${PKG_GAWK_VERSION}.tar.xz};
+
+ex_pkg_register "gawk" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/gcal.package b/groups.d/211.native_packages_cmdline.d/gcal.package
new file mode 100644
index 00000000..63acb5ce
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/gcal.package
@@ -0,0 +1,10 @@
+: ${PKG_GCAL_DEPENDS:="ncurses libunistring"};
+: ${PKG_GCAL_SHA256SUM:=91b56c40b93eee9bda27ec63e95a6316d848e3ee047b5880ed71e5e8e60f61ab};
+: ${PKG_GCAL_VERSION:=4.1};
+: ${PKG_GCAL_URL:=https://ftp.gnu.org/gnu/gcal/gcal-${PKG_GCAL_VERSION}.tar.xz};
+: ${PKG_GCAL_CONFIGURE_ARGS_EXTRA:="--enable-unicode"};
+: ${PKG_GCAL_ENV_VARS_EXTRA:="LIBS=-lunistring"};
+
+ex_pkg_register "gcal" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/grep.package b/groups.d/211.native_packages_cmdline.d/grep.package
new file mode 100644
index 00000000..5b5134c3
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/grep.package
@@ -0,0 +1,9 @@
+: ${PKG_GREP_DEPENDS:="pcre2"};
+: ${PKG_GREP_SHA256SUM:=1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab};
+: ${PKG_GREP_VERSION:=3.11};
+: ${PKG_GREP_URL:=https://ftp.gnu.org/gnu/grep/grep-${PKG_GREP_VERSION}.tar.xz};
+: ${PKG_GREP_CONFIGURE_ARGS_EXTRA:=--enable-perl-regexp};
+
+ex_pkg_register "grep" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/html_xml_utils.package b/groups.d/211.native_packages_cmdline.d/html_xml_utils.package
new file mode 100644
index 00000000..39a1a8bb
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/html_xml_utils.package
@@ -0,0 +1,10 @@
+: ${PKG_HTML_XML_UTILS_DEPENDS:="curl libidn2 libiconv"};
+: ${PKG_HTML_XML_UTILS_SHA256SUM:=5e84729ef36ccd3924d2872ed4ee6954c63332dca5400ba8eb4eaef1f2db4fb2};
+: ${PKG_HTML_XML_UTILS_VERSION:=8.6};
+: ${PKG_HTML_XML_UTILS_URL:=https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-${PKG_HTML_XML_UTILS_VERSION}.tar.gz};
+: ${PKG_HTML_XML_UTILS_CONFIG_CACHE_EXTRA:="
+ac_cv_path__libcurl_config=${PREFIX_NATIVE}/bin/curl-config"};
+
+ex_pkg_register "html_xml_utils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/jush.package b/groups.d/211.native_packages_cmdline.d/jush.package
new file mode 100644
index 00000000..8b92ba42
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/jush.package
@@ -0,0 +1,7 @@
+: ${PKG_JUSH_DEPENDS:="libeditline"};
+: ${PKG_JUSH_URLS_GIT:="jush-master=https://github.com/troglobit/jush.git@master"};
+: ${PKG_JUSH_SUBDIR:="jush-master"};
+
+ex_pkg_register "jush" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/lcab.package b/groups.d/211.native_packages_cmdline.d/lcab.package
new file mode 100644
index 00000000..ff3aca69
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/lcab.package
@@ -0,0 +1,8 @@
+: ${PKG_LCAB_SHA256SUM:=065f2c1793b65f28471c0f71b7cf120a7064f28d1c44b07cabf49ec0e97f1fc8};
+: ${PKG_LCAB_VERSION:=1.0b12};
+: ${PKG_LCAB_URL:=http://deb.debian.org/debian/pool/main/l/lcab/lcab_${PKG_LCAB_VERSION}.orig.tar.gz};
+: ${PKG_LCAB_SUBDIR:=lcab-${PKG_LCAB_VERSION}};
+
+ex_pkg_register "lcab" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/lzop.package b/groups.d/211.native_packages_cmdline.d/lzop.package
new file mode 100644
index 00000000..68fca7f6
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/lzop.package
@@ -0,0 +1,8 @@
+: ${PKG_LZOP_DEPENDS:="lzo"};
+: ${PKG_LZOP_SHA256SUM:=7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41};
+: ${PKG_LZOP_VERSION:=1.04};
+: ${PKG_LZOP_URL:=https://www.lzop.org/download/lzop-${PKG_LZOP_VERSION}.tar.gz};
+
+ex_pkg_register "lzop" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/mawk.package b/groups.d/211.native_packages_cmdline.d/mawk.package
new file mode 100644
index 00000000..c73c8cdc
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/mawk.package
@@ -0,0 +1,7 @@
+: ${PKG_MAWK_SHA256SUM:=7fd4cd1e1fae9290fe089171181bbc6291dfd9bca939ca804f0ddb851c8b8237};
+: ${PKG_MAWK_VERSION:=1.3.4-20200120};
+: ${PKG_MAWK_URL:=https://invisible-island.net/archives/mawk/mawk-${PKG_MAWK_VERSION}.tgz};
+
+ex_pkg_register "mawk" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/mc.package b/groups.d/211.native_packages_cmdline.d/mc.package
new file mode 100644
index 00000000..b2113bb9
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/mc.package
@@ -0,0 +1,12 @@
+: ${PKG_MC_DEPENDS:="glib libX11 ncursesw"};
+: ${PKG_MC_SHA256SUM:=31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4};
+: ${PKG_MC_VERSION:=4.8.27};
+: ${PKG_MC_URL:=http://ftp.midnight-commander.org/mc-${PKG_MC_VERSION}.tar.xz};
+: ${PKG_MC_CFLAGS_CONFIGURE_EXTRA:="-DNCURSES_INTERNALS -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncursesw"};
+: ${PKG_MC_CONFIG_CACHE_EXTRA:="ac_list_mounted_fs=found"};
+: ${PKG_MC_CONFIGURE_ARGS_EXTRA:="--with-screen=ncurses --x-includes=${PREFIX_NATIVE}/include/X11 --x-libraries=${PREFIX_NATIVE}/lib"};
+: ${PKG_MC_LDFLAGS_BUILD_EXTRA:=-ltinfow};
+
+ex_pkg_register "mc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/mksh.package b/groups.d/211.native_packages_cmdline.d/mksh.package
new file mode 100644
index 00000000..e5e941ea
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/mksh.package
@@ -0,0 +1,16 @@
+: ${PKG_MKSH_SHA256SUM:=8bce3837c386684aa7780f085f1a4dbd5e3e26fb5c528ee0d41ae29af7f39013};
+: ${PKG_MKSH_VERSION:=R54};
+: ${PKG_MKSH_URL:="https://sources.voidlinux.org/mksh-${PKG_MKSH_VERSION}/mksh-${PKG_MKSH_VERSION}.tgz http://pub.allbsd.org/MirOS/dist/mir/mksh/mksh-${PKG_MKSH_VERSION}.tgz"};
+: ${PKG_MKSH_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_MKSH_ENV_VARS_EXTRA:="CC=${DEFAULT_NATIVE_CC}"};
+: ${PKG_MKSH_INSTALL_FILES_V2:="
+ +../mksh/mksh=bin/%[FNAME]
+ /=share/doc/mksh/examples
+ +../mksh/dot.mkshrc=share/doc/mksh/examples/%[FNAME]
+ +../mksh/mksh.1=share/man/man1/%[FNAME]"};
+: ${PKG_MKSH_IN_TREE:=1};
+: ${PKG_MKSH_SUBDIR:=mksh};
+
+ex_pkg_register "mksh" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/moe.package b/groups.d/211.native_packages_cmdline.d/moe.package
new file mode 100644
index 00000000..75cf554f
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/moe.package
@@ -0,0 +1,10 @@
+: ${PKG_MOE_DEPENDS:="ncurses ncursesw"};
+: ${PKG_MOE_SHA256SUM:=43a557bc512f89d6c718e5f41029cfe3a055682620eb8dbece6302f34a26146b};
+: ${PKG_MOE_VERSION:=1.13};
+: ${PKG_MOE_URL:=https://ftp.gnu.org/gnu/moe/moe-${PKG_MOE_VERSION}.tar.lz};
+: ${PKG_MOE_CONFIGURE_ARGS_LIST:="--prefix=:CXX=${DEFAULT_NATIVE_CXX}"};
+: ${PKG_MOE_ENV_VARS_EXTRA:="CXXFLAGS=${DEFAULT_CXXFLAGS}"};
+
+ex_pkg_register "moe" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/moon_buggy.package b/groups.d/211.native_packages_cmdline.d/moon_buggy.package
new file mode 100644
index 00000000..05d6867f
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/moon_buggy.package
@@ -0,0 +1,11 @@
+: ${PKG_MOON_BUGGY_DEPENDS:="ncurses"};
+: ${PKG_MOON_BUGGY_SHA256SUM:=352dc16ccae4c66f1e87ab071e6a4ebeb94ff4e4f744ce1b12a769d02fe5d23f};
+: ${PKG_MOON_BUGGY_VERSION:=1.0.51};
+: ${PKG_MOON_BUGGY_URL:=https://m.seehuhn.de/programs/moon-buggy-${PKG_MOON_BUGGY_VERSION}.tar.gz};
+: ${PKG_MOON_BUGGY_CONFIGURE_ARGS_EXTRA:="--sharedstatedir=/etc"};
+: ${PKG_MOON_BUGGY_IN_TREE:=1};
+: ${PKG_MOON_BUGGY_MAKEFLAGS_BUILD:="LIBS=-Wl,-lncurses,-ltinfo"};
+
+ex_pkg_register "moon_buggy" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/mp3splt.package b/groups.d/211.native_packages_cmdline.d/mp3splt.package
new file mode 100644
index 00000000..6af0cde5
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/mp3splt.package
@@ -0,0 +1,9 @@
+: ${PKG_MP3SPLT_DEPENDS:="libmp3splt"};
+: ${PKG_MP3SPLT_SHA256SUM:=3ec32b10ddd8bb11af987b8cd1c76382c48d265d0ffda53041d9aceb1f103baa};
+: ${PKG_MP3SPLT_VERSION:=2.6.2};
+: ${PKG_MP3SPLT_URL:=https://ftp.fau.de/macports/distfiles/mp3splt/mp3splt-${PKG_MP3SPLT_VERSION}.tar.gz};
+: ${PKG_MP3SPLT_CONFIGURE_ARGS_EXTRA:="--enable-oggsplt_symlink --enable-flacsplt_symlink"};
+
+ex_pkg_register "mp3splt" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/mpg123.package b/groups.d/211.native_packages_cmdline.d/mpg123.package
new file mode 100644
index 00000000..50dfcdcd
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/mpg123.package
@@ -0,0 +1,11 @@
+: ${PKG_MPG123_DEPENDS:="w32api w32lib"};
+: ${PKG_MPG123_SHA256SUM:=963885d8cc77262f28b77187c7d189e32195e64244de2530b798ddf32183e847};
+: ${PKG_MPG123_VERSION:=1.29.3};
+: ${PKG_MPG123_URL:=https://mpg123.de/download/mpg123-${PKG_MPG123_VERSION}.tar.bz2};
+: ${PKG_MPG123_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports -DWINAPI_UTF16_DEFAULT"};
+: ${PKG_MPG123_CONFIGURE_ARGS_EXTRA:="--enable-modules --with-cpu=x86-64 --with-audio=win32"};
+: ${PKG_MPG123_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -lkernel32"};
+
+ex_pkg_register "mpg123" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/nano.package b/groups.d/211.native_packages_cmdline.d/nano.package
new file mode 100644
index 00000000..b3388aea
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/nano.package
@@ -0,0 +1,10 @@
+: ${PKG_NANO_DEPENDS:="file libz ncursesw"};
+: ${PKG_NANO_SHA256SUM:=b4edaab0a037b5760484907c674e980053896f33759e43f834a212145fd085f1};
+: ${PKG_NANO_VERSION:=7.2};
+: ${PKG_NANO_URL:=https://www.nano-editor.org/dist/v${PKG_NANO_VERSION%.[0-9]}/nano-${PKG_NANO_VERSION}.tar.gz};
+: ${PKG_NANO_CFLAGS_CONFIGURE_EXTRA:="-std=gnu99"};
+: ${PKG_NANO_MAKEFLAGS_BUILD:="LIBS=-Wl,-lz,-lmagic,-lncursesw,-ltinfow"};
+
+ex_pkg_register "nano" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/ninvaders.package b/groups.d/211.native_packages_cmdline.d/ninvaders.package
new file mode 100644
index 00000000..bcf6ea12
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/ninvaders.package
@@ -0,0 +1,15 @@
+: ${PKG_NINVADERS_DEPENDS:="ncurses"};
+: ${PKG_NINVADERS_SHA256SUM:=bfbc5c378704d9cf5e7fed288dac88859149bee5ed0850175759d310b61fd30b};
+: ${PKG_NINVADERS_VERSION:=0.1.1};
+: ${PKG_NINVADERS_URL:=http://http.debian.net/debian/pool/main/n/ninvaders/ninvaders_${PKG_NINVADERS_VERSION}.orig.tar.gz};
+: ${PKG_NINVADERS_BUILD_DIR:=ninvaders-${PKG_NINVADERS_VERSION}};
+: ${PKG_NINVADERS_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_NINVADERS_CFLAGS_BUILD_EXTRA:="-g3 -O0 -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
+: ${PKG_NINVADERS_INSTALL_FILES_V2:="+../ninvaders-${PKG_NINVADERS_VERSION}/nInvaders=bin/%[FNAME]"};
+: ${PKG_NINVADERS_IN_TREE:=1};
+: ${PKG_NINVADERS_MAKEFLAGS_BUILD:="CC=${DEFAULT_TARGET}-gcc LIBS=-Wl,-lncurses,-ltinfo"};
+: ${PKG_NINVADERS_SUBDIR:=ninvaders-${PKG_NINVADERS_VERSION}};
+
+ex_pkg_register "ninvaders" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/openbsd_baseutils.package b/groups.d/211.native_packages_cmdline.d/openbsd_baseutils.package
new file mode 100644
index 00000000..083e8434
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/openbsd_baseutils.package
@@ -0,0 +1,13 @@
+: ${PKG_OPENBSD_BASEUTILS_DEPENDS:="musl_compat"};
+: ${PKG_OPENBSD_BASEUTILS_URLS_GIT:="baseutils=https://github.com/ibara/baseutils.git@master"};
+: ${PKG_OPENBSD_BASEUTILS_BUILD_DIR:=baseutils};
+: ${PKG_OPENBSD_BASEUTILS_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_OPENBSD_BASEUTILS_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
+: ${PKG_OPENBSD_BASEUTILS_INSTALL_FILES_V2:="
+ +../baseutils/pax/pax=bin/%[FNAME]
+ +../baseutils/pax/%<*.1>=share/man/man1/%[FNAME]"};
+: ${PKG_OPENBSD_BASEUTILS_MAKE_SUBDIRS:="libopenbsd pax"};
+
+ex_pkg_register "openbsd_baseutils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/pixz.package b/groups.d/211.native_packages_cmdline.d/pixz.package
new file mode 100644
index 00000000..c4561fbf
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/pixz.package
@@ -0,0 +1,10 @@
+: ${PKG_PIXZ_DEPENDS:="libarchive xz"};
+: ${PKG_PIXZ_SHA256SUM:=e5e32c6eb0bf112b98e74a5da8fb63b9f2cae71800f599d97ce540e150c8ddc5};
+: ${PKG_PIXZ_VERSION:=1.0.7};
+: ${PKG_PIXZ_URL:=https://github.com/vasi/pixz/releases/download/v${PKG_PIXZ_VERSION}/pixz-${PKG_PIXZ_VERSION}.tar.xz};
+: ${PKG_PIXZ_CONFIG_CACHE_EXTRA:="ac_cv_file_src_pixz_1=yes"};
+: ${PKG_PIXZ_INSTALL_FILES_V2:="+../pixz-${PKG_PIXZ_VERSION}/src/pixz.1=share/man/man1/%[FNAME]"};
+
+ex_pkg_register "pixz" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/profanity.package b/groups.d/211.native_packages_cmdline.d/profanity.package
new file mode 100644
index 00000000..c2d3b1ec
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/profanity.package
@@ -0,0 +1,9 @@
+: ${PKG_PROFANITY_DEPENDS:="libffi libstrophe libgcrypt libz glib gpgme ncursesw curl readline sqlite3"};
+: ${PKG_PROFANITY_SHA256SUM:=23f7b2e5c6cf85913b9e7a228802bca9ecb1d1cf3bf8f8f285e9676176a24902};
+: ${PKG_PROFANITY_VERSION:=0.9.5};
+: ${PKG_PROFANITY_URL:=https://profanity-im.github.io/profanity-${PKG_PROFANITY_VERSION}.tar.gz};
+: ${PKG_PROFANITY_CONFIGURE_ARGS_EXTRA:="--disable-python-plugins --disable-icons-and-clipboard --disable-notifications --disable-pgp"};
+
+ex_pkg_register "profanity" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/pv.package b/groups.d/211.native_packages_cmdline.d/pv.package
new file mode 100644
index 00000000..2a692ad8
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/pv.package
@@ -0,0 +1,9 @@
+: ${PKG_PV_SHA256SUM:=e831951eff0718fba9b1ef286128773b9d0e723e1fbfae88d5a3188814fdc603};
+: ${PKG_PV_VERSION:=1.6.20};
+: ${PKG_PV_URL:=http://www.ivarch.com/programs/sources/pv-${PKG_PV_VERSION}.tar.bz2};
+: ${PKG_PV_DEBUG_CONFIGURE_ARGS_EXTRA:=--enable-debugging};
+: ${PKG_PV_MAKEFLAGS_BUILD_LIST:="LD=${DEFAULT_NATIVE_LD}"};
+
+ex_pkg_register "pv" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/rc.package b/groups.d/211.native_packages_cmdline.d/rc.package
new file mode 100644
index 00000000..f50f8d9b
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/rc.package
@@ -0,0 +1,14 @@
+: ${PKG_RC_DEPENDS:="ncurses readline"};
+: ${PKG_RC_SHA256SUM:=5ed26334dd0c1a616248b15ad7c90ca678ae3066fa02c5ddd0e6936f9af9bfd8};
+: ${PKG_RC_VERSION:=1.7.4};
+: ${PKG_RC_URL:=https://mirror.midipix.org/rc/rc-${PKG_RC_VERSION}.tar.gz};
+: ${PKG_RC_CONFIG_CACHE_EXTRA:="
+ac_cv_func_setpgrp_void=yes
+rc_cv_sys_dev_fd=yes
+rc_cv_sysv_sigcld=no"};
+: ${PKG_RC_CONFIGURE_ARGS_EXTRA:=--with-edit=readline};
+: ${PKG_RC_IN_TREE=1};
+
+ex_pkg_register "rc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/sash.package b/groups.d/211.native_packages_cmdline.d/sash.package
new file mode 100644
index 00000000..cfb73c67
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/sash.package
@@ -0,0 +1,10 @@
+: ${PKG_SASH_DEPENDS:="libz"};
+: ${PKG_SASH_SHA256SUM:=13c4f9a911526949096bf543c21a41149e6b037061193b15ba6b707eea7b6579};
+: ${PKG_SASH_VERSION:=3.8};
+: ${PKG_SASH_URL:=http://members.tip.net.au/%7Edbell/programs/sash-${PKG_SASH_VERSION}.tar.gz};
+: ${PKG_SASH_BUILD_DIR:=sash-${PKG_SASH_VERSION}};
+: ${PKG_SASH_CFLAGS_BUILD_EXTRA:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE} -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=0 -DHAVE_LINUX_CHROOT=0 -DHAVE_LINUX_LOSETUP=0 -DHAVE_LINUX_PIVOT=0"};
+
+ex_pkg_register "sash" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/sbase.package b/groups.d/211.native_packages_cmdline.d/sbase.package
new file mode 100644
index 00000000..24dd285a
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/sbase.package
@@ -0,0 +1,11 @@
+: ${PKG_SBASE_URLS_GIT:="sbase=http://git.suckless.org/sbase@master"};
+: ${PKG_SBASE_DESTDIR:=destdir/suckless};
+: ${PKG_SBASE_CFLAGS_BUILD_EXTRA:="-std=c99 --include=sys/sysmacros.h"};
+: ${PKG_SBASE_IN_TREE:=1};
+: ${PKG_SBASE_MAKE_INSTALL_VNAME:=PREFIX};
+: ${PKG_SBASE_PREFIX:=${PREFIX_NATIVE}/suckless};
+: ${PKG_SBASE_DISABLED:=1};
+
+ex_pkg_register "sbase" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/screen.package b/groups.d/211.native_packages_cmdline.d/screen.package
new file mode 100644
index 00000000..ec44e336
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/screen.package
@@ -0,0 +1,11 @@
+: ${PKG_SCREEN_DEPENDS:="ncursesw"};
+: ${PKG_SCREEN_SHA256SUM:=f9335281bb4d1538ed078df78a20c2f39d3af9a4e91c57d084271e0289c730f4};
+: ${PKG_SCREEN_VERSION:=4.9.0};
+: ${PKG_SCREEN_URL:=https://ftp.gnu.org/gnu/screen/screen-${PKG_SCREEN_VERSION}.tar.gz};
+: ${PKG_SCREEN_CONFIGURE_ARGS_EXTRA:="--disable-pam"};
+: ${PKG_SCREEN_IN_TREE:=1};
+: ${PKG_SCREEN_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "screen" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/sed.package b/groups.d/211.native_packages_cmdline.d/sed.package
new file mode 100644
index 00000000..a86251fd
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/sed.package
@@ -0,0 +1,7 @@
+: ${PKG_SED_SHA256SUM:=6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181};
+: ${PKG_SED_VERSION:=4.9};
+: ${PKG_SED_URL:=https://ftp.gnu.org/gnu/sed/sed-${PKG_SED_VERSION}.tar.xz};
+
+ex_pkg_register "sed" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/sharutils.package b/groups.d/211.native_packages_cmdline.d/sharutils.package
new file mode 100644
index 00000000..ec5b1dd6
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/sharutils.package
@@ -0,0 +1,12 @@
+: ${PKG_SHARUTILS_SHA256SUM:=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a};
+: ${PKG_SHARUTILS_VERSION:=4.15.2};
+: ${PKG_SHARUTILS_URL:=https://ftp.gnu.org/gnu/sharutils/sharutils-${PKG_SHARUTILS_VERSION}.tar.xz};
+: ${PKG_SHARUTILS_CONFIG_CACHE_EXTRA:="
+libopts_cv_test_dev_zero=yes
+libopts_cv_run_realpath=yes
+libopts_cv_run_strftime=yes
+libopts_cv_run_fopen_binary=yes"};
+
+ex_pkg_register "sharutils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/sloccount.package b/groups.d/211.native_packages_cmdline.d/sloccount.package
new file mode 100644
index 00000000..512edd55
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/sloccount.package
@@ -0,0 +1,9 @@
+: ${PKG_SLOCCOUNT_SHA256SUM:=fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b};
+: ${PKG_SLOCCOUNT_VERSION:=2.26};
+: ${PKG_SLOCCOUNT_URL:=https://www.dwheeler.com/sloccount/sloccount-${PKG_SLOCCOUNT_VERSION}.tar.gz};
+: ${PKG_SLOCCOUNT_IN_TREE:=1};
+: ${PKG_SLOCCOUNT_MAKEFLAGS_INSTALL_EXTRA:="PREFIX=${PREFIX_NATIVE}"};
+
+ex_pkg_register "sloccount" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/tar.package b/groups.d/211.native_packages_cmdline.d/tar.package
new file mode 100644
index 00000000..b879a464
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/tar.package
@@ -0,0 +1,8 @@
+: ${PKG_TAR_DEPENDS:="libiconv"};
+: ${PKG_TAR_SHA256SUM:=66a8344b1dc83a411d311bd1547e0176e56cc311f28ee94a30f84dafb3d9067e};
+: ${PKG_TAR_VERSION:=1.33};
+: ${PKG_TAR_URL:=https://ftp.gnu.org/gnu/tar/tar-${PKG_TAR_VERSION}.tar.xz};
+
+ex_pkg_register "tar" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/tcsh.package b/groups.d/211.native_packages_cmdline.d/tcsh.package
new file mode 100644
index 00000000..4a626020
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/tcsh.package
@@ -0,0 +1,8 @@
+: ${PKG_TCSH_DEPENDS:="ncurses libiconv"};
+: ${PKG_TCSH_SHA256SUM:=e3270ce9667fd5bd2a046687659fcf5fd6a6781326f806ebd724f1e1c9cd4185};
+: ${PKG_TCSH_VERSION:=6.24.12};
+: ${PKG_TCSH_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/tcsh/tcsh-${PKG_TCSH_VERSION}.tar.gz};
+
+ex_pkg_register "tcsh" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/terminally_tetris.package b/groups.d/211.native_packages_cmdline.d/terminally_tetris.package
new file mode 100644
index 00000000..ae5336ad
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/terminally_tetris.package
@@ -0,0 +1,14 @@
+: ${PKG_TERMINALLY_TETRIS_DEPENDS:="ncurses"};
+: ${PKG_TERMINALLY_TETRIS_URLS_GIT:=terminally_tetris=https://github.com/thecardkid/terminally-tetris.git@master};
+: ${PKG_TERMINALLY_TETRIS_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_TERMINALLY_TETRIS_CFLAGS_BUILD_EXTRA:="-std=gnu99 -g3 -O0 -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
+: ${PKG_TERMINALLY_TETRIS_INSTALL_FILES_V2:="
+ ../terminally_tetris/build/ttetris=bin/%[FNAME]
+ ../terminally_tetris/man/ttetris.1=share/man/man1/%[FNAME]"};
+: ${PKG_TERMINALLY_TETRIS_IN_TREE:=1};
+: ${PKG_TERMINALLY_TETRIS_LDFLAGS_BUILD_EXTRA:="-lncurses -Wl,--as-needed -ltinfo -Wl,--no-as-needed"};
+: ${PKG_TERMINALLY_TETRIS_MAKEFLAGS_BUILD_EXTRA_LIST:=C=${DEFAULT_NATIVE_CC}};
+
+ex_pkg_register "terminally_tetris" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/the_silver_searcher.package b/groups.d/211.native_packages_cmdline.d/the_silver_searcher.package
new file mode 100644
index 00000000..fdaaae1c
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/the_silver_searcher.package
@@ -0,0 +1,9 @@
+: ${PKG_THE_SILVER_SEARCHER_DEPENDS:="libz pcre xz"};
+: ${PKG_THE_SILVER_SEARCHER_SHA256SUM:=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170};
+: ${PKG_THE_SILVER_SEARCHER_VERSION:=2.2.0};
+: ${PKG_THE_SILVER_SEARCHER_URL:=https://geoff.greer.fm/ag/releases/the_silver_searcher-${PKG_THE_SILVER_SEARCHER_VERSION}.tar.gz};
+: ${PKG_THE_SILVER_SEARCHER_CFLAGS_CONFIGURE_EXTRA:="-D_LARGEFILE64_SOURCE"};
+
+ex_pkg_register "the_silver_searcher" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/toilet.package b/groups.d/211.native_packages_cmdline.d/toilet.package
new file mode 100644
index 00000000..005f6202
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/toilet.package
@@ -0,0 +1,6 @@
+: ${PKG_TOILET_DEPENDS:="libcaca"};
+: ${PKG_TOILET_URLS_GIT:=toilet=https://github.com/cacalabs/toilet@master};
+
+ex_pkg_register "toilet" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/tree.package b/groups.d/211.native_packages_cmdline.d/tree.package
new file mode 100644
index 00000000..963631cf
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/tree.package
@@ -0,0 +1,10 @@
+: ${PKG_TREE_SHA256SUM:=d3c3d55f403af7c76556546325aa1eca90b918cbaaf6d3ab60a49d8367ab90d5};
+: ${PKG_TREE_VERSION:=2.1.1};
+: ${PKG_TREE_URL:=http://mama.indstate.edu/users/ice/tree/src/tree-${PKG_TREE_VERSION}.tgz};
+: ${PKG_TREE_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
+: ${PKG_TREE_CFLAGS_BUILD_EXTRA:="-std=c99"};
+: ${PKG_TREE_IN_TREE:=1};
+
+ex_pkg_register "tree" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/ubase.package b/groups.d/211.native_packages_cmdline.d/ubase.package
new file mode 100644
index 00000000..2d3b35f2
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/ubase.package
@@ -0,0 +1,10 @@
+: ${PKG_UBASE_URLS_GIT:="ubase=http://git.suckless.org/ubase@master"};
+: ${PKG_UBASE_DESTDIR:=destdir/suckless};
+: ${PKG_UBASE_CFLAGS_BUILD_EXTRA:="-std=c99 --include=sys/sysmacros.h"};
+: ${PKG_UBASE_IN_TREE:=1};
+: ${PKG_UBASE_MAKE_INSTALL_VNAME:=PREFIX};
+: ${PKG_UBASE_PREFIX:=${PREFIX_NATIVE}/suckless};
+
+ex_pkg_register "ubase" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/which.package b/groups.d/211.native_packages_cmdline.d/which.package
new file mode 100644
index 00000000..19111403
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/which.package
@@ -0,0 +1,7 @@
+: ${PKG_WHICH_SHA256SUM:=f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad};
+: ${PKG_WHICH_VERSION:=2.21};
+: ${PKG_WHICH_URL:=https://ftp.gnu.org/gnu/which/which-${PKG_WHICH_VERSION}.tar.gz};
+
+ex_pkg_register "which" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.d/zsh.package b/groups.d/211.native_packages_cmdline.d/zsh.package
new file mode 100644
index 00000000..cc22cca9
--- /dev/null
+++ b/groups.d/211.native_packages_cmdline.d/zsh.package
@@ -0,0 +1,11 @@
+: ${PKG_ZSH_DEPENDS:="libiconv ncurses ncursesw"};
+: ${PKG_ZSH_SHA256SUM:=9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5};
+: ${PKG_ZSH_VERSION:=5.9};
+: ${PKG_ZSH_URL:=https://www.zsh.org/pub/zsh-${PKG_ZSH_VERSION}.tar.xz};
+: ${PKG_ZSH_CONFIG_CACHE_EXTRA:="zsh_cv_sys_elf=no"};
+: ${PKG_ZSH_CONFIGURE_ARGS_EXTRA:="--enable-libc-musl --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --enable-etcdir=/etc/zsh --enable-multibyte --enable-function-subdirs --enable-zsh-secure-free --with-tcsetpgrp"};
+: ${PKG_ZSH_IN_TREE:=1};
+
+ex_pkg_register "zsh" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/211.native_packages_cmdline.group b/groups.d/211.native_packages_cmdline.group
deleted file mode 100644
index 174a2754..00000000
--- a/groups.d/211.native_packages_cmdline.group
+++ /dev/null
@@ -1,314 +0,0 @@
-#
-# Build group native_packages (cmdline)
-#
-GROUP_TARGET_APPEND="native_packages";
-NATIVE_PACKAGES_CMDLINE_PACKAGES="
-bas bash bc busybox cabextract calcurse clipboard_utils coreutils cpio dash datamash dos2unix ed exif figlet
-findutils gawk gcal grep html_xml_utils jush lcab lzop mawk mc mksh moe moon_buggy mpg123 mp3splt nano ninvaders
-openbsd_baseutils profanity pixz pv rc sash sbase screen sed sharutils sloccount tar tcsh
-the_silver_searcher toilet tree terminally_tetris ubase which zsh";
-: ${PKG_BAS_DEPENDS:="ncurses"};
-: ${PKG_BAS_SHA256SUM:=ec45efa90aaa7f15647fe7898fa0789ba26dc8e10b7ecf8e049b1310f626b884};
-: ${PKG_BAS_VERSION:=2.6};
-: ${PKG_BAS_URL:=www.moria.de/~michael/bas/bas-${PKG_BAS_VERSION}.tar.gz};
-: ${PKG_BAS_IN_TREE:=1};
-: ${PKG_BAS_FORCE_AUTORECONF:=1};
-: ${PKG_BASH_DEPENDS:="ncurses"};
-: ${PKG_BASH_SHA256SUM:=c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8};
-: ${PKG_BASH_VERSION:=5.2.21};
-: ${PKG_BASH_URL:=https://ftp.gnu.org/gnu/bash/bash-${PKG_BASH_VERSION}.tar.gz};
-: ${PKG_BASH_CONFIGURE_ARGS_EXTRA:="--without-bash-malloc --with-curses"};
-: ${PKG_BASH_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_BC_SHA256SUM:=62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a};
-: ${PKG_BC_VERSION:=1.07.1};
-: ${PKG_BC_URL:=https://ftp.gnu.org/gnu/bc/bc-${PKG_BC_VERSION}.tar.gz};
-: ${PKG_BUSYBOX_DEPENDS:="libarchive"};
-: ${PKG_BUSYBOX_SHA256SUM:=faeeb244c35a348a334f4a59e44626ee870fb07b6884d68c10ae8bc19f83a694};
-: ${PKG_BUSYBOX_VERSION:=1.35.0};
-: ${PKG_BUSYBOX_URL:=https://busybox.net/downloads/busybox-${PKG_BUSYBOX_VERSION}.tar.bz2};
-: ${PKG_BUSYBOX_DESTDIR:=destdir/busybox};
-: ${PKG_BUSYBOX_IN_TREE=1};
-: ${PKG_BUSYBOX_INSTALL_FILES_V2:="
- :%[_builddir]/_install/bin/%<*>=bin/%[FNAME]"};
-: ${PKG_BUSYBOX_PREFIX:=${PREFIX_NATIVE}/busybox};
-: ${PKG_CABEXTRACT_DEPENDS:="libiconv libmspack"};
-: ${PKG_CABEXTRACT_SHA256SUM:=b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6};
-: ${PKG_CABEXTRACT_VERSION:=1.11};
-: ${PKG_CABEXTRACT_URL:=https://www.cabextract.org.uk/cabextract-${PKG_CABEXTRACT_VERSION}.tar.gz};
-: ${PKG_CABEXTRACT_CONFIGURE_ARGS_EXTRA:=--with-external-libmspack};
-: ${PKG_CALCURSE_DEPENDS:="ncursesw"};
-: ${PKG_CALCURSE_SHA256SUM:=d86bb37014fd69b8d83ccb904ac979c6b8ddf59ee3dbc80f5a274525e4d5830a};
-: ${PKG_CALCURSE_VERSION:=4.8.1};
-: ${PKG_CALCURSE_URL:=https://www.calcurse.org/files/calcurse-${PKG_CALCURSE_VERSION}.tar.gz};
-: ${PKG_CALCURSE_CONFIGURE_ARGS_EXTRA:="--without-asciidoc"};
-: ${PKG_CALCURSE_ENV_VARS_EXTRA:="LIBS=-ltinfow"};
-: ${PKG_CLIPBOARD_UTILS_DEPENDS:="w32lib"};
-: ${PKG_CLIPBOARD_UTILS_URLS_GIT:=clipboard-utils=https://github.com/redfoxymoon/clipboard-utils.git@master};
-: ${PKG_CLIPBOARD_UTILS_BUILD_DIR:=clipboard-utils};
-: ${PKG_CLIPBOARD_UTILS_CFLAGS_BUILD_EXTRA:="-g2 -O0"};
-: ${PKG_CLIPBOARD_UTILS_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib"};
-: ${PKG_COREUTILS_DEPENDS:="libiconv"};
-: ${PKG_COREUTILS_SHA256SUM:=61a1f410d78ba7e7f37a5a4f50e6d1320aca33375484a3255eddf17a38580423};
-: ${PKG_COREUTILS_VERSION:=9.1};
-: ${PKG_COREUTILS_URL:=https://ftp.gnu.org/gnu/coreutils/coreutils-${PKG_COREUTILS_VERSION}.tar.xz};
-: ${PKG_COREUTILS_CONFIGURE_ARGS_EXTRA:="--enable-no-install-program=kill"}
-: ${PKG_COREUTILS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/pemagine -I${PREFIX_NATIVE}/include/dalist"};
-: ${PKG_COREUTILS_ENV_VARS_EXTRA:="LIBS=-lntapi"};
-: ${PKG_COREUTILS_CONFIG_CACHE_EXTRA:="
-gl_cv_have_proc_uptime=yes"};
-: ${PKG_CPIO_SHA256SUM:=937610b97c329a1ec9268553fb780037bcfff0dcffe9725ebc4fd9c1aa9075db};
-: ${PKG_CPIO_VERSION:=2.15};
-: ${PKG_CPIO_URL:=https://ftp.gnu.org/gnu/cpio/cpio-${PKG_CPIO_VERSION}.tar.bz2};
-: ${PKG_DASH_SHA256SUM:=0d632f6b945058d84809cac7805326775bd60cb4a316907d0bd4228ff7107154};
-: ${PKG_DASH_VERSION:=0.5.12};
-: ${PKG_DASH_URL:=https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${PKG_DASH_VERSION}.tar.gz};
-: ${PKG_DASH_CONFIGURE_ARGS_EXTRA:="--disable-glob --enable-fnmatch"};
-: ${PKG_DASH_INSTALL_FILES_V2:="@dash=bin/sh"};
-: ${PKG_DATAMASH_SHA256SUM:=7ad97e8c7ef616dd03aa5bd67ae24c488272db3e7d1f5774161c18b75f29f6fd};
-: ${PKG_DATAMASH_VERSION:=1.8};
-: ${PKG_DATAMASH_URL:=https://ftp.gnu.org/gnu/datamash/datamash-${PKG_DATAMASH_VERSION}.tar.gz};
-: ${PKG_DOS2UNIX_SHA256SUM:=264742446608442eb48f96c20af6da303cb3a92b364e72cb7e24f88239c4bf3a};
-: ${PKG_DOS2UNIX_VERSION:=7.5.2};
-: ${PKG_DOS2UNIX_URL:=http://waterlan.home.xs4all.nl/dos2unix/dos2unix-${PKG_DOS2UNIX_VERSION}.tar.gz};
-: ${PKG_DOS2UNIX_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
-: ${PKG_DOS2UNIX_IN_TREE:=1};
-: ${PKG_DOS2UNIX_INSTALL_FILES_V2:="
- +../dos2unix-${PKG_DOS2UNIX_VERSION}/dos2unix=bin/%[FNAME]
- +../dos2unix-${PKG_DOS2UNIX_VERSION}/unix2dos=bin/%[FNAME]
- @dos2unix=bin/mac2unix
- @unix2dos=bin/unix2mac"};
-: ${PKG_ED_SHA256SUM:=c6030defe6ae172f1687906d7354054c75a6a9130af319d4e73c50a91959c5a6};
-: ${PKG_ED_VERSION:=1.20};
-: ${PKG_ED_URL:=https://ftp.gnu.org/gnu/ed/ed-${PKG_ED_VERSION}.tar.lz};
-: ${PKG_ED_CONFIGURE_ARGS_LIST:="--prefix=:CC=${DEFAULT_NATIVE_CC}"};
-: ${PKG_EXIF_DEPENDS:="libexif popt"};
-: ${PKG_EXIF_SHA256SUM:=0fe268736e0ca0538d4af941022761a438854a64c8024a4175e57bf0418117b9};
-: ${PKG_EXIF_VERSION:=0.6.22};
-: ${PKG_EXIF_URL:=https://github.com/libexif/exif/releases/download/exif-0_6_22-release/exif-${PKG_EXIF_VERSION}.tar.xz};
-: ${PKG_FIGLET_SHA256SUM:=bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d};
-: ${PKG_FIGLET_VERSION:=2.2.5};
-: ${PKG_FIGLET_URL:=ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-${PKG_FIGLET_VERSION}.tar.gz};
-: ${PKG_FIGLET_IN_TREE:=1};
-: ${PKG_FIGLET_MAKEFLAGS_BUILD_LIST:=CC=${DEFAULT_NATIVE_CC}:LD=${DEFAULT_NATIVE_CCLD}};
-: ${PKG_FINDUTILS_SHA256SUM:=a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe};
-: ${PKG_FINDUTILS_VERSION:=4.9.0};
-: ${PKG_FINDUTILS_URL:=https://ftp.gnu.org/gnu/findutils/findutils-${PKG_FINDUTILS_VERSION}.tar.xz};
-: ${PKG_GAWK_DEPENDS:="readline"};
-: ${PKG_GAWK_SHA256SUM:=d87629386e894bbea11a5e00515fc909dc9b7249529dad9e6a3a2c77085f7ea2};
-: ${PKG_GAWK_VERSION:=5.1.1};
-: ${PKG_GAWK_URL:=https://ftp.gnu.org/gnu/gawk/gawk-${PKG_GAWK_VERSION}.tar.xz};
-: ${PKG_GCAL_DEPENDS:="ncurses libunistring"};
-: ${PKG_GCAL_SHA256SUM:=91b56c40b93eee9bda27ec63e95a6316d848e3ee047b5880ed71e5e8e60f61ab};
-: ${PKG_GCAL_VERSION:=4.1};
-: ${PKG_GCAL_URL:=https://ftp.gnu.org/gnu/gcal/gcal-${PKG_GCAL_VERSION}.tar.xz};
-: ${PKG_GCAL_CONFIGURE_ARGS_EXTRA:="--enable-unicode"};
-: ${PKG_GCAL_ENV_VARS_EXTRA:="LIBS=-lunistring"};
-: ${PKG_GREP_DEPENDS:="pcre2"};
-: ${PKG_GREP_SHA256SUM:=1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab};
-: ${PKG_GREP_VERSION:=3.11};
-: ${PKG_GREP_URL:=https://ftp.gnu.org/gnu/grep/grep-${PKG_GREP_VERSION}.tar.xz};
-: ${PKG_GREP_CONFIGURE_ARGS_EXTRA:=--enable-perl-regexp};
-: ${PKG_HTML_XML_UTILS_DEPENDS:="curl libidn2 libiconv"};
-: ${PKG_HTML_XML_UTILS_SHA256SUM:=5e84729ef36ccd3924d2872ed4ee6954c63332dca5400ba8eb4eaef1f2db4fb2};
-: ${PKG_HTML_XML_UTILS_VERSION:=8.6};
-: ${PKG_HTML_XML_UTILS_URL:=https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-${PKG_HTML_XML_UTILS_VERSION}.tar.gz};
-: ${PKG_HTML_XML_UTILS_CONFIG_CACHE_EXTRA:="
-ac_cv_path__libcurl_config=${PREFIX_NATIVE}/bin/curl-config"};
-: ${PKG_JUSH_DEPENDS:="libeditline"};
-: ${PKG_JUSH_URLS_GIT:="jush-master=https://github.com/troglobit/jush.git@master"};
-: ${PKG_JUSH_SUBDIR:="jush-master"};
-: ${PKG_LCAB_SHA256SUM:=065f2c1793b65f28471c0f71b7cf120a7064f28d1c44b07cabf49ec0e97f1fc8};
-: ${PKG_LCAB_VERSION:=1.0b12};
-: ${PKG_LCAB_URL:=http://deb.debian.org/debian/pool/main/l/lcab/lcab_${PKG_LCAB_VERSION}.orig.tar.gz};
-: ${PKG_LCAB_SUBDIR:=lcab-${PKG_LCAB_VERSION}};
-: ${PKG_LZOP_DEPENDS:="lzo"};
-: ${PKG_LZOP_SHA256SUM:=7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41};
-: ${PKG_LZOP_VERSION:=1.04};
-: ${PKG_LZOP_URL:=https://www.lzop.org/download/lzop-${PKG_LZOP_VERSION}.tar.gz};
-: ${PKG_MAWK_SHA256SUM:=7fd4cd1e1fae9290fe089171181bbc6291dfd9bca939ca804f0ddb851c8b8237};
-: ${PKG_MAWK_VERSION:=1.3.4-20200120};
-: ${PKG_MAWK_URL:=https://invisible-island.net/archives/mawk/mawk-${PKG_MAWK_VERSION}.tgz};
-: ${PKG_MC_DEPENDS:="glib libX11 ncursesw"};
-: ${PKG_MC_SHA256SUM:=31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4};
-: ${PKG_MC_VERSION:=4.8.27};
-: ${PKG_MC_URL:=http://ftp.midnight-commander.org/mc-${PKG_MC_VERSION}.tar.xz};
-: ${PKG_MC_CFLAGS_CONFIGURE_EXTRA:="-DNCURSES_INTERNALS -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncursesw"};
-: ${PKG_MC_CONFIG_CACHE_EXTRA:="ac_list_mounted_fs=found"};
-: ${PKG_MC_CONFIGURE_ARGS_EXTRA:="--with-screen=ncurses --x-includes=${PREFIX_NATIVE}/include/X11 --x-libraries=${PREFIX_NATIVE}/lib"};
-: ${PKG_MC_LDFLAGS_BUILD_EXTRA:=-ltinfow};
-: ${PKG_MKSH_SHA256SUM:=8bce3837c386684aa7780f085f1a4dbd5e3e26fb5c528ee0d41ae29af7f39013};
-: ${PKG_MKSH_VERSION:=R54};
-: ${PKG_MKSH_URL:="https://sources.voidlinux.org/mksh-${PKG_MKSH_VERSION}/mksh-${PKG_MKSH_VERSION}.tgz http://pub.allbsd.org/MirOS/dist/mir/mksh/mksh-${PKG_MKSH_VERSION}.tgz"};
-: ${PKG_MKSH_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_MKSH_ENV_VARS_EXTRA:="CC=${DEFAULT_NATIVE_CC}"};
-: ${PKG_MKSH_INSTALL_FILES_V2:="
- +../mksh/mksh=bin/%[FNAME]
- /=share/doc/mksh/examples
- +../mksh/dot.mkshrc=share/doc/mksh/examples/%[FNAME]
- +../mksh/mksh.1=share/man/man1/%[FNAME]"};
-: ${PKG_MKSH_IN_TREE:=1};
-: ${PKG_MKSH_SUBDIR:=mksh};
-: ${PKG_MOE_DEPENDS:="ncurses ncursesw"};
-: ${PKG_MOE_SHA256SUM:=43a557bc512f89d6c718e5f41029cfe3a055682620eb8dbece6302f34a26146b};
-: ${PKG_MOE_VERSION:=1.13};
-: ${PKG_MOE_URL:=https://ftp.gnu.org/gnu/moe/moe-${PKG_MOE_VERSION}.tar.lz};
-: ${PKG_MOE_CONFIGURE_ARGS_LIST:="--prefix=:CXX=${DEFAULT_NATIVE_CXX}"};
-: ${PKG_MOE_ENV_VARS_EXTRA:="CXXFLAGS=${DEFAULT_CXXFLAGS}"};
-: ${PKG_MOON_BUGGY_DEPENDS:="ncurses"};
-: ${PKG_MOON_BUGGY_SHA256SUM:=352dc16ccae4c66f1e87ab071e6a4ebeb94ff4e4f744ce1b12a769d02fe5d23f};
-: ${PKG_MOON_BUGGY_VERSION:=1.0.51};
-: ${PKG_MOON_BUGGY_URL:=https://m.seehuhn.de/programs/moon-buggy-${PKG_MOON_BUGGY_VERSION}.tar.gz};
-: ${PKG_MOON_BUGGY_CONFIGURE_ARGS_EXTRA:="--sharedstatedir=/etc"};
-: ${PKG_MOON_BUGGY_IN_TREE:=1};
-: ${PKG_MOON_BUGGY_MAKEFLAGS_BUILD:="LIBS=-Wl,-lncurses,-ltinfo"};
-: ${PKG_MPG123_DEPENDS:="w32api w32lib"};
-: ${PKG_MPG123_SHA256SUM:=963885d8cc77262f28b77187c7d189e32195e64244de2530b798ddf32183e847};
-: ${PKG_MPG123_VERSION:=1.29.3};
-: ${PKG_MPG123_URL:=https://mpg123.de/download/mpg123-${PKG_MPG123_VERSION}.tar.bz2};
-: ${PKG_MPG123_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports -DWINAPI_UTF16_DEFAULT"};
-: ${PKG_MPG123_CONFIGURE_ARGS_EXTRA:="--enable-modules --with-cpu=x86-64 --with-audio=win32"};
-: ${PKG_MPG123_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -lkernel32"};
-: ${PKG_MP3SPLT_DEPENDS:="libmp3splt"};
-: ${PKG_MP3SPLT_SHA256SUM:=3ec32b10ddd8bb11af987b8cd1c76382c48d265d0ffda53041d9aceb1f103baa};
-: ${PKG_MP3SPLT_VERSION:=2.6.2};
-: ${PKG_MP3SPLT_URL:=https://ftp.fau.de/macports/distfiles/mp3splt/mp3splt-${PKG_MP3SPLT_VERSION}.tar.gz};
-: ${PKG_MP3SPLT_CONFIGURE_ARGS_EXTRA:="--enable-oggsplt_symlink --enable-flacsplt_symlink"};
-: ${PKG_NANO_DEPENDS:="file libz ncursesw"};
-: ${PKG_NANO_SHA256SUM:=b4edaab0a037b5760484907c674e980053896f33759e43f834a212145fd085f1};
-: ${PKG_NANO_VERSION:=7.2};
-: ${PKG_NANO_URL:=https://www.nano-editor.org/dist/v${PKG_NANO_VERSION%.[0-9]}/nano-${PKG_NANO_VERSION}.tar.gz};
-: ${PKG_NANO_CFLAGS_CONFIGURE_EXTRA:="-std=gnu99"};
-: ${PKG_NANO_MAKEFLAGS_BUILD:="LIBS=-Wl,-lz,-lmagic,-lncursesw,-ltinfow"};
-: ${PKG_NINVADERS_DEPENDS:="ncurses"};
-: ${PKG_NINVADERS_SHA256SUM:=bfbc5c378704d9cf5e7fed288dac88859149bee5ed0850175759d310b61fd30b};
-: ${PKG_NINVADERS_VERSION:=0.1.1};
-: ${PKG_NINVADERS_URL:=http://http.debian.net/debian/pool/main/n/ninvaders/ninvaders_${PKG_NINVADERS_VERSION}.orig.tar.gz};
-: ${PKG_NINVADERS_BUILD_DIR:=ninvaders-${PKG_NINVADERS_VERSION}};
-: ${PKG_NINVADERS_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_NINVADERS_CFLAGS_BUILD_EXTRA:="-g3 -O0 -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_NINVADERS_INSTALL_FILES_V2:="+../ninvaders-${PKG_NINVADERS_VERSION}/nInvaders=bin/%[FNAME]"};
-: ${PKG_NINVADERS_IN_TREE:=1};
-: ${PKG_NINVADERS_MAKEFLAGS_BUILD:="CC=${DEFAULT_TARGET}-gcc LIBS=-Wl,-lncurses,-ltinfo"};
-: ${PKG_NINVADERS_SUBDIR:=ninvaders-${PKG_NINVADERS_VERSION}};
-: ${PKG_OPENBSD_BASEUTILS_DEPENDS:="musl_compat"};
-: ${PKG_OPENBSD_BASEUTILS_URLS_GIT:="baseutils=https://github.com/ibara/baseutils.git@master"};
-: ${PKG_OPENBSD_BASEUTILS_BUILD_DIR:=baseutils};
-: ${PKG_OPENBSD_BASEUTILS_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_OPENBSD_BASEUTILS_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
-: ${PKG_OPENBSD_BASEUTILS_INSTALL_FILES_V2:="
- +../baseutils/pax/pax=bin/%[FNAME]
- +../baseutils/pax/%<*.1>=share/man/man1/%[FNAME]"};
-: ${PKG_OPENBSD_BASEUTILS_MAKE_SUBDIRS:="libopenbsd pax"};
-: ${PKG_PROFANITY_DEPENDS:="libffi libstrophe libgcrypt libz glib gpgme ncursesw curl readline sqlite3"};
-: ${PKG_PROFANITY_SHA256SUM:=23f7b2e5c6cf85913b9e7a228802bca9ecb1d1cf3bf8f8f285e9676176a24902};
-: ${PKG_PROFANITY_VERSION:=0.9.5};
-: ${PKG_PROFANITY_URL:=https://profanity-im.github.io/profanity-${PKG_PROFANITY_VERSION}.tar.gz};
-: ${PKG_PROFANITY_CONFIGURE_ARGS_EXTRA:="--disable-python-plugins --disable-icons-and-clipboard --disable-notifications --disable-pgp"};
-: ${PKG_PIXZ_DEPENDS:="libarchive xz"};
-: ${PKG_PIXZ_SHA256SUM:=e5e32c6eb0bf112b98e74a5da8fb63b9f2cae71800f599d97ce540e150c8ddc5};
-: ${PKG_PIXZ_VERSION:=1.0.7};
-: ${PKG_PIXZ_URL:=https://github.com/vasi/pixz/releases/download/v${PKG_PIXZ_VERSION}/pixz-${PKG_PIXZ_VERSION}.tar.xz};
-: ${PKG_PIXZ_CONFIG_CACHE_EXTRA:="ac_cv_file_src_pixz_1=yes"};
-: ${PKG_PIXZ_INSTALL_FILES_V2:="+../pixz-${PKG_PIXZ_VERSION}/src/pixz.1=share/man/man1/%[FNAME]"};
-: ${PKG_PV_SHA256SUM:=e831951eff0718fba9b1ef286128773b9d0e723e1fbfae88d5a3188814fdc603};
-: ${PKG_PV_VERSION:=1.6.20};
-: ${PKG_PV_URL:=http://www.ivarch.com/programs/sources/pv-${PKG_PV_VERSION}.tar.bz2};
-: ${PKG_PV_DEBUG_CONFIGURE_ARGS_EXTRA:=--enable-debugging};
-: ${PKG_PV_MAKEFLAGS_BUILD_LIST:="LD=${DEFAULT_NATIVE_LD}"};
-: ${PKG_RC_DEPENDS:="ncurses readline"};
-: ${PKG_RC_SHA256SUM:=5ed26334dd0c1a616248b15ad7c90ca678ae3066fa02c5ddd0e6936f9af9bfd8};
-: ${PKG_RC_VERSION:=1.7.4};
-: ${PKG_RC_URL:=https://mirror.midipix.org/rc/rc-${PKG_RC_VERSION}.tar.gz};
-: ${PKG_RC_CONFIG_CACHE_EXTRA:="
-ac_cv_func_setpgrp_void=yes
-rc_cv_sys_dev_fd=yes
-rc_cv_sysv_sigcld=no"};
-: ${PKG_RC_CONFIGURE_ARGS_EXTRA:=--with-edit=readline};
-: ${PKG_RC_IN_TREE=1};
-: ${PKG_SASH_DEPENDS:="libz"};
-: ${PKG_SASH_SHA256SUM:=13c4f9a911526949096bf543c21a41149e6b037061193b15ba6b707eea7b6579};
-: ${PKG_SASH_VERSION:=3.8};
-: ${PKG_SASH_URL:=http://members.tip.net.au/%7Edbell/programs/sash-${PKG_SASH_VERSION}.tar.gz};
-: ${PKG_SASH_BUILD_DIR:=sash-${PKG_SASH_VERSION}};
-: ${PKG_SASH_CFLAGS_BUILD_EXTRA:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE} -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=0 -DHAVE_LINUX_CHROOT=0 -DHAVE_LINUX_LOSETUP=0 -DHAVE_LINUX_PIVOT=0"};
-: ${PKG_SBASE_URLS_GIT:="sbase=http://git.suckless.org/sbase@master"};
-: ${PKG_SBASE_DESTDIR:=destdir/suckless};
-: ${PKG_SBASE_CFLAGS_BUILD_EXTRA:="-std=c99 --include=sys/sysmacros.h"};
-: ${PKG_SBASE_IN_TREE:=1};
-: ${PKG_SBASE_MAKE_INSTALL_VNAME:=PREFIX};
-: ${PKG_SBASE_PREFIX:=${PREFIX_NATIVE}/suckless};
-: ${PKG_SBASE_DISABLED:=1};
-: ${PKG_SCREEN_DEPENDS:="ncursesw"};
-: ${PKG_SCREEN_SHA256SUM:=f9335281bb4d1538ed078df78a20c2f39d3af9a4e91c57d084271e0289c730f4};
-: ${PKG_SCREEN_VERSION:=4.9.0};
-: ${PKG_SCREEN_URL:=https://ftp.gnu.org/gnu/screen/screen-${PKG_SCREEN_VERSION}.tar.gz};
-: ${PKG_SCREEN_CONFIGURE_ARGS_EXTRA:="--disable-pam"};
-: ${PKG_SCREEN_IN_TREE:=1};
-: ${PKG_SCREEN_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_SED_SHA256SUM:=6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181};
-: ${PKG_SED_VERSION:=4.9};
-: ${PKG_SED_URL:=https://ftp.gnu.org/gnu/sed/sed-${PKG_SED_VERSION}.tar.xz};
-: ${PKG_SHARUTILS_SHA256SUM:=2b05cff7de5d7b646dc1669bc36c35fdac02ac6ae4b6c19cb3340d87ec553a9a};
-: ${PKG_SHARUTILS_VERSION:=4.15.2};
-: ${PKG_SHARUTILS_URL:=https://ftp.gnu.org/gnu/sharutils/sharutils-${PKG_SHARUTILS_VERSION}.tar.xz};
-: ${PKG_SHARUTILS_CONFIG_CACHE_EXTRA:="
-libopts_cv_test_dev_zero=yes
-libopts_cv_run_realpath=yes
-libopts_cv_run_strftime=yes
-libopts_cv_run_fopen_binary=yes"};
-: ${PKG_SLOCCOUNT_SHA256SUM:=fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b};
-: ${PKG_SLOCCOUNT_VERSION:=2.26};
-: ${PKG_SLOCCOUNT_URL:=https://www.dwheeler.com/sloccount/sloccount-${PKG_SLOCCOUNT_VERSION}.tar.gz};
-: ${PKG_SLOCCOUNT_IN_TREE:=1};
-: ${PKG_SLOCCOUNT_MAKEFLAGS_INSTALL_EXTRA:="PREFIX=${PREFIX_NATIVE}"};
-: ${PKG_TAR_DEPENDS:="libiconv"};
-: ${PKG_TAR_SHA256SUM:=66a8344b1dc83a411d311bd1547e0176e56cc311f28ee94a30f84dafb3d9067e};
-: ${PKG_TAR_VERSION:=1.33};
-: ${PKG_TAR_URL:=https://ftp.gnu.org/gnu/tar/tar-${PKG_TAR_VERSION}.tar.xz};
-: ${PKG_TCSH_DEPENDS:="ncurses libiconv"};
-: ${PKG_TCSH_SHA256SUM:=e3270ce9667fd5bd2a046687659fcf5fd6a6781326f806ebd724f1e1c9cd4185};
-: ${PKG_TCSH_VERSION:=6.24.12};
-: ${PKG_TCSH_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/tcsh/tcsh-${PKG_TCSH_VERSION}.tar.gz};
-
-: ${PKG_THE_SILVER_SEARCHER_DEPENDS:="libz pcre xz"};
-: ${PKG_THE_SILVER_SEARCHER_SHA256SUM:=d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170};
-: ${PKG_THE_SILVER_SEARCHER_VERSION:=2.2.0};
-: ${PKG_THE_SILVER_SEARCHER_URL:=https://geoff.greer.fm/ag/releases/the_silver_searcher-${PKG_THE_SILVER_SEARCHER_VERSION}.tar.gz};
-: ${PKG_THE_SILVER_SEARCHER_CFLAGS_CONFIGURE_EXTRA:="-D_LARGEFILE64_SOURCE"};
-
-: ${PKG_TOILET_DEPENDS:="libcaca"};
-: ${PKG_TOILET_URLS_GIT:=toilet=https://github.com/cacalabs/toilet@master};
-: ${PKG_TREE_SHA256SUM:=d3c3d55f403af7c76556546325aa1eca90b918cbaaf6d3ab60a49d8367ab90d5};
-: ${PKG_TREE_VERSION:=2.1.1};
-: ${PKG_TREE_URL:=http://mama.indstate.edu/users/ice/tree/src/tree-${PKG_TREE_VERSION}.tgz};
-: ${PKG_TREE_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
-: ${PKG_TREE_CFLAGS_BUILD_EXTRA:="-std=c99"};
-: ${PKG_TREE_IN_TREE:=1};
-: ${PKG_TERMINALLY_TETRIS_DEPENDS:="ncurses"};
-: ${PKG_TERMINALLY_TETRIS_URLS_GIT:=terminally_tetris=https://github.com/thecardkid/terminally-tetris.git@master};
-: ${PKG_TERMINALLY_TETRIS_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_TERMINALLY_TETRIS_CFLAGS_BUILD_EXTRA:="-std=gnu99 -g3 -O0 -I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_TERMINALLY_TETRIS_INSTALL_FILES_V2:="
- ../terminally_tetris/build/ttetris=bin/%[FNAME]
- ../terminally_tetris/man/ttetris.1=share/man/man1/%[FNAME]"};
-: ${PKG_TERMINALLY_TETRIS_IN_TREE:=1};
-: ${PKG_TERMINALLY_TETRIS_LDFLAGS_BUILD_EXTRA:="-lncurses -Wl,--as-needed -ltinfo -Wl,--no-as-needed"};
-: ${PKG_TERMINALLY_TETRIS_MAKEFLAGS_BUILD_EXTRA_LIST:=C=${DEFAULT_NATIVE_CC}};
-: ${PKG_UBASE_URLS_GIT:="ubase=http://git.suckless.org/ubase@master"};
-: ${PKG_UBASE_DESTDIR:=destdir/suckless};
-: ${PKG_UBASE_CFLAGS_BUILD_EXTRA:="-std=c99 --include=sys/sysmacros.h"};
-: ${PKG_UBASE_IN_TREE:=1};
-: ${PKG_UBASE_MAKE_INSTALL_VNAME:=PREFIX};
-: ${PKG_UBASE_PREFIX:=${PREFIX_NATIVE}/suckless};
-: ${PKG_WHICH_SHA256SUM:=f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad};
-: ${PKG_WHICH_VERSION:=2.21};
-: ${PKG_WHICH_URL:=https://ftp.gnu.org/gnu/which/which-${PKG_WHICH_VERSION}.tar.gz};
-: ${PKG_ZSH_DEPENDS:="libiconv ncurses ncursesw"};
-: ${PKG_ZSH_SHA256SUM:=9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5};
-: ${PKG_ZSH_VERSION:=5.9};
-: ${PKG_ZSH_URL:=https://www.zsh.org/pub/zsh-${PKG_ZSH_VERSION}.tar.xz};
-: ${PKG_ZSH_CONFIG_CACHE_EXTRA:="zsh_cv_sys_elf=no"};
-: ${PKG_ZSH_CONFIGURE_ARGS_EXTRA:="--enable-libc-musl --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --enable-etcdir=/etc/zsh --enable-multibyte --enable-function-subdirs --enable-zsh-secure-free --with-tcsetpgrp"};
-: ${PKG_ZSH_IN_TREE:=1};
-
-# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/algol68g.package b/groups.d/221.native_packages_dev.d/algol68g.package
new file mode 100644
index 00000000..38d06662
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/algol68g.package
@@ -0,0 +1,9 @@
+: ${PKG_ALGOL68G_SHA256SUM:=bd26e3dd89720ace1b003a43ab10247120b556ca106768fe8c829ee7bed6b435};
+: ${PKG_ALGOL68G_VERSION:=3.3.24};
+: ${PKG_ALGOL68G_URL:=https://jmvdveer.home.xs4all.nl/algol68g-${PKG_ALGOL68G_VERSION}.tar.gz}
+: ${PKG_ALGOL68G_CONFIGURE_ARGS_EXTRA:="--disable-mathlib --disable-plotutils --disable-postgresql --disable-gsl --disable-curl"};
+: ${PKG_ALGOL68G_CFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -DHAVE_FLT80=1 -DBUILD_UNIX=1"};
+
+ex_pkg_register "algol68g" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/autoconf.package b/groups.d/221.native_packages_dev.d/autoconf.package
new file mode 100644
index 00000000..ee24220f
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/autoconf.package
@@ -0,0 +1,12 @@
+: ${PKG_AUTOCONF_SHA256SUM:=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4};
+: ${PKG_AUTOCONF_VERSION:=2.71};
+: ${PKG_AUTOCONF_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_VERSION}.tar.xz};
+: ${PKG_AUTOCONF_CONFIG_CACHE_EXTRA:="
+ac_cv_path_M4=/usr/bin/m4"};
+: ${PKG_AUTOCONF_ARCHIVE_SHA256SUM:=71d4048479ae28f1f5794619c3d72df9c01df49b1c628ef85fde37596dc31a33};
+: ${PKG_AUTOCONF_ARCHIVE_VERSION:=2023.02.20};
+: ${PKG_AUTOCONF_ARCHIVE_URL:=https://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-${PKG_AUTOCONF_ARCHIVE_VERSION}.tar.xz};
+
+ex_pkg_register "autoconf" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/automake.package b/groups.d/221.native_packages_dev.d/automake.package
new file mode 100644
index 00000000..4e69698c
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/automake.package
@@ -0,0 +1,7 @@
+: ${PKG_AUTOMAKE_SHA256SUM:=f01d58cd6d9d77fbdca9eb4bbd5ead1988228fdb73d6f7a201f5f8d6b118b469};
+: ${PKG_AUTOMAKE_VERSION:=1.16.5};
+: ${PKG_AUTOMAKE_URL:=https://ftp.gnu.org/gnu/automake/automake-${PKG_AUTOMAKE_VERSION}.tar.xz};
+
+ex_pkg_register "automake" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/bison.package b/groups.d/221.native_packages_dev.d/bison.package
new file mode 100644
index 00000000..0badda68
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/bison.package
@@ -0,0 +1,11 @@
+: ${PKG_BISON_DEPENDS:="readline libiconv"};
+: ${PKG_BISON_SHA256SUM:=9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2};
+: ${PKG_BISON_VERSION:=3.8.2};
+: ${PKG_BISON_URL:=https://ftp.gnu.org/gnu/bison/bison-${PKG_BISON_VERSION}.tar.xz};
+: ${PKG_BISON_CONFIG_CACHE_EXTRA:="
+ac_cv_path_M4=/bin/m4
+ac_cv_prog_gnu_m4_gnu=yes"};
+
+ex_pkg_register "bison" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/cdecl.package b/groups.d/221.native_packages_dev.d/cdecl.package
new file mode 100644
index 00000000..c73ebd56
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/cdecl.package
@@ -0,0 +1,10 @@
+: ${PKG_CDECL_DEPENDS:="ncurses readline"};
+: ${PKG_CDECL_SHA256SUM:=04d1f4ecc9868771843e0ba55c72100c805ee4de2d0618a69d9dbf853df7eefd};
+: ${PKG_CDECL_VERSION:=13.0};
+: ${PKG_CDECL_URL:=https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-${PKG_CDECL_VERSION}/cdecl-${PKG_CDECL_VERSION}.tar.gz};
+: ${PKG_CDECL_CONFIGURE_ARGS_EXTRA:="--with-readline=${PREFIX_NATIVE}"};
+: ${PKG_CDECL_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/ncurses"};
+
+ex_pkg_register "cdecl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/chicken.package b/groups.d/221.native_packages_dev.d/chicken.package
new file mode 100644
index 00000000..e4d9d83f
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/chicken.package
@@ -0,0 +1,14 @@
+: ${PKG_CHICKEN_SHA256SUM:=c3ad99d8f9e17ed810912ef981ac3b0c2e2f46fb0ecc033b5c3b6dca1bdb0d76};
+: ${PKG_CHICKEN_VERSION:=5.3.0};
+: ${PKG_CHICKEN_URL:=https://code.call-cc.org/releases/${PKG_CHICKEN_VERSION}/chicken-${PKG_CHICKEN_VERSION}.tar.gz};
+: ${PKG_CHICKEN_IN_TREE:=1};
+: ${PKG_CHICKEN_MAKEFLAGS_BUILD_LIST:="PLATFORM=midipix:ARCH=${ARCH}:PREFIX=${PREFIX_NATIVE}:TARGET_PREFIX=${PREFIX_NATIVE}:C_COMPILER=${DEFAULT_NATIVE_CC}:HOSTSYSTEM=${DEFAULT_TARGET}"};
+: ${PKG_CHICKEN_DEBUG_MAKEFLAGS_BUILD_EXTRA_LIST:=DEBUGBUILD=1};
+: ${PKG_CHICKEN_RELEASE_MAKEFLAGS_BUILD_EXTRA_LIST:=DEBUGBUILD=0};
+: ${PKG_CHICKEN_MAKEFLAGS_INSTALL_LIST:="PLATFORM=midipix:ARCH=${ARCH}:PREFIX=${PREFIX_NATIVE}:C_COMPILER=${DEFAULT_NATIVE_CC}:HOSTSYSTEM=${DEFAULT_TARGET}:CROSS_CHICKEN=1"};
+: ${PKG_CHICKEN_MAKEFLAGS_INSTALL_EXTRA_LIST:="PREFIX=:TARGET_PREFIX="};
+: ${PKG_CHICKEN_MAKE_INSTALL_VNAME:=DESTDIR};
+
+ex_pkg_register "chicken" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/cparser.package b/groups.d/221.native_packages_dev.d/cparser.package
new file mode 100644
index 00000000..74517c66
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/cparser.package
@@ -0,0 +1,10 @@
+: ${PKG_CPARSER_DEPENDS:="libfirm"};
+: ${PKG_CPARSER_URLS_GIT:="cparser=http://github.com/lalbornoz/cparser.git@main bcparser=${DEFAULT_GITROOT}/compilers/bcparser@main"};
+: ${PKG_CPARSER_BUILD_DIR:=build/cparser};
+: ${PKG_CPARSER_CONFIGURE:=bcparser/configure};
+: ${PKG_CPARSER_CONFIGURE_ARGS:="--source-dir=../../cparser --prefix="};
+: ${PKG_CPARSER_VARS_FILE:="vars/libfirm.vars"}
+
+ex_pkg_register "cparser" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/cssc.package b/groups.d/221.native_packages_dev.d/cssc.package
new file mode 100644
index 00000000..0504aa56
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/cssc.package
@@ -0,0 +1,9 @@
+: ${PKG_CSSC_SHA256SUM:=d1bed0c80246ee4cd49d0aa45307c075d0876fe531057bb1c8b28f5330d651ef};
+: ${PKG_CSSC_VERSION:=1.4.1};
+: ${PKG_CSSC_URL:=https://ftp.gnu.org/gnu/cssc/CSSC-${PKG_CSSC_VERSION}.tar.gz};
+: ${PKG_CSSC_CONFIGURE_ARGS_EXTRA:="--enable-binary"};
+: ${PKG_CSSC_CXXFLAGS_CONFIGURE_EXTRA:="-std=gnu++0x"};
+
+ex_pkg_register "cssc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/diffutils.package b/groups.d/221.native_packages_dev.d/diffutils.package
new file mode 100644
index 00000000..d9824bd8
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/diffutils.package
@@ -0,0 +1,8 @@
+: ${PKG_DIFFUTILS_DEPENDS:="libiconv"};
+: ${PKG_DIFFUTILS_SHA256SUM:=90e5e93cc724e4ebe12ede80df1634063c7a855692685919bfe60b556c9bd09e};
+: ${PKG_DIFFUTILS_VERSION:=3.10};
+: ${PKG_DIFFUTILS_URL:=https://ftp.gnu.org/gnu/diffutils/diffutils-${PKG_DIFFUTILS_VERSION}.tar.xz};
+
+ex_pkg_register "diffutils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/flex.package b/groups.d/221.native_packages_dev.d/flex.package
new file mode 100644
index 00000000..461f9bee
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/flex.package
@@ -0,0 +1,9 @@
+: ${PKG_FLEX_SHA256SUM:=e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995};
+: ${PKG_FLEX_VERSION:=2.6.4};
+: ${PKG_FLEX_URL:=https://github.com/westes/flex/releases/download/v${PKG_FLEX_VERSION}/flex-${PKG_FLEX_VERSION}.tar.gz};
+: ${PKG_FLEX_CFLAGS_CONFIGURE_EXTRA:="-D_GNU_SOURCE"};
+: ${PKG_FLEX_CONFIGURE_ARGS_EXTRA:=--disable-libfl};
+
+ex_pkg_register "flex" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/gdb.package b/groups.d/221.native_packages_dev.d/gdb.package
new file mode 100644
index 00000000..19414b77
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/gdb.package
@@ -0,0 +1,17 @@
+: ${PKG_GDB_DEPENDS:="ncurses python2"};
+: ${PKG_GDB_SHA256SUM:=149abac4add030a5713f15964bd7465bef7a23712bcc91377ca40949f33e93fb};
+: ${PKG_GDB_VERSION:=7.12};
+: ${PKG_GDB_URL:=ftp://sourceware.org/pub/gdb/releases/gdb-${PKG_GDB_VERSION}.tar.gz};
+: ${PKG_GDB_CFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 -L${PREFIX_NATIVE}/lib"};
+: ${PKG_GDB_CONFIGURE_ARGS_EXTRA:="--with-system-libiberty --with-system-readline --with-system-zlib --with-python=${PWD}/files/python2_host/bin/python2.7-config"};
+: ${PKG_GDB_CXXFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 -L${PREFIX_NATIVE}/lib"};
+: ${PKG_GDB_ENV_VARS_EXTRA:="CFLAGS_FOR_TARGET=-g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 --sysroot=${PREFIX_NATIVE}:LDFLAGS_FOR_TARGET=--sysroot=${PREFIX_NATIVE}"};
+: ${PKG_GDB_INSTALL_FILES_V2:="../obj/gdb/.libs/gdb=bin/gdb"};
+: ${PKG_GDB_LIBTOOL:=rdlibtool};
+: ${PKG_GDB_MAKEFLAGS_BUILD_EXTRA:="SYSROOT_FLAGS=--sysroot=${PREFIX_NATIVE}"};
+: ${PKG_GDB_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gdb/gdb-${PKG_GDB_VERSION}.midipix.patch"};
+: ${PKG_GDB_VARS_FILES:="vars/gdb.vars"};
+
+ex_pkg_register "gdb" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/gengetopt.package b/groups.d/221.native_packages_dev.d/gengetopt.package
new file mode 100644
index 00000000..22ea7cc3
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/gengetopt.package
@@ -0,0 +1,7 @@
+: ${PKG_GENGETOPT_SHA256SUM:=b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac};
+: ${PKG_GENGETOPT_VERSION:=2.23};
+: ${PKG_GENGETOPT_URL:=https://ftp.gnu.org/gnu/gengetopt/gengetopt-${PKG_GENGETOPT_VERSION}.tar.xz};
+
+ex_pkg_register "gengetopt" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/gnucobol.package b/groups.d/221.native_packages_dev.d/gnucobol.package
new file mode 100644
index 00000000..fce44370
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/gnucobol.package
@@ -0,0 +1,10 @@
+: ${PKG_GNUCOBOL_DEPENDS:="ncursesw"}
+: ${PKG_GNUCOBOL_SHA256SUM:=597005d71fd7d65b90cbe42bbfecd5a9ec0445388639404662e70d53ddf22574};
+: ${PKG_GNUCOBOL_VERSION:=3.1.2};
+: ${PKG_GNUCOBOL_URL:=https://ftp.gnu.org/gnu/gnucobol/gnucobol-${PKG_GNUCOBOL_VERSION}.tar.xz};
+: ${PKG_GNUCOBOL_CONFIGURE_ARGS_EXTRA:="--without-db --without-json --with-math=gmp"};
+: ${PKG_GNUCOBOL_LDFLAGS_CONFIGURE_EXTRA:="-ltinfow"};
+
+ex_pkg_register "gnucobol" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/indent.package b/groups.d/221.native_packages_dev.d/indent.package
new file mode 100644
index 00000000..58c66709
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/indent.package
@@ -0,0 +1,8 @@
+: ${PKG_INDENT_SHA256SUM:=1b81ba4e9a006ca8e6eb5cbbe4cf4f75dfc1fc9301b459aa0d40393e85590a0b};
+: ${PKG_INDENT_VERSION:=2.2.13};
+: ${PKG_INDENT_URL:=https://ftp.gnu.org/gnu/indent/indent-${PKG_INDENT_VERSION}.tar.xz};
+: ${PKG_INDENT_CFLAGS_CONFIGURE_EXTRA:="-DHAVE_LOCALE_H"};
+
+ex_pkg_register "indent" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/lua.package b/groups.d/221.native_packages_dev.d/lua.package
new file mode 100644
index 00000000..3b14fb32
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/lua.package
@@ -0,0 +1,16 @@
+: ${PKG_LUA_DEPENDS:="readline"};
+: ${PKG_LUA_SHA256SUM:=164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61};
+: ${PKG_LUA_VERSION:=5.4.4};
+: ${PKG_LUA_URL:=https://www.lua.org/ftp/lua-${PKG_LUA_VERSION}.tar.gz};
+: ${PKG_LUA_CFLAGS_BUILD:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }--sysroot=${PREFIX_NATIVE}"};
+: ${PKG_LUA_CFLAGS_BUILD_EXTRA:="-DLUA_COMPAT_5_3 -DLUA_USE_LINUX -DLUA_USE_READLINE"};
+: ${PKG_LUA_LDFLAGS_BUILD_EXTRA:="--sysroot=${PREFIX_NATIVE} -lreadline"};
+: ${PKG_LUA_IN_TREE:=1};
+: ${PKG_LUA_INSTALL_FILES_V2:="
+ +%[_files]/lua.pc=lib/pkgconfig/lua.pc
+ m0644=lib/pkgconfig/lua.pc"};
+: ${PKG_LUA_MAKEFLAGS_VERBOSITY:="none"};
+
+ex_pkg_register "lua" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/lunix.package b/groups.d/221.native_packages_dev.d/lunix.package
new file mode 100644
index 00000000..1b188593
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/lunix.package
@@ -0,0 +1,10 @@
+: ${PKG_LUNIX_DEPENDS:="lua"};
+: ${PKG_LUNIX_URLS_GIT:=lunix=https://github.com/Redfoxmoon3/lunix.git@master};
+: ${PKG_LUNIX_IN_TREE:=1};
+: ${PKG_LUNIX_MAKEFLAGS_BUILD:="all5.3 libdir=${PREFIX_NATIVE}/lib"};
+: ${PKG_LUNIX_MAKEFLAGS_INSTALL_EXTRA:="libdir=lib"};
+: ${PKG_LUNIX_DISABLED:=1};
+
+ex_pkg_register "lunix" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/m4.package b/groups.d/221.native_packages_dev.d/m4.package
new file mode 100644
index 00000000..b672cb7f
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/m4.package
@@ -0,0 +1,9 @@
+: ${PKG_M4_SHA256SUM:=63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96};
+: ${PKG_M4_VERSION:=1.4.19};
+: ${PKG_M4_URL:=https://ftp.gnu.org/gnu/m4/m4-${PKG_M4_VERSION}.tar.xz};
+: ${PKG_M4_CONFIG_CACHE_EXTRA:="
+M4_cv_func_rename_open_file_works=yes"};
+
+ex_pkg_register "m4" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/make.package b/groups.d/221.native_packages_dev.d/make.package
new file mode 100644
index 00000000..e2190dc8
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/make.package
@@ -0,0 +1,10 @@
+: ${PKG_MAKE_SHA256SUM:=e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7};
+: ${PKG_MAKE_VERSION:=4.2.1};
+: ${PKG_MAKE_URL:=https://ftp.gnu.org/gnu/make/make-${PKG_MAKE_VERSION}.tar.gz};
+: ${PKG_MAKE_CONFIG_CACHE_EXTRA:="
+ac_cv_func_gettimeofday=yes
+make_cv_synchronous_posix_spawn=yes"};
+
+ex_pkg_register "make" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/mandoc.package b/groups.d/221.native_packages_dev.d/mandoc.package
new file mode 100644
index 00000000..4dddd229
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/mandoc.package
@@ -0,0 +1,12 @@
+: ${PKG_MANDOC_DEPENDS:="libz musl_fts"};
+: ${PKG_MANDOC_SHA256SUM:=8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c};
+: ${PKG_MANDOC_VERSION:=1.14.6};
+: ${PKG_MANDOC_URL:=https://mandoc.bsd.lv/snapshots/mandoc-${PKG_MANDOC_VERSION}.tar.gz};
+: ${PKG_MANDOC_MAKEFLAGS_BUILD_EXTRA_LIST:="CC=${DEFAULT_NATIVE_CC}:LDADD=-Wl,-lz,-lfts"};
+: ${PKG_MANDOC_CFLAGS_BUILD_EXTRA:="-D_GNU_SOURCE ${DEFAULT_CFLAGS}"};
+: ${PKG_MANDOC_BUILD_STEPS_DISABLE:="configure"};
+: ${PKG_MANDOC_IN_TREE:=1};
+
+ex_pkg_register "mandoc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/nasm.package b/groups.d/221.native_packages_dev.d/nasm.package
new file mode 100644
index 00000000..cd8db50f
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/nasm.package
@@ -0,0 +1,8 @@
+: ${PKG_NASM_SHA256SUM:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558};
+: ${PKG_NASM_VERSION:=2.16.01};
+: ${PKG_NASM_URL:=http://www.nasm.us/pub/nasm/releasebuilds/${PKG_NASM_VERSION}/nasm-${PKG_NASM_VERSION}.tar.xz};
+: ${PKG_NASM_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
+
+ex_pkg_register "nasm" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/p2c.package b/groups.d/221.native_packages_dev.d/p2c.package
new file mode 100644
index 00000000..5a507081
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/p2c.package
@@ -0,0 +1,9 @@
+: ${PKG_P2C_SHA256SUM:=8c806babe964f34ebc686fdd945b1bf14f98d88020acabe434fa8764284af282};
+: ${PKG_P2C_VERSION:=2.02};
+: ${PKG_P2C_URL:=https://mirror.midipix.org/p2c/p2c-${PKG_P2C_VERSION}.tar.xz};
+: ${PKG_P2C_ENV_VARS_EXTRA:="HOST_CC=gcc"};
+: ${PKG_P2C_BUILD_DIR:=p2c-${PKG_P2C_VERSION}};
+
+ex_pkg_register "p2c" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/patch.package b/groups.d/221.native_packages_dev.d/patch.package
new file mode 100644
index 00000000..6d564752
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/patch.package
@@ -0,0 +1,10 @@
+: ${PKG_PATCH_SHA256SUM:=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd};
+: ${PKG_PATCH_VERSION:=2.7.6};
+: ${PKG_PATCH_URL:=https://ftp.gnu.org/gnu/patch/patch-${PKG_PATCH_VERSION}.tar.xz};
+: ${PKG_PATCHUTILS_SHA256SUM:=8875b0965fe33de62b890f6cd793be7fafe41a4e552edbf641f1fed5ebbf45ed};
+: ${PKG_PATCHUTILS_VERSION:=0.4.2};
+: ${PKG_PATCHUTILS_URL:=http://cyberelk.net/tim/data/patchutils/stable/patchutils-${PKG_PATCHUTILS_VERSION}.tar.xz};
+
+ex_pkg_register "patch" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/perl.package b/groups.d/221.native_packages_dev.d/perl.package
new file mode 100644
index 00000000..26f99ea8
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/perl.package
@@ -0,0 +1,17 @@
+: ${PKG_PERL_SHA256SUM:=e26085af8ac396f62add8a533c3a0ea8c8497d836f0689347ac5abd7b7a4e00a};
+: ${PKG_PERL_VERSION:=5.36.0};
+: ${PKG_PERL_URL:=http://www.cpan.org/src/5.0/perl-${PKG_PERL_VERSION}.tar.gz};
+: ${PKG_PERL_URLS_GIT:="perl-cross=https://github.com/Redfoxymoon/perl-cross@master"};
+: ${PKG_PERL_BASE_DIR:=${BUILD_WORKDIR}/perl-native-${DEFAULT_TARGET}};
+: ${PKG_PERL_CONFIGURE_ARGS:="-A ccflags=-I${PREFIX_NATIVE}/include -Duseshrplib -Darchname=${DEFAULT_TARGET} -Darchlib=/usr/lib/perl5/${PKG_PERL_VERSION}/${DEFAULT_TARGET} -Dsitearch=/usr/lib/perl5/site_perl/${PKG_PERL_VERSION}/${DEFAULT_TARGET} --sysroot=${PREFIX_NATIVE} --target=${DEFAULT_TARGET}"};
+: ${PKG_PERL_CFLAGS_CONFIGURE_EXTRA:="-std=gnu99"};
+: ${PKG_PERL_ENV_VARS_EXTRA:="TARGET=${DEFAULT_TARGET}"};
+: ${PKG_PERL_MAKEFLAGS_BUILD:="PERL_ARCHIVE_AFTER=${PREFIX}/tmp/perl-native-${DEFAULT_TARGET}/perl-${PKG_PERL_VERSION}/libperl.so OTHERLDFLAGS=--sysroot=${PREFIX_NATIVE}"};
+: ${PKG_PERL_MAKEFLAGS_PARALLELISE:="-j1"};
+: ${PKG_PERL_INSTALL_FILES_V2:="+%[_subdir]/libperl.so=lib/libperl.so"};
+: ${PKG_PERL_SUBDIR:=perl-${PKG_PERL_VERSION}};
+: ${PKG_PERL_IN_TREE:=1};
+
+ex_pkg_register "perl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/posix_cc.package b/groups.d/221.native_packages_dev.d/posix_cc.package
new file mode 100644
index 00000000..6d625a8d
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/posix_cc.package
@@ -0,0 +1,9 @@
+: ${PKG_POSIX_CC_DEPENDS:="musl_compat"};
+: ${PKG_POSIX_CC_SHA256SUM:=bd90442d98714f874b6e7e62fa8376ddca282c2174dc582917ecab773f96c095};
+: ${PKG_POSIX_CC_VERSION:=1.4};
+: ${PKG_POSIX_CC_URL:=https://mirror.midipix.org/posix_cc/posix_cc-${PKG_POSIX_CC_VERSION}.tar.bz2};
+: ${PKG_POSIX_CC_FORCE_AUTORECONF:=1};
+
+ex_pkg_register "posix_cc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/python2.package b/groups.d/221.native_packages_dev.d/python2.package
new file mode 100644
index 00000000..771642dd
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/python2.package
@@ -0,0 +1,16 @@
+: ${PKG_PYTHON2_DEPENDS:="bzip2 curl expat gdbm libffi libressl libz ncursesw readline sqlite3"};
+: ${PKG_PYTHON2_SHA256SUM:=b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43};
+: ${PKG_PYTHON2_VERSION:=2.7.18};
+: ${PKG_PYTHON2_URL:="https://www.python.org/ftp/python/${PKG_PYTHON2_VERSION}/Python-${PKG_PYTHON2_VERSION}.tar.xz"};
+: ${PKG_PYTHON2_URLS_GIT:="build/sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"};
+: ${PKG_PYTHON2_BASE_DIR:=${BUILD_WORKDIR}/python2-native-${DEFAULT_TARGET}};
+: ${PKG_PYTHON2_BUILD_DIR:=build/python2};
+: ${PKG_PYTHON2_CONFIGURE:=build/sbpython2/configure};
+: ${PKG_PYTHON2_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON2_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_PYTHON2_CONFIGURE_TYPE:="sofort"};
+: ${PKG_PYTHON2_SOFORT_NATIVE_CFLAGS_EXTRA:="-std=c99 -D_XOPEN_SOURCE=700"};
+: ${PKG_PYTHON2_SUBDIR:=Python-${PKG_PYTHON2_VERSION}};
+
+ex_pkg_register "python2" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/python3.package b/groups.d/221.native_packages_dev.d/python3.package
new file mode 100644
index 00000000..c816c795
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/python3.package
@@ -0,0 +1,17 @@
+: ${PKG_PYTHON3_DEPENDS:="bzip2 curl expat gdbm libffi libressl libz ncursesw readline sqlite3 util_linux xz"};
+: ${PKG_PYTHON3_SHA256SUM:=f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b};
+: ${PKG_PYTHON3_VERSION:=3.7.10};
+: ${PKG_PYTHON3_URL:="https://www.python.org/ftp/python/${PKG_PYTHON3_VERSION}/Python-${PKG_PYTHON3_VERSION}.tar.xz"};
+: ${PKG_PYTHON3_URLS_GIT:="build/sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"};
+: ${PKG_PYTHON3_BASE_DIR:=${BUILD_WORKDIR}/python3-native-${DEFAULT_TARGET}};
+: ${PKG_PYTHON3_BUILD_DIR:=build/python3};
+: ${PKG_PYTHON3_CONFIGURE:=build/sbpython3/configure};
+: ${PKG_PYTHON3_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_PYTHON3_CONFIGURE_TYPE:="sofort"};
+: ${PKG_PYTHON3_SOFORT_NATIVE_CFLAGS_EXTRA:="-std=c99 -D_XOPEN_SOURCE=700"};
+: ${PKG_PYTHON3_INSTALL_FILES_V2:="@python3=bin/python"};
+: ${PKG_PYTHON3_SUBDIR:=Python-${PKG_PYTHON3_VERSION}};
+
+ex_pkg_register "python3" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/ruby.package b/groups.d/221.native_packages_dev.d/ruby.package
new file mode 100644
index 00000000..09e23173
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/ruby.package
@@ -0,0 +1,10 @@
+: ${PKG_RUBY_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507};
+: ${PKG_RUBY_VERSION:=2.3.0};
+: ${PKG_RUBY_URL:=https://cache.ruby-lang.org/pub/ruby/${PKG_RUBY_VERSION%.*}/ruby-${PKG_RUBY_VERSION}.tar.gz};
+: ${PKG_RUBY_CONFIGURE_ARGS_EXTRA:="--disable-install-rdoc --with-baseruby=${PREFIX}/bin/ruby --with-out-ext=fiddle,openssl"};
+: ${PKG_RUBY_MAKEFLAGS_PARALLELISE:="-j1"};
+: ${PKG_RUBY_MAKEFLAGS_VERBOSITY:="V=1"};
+
+ex_pkg_register "ruby" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/sbsigntools.package b/groups.d/221.native_packages_dev.d/sbsigntools.package
new file mode 100644
index 00000000..66dc2a71
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/sbsigntools.package
@@ -0,0 +1,8 @@
+: ${PKG_SBSIGNTOOLS_DEPENDS:="libressl"};
+: ${PKG_SBSIGNTOOLS_URLS_GIT:=sbsigntools-master=https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git@master};
+: ${PKG_SBSIGNTOOLS_SUBDIR:=sbsigntools-master};
+: ${PKG_SBSIGNTOOLS_IN_TREE:=1};
+
+ex_pkg_register "sbsigntools" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.d/tk.package b/groups.d/221.native_packages_dev.d/tk.package
new file mode 100644
index 00000000..90275ff4
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/tk.package
@@ -0,0 +1,11 @@
+: ${PKG_TK_DEPENDS:="libX11 tcl"};
+: ${PKG_TK_SHA256SUM:=131e4bae43a15dff0324c0479358bb42cfd7b8de0e1ca8d93c9207643c7144dd};
+: ${PKG_TK_VERSION:=8.7a1};
+: ${PKG_TK_URL:=http://kuiper.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/tcl8_7/tk${PKG_TK_VERSION}-src.tar.gz};
+: ${PKG_TK_CONFIGURE:="tk${PKG_TK_VERSION}/unix/configure"};
+: ${PKG_TK_CONFIGURE_ARGS_EXTRA:="tcl_cv_strtod_buggy=no --with-tcl=${PREFIX_NATIVE}/lib"};
+: ${PKG_TK_SUBDIR:=tk${PKG_TK_VERSION}};
+
+ex_pkg_register "tk" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/221.native_packages_dev.group b/groups.d/221.native_packages_dev.group
deleted file mode 100644
index 076f5490..00000000
--- a/groups.d/221.native_packages_dev.group
+++ /dev/null
@@ -1,206 +0,0 @@
-#
-# Build group native_packages (dev)
-#
-GROUP_TARGET_APPEND="native_packages";
-NATIVE_PACKAGES_DEV_PACKAGES="
-algol68g autoconf autoconf_archive automake bison cdecl chicken cparser cssc diffutils flex gdb gengetopt gnucobol indent lua lunix m4 make mandoc nasm
-patch patchutils perl posix_cc python2 python3 p2c ruby sbsigntools tk";
-: ${PKG_ALGOL68G_SHA256SUM:=bd26e3dd89720ace1b003a43ab10247120b556ca106768fe8c829ee7bed6b435};
-: ${PKG_ALGOL68G_VERSION:=3.3.24};
-: ${PKG_ALGOL68G_URL:=https://jmvdveer.home.xs4all.nl/algol68g-${PKG_ALGOL68G_VERSION}.tar.gz}
-: ${PKG_ALGOL68G_CONFIGURE_ARGS_EXTRA:="--disable-mathlib --disable-plotutils --disable-postgresql --disable-gsl --disable-curl"};
-: ${PKG_ALGOL68G_CFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -DHAVE_FLT80=1 -DBUILD_UNIX=1"};
-: ${PKG_AUTOCONF_SHA256SUM:=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4};
-: ${PKG_AUTOCONF_VERSION:=2.71};
-: ${PKG_AUTOCONF_URL:=https://ftp.gnu.org/gnu/autoconf/autoconf-${PKG_AUTOCONF_VERSION}.tar.xz};
-: ${PKG_AUTOCONF_CONFIG_CACHE_EXTRA:="
-ac_cv_path_M4=/usr/bin/m4"};
-: ${PKG_AUTOCONF_ARCHIVE_SHA256SUM:=71d4048479ae28f1f5794619c3d72df9c01df49b1c628ef85fde37596dc31a33};
-: ${PKG_AUTOCONF_ARCHIVE_VERSION:=2023.02.20};
-: ${PKG_AUTOCONF_ARCHIVE_URL:=https://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-${PKG_AUTOCONF_ARCHIVE_VERSION}.tar.xz};
-: ${PKG_AUTOMAKE_SHA256SUM:=f01d58cd6d9d77fbdca9eb4bbd5ead1988228fdb73d6f7a201f5f8d6b118b469};
-: ${PKG_AUTOMAKE_VERSION:=1.16.5};
-: ${PKG_AUTOMAKE_URL:=https://ftp.gnu.org/gnu/automake/automake-${PKG_AUTOMAKE_VERSION}.tar.xz};
-: ${PKG_BISON_DEPENDS:="readline libiconv"};
-: ${PKG_BISON_SHA256SUM:=9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2};
-: ${PKG_BISON_VERSION:=3.8.2};
-: ${PKG_BISON_URL:=https://ftp.gnu.org/gnu/bison/bison-${PKG_BISON_VERSION}.tar.xz};
-: ${PKG_BISON_CONFIG_CACHE_EXTRA:="
-ac_cv_path_M4=/bin/m4
-ac_cv_prog_gnu_m4_gnu=yes"};
-: ${PKG_CDECL_DEPENDS:="ncurses readline"};
-: ${PKG_CDECL_SHA256SUM:=04d1f4ecc9868771843e0ba55c72100c805ee4de2d0618a69d9dbf853df7eefd};
-: ${PKG_CDECL_VERSION:=13.0};
-: ${PKG_CDECL_URL:=https://github.com/paul-j-lucas/cdecl/releases/download/cdecl-${PKG_CDECL_VERSION}/cdecl-${PKG_CDECL_VERSION}.tar.gz};
-: ${PKG_CDECL_CONFIGURE_ARGS_EXTRA:="--with-readline=${PREFIX_NATIVE}"};
-: ${PKG_CDECL_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_CHICKEN_SHA256SUM:=c3ad99d8f9e17ed810912ef981ac3b0c2e2f46fb0ecc033b5c3b6dca1bdb0d76};
-: ${PKG_CHICKEN_VERSION:=5.3.0};
-: ${PKG_CHICKEN_URL:=https://code.call-cc.org/releases/${PKG_CHICKEN_VERSION}/chicken-${PKG_CHICKEN_VERSION}.tar.gz};
-: ${PKG_CHICKEN_IN_TREE:=1};
-: ${PKG_CHICKEN_MAKEFLAGS_BUILD_LIST:="PLATFORM=midipix:ARCH=${ARCH}:PREFIX=${PREFIX_NATIVE}:TARGET_PREFIX=${PREFIX_NATIVE}:C_COMPILER=${DEFAULT_NATIVE_CC}:HOSTSYSTEM=${DEFAULT_TARGET}"};
-: ${PKG_CHICKEN_DEBUG_MAKEFLAGS_BUILD_EXTRA_LIST:=DEBUGBUILD=1};
-: ${PKG_CHICKEN_RELEASE_MAKEFLAGS_BUILD_EXTRA_LIST:=DEBUGBUILD=0};
-: ${PKG_CHICKEN_MAKEFLAGS_INSTALL_LIST:="PLATFORM=midipix:ARCH=${ARCH}:PREFIX=${PREFIX_NATIVE}:C_COMPILER=${DEFAULT_NATIVE_CC}:HOSTSYSTEM=${DEFAULT_TARGET}:CROSS_CHICKEN=1"};
-: ${PKG_CHICKEN_MAKEFLAGS_INSTALL_EXTRA_LIST:="PREFIX=:TARGET_PREFIX="};
-: ${PKG_CHICKEN_MAKE_INSTALL_VNAME:=DESTDIR};
-: ${PKG_CPARSER_DEPENDS:="libfirm"};
-: ${PKG_CPARSER_URLS_GIT:="cparser=http://github.com/lalbornoz/cparser.git@main bcparser=${DEFAULT_GITROOT}/compilers/bcparser@main"};
-: ${PKG_CPARSER_BUILD_DIR:=build/cparser};
-: ${PKG_CPARSER_CONFIGURE:=bcparser/configure};
-: ${PKG_CPARSER_CONFIGURE_ARGS:="--source-dir=../../cparser --prefix="};
-: ${PKG_CPARSER_VARS_FILE:="vars/libfirm.vars"}
-: ${PKG_CSSC_SHA256SUM:=d1bed0c80246ee4cd49d0aa45307c075d0876fe531057bb1c8b28f5330d651ef};
-: ${PKG_CSSC_VERSION:=1.4.1};
-: ${PKG_CSSC_URL:=https://ftp.gnu.org/gnu/cssc/CSSC-${PKG_CSSC_VERSION}.tar.gz};
-: ${PKG_CSSC_CONFIGURE_ARGS_EXTRA:="--enable-binary"};
-: ${PKG_CSSC_CXXFLAGS_CONFIGURE_EXTRA:="-std=gnu++0x"};
-: ${PKG_DIFFUTILS_DEPENDS:="libiconv"};
-: ${PKG_DIFFUTILS_SHA256SUM:=90e5e93cc724e4ebe12ede80df1634063c7a855692685919bfe60b556c9bd09e};
-: ${PKG_DIFFUTILS_VERSION:=3.10};
-: ${PKG_DIFFUTILS_URL:=https://ftp.gnu.org/gnu/diffutils/diffutils-${PKG_DIFFUTILS_VERSION}.tar.xz};
-: ${PKG_FLEX_SHA256SUM:=e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995};
-: ${PKG_FLEX_VERSION:=2.6.4};
-: ${PKG_FLEX_URL:=https://github.com/westes/flex/releases/download/v${PKG_FLEX_VERSION}/flex-${PKG_FLEX_VERSION}.tar.gz};
-: ${PKG_FLEX_CFLAGS_CONFIGURE_EXTRA:="-D_GNU_SOURCE"};
-: ${PKG_FLEX_CONFIGURE_ARGS_EXTRA:=--disable-libfl};
-: ${PKG_GDB_DEPENDS:="ncurses python2"};
-: ${PKG_GDB_SHA256SUM:=149abac4add030a5713f15964bd7465bef7a23712bcc91377ca40949f33e93fb};
-: ${PKG_GDB_VERSION:=7.12};
-: ${PKG_GDB_URL:=ftp://sourceware.org/pub/gdb/releases/gdb-${PKG_GDB_VERSION}.tar.gz};
-: ${PKG_GDB_CFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 -L${PREFIX_NATIVE}/lib"};
-: ${PKG_GDB_CONFIGURE_ARGS_EXTRA:="--with-system-libiberty --with-system-readline --with-system-zlib --with-python=${PWD}/files/python2_host/bin/python2.7-config"};
-: ${PKG_GDB_CXXFLAGS_CONFIGURE_EXTRA:="--sysroot=${PREFIX_NATIVE} -g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 -L${PREFIX_NATIVE}/lib"};
-: ${PKG_GDB_ENV_VARS_EXTRA:="CFLAGS_FOR_TARGET=-g3 -O0 --include=stdc-predef.h -I${PREFIX_NATIVE}/include/python2.7 --sysroot=${PREFIX_NATIVE}:LDFLAGS_FOR_TARGET=--sysroot=${PREFIX_NATIVE}"};
-: ${PKG_GDB_INSTALL_FILES_V2:="../obj/gdb/.libs/gdb=bin/gdb"};
-: ${PKG_GDB_LIBTOOL:=rdlibtool};
-: ${PKG_GDB_MAKEFLAGS_BUILD_EXTRA:="SYSROOT_FLAGS=--sysroot=${PREFIX_NATIVE}"};
-: ${PKG_GDB_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gdb/gdb-${PKG_GDB_VERSION}.midipix.patch"};
-: ${PKG_GDB_VARS_FILES:="vars/gdb.vars"};
-: ${PKG_GENGETOPT_SHA256SUM:=b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac};
-: ${PKG_GENGETOPT_VERSION:=2.23};
-: ${PKG_GENGETOPT_URL:=https://ftp.gnu.org/gnu/gengetopt/gengetopt-${PKG_GENGETOPT_VERSION}.tar.xz};
-: ${PKG_GNUCOBOL_DEPENDS:="ncursesw"}
-: ${PKG_GNUCOBOL_SHA256SUM:=597005d71fd7d65b90cbe42bbfecd5a9ec0445388639404662e70d53ddf22574};
-: ${PKG_GNUCOBOL_VERSION:=3.1.2};
-: ${PKG_GNUCOBOL_URL:=https://ftp.gnu.org/gnu/gnucobol/gnucobol-${PKG_GNUCOBOL_VERSION}.tar.xz};
-: ${PKG_GNUCOBOL_CONFIGURE_ARGS_EXTRA:="--without-db --without-json --with-math=gmp"};
-: ${PKG_GNUCOBOL_LDFLAGS_CONFIGURE_EXTRA:="-ltinfow"};
-: ${PKG_LUA_DEPENDS:="readline"};
-: ${PKG_LUA_SHA256SUM:=164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61};
-: ${PKG_LUA_VERSION:=5.4.4};
-: ${PKG_LUA_URL:=https://www.lua.org/ftp/lua-${PKG_LUA_VERSION}.tar.gz};
-: ${PKG_LUA_CFLAGS_BUILD:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }--sysroot=${PREFIX_NATIVE}"};
-: ${PKG_LUA_CFLAGS_BUILD_EXTRA:="-DLUA_COMPAT_5_3 -DLUA_USE_LINUX -DLUA_USE_READLINE"};
-: ${PKG_LUA_LDFLAGS_BUILD_EXTRA:="--sysroot=${PREFIX_NATIVE} -lreadline"};
-: ${PKG_LUA_IN_TREE:=1};
-: ${PKG_LUA_INSTALL_FILES_V2:="
- +%[_files]/lua.pc=lib/pkgconfig/lua.pc
- m0644=lib/pkgconfig/lua.pc"};
-: ${PKG_LUA_MAKEFLAGS_VERBOSITY:="none"};
-: ${PKG_INDENT_SHA256SUM:=1b81ba4e9a006ca8e6eb5cbbe4cf4f75dfc1fc9301b459aa0d40393e85590a0b};
-: ${PKG_INDENT_VERSION:=2.2.13};
-: ${PKG_INDENT_URL:=https://ftp.gnu.org/gnu/indent/indent-${PKG_INDENT_VERSION}.tar.xz};
-: ${PKG_INDENT_CFLAGS_CONFIGURE_EXTRA:="-DHAVE_LOCALE_H"};
-: ${PKG_LUNIX_DEPENDS:="lua"};
-: ${PKG_LUNIX_URLS_GIT:=lunix=https://github.com/Redfoxmoon3/lunix.git@master};
-: ${PKG_LUNIX_IN_TREE:=1};
-: ${PKG_LUNIX_MAKEFLAGS_BUILD:="all5.3 libdir=${PREFIX_NATIVE}/lib"};
-: ${PKG_LUNIX_MAKEFLAGS_INSTALL_EXTRA:="libdir=lib"};
-: ${PKG_LUNIX_DISABLED:=1};
-: ${PKG_M4_SHA256SUM:=63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96};
-: ${PKG_M4_VERSION:=1.4.19};
-: ${PKG_M4_URL:=https://ftp.gnu.org/gnu/m4/m4-${PKG_M4_VERSION}.tar.xz};
-: ${PKG_M4_CONFIG_CACHE_EXTRA:="
-M4_cv_func_rename_open_file_works=yes"};
-: ${PKG_MAKE_SHA256SUM:=e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7};
-: ${PKG_MAKE_VERSION:=4.2.1};
-: ${PKG_MAKE_URL:=https://ftp.gnu.org/gnu/make/make-${PKG_MAKE_VERSION}.tar.gz};
-: ${PKG_MAKE_CONFIG_CACHE_EXTRA:="
-ac_cv_func_gettimeofday=yes
-make_cv_synchronous_posix_spawn=yes"};
-: ${PKG_MANDOC_DEPENDS:="libz musl_fts"};
-: ${PKG_MANDOC_SHA256SUM:=8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c};
-: ${PKG_MANDOC_VERSION:=1.14.6};
-: ${PKG_MANDOC_URL:=https://mandoc.bsd.lv/snapshots/mandoc-${PKG_MANDOC_VERSION}.tar.gz};
-: ${PKG_MANDOC_MAKEFLAGS_BUILD_EXTRA_LIST:="CC=${DEFAULT_NATIVE_CC}:LDADD=-Wl,-lz,-lfts"};
-: ${PKG_MANDOC_CFLAGS_BUILD_EXTRA:="-D_GNU_SOURCE ${DEFAULT_CFLAGS}"};
-: ${PKG_MANDOC_BUILD_STEPS_DISABLE:="configure"};
-: ${PKG_MANDOC_IN_TREE:=1};
-: ${PKG_NASM_SHA256SUM:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558};
-: ${PKG_NASM_VERSION:=2.16.01};
-: ${PKG_NASM_URL:=http://www.nasm.us/pub/nasm/releasebuilds/${PKG_NASM_VERSION}/nasm-${PKG_NASM_VERSION}.tar.xz};
-: ${PKG_NASM_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
-: ${PKG_PATCH_SHA256SUM:=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd};
-: ${PKG_PATCH_VERSION:=2.7.6};
-: ${PKG_PATCH_URL:=https://ftp.gnu.org/gnu/patch/patch-${PKG_PATCH_VERSION}.tar.xz};
-: ${PKG_PATCHUTILS_SHA256SUM:=8875b0965fe33de62b890f6cd793be7fafe41a4e552edbf641f1fed5ebbf45ed};
-: ${PKG_PATCHUTILS_VERSION:=0.4.2};
-: ${PKG_PATCHUTILS_URL:=http://cyberelk.net/tim/data/patchutils/stable/patchutils-${PKG_PATCHUTILS_VERSION}.tar.xz};
-: ${PKG_PERL_SHA256SUM:=e26085af8ac396f62add8a533c3a0ea8c8497d836f0689347ac5abd7b7a4e00a};
-: ${PKG_PERL_VERSION:=5.36.0};
-: ${PKG_PERL_URL:=http://www.cpan.org/src/5.0/perl-${PKG_PERL_VERSION}.tar.gz};
-: ${PKG_PERL_URLS_GIT:="perl-cross=https://github.com/Redfoxymoon/perl-cross@master"};
-: ${PKG_PERL_BASE_DIR:=${BUILD_WORKDIR}/perl-native-${DEFAULT_TARGET}};
-: ${PKG_PERL_CONFIGURE_ARGS:="-A ccflags=-I${PREFIX_NATIVE}/include -Duseshrplib -Darchname=${DEFAULT_TARGET} -Darchlib=/usr/lib/perl5/${PKG_PERL_VERSION}/${DEFAULT_TARGET} -Dsitearch=/usr/lib/perl5/site_perl/${PKG_PERL_VERSION}/${DEFAULT_TARGET} --sysroot=${PREFIX_NATIVE} --target=${DEFAULT_TARGET}"};
-: ${PKG_PERL_CFLAGS_CONFIGURE_EXTRA:="-std=gnu99"};
-: ${PKG_PERL_ENV_VARS_EXTRA:="TARGET=${DEFAULT_TARGET}"};
-: ${PKG_PERL_MAKEFLAGS_BUILD:="PERL_ARCHIVE_AFTER=${PREFIX}/tmp/perl-native-${DEFAULT_TARGET}/perl-${PKG_PERL_VERSION}/libperl.so OTHERLDFLAGS=--sysroot=${PREFIX_NATIVE}"};
-: ${PKG_PERL_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_PERL_INSTALL_FILES_V2:="+%[_subdir]/libperl.so=lib/libperl.so"};
-: ${PKG_PERL_SUBDIR:=perl-${PKG_PERL_VERSION}};
-: ${PKG_PERL_IN_TREE:=1};
-: ${PKG_POSIX_CC_DEPENDS:="musl_compat"};
-: ${PKG_POSIX_CC_SHA256SUM:=bd90442d98714f874b6e7e62fa8376ddca282c2174dc582917ecab773f96c095};
-: ${PKG_POSIX_CC_VERSION:=1.4};
-: ${PKG_POSIX_CC_URL:=https://mirror.midipix.org/posix_cc/posix_cc-${PKG_POSIX_CC_VERSION}.tar.bz2};
-: ${PKG_POSIX_CC_FORCE_AUTORECONF:=1};
-: ${PKG_PYTHON2_DEPENDS:="bzip2 curl expat gdbm libffi libressl libz ncursesw readline sqlite3"};
-: ${PKG_PYTHON2_SHA256SUM:=b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43};
-: ${PKG_PYTHON2_VERSION:=2.7.18};
-: ${PKG_PYTHON2_URL:="https://www.python.org/ftp/python/${PKG_PYTHON2_VERSION}/Python-${PKG_PYTHON2_VERSION}.tar.xz"};
-: ${PKG_PYTHON2_URLS_GIT:="build/sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"};
-: ${PKG_PYTHON2_BASE_DIR:=${BUILD_WORKDIR}/python2-native-${DEFAULT_TARGET}};
-: ${PKG_PYTHON2_BUILD_DIR:=build/python2};
-: ${PKG_PYTHON2_CONFIGURE:=build/sbpython2/configure};
-: ${PKG_PYTHON2_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON2_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_PYTHON2_CONFIGURE_TYPE:="sofort"};
-: ${PKG_PYTHON2_SOFORT_NATIVE_CFLAGS_EXTRA:="-std=c99 -D_XOPEN_SOURCE=700"};
-: ${PKG_PYTHON2_SUBDIR:=Python-${PKG_PYTHON2_VERSION}};
-: ${PKG_PYTHON3_DEPENDS:="bzip2 curl expat gdbm libffi libressl libz ncursesw readline sqlite3 util_linux xz"};
-: ${PKG_PYTHON3_SHA256SUM:=f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b};
-: ${PKG_PYTHON3_VERSION:=3.7.10};
-: ${PKG_PYTHON3_URL:="https://www.python.org/ftp/python/${PKG_PYTHON3_VERSION}/Python-${PKG_PYTHON3_VERSION}.tar.xz"};
-: ${PKG_PYTHON3_URLS_GIT:="build/sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"};
-: ${PKG_PYTHON3_BASE_DIR:=${BUILD_WORKDIR}/python3-native-${DEFAULT_TARGET}};
-: ${PKG_PYTHON3_BUILD_DIR:=build/python3};
-: ${PKG_PYTHON3_CONFIGURE:=build/sbpython3/configure};
-: ${PKG_PYTHON3_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON3_VERSION} --sysroot=${PREFIX_NATIVE} --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_PYTHON3_CONFIGURE_TYPE:="sofort"};
-: ${PKG_PYTHON3_SOFORT_NATIVE_CFLAGS_EXTRA:="-std=c99 -D_XOPEN_SOURCE=700"};
-: ${PKG_PYTHON3_INSTALL_FILES_V2:="@python3=bin/python"};
-: ${PKG_PYTHON3_SUBDIR:=Python-${PKG_PYTHON3_VERSION}};
-: ${PKG_P2C_SHA256SUM:=8c806babe964f34ebc686fdd945b1bf14f98d88020acabe434fa8764284af282};
-: ${PKG_P2C_VERSION:=2.02};
-: ${PKG_P2C_URL:=https://mirror.midipix.org/p2c/p2c-${PKG_P2C_VERSION}.tar.xz};
-: ${PKG_P2C_ENV_VARS_EXTRA:="HOST_CC=gcc"};
-: ${PKG_P2C_BUILD_DIR:=p2c-${PKG_P2C_VERSION}};
-: ${PKG_RUBY_SHA256SUM:=ba5ba60e5f1aa21b4ef8e9bf35b9ddb57286cb546aac4b5a28c71f459467e507};
-: ${PKG_RUBY_VERSION:=2.3.0};
-: ${PKG_RUBY_URL:=https://cache.ruby-lang.org/pub/ruby/${PKG_RUBY_VERSION%.*}/ruby-${PKG_RUBY_VERSION}.tar.gz};
-: ${PKG_RUBY_CONFIGURE_ARGS_EXTRA:="--disable-install-rdoc --with-baseruby=${PREFIX}/bin/ruby --with-out-ext=fiddle,openssl"};
-: ${PKG_RUBY_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_RUBY_MAKEFLAGS_VERBOSITY:="V=1"};
-: ${PKG_SBSIGNTOOLS_DEPENDS:="libressl"};
-: ${PKG_SBSIGNTOOLS_URLS_GIT:=sbsigntools-master=https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git@master};
-: ${PKG_SBSIGNTOOLS_SUBDIR:=sbsigntools-master};
-: ${PKG_SBSIGNTOOLS_IN_TREE:=1};
-: ${PKG_TK_DEPENDS:="libX11 tcl"};
-: ${PKG_TK_SHA256SUM:=131e4bae43a15dff0324c0479358bb42cfd7b8de0e1ca8d93c9207643c7144dd};
-: ${PKG_TK_VERSION:=8.7a1};
-: ${PKG_TK_URL:=http://kuiper.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/tcl8_7/tk${PKG_TK_VERSION}-src.tar.gz};
-: ${PKG_TK_CONFIGURE:="tk${PKG_TK_VERSION}/unix/configure"};
-: ${PKG_TK_CONFIGURE_ARGS_EXTRA:="tcl_cv_strtod_buggy=no --with-tcl=${PREFIX_NATIVE}/lib"};
-: ${PKG_TK_SUBDIR:=tk${PKG_TK_VERSION}};
-
-# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/apr.package b/groups.d/231.native_packages_etc.d/apr.package
new file mode 100644
index 00000000..bfe3d165
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/apr.package
@@ -0,0 +1,18 @@
+: ${PKG_APR_SHA256SUM:=a67ca9fcf9c4ff59bce7f428a323c8b5e18667fdea7b0ebad47d194371b0a105};
+: ${PKG_APR_VERSION:=1.6.5};
+: ${PKG_APR_URL:=http://ftp.fau.de/apache/apr/apr-${PKG_APR_VERSION}.tar.bz2};
+: ${PKG_APR_CONFIGURE_ARGS_EXTRA:="--with-devrandom=/dev/urandom"};
+: ${PKG_APR_LIBTOOL:=rdlibtool};
+: ${PKG_APR_NO_CLEAN:=1};
+: ${PKG_APR_UTIL_DEPENDS:="apr expat libressl sqlite3"};
+: ${PKG_APR_UTIL_SHA256SUM:=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b};
+: ${PKG_APR_UTIL_VERSION:=1.6.1};
+: ${PKG_APR_UTIL_URL:=https://archive.apache.org/dist/apr/apr-util-${PKG_APR_UTIL_VERSION}.tar.bz2};
+: ${PKG_APR_UTIL_ENV_VARS_EXTRA:="LDADD_dbd_sqlite3=-lsqlite3 -lapr-1 -L.libs -laprutil-1:LDADD_crypto_openssl=-lcrypto -lssl -lapr-1 -L.libs -laprutil-1"};
+: ${PKG_APR_UTIL_CONFIGURE_ARGS_EXTRA:="--with-crypto --with-apr=${BUILD_WORKDIR}/apr-native-${DEFAULT_TARGET}/obj"};
+: ${PKG_APR_UTIL_INSTALL_FILES_V2:="+bin/apu-1-config=%[_prefix_host]/bin/%[_target]-%[FNAME]"};
+: ${PKG_APR_UTIL_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "apr" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/bdwgc.package b/groups.d/231.native_packages_etc.d/bdwgc.package
new file mode 100644
index 00000000..15353bc9
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/bdwgc.package
@@ -0,0 +1,7 @@
+: ${PKG_BDWGC_DEPENDS:="libatomic_ops"};
+: ${PKG_BDWGC_URLS_GIT:="bdwgc=https://github.com/ivmai/bdwgc@master"};
+: ${PKG_BDWGC_CONFIGURE_ARGS_EXTRA:="--enable-threads=posix --enable-parallel-mark --enable-handle-fork"};
+
+ex_pkg_register "bdwgc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/bmake.package b/groups.d/231.native_packages_etc.d/bmake.package
new file mode 100644
index 00000000..38374c02
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/bmake.package
@@ -0,0 +1,10 @@
+: ${PKG_BMAKE_VERSION:=20240401};
+: ${PKG_BMAKE_URL:=https://srcbase.foss21.org/base/bmake/srcbase.bmake-${PKG_BMAKE_HOST_VERSION}.tar.xz};
+: ${PKG_BMAKE_SHA256SUM:=4b760506cd1fdada8c1012558e78530ccd2deaa29aeb463411bc9d8755a40a7e};
+: ${PKG_BMAKE_SUBDIR:=bmake-20240401};
+: ${PKG_BMAKE_CONFIGURE_TYPE:="sofort"};
+: ${PKG_BMAKE_CONFIGURE_ARGS:=--prefix=};
+
+ex_pkg_register "bmake" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/bochs.package b/groups.d/231.native_packages_etc.d/bochs.package
new file mode 100644
index 00000000..7fc5a9b8
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/bochs.package
@@ -0,0 +1,15 @@
+: ${PKG_BOCHS_DEPENDS:="curl ncurses sdl1"};
+: ${PKG_BOCHS_SHA256SUM:=a85b13aff7d8411f7a9f356ba6c33b5f5dc1fbb107eb5018cc23a62639da0059};
+: ${PKG_BOCHS_VERSION:=2.8};
+: ${PKG_BOCHS_URL:=https://fossies.org/linux/misc/bochs-${PKG_BOCHS_VERSION}.tar.gz};
+: ${PKG_BOCHS_CONFIGURE_ARGS_EXTRA:="--disable-docbook --without-x11 --without-wx --without-sdl2 --with-term --with-sdl --enable-idle-hack"};
+: ${PKG_BOCHS_CXXFLAGS_CONFIGURE_EXTRA:="-D_LARGEFILE64_SOURCE -I${PREFIX_NATIVE}/include/ncurses"};
+: ${PKG_BOCHS_INSTALL_FILES_V2:="
+ +../obj/.libs/bochs=bin/%[FNAME]
+ +../obj/.libs/bximage=bin/%[FNAME]"};
+: ${PKG_BOCHS_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib"};
+: ${PKG_BOCHS_MAKEFLAGS_BUILD:="LIBS=-Wl,-ltinfo"};
+
+ex_pkg_register "bochs" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/bzip2.package b/groups.d/231.native_packages_etc.d/bzip2.package
new file mode 100644
index 00000000..31a3d44a
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/bzip2.package
@@ -0,0 +1,17 @@
+: ${PKG_BZIP2_SHA256SUM:=ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269};
+: ${PKG_BZIP2_VERSION:=1.0.8};
+: ${PKG_BZIP2_URL:=https://sourceware.org/pub/bzip2/bzip2-${PKG_BZIP2_VERSION}.tar.gz};
+: ${PKG_BZIP2_INSTALL_FILES_V2:="
+ @bzdiff=bin/bzcmp
+ @bzgrep=bin/bzegrep
+ @bzgrep=bin/bzfgrep
+ @bzmore=bin/bzless
+ +../bzip2-${PKG_BZIP2_VERSION}/libbz2.so.1=lib/%[FNAME]
+ +../bzip2-${PKG_BZIP2_VERSION}/libbz2.so.1.0.8=lib/%[FNAME]"};
+: ${PKG_BZIP2_IN_TREE:=1};
+: ${PKG_BZIP2_MAKEFLAGS_BUILD_EXTRA:=-f Makefile-libbz2_so};
+: ${PKG_BZIP2_MAKE_INSTALL_VNAME:=PREFIX};
+
+ex_pkg_register "bzip2" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/cherokee.package b/groups.d/231.native_packages_etc.d/cherokee.package
new file mode 100644
index 00000000..40e92bd7
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/cherokee.package
@@ -0,0 +1,9 @@
+: ${PKG_CHEROKEE_DEPENDS:="libz"};
+: ${PKG_CHEROKEE_URLS_GIT:=cherokee=https://github.com/cherokee/webserver.git@master};
+: ${PKG_CHEROKEE_CONFIGURE_ARGS_EXTRA:="--with-python=${PREFIX}/bin/python2 --without-epoll --without-php --without-ffmpeg --without-libssl"};
+: ${PKG_CHEROKEE_IN_TREE:=1};
+: ${PKG_CHEROKEE_DISABLED:=1};
+
+ex_pkg_register "cherokee" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/clzip.package b/groups.d/231.native_packages_etc.d/clzip.package
new file mode 100644
index 00000000..ef7f6b19
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/clzip.package
@@ -0,0 +1,10 @@
+: ${PKG_CLZIP_SHA256SUM:=f63fe1245b832fe07ff679e9b9b8687e9379ab613a26bfb0aca3754c8b162d73};
+: ${PKG_CLZIP_VERSION:=1.14};
+: ${PKG_CLZIP_URL:=https://download.savannah.gnu.org/releases/lzip/clzip/clzip-${PKG_CLZIP_VERSION}.tar.gz};
+: ${PKG_CLZIP_CONFIGURE_ARGS_LIST:="CC=${DEFAULT_NATIVE_CC}:--prefix="};
+: ${PKG_CLZIP_INSTALL_FILES_V2:="@clzip=bin/lzip"};
+: ${PKG_CLZIP_IN_TREE:=1};
+
+ex_pkg_register "clzip" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/cmake.package b/groups.d/231.native_packages_etc.d/cmake.package
new file mode 100644
index 00000000..bf91c3f7
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/cmake.package
@@ -0,0 +1,34 @@
+: ${PKG_CMAKE_DEPENDS:="curl libarchive libuv libz ncurses"};
+: ${PKG_CMAKE_SHA256SUM:=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0};
+: ${PKG_CMAKE_VERSION:=3.7.2};
+: ${PKG_CMAKE_URL:=https://cmake.org/files/v${PKG_CMAKE_VERSION%.*}/cmake-${PKG_CMAKE_VERSION}.tar.gz};
+: ${PKG_CMAKE_CFLAGS_CONFIGURE_EXTRA:="-g0 -O2"};
+: ${PKG_CMAKE_CMAKE_ARGS_EXTRA:="
+ -DBZIP2_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.a
+ -DCMAKE_USE_SYSTEM_BZIP2=ON
+ -DCMAKE_USE_SYSTEM_CURL=ON
+ -DCMAKE_USE_SYSTEM_EXPAT=OFF
+ -DCMAKE_USE_SYSTEM_LIBARCHIVE=ON
+ -DCMAKE_USE_SYSTEM_LIBUV=ON
+ -DCMAKE_USE_SYSTEM_ZLIB=ON
+ -DCURL_INCLUDE_DIR=${PREFIX_NATIVE}/include/curl
+ -DCURL_LIBRARY=${PREFIX_NATIVE}/lib/libcurl.lib.a
+ -DCURSES_NCURSES_LIBRARY=${PREFIX_NATIVE}/lib/libncurses.lib.a
+ -DKWSYS_LFS_WORKS=YES
+ -DLibArchive_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DLibArchive_LIBRARY=${PREFIX_NATIVE}/lib/libarchive.lib.a
+ -DLIBLZMA_HAS_AUTO_DECODER=YES
+ -DLIBLZMA_HAS_EASY_ENCODER=YES
+ -DLIBLZMA_HAS_LZMA_PRESET=YES
+ -DLIBLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DLIBLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a
+ -DLibUV_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DLibUV_LIBRARY=${PREFIX_NATIVE}/lib/libuv.1.0.0.lib.a
+ -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
+: ${PKG_CMAKE_CONFIGURE_TYPE:="cmake"};
+
+ex_pkg_register "cmake" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/cron.package b/groups.d/231.native_packages_etc.d/cron.package
new file mode 100644
index 00000000..f7514232
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/cron.package
@@ -0,0 +1,7 @@
+: ${PKG_CRON_URLS_GIT:="pkg-cron=https://github.com/lalbornoz/pkg-cron@master"};
+: ${PKG_CRON_ENV_VARS_EXTRA:="CC=${DEFAULT_NATIVE_CC}:CFLAGS=${NATIVE_PACKAGES_CFLAGS_CONFIGURE} -D__GNU__"};
+: ${PKG_CRON_IN_TREE:=1};
+
+ex_pkg_register "cron" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/dante.package b/groups.d/231.native_packages_etc.d/dante.package
new file mode 100644
index 00000000..65b9bdcf
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/dante.package
@@ -0,0 +1,10 @@
+: ${PKG_DANTE_DEPENDS:="libtirpc"};
+: ${PKG_DANTE_SHA256SUM:=418a065fe1a4b8ace8fbf77c2da269a98f376e7115902e76cda7e741e4846a5d};
+: ${PKG_DANTE_VERSION:=1.4.3};
+: ${PKG_DANTE_URL:=http://www.inet.no/dante/files/dante-${PKG_DANTE_VERSION}.tar.gz};
+: ${PKG_DANTE_CONFIGURE_ARGS_EXTRA:="ac_cv_func_sched_setscheduler=no --without-libwrap LIBS=-ltirpc"};
+: ${PKG_DANTE_IN_TREE:=1};
+
+ex_pkg_register "dante" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/doomgeneric.package b/groups.d/231.native_packages_etc.d/doomgeneric.package
new file mode 100644
index 00000000..92898c83
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/doomgeneric.package
@@ -0,0 +1,12 @@
+: ${PKG_DOOMGENERIC_DEPENDS:="w32api w32lib"};
+: ${PKG_DOOMGENERIC_URLS_GIT:=doomgeneric=https://github.com/Redfoxymoon/doomgeneric.git@midipix};
+: ${PKG_DOOMGENERIC_BUILD_DIR:=doomgeneric/doomgeneric};
+: ${PKG_DOOMGENERIC_MAKEFLAGS_BUILD_EXTRA:=-f Makefile.midipix};
+: ${PKG_DOOMGENERIC_CFLAGS_BUILD_EXTRA:="-DWINAPI_ANSI_DEFAULT -I${PREFIX_NATIVE}/include/w32api.ports"};
+: ${PKG_DOOMGENERIC_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib"};
+: ${PKG_DOOMGENERIC_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_DOOMGENERIC_INSTALL_FILES_V2:="+../doomgeneric/doomgeneric/doomgeneric=bin/%[FNAME]"};
+
+ex_pkg_register "doomgeneric" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/dosbox.package b/groups.d/231.native_packages_etc.d/dosbox.package
new file mode 100644
index 00000000..b107e275
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/dosbox.package
@@ -0,0 +1,10 @@
+: ${PKG_DOSBOX_DEPENDS:="sdl1"};
+: ${PKG_DOSBOX_SHA256SUM:=c0d13dd7ed2ed363b68de615475781e891cd582e8162b5c3669137502222260a};
+: ${PKG_DOSBOX_VERSION:=0.74-3};
+: ${PKG_DOSBOX_URL:=https://fossies.org/linux/privat/dosbox-${PKG_DOSBOX_VERSION}.tar.gz};
+: ${PKG_DOSBOX_CONFIGURE_ARGS_EXTRA:="--disable-opengl --disable-alsa-midi --with-sdl-prefix=${PREFIX_NATIVE}"};
+: ${PKG_DOSBOX_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports -DWINAPI_ANSI_DEFAULT"};
+
+ex_pkg_register "dosbox" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/emacs.package b/groups.d/231.native_packages_etc.d/emacs.package
new file mode 100644
index 00000000..1fe46664
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/emacs.package
@@ -0,0 +1,11 @@
+: ${PKG_EMACS_DEPENDS:="freetype gnutls libjpeg_turbo libz ncurses"};
+: ${PKG_EMACS_SHA256SUM:=1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c};
+: ${PKG_EMACS_VERSION:=26.1};
+: ${PKG_EMACS_URL:=http://www.gutscheinrausch.de/mirror/gnu/emacs/emacs-${PKG_EMACS_VERSION}.tar.xz};
+: ${PKG_EMACS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -O1 -g2"};
+: ${PKG_EMACS_CONFIGURE_ARGS_EXTRA:="--with-modules --with-sound=no --with-x-toolkit=no --without-dbus --without-x --without-mailutils --without-pop"};
+: ${PKG_EMACS_ENV_VARS_EXTRA:="BUILDCC=gcc"};
+
+ex_pkg_register "emacs" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/enscript.package b/groups.d/231.native_packages_etc.d/enscript.package
new file mode 100644
index 00000000..c93b79f7
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/enscript.package
@@ -0,0 +1,7 @@
+: ${PKG_ENSCRIPT_SHA256SUM:=6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb};
+: ${PKG_ENSCRIPT_VERSION:=1.6.6};
+: ${PKG_ENSCRIPT_URL:=https://ftp.gnu.org/gnu/enscript/enscript-${PKG_ENSCRIPT_VERSION}.tar.gz};
+
+ex_pkg_register "enscript" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/expat.package b/groups.d/231.native_packages_etc.d/expat.package
new file mode 100644
index 00000000..f81c7105
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/expat.package
@@ -0,0 +1,8 @@
+: ${PKG_EXPAT_SHA256SUM:=0c00d2760ad12efef6e26efc8b363c8eb28eb8c8de719e46d5bb67b40ba904a3};
+: ${PKG_EXPAT_VERSION:=2.6.1};
+: ${PKG_EXPAT_URL:=http://download.openpkg.org/components/cache/expat/expat-${PKG_EXPAT_VERSION}.tar.xz};
+: ${PKG_EXPAT_CONFIGURE_ARGS_EXTRA:="--with-getrandom --with-sys-getrandom --without-docbook --without-tests"};
+
+ex_pkg_register "expat" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/ffmpeg.package b/groups.d/231.native_packages_etc.d/ffmpeg.package
new file mode 100644
index 00000000..8c9aca37
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/ffmpeg.package
@@ -0,0 +1,10 @@
+: ${PKG_FFMPEG_DEPENDS:="lame libass libshine libssh libtheora libxml2 gnutls twolame"};
+: ${PKG_FFMPEG_SHA256SUM:=8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968};
+: ${PKG_FFMPEG_VERSION:=6.1.1};
+: ${PKG_FFMPEG_URL:=https://ffmpeg.org/releases/ffmpeg-${PKG_FFMPEG_VERSION}.tar.xz};
+: ${PKG_FFMPEG_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/SDL2 -I${PREFIX_NATIVE}/include/libxml2 -std=gnu99"};
+: ${PKG_FFMPEG_CONFIGURE_ARGS_LIST:="--cc=${DEFAULT_NATIVE_CC}:--cxx=${DEFAULT_NATIVE_CXX}:--disable-stripping:--enable-cross-compile:--enable-libass:--enable-libshine:--enable-libtheora:--enable-libvorbis:--enable-libxml2:--enable-gpl:--enable-version3:--enable-gnutls:--enable-libmp3lame:--enable-libssh:--enable-libtwolame:--pkg-config=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config:--prefix=/:--target-os=midipix:--x86asmexe=${DEFAULT_TARGET}-nasm:--disable-cuda-llvm"};
+
+ex_pkg_register "ffmpeg" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/file.package b/groups.d/231.native_packages_etc.d/file.package
new file mode 100644
index 00000000..db03741e
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/file.package
@@ -0,0 +1,9 @@
+: ${PKG_FILE_DEPENDS:="xz bzip2 libz zstd"};
+: ${PKG_FILE_SHA256SUM:=fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82};
+: ${PKG_FILE_VERSION:=5.45};
+: ${PKG_FILE_URL:=http://ftp.astron.com/pub/file/file-${PKG_FILE_VERSION}.tar.gz};
+: ${PKG_FILE_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
+
+ex_pkg_register "file" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/gdbm.package b/groups.d/231.native_packages_etc.d/gdbm.package
new file mode 100644
index 00000000..f5fa2507
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/gdbm.package
@@ -0,0 +1,9 @@
+: ${PKG_GDBM_DEPENDS:="ncurses"};
+: ${PKG_GDBM_SHA256SUM:=74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd};
+: ${PKG_GDBM_VERSION:=1.23};
+: ${PKG_GDBM_URL:=https://ftp.gnu.org/gnu/gdbm/gdbm-${PKG_GDBM_VERSION}.tar.gz};
+: ${PKG_GDBM_CONFIGURE_ARGS_EXTRA:=--enable-libgdbm-compat};
+
+ex_pkg_register "gdbm" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/geoip.package b/groups.d/231.native_packages_etc.d/geoip.package
new file mode 100644
index 00000000..5a4b5cd9
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/geoip.package
@@ -0,0 +1,7 @@
+: ${PKG_GEOIP_SHA256SUM:=0daf0dbe35249f0affb5e10010e0b6b8104d19e156ab8e3b2318df8165463f21};
+: ${PKG_GEOIP_VERSION:=1.7.0};
+: ${PKG_GEOIP_URL:=https://midipix.org/mirror/geoip/geoip-api-c-${PKG_GEOIP_VERSION}.tar.gz};
+
+ex_pkg_register "geoip" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/gettext_tiny.package b/groups.d/231.native_packages_etc.d/gettext_tiny.package
new file mode 100644
index 00000000..55f71d6f
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/gettext_tiny.package
@@ -0,0 +1,11 @@
+: ${PKG_GETTEXT_TINY_DEPENDS:="libiconv"};
+: ${PKG_GETTEXT_TINY_SHA256SUM:=29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383};
+: ${PKG_GETTEXT_TINY_VERSION:=0.3.2};
+: ${PKG_GETTEXT_TINY_URL:=https://toolchains.bootlin.com/downloads/releases/sources/gettext-tiny-${PKG_GETTEXT_TINY_VERSION}/gettext-tiny-${PKG_GETTEXT_TINY_VERSION}.tar.gz};
+: ${PKG_GETTEXT_TINY_BUILD_DIR:=gettext-tiny-${PKG_GETTEXT_TINY_VERSION}};
+: ${PKG_GETTEXT_TINY_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
+: ${PKG_GETTEXT_TINY_LDFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE:+${NATIVE_PACKAGES_CFLAGS_CONFIGURE} }-liconv"};
+
+ex_pkg_register "gettext_tiny" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/ghostpdl.package b/groups.d/231.native_packages_etc.d/ghostpdl.package
new file mode 100644
index 00000000..c0b94966
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/ghostpdl.package
@@ -0,0 +1,12 @@
+: ${PKG_GHOSTPDL_DEPENDS:="libpng tiff fontconfig libz libXt libX11 freetype expat openjpeg"};
+: ${PKG_GHOSTPDL_SHA256SUM:=9059bf9c0685e88206d34b702f5a15f148451959f73ab2d01d44a5b12088a762};
+: ${PKG_GHOSTPDL_VERSION:=9.52};
+: ${PKG_GHOSTPDL_URL:=https://mirror.midipix.org/ghostpdl/ghostpdl-${PKG_GHOSTPDL_VERSION}.tar.xz};
+: ${PKG_GHOSTPDL_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
+: ${PKG_GHOSTPDL_CONFIGURE_ARGS_EXTRA:="--with-system-libtiff --with-memory-alignment=8 --without-x --without-local-zlib"};
+: ${PKG_GHOSTPDL_ENV_VARS_EXTRA:="CCAUX=cc:CFLAGSAUX=${DEFAULT_CFLAGS} -L${PREFIX}/lib:LDFLAGSAUX=-L${PREFIX}/lib:SHARE_ZLIB=-lz:ZLIBDIR=${PREFIX}/include"};
+: ${PKG_GHOSTPDL_MAKEFLAGS_BUILD_EXTRA:="TARGET_ARCH_FILE=${BUILD_WORKDIR}/ghostpdl-native-${DEFAULT_TARGET}/ghostpdl-${PKG_GHOSTPDL_VERSION}/arch/${DEFAULT_TARGET}.h"};
+
+ex_pkg_register "ghostpdl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/giflib.package b/groups.d/231.native_packages_etc.d/giflib.package
new file mode 100644
index 00000000..2d5f0df2
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/giflib.package
@@ -0,0 +1,9 @@
+: ${PKG_GIFLIB_SHA256SUM:=be7ffbd057cadebe2aa144542fd90c6838c6a083b5e8a9048b8ee3b66b29d5fb};
+: ${PKG_GIFLIB_VERSION:=5.2.2};
+: ${PKG_GIFLIB_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/giflib/giflib-${PKG_GIFLIB_VERSION}.tar.gz};
+: ${PKG_GIFLIB_CFLAGS_BUILD_EXTRA:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE} -std=gnu99 -DHAVE_REALLOCARRAY"};
+: ${PKG_GIFLIB_BUILD_DIR:=giflib-${PKG_GIFLIB_VERSION}};
+
+ex_pkg_register "giflib" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/gnuchess.package b/groups.d/231.native_packages_etc.d/gnuchess.package
new file mode 100644
index 00000000..d76d66db
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/gnuchess.package
@@ -0,0 +1,8 @@
+: ${PKG_GNUCHESS_DEPENS:="ncurses"};
+: ${PKG_GNUCHESS_SHA256SUM:=ddfcc20bdd756900a9ab6c42c7daf90a2893bf7f19ce347420ce36baebc41890};
+: ${PKG_GNUCHESS_VERSION:=6.2.9};
+: ${PKG_GNUCHESS_URL:=https://ftp.gnu.org/gnu/chess/gnuchess-${PKG_GNUCHESS_VERSION}.tar.gz};
+
+ex_pkg_register "gnuchess" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/graphicsmagick.package b/groups.d/231.native_packages_etc.d/graphicsmagick.package
new file mode 100644
index 00000000..81587e65
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/graphicsmagick.package
@@ -0,0 +1,14 @@
+: ${PKG_GRAPHICSMAGICK_DEPENDS:="libz libpng freetype lcms libxml2 tiff libjpeg_turbo bzip2 zstd"};
+: ${PKG_GRAPHICSMAGICK_SHA256SUM:=484fccfd2b2faf6c2ba9151469ece5072bcb91ba4ed73e75ed3d8e46c759d557};
+: ${PKG_GRAPHICSMAGICK_VERSION:=1.3.42};
+: ${PKG_GRAPHICSMAGICK_URL:=https://mirror.midipix.org/graphicsmagick/GraphicsMagick-${PKG_GRAPHICSMAGICK_VERSION}.tar.xz};
+: ${PKG_GRAPHICSMAGICK_CONFIGURE_ARGS_EXTRA:="--enable-shared --with-modules --without-x --without-gs --without-trio --without-wmf --without-gdi32 --without-dps --without-fpx --without-jbig --without-jp2 --without-jxl"};
+: ${PKG_GRAPHICSMAGICK_CFLAGS_CONFIGURE_EXTRA:="-fopenmp -I${PREFIX_NATIVE}/include/freetype2"};
+: ${PKG_GRAPHICSMAGICK_LDFLAGS_CONFIGURE_EXTRA:=-fopenmp};
+: ${PKG_GRAPHICSMAGICK_LIBTOOL=clibtool};
+: ${PKG_GRAPHICSMAGICK_IN_TREE:=1};
+: ${PKG_GRAPHICSMAGICK_NO_PURGE_LA_FILES=1};
+
+ex_pkg_register "graphicsmagick" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/gzip.package b/groups.d/231.native_packages_etc.d/gzip.package
new file mode 100644
index 00000000..1de50dbd
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/gzip.package
@@ -0,0 +1,7 @@
+: ${PKG_GZIP_SHA256SUM:=7454eb6935db17c6655576c2e1b0fabefd38b4d0936e0f87f48cd062ce91a057};
+: ${PKG_GZIP_VERSION:=1.13};
+: ${PKG_GZIP_URL:=https://ftp.gnu.org/gnu/gzip/gzip-${PKG_GZIP_VERSION}.tar.xz};
+
+ex_pkg_register "gzip" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/hastyhex.package b/groups.d/231.native_packages_etc.d/hastyhex.package
new file mode 100644
index 00000000..f9d589b9
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/hastyhex.package
@@ -0,0 +1,9 @@
+: ${PKG_HASTYHEX_URLS_GIT:="hastyhex=https://github.com/skeeto/hastyhex.git@master"};
+: ${PKG_HASTYHEX_IN_TREE:=1};
+: ${PKG_HASTYHEX_CFLAGS_BUILD_EXTRA:="-g3 -O0 -ansi -pedantic -funroll-loops"};
+: ${PKG_HASTYHEX_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_HASTYHEX_INSTALL_FILES_V2:="+../hastyhex/hastyhex=bin/%[FNAME]"};
+
+ex_pkg_register "hastyhex" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/hexcurse.package b/groups.d/231.native_packages_etc.d/hexcurse.package
new file mode 100644
index 00000000..6772f4d2
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/hexcurse.package
@@ -0,0 +1,8 @@
+: ${PKG_HEXCURSE_DEPENDS:="ncurses"};
+: ${PKG_HEXCURSE_URLS_GIT:="hexcurse=https://github.com/LonnyGomes/hexcurse@master"};
+: ${PKG_HEXCURSE_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/ncurses};
+: ${PKG_HEXCURSE_MAKEFLAGS_BUILD:="LIBS=-Wl,-lncurses,-ltinfo"};
+
+ex_pkg_register "hexcurse" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/hexer.package b/groups.d/231.native_packages_etc.d/hexer.package
new file mode 100644
index 00000000..5206c0de
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/hexer.package
@@ -0,0 +1,12 @@
+: ${PKG_HEXER_DEPENDS:="ncurses"};
+: ${PKG_HEXER_SHA256SUM:=e6b84ace5283825943f88ce7ec4ae836ec15ba41978b3a858d6d478cfe09ff94};
+: ${PKG_HEXER_VERSION:=1.0.6};
+: ${PKG_HEXER_URL:=https://devel.ringlet.net/files/editors/hexer/hexer-${PKG_HEXER_VERSION}.tar.xz};
+: ${PKG_HEXER_CFLAGS_BUILD_EXTRA:="-isystem${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
+: ${PKG_HEXER_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib"};
+: ${PKG_HEXER_ENV_VARS_EXTRA:="CC_FOR_BUILD=gcc"};
+: ${PKG_HEXER_IN_TREE:=1};
+
+ex_pkg_register "hexer" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/htop.package b/groups.d/231.native_packages_etc.d/htop.package
new file mode 100644
index 00000000..41f43a23
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/htop.package
@@ -0,0 +1,9 @@
+: ${PKG_HTOP_DEPENDS:="ncursesw"};
+: ${PKG_HTOP_SHA256SUM:=a69acf9b42ff592c4861010fce7d8006805f0d6ef0e8ee647a6ee6e59b743d5c};
+: ${PKG_HTOP_VERSION:=3.3.0};
+: ${PKG_HTOP_URL:=https://github.com/htop-dev/htop/releases/download/${PKG_HTOP_VERSION}/htop-${PKG_HTOP_VERSION}.tar.xz};
+: ${PKG_HTOP_CONFIGURE_ARGS_EXTRA:="--enable-unicode"};
+
+ex_pkg_register "htop" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/icoutils.package b/groups.d/231.native_packages_etc.d/icoutils.package
new file mode 100644
index 00000000..3b0cb23b
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/icoutils.package
@@ -0,0 +1,11 @@
+: ${PKG_ICOUTILS_DEPENDS:="libpng"};
+: ${PKG_ICOUTILS_SHA256SUM:=17abe02d043a253b68b47e3af69c9fc755b895db68fdc8811786125df564c6e0};
+: ${PKG_ICOUTILS_VERSION:=0.32.3};
+: ${PKG_ICOUTILS_URL:=http://savannah.nongnu.org/download/icoutils/icoutils-${PKG_ICOUTILS_VERSION}.tar.bz2};
+: ${PKG_ICOUTILS_CONFIG_CACHE_EXTRA:="
+am_cv_func_working_getline=yes
+gl_cv_func_getopt_gnu=yes"};
+
+ex_pkg_register "icoutils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/imagemagick.package b/groups.d/231.native_packages_etc.d/imagemagick.package
new file mode 100644
index 00000000..2d426ced
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/imagemagick.package
@@ -0,0 +1,12 @@
+: ${PKG_IMAGEMAGICK_DEPENDS:="bzip2 curl freetype fontconfig libpng libz libzip libxml2 tiff xz zstd"};
+: ${PKG_IMAGEMAGICK_SHA256SUM:=1e44faec8bf603e8c894a7c039fb1b4bb83dc0c429c79c74577e73ceefe4a238};
+: ${PKG_IMAGEMAGICK_VERSION:=7.1.1-21};
+: ${PKG_IMAGEMAGICK_URL:=https://imagemagick.org/download/releases/ImageMagick-${PKG_IMAGEMAGICK_VERSION}.tar.xz};
+: ${PKG_IMAGEMAGICK_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2"};
+: ${PKG_IMAGEMAGICK_CONFIGURE_ARGS_EXTRA:="--with-modules --without-x --without-pango --without-jemalloc --without-tcmalloc --without-umem"};
+: ${PKG_IMAGEMAGICK_LIBTOOL="clibtool"};
+: ${PKG_IMAGEMAGICK_NO_PURGE_LA_FILES=1};
+
+ex_pkg_register "imagemagick" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/infounzip.package b/groups.d/231.native_packages_etc.d/infounzip.package
new file mode 100644
index 00000000..dc76bc1e
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/infounzip.package
@@ -0,0 +1,7 @@
+: ${PKG_INFOUNZIP_URLS_GIT:=infounzip=https://github.com/Redfoxmoon3/infounzip.git@master};
+: ${PKG_INFOUNZIP_IN_TREE:=1};
+: ${PKG_INFOUNZIP_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
+
+ex_pkg_register "infounzip" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/infozip.package b/groups.d/231.native_packages_etc.d/infozip.package
new file mode 100644
index 00000000..10d9b12d
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/infozip.package
@@ -0,0 +1,7 @@
+: ${PKG_INFOZIP_URLS_GIT:=infozip=https://github.com/Redfoxmoon3/infozip.git@master};
+: ${PKG_INFOZIP_IN_TREE:=1};
+: ${PKG_INFOZIP_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
+
+ex_pkg_register "infozip" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/john.package b/groups.d/231.native_packages_etc.d/john.package
new file mode 100644
index 00000000..179edf1b
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/john.package
@@ -0,0 +1,25 @@
+: ${PKG_JOHN_SHA256SUM:=952cf68369fb5b27f2d112ce7ca1eb16b975c85cbce8c658abb8bc5a20e1b266};
+: ${PKG_JOHN_VERSION:=1.8.0};
+: ${PKG_JOHN_URL:=http://www.openwall.com/john/j/john-${PKG_JOHN_VERSION}.tar.xz};
+: ${PKG_JOHN_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_JOHN_DISABLED_NT32:=1};
+: ${PKG_JOHN_IN_TREE:=1};
+: ${PKG_JOHN_INSTALL_FILES_V2:="
+ /=share/john
+ +../john-${PKG_JOHN_VERSION}/run/john=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/mailer=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/makechr=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/relbench=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/unafs=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/unique=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/unshadow=bin/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/ascii.chr=share/john/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/digits.chr=share/john/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/john.conf=share/john/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/lm_ascii.chr=share/john/%[FNAME]
+ +../john-${PKG_JOHN_VERSION}/run/password.lst=share/john/%[FNAME]"};
+: ${PKG_JOHN_MAKEFLAGS_BUILD_EXTRA:="-C src midipix-x86-64"};
+
+ex_pkg_register "john" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/lbreakout2.package b/groups.d/231.native_packages_etc.d/lbreakout2.package
new file mode 100644
index 00000000..19f039df
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/lbreakout2.package
@@ -0,0 +1,12 @@
+: ${PKG_LBREAKOUT2_DEPENDS:="sdl1 libz libpng"};
+: ${PKG_LBREAKOUT2_SHA256SUM:=9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f};
+: ${PKG_LBREAKOUT2_VERSION:=2.6.5};
+: ${PKG_LBREAKOUT2_URL:=http://sources.buildroot.net/lbreakout2/lbreakout2-${PKG_LBREAKOUT2_VERSION}.tar.gz};
+: ${PKG_LBREAKOUT2_CONFIGURE_ARGS_EXTRA:=--with-sdl-prefix=${PREFIX_NATIVE}};
+: ${PKG_LBREAKOUT2_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX_NATIVE}/lib/w32lib};
+: ${PKG_LBREAKOUT2_ENV_VARS_EXTRA:="SDL_CONFIG=${PREFIX_NATIVE}/bin/sdl-config --prefix=${PREFIX_NATIVE}"};
+: ${PKG_LBREAKOUT2_IN_TREE:=1};
+
+ex_pkg_register "lbreakout2" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/lcms.package b/groups.d/231.native_packages_etc.d/lcms.package
new file mode 100644
index 00000000..f14575ea
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/lcms.package
@@ -0,0 +1,8 @@
+: ${PKG_LCMS_DEPENDS:="libz libjpeg_turbo tiff"};
+: ${PKG_LCMS_SHA256SUM:=d873d34ad8b9b4cea010631f1a6228d2087475e4dc5e763eb81acc23d9d45a51};
+: ${PKG_LCMS_VERSION:=2.16};
+: ${PKG_LCMS_URL:=https://github.com/mm2/Little-CMS/releases/download/lcms${PKG_LCMS_VERSION}/lcms2-${PKG_LCMS_VERSION}.tar.gz};
+
+ex_pkg_register "lcms" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/less.package b/groups.d/231.native_packages_etc.d/less.package
new file mode 100644
index 00000000..5d637ae9
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/less.package
@@ -0,0 +1,8 @@
+: ${PKG_LESS_DEPENDS:="ncurses ncursesw"};
+: ${PKG_LESS_SHA256SUM:=2911b5432c836fa084c8a2e68f6cd6312372c026a58faaa98862731c8b6052e8};
+: ${PKG_LESS_VERSION:=643};
+: ${PKG_LESS_URL:=http://www.greenwoodsoftware.com/less/less-${PKG_LESS_VERSION}.tar.gz};
+
+ex_pkg_register "less" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/libmetalink.package b/groups.d/231.native_packages_etc.d/libmetalink.package
new file mode 100644
index 00000000..ee45f831
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/libmetalink.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBMETALINK_DEPENDS:="expat"};
+: ${PKG_LIBMETALINK_SHA256SUM:=0753ae1152d970dc3bf327d0ce5cfefeca2f1ab13294b115e64811163a68fd4f};
+: ${PKG_LIBMETALINK_VERSION:=0.1.3};
+: ${PKG_LIBMETALINK_URL:=https://launchpad.net/libmetalink/trunk/libmetalink-${PKG_LIBMETALINK_VERSION}/+download/libmetalink-${PKG_LIBMETALINK_VERSION}.tar.bz2};
+
+ex_pkg_register "libmetalink" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/lolcode.package b/groups.d/231.native_packages_etc.d/lolcode.package
new file mode 100644
index 00000000..57fec250
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/lolcode.package
@@ -0,0 +1,6 @@
+: ${PKG_LOLCODE_URLS_GIT:="lci=https://github.com/justinmeza/lci.git@main"};
+: ${PKG_LOLCODE_BUILD_DIR:=lci};
+
+ex_pkg_register "lolcode" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/ltris.package b/groups.d/231.native_packages_etc.d/ltris.package
new file mode 100644
index 00000000..3bfc9be2
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/ltris.package
@@ -0,0 +1,13 @@
+: ${PKG_LTRIS_DEPENDS:="sdl1"};
+: ${PKG_LTRIS_SHA256SUM:=0ec4ad053e066a296529e923c2f626fa0a19c094c5ae03e44359f9c9e50955a8};
+: ${PKG_LTRIS_VERSION:=1.2.3};
+: ${PKG_LTRIS_URL:=https://sources.voidlinux-ppc.org/ltris-${PKG_LTRIS_VERSION}/ltris-${PKG_LTRIS_VERSION}.tar.gz};
+: ${PKG_LTRIS_CONFIGURE_ARGS_EXTRA:="--with-sdl-prefix=${PREFIX_NATIVE} SDL_LIBS=-L${PREFIX_NATIVE}/lib SDL_CFLAGS=-I${PREFIX_NATIVE}/include"};
+: ${PKG_LTRIS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/SDL -std=gnu99"};
+: ${PKG_LTRIS_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib -L${PREFIX_NATIVE}/lib/w32lib"};
+: ${PKG_LTRIS_ENV_VARS_EXTRA:="LIBS=-lSDL"};
+: ${PKG_LTRIS_IN_TREE:=1};
+
+ex_pkg_register "ltris" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/minizip.package b/groups.d/231.native_packages_etc.d/minizip.package
new file mode 100644
index 00000000..ba9565c8
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/minizip.package
@@ -0,0 +1,20 @@
+: ${PKG_MINIZIP_DEPENDS:="bzip2 libressl libz xz"};
+: ${PKG_MINIZIP_SHA256SUM:=f4c8e7afdd45a093f69d7d338652996766d5473e63ad97a2c5cf89c0787773a0};
+: ${PKG_MINIZIP_VERSION:=2.10.4};
+: ${PKG_MINIZIP_URL:=https://github.com/nmoinvaz/minizip/archive/${PKG_MINIZIP_VERSION}.tar.gz};
+: ${PKG_MINIZIP_CMAKE_ARGS_EXTRA:="
+ -DBUILD_SHARED_LIBS=ON
+ -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a
+ -DPKG_CONFIG_EXECUTABLE=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config
+ -DMZ_BUILD_TEST=ON
+ -DMZ_LIBBSD=OFF
+ -DMZ_LZMA=ON
+ -DMZ_OPENSSL=ON
+ -DMZ_ZSTD=OFF
+ -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DZLIB_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libz.lib.a"};
+: ${PKG_MINIZIP_SUBDIR:=minizip-ng-${PKG_MINIZIP_VERSION}};
+
+ex_pkg_register "minizip" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/mintty.package b/groups.d/231.native_packages_etc.d/mintty.package
new file mode 100644
index 00000000..a98124b2
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/mintty.package
@@ -0,0 +1,9 @@
+: ${PKG_MINTTY_DEPENDS:="w32api w32lib"};
+: ${PKG_MINTTY_URLS_GIT:="mintty=https://github.com/midipix-ports/mintty.git@midipix bmintty=https://github.com/midipix-ports/bmintty.git@main"};
+: ${PKG_MINTTY_CONFIGURE:=bmintty/configure};
+: ${PKG_MINTTY_CONFIGURE_ARGS:="--debug --strict --target=${DEFAULT_TARGET} --source-dir=../mintty --prefix="};
+: ${PKG_MINTTY_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX_NATIVE}/lib/w32lib};
+
+ex_pkg_register "mintty" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/mlogin.package b/groups.d/231.native_packages_etc.d/mlogin.package
new file mode 100644
index 00000000..85799dd7
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/mlogin.package
@@ -0,0 +1,7 @@
+: ${PKG_MLOGIN_URLS_GIT:="mlogin=https://dev.midipix.org/env/mlogin.git@main"};
+: ${PKG_MLOGIN_BUILD_DIR:=mlogin};
+: ${PKG_MLOGIN_FORCE_AUTORECONF:=1};
+
+ex_pkg_register "mlogin" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/musl_compat.package b/groups.d/231.native_packages_etc.d/musl_compat.package
new file mode 100644
index 00000000..ea3178ec
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/musl_compat.package
@@ -0,0 +1,7 @@
+: ${PKG_MUSL_COMPAT_URLS_GIT:=musl_compat=https://dev.midipix.org/compat/musl-compat.git@main};
+: ${PKG_MUSL_COMPAT_BUILD_DIR:=musl_compat};
+: ${PKG_MUSL_COMPAT_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
+
+ex_pkg_register "musl_compat" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/musl_fts.package b/groups.d/231.native_packages_etc.d/musl_fts.package
new file mode 100644
index 00000000..5a43328e
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/musl_fts.package
@@ -0,0 +1,7 @@
+: ${PKG_MUSL_FTS_SHA256SUM:=32dfe02768f1d3d91ab04df4fbdb7922cd34cd529ce7081a78c3ca8b8652d1ee};
+: ${PKG_MUSL_FTS_VERSION:=1.2.7};
+: ${PKG_MUSL_FTS_URL:=https://midipix.org/mirror/musl-fts/musl-fts-${PKG_MUSL_FTS_VERSION}.tar.xz};
+
+ex_pkg_register "musl_fts" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/ncdu.package b/groups.d/231.native_packages_etc.d/ncdu.package
new file mode 100644
index 00000000..9c57800d
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/ncdu.package
@@ -0,0 +1,8 @@
+: ${PKG_NCDU_DEPENDS:="ncursesw"};
+: ${PKG_NCDU_SHA256SUM:=3c37a1a96580c9c5d2cc352dc3c5eef0d909158c05f1cc29db4712544c8b9f95};
+: ${PKG_NCDU_VERSION:=1.18};
+: ${PKG_NCDU_URL:=https://dev.yorhel.nl/download/ncdu-${PKG_NCDU_VERSION}.tar.gz};
+
+ex_pkg_register "ncdu" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/ncurses.package b/groups.d/231.native_packages_etc.d/ncurses.package
new file mode 100644
index 00000000..0c9e54db
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/ncurses.package
@@ -0,0 +1,20 @@
+: ${PKG_NCURSES_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
+: ${PKG_NCURSES_VERSION:=6.3};
+: ${PKG_NCURSES_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSES_VERSION}.tar.gz};
+: ${PKG_NCURSES_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
+: ${PKG_NCURSES_CONFIGURE_ARGS:="-C --disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET} --with-curses"};
+: ${PKG_NCURSES_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX_NATIVE}/lib/pkgconfig --without-manpages --without-progs --with-shared --with-termlib --without-ada --without-tests --disable-widec --without-pthread"};
+: ${PKG_NCURSES_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
+: ${PKG_NCURSESTW_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
+: ${PKG_NCURSESTW_VERSION:=6.3};
+: ${PKG_NCURSESTW_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESTW_VERSION}.tar.gz};
+: ${PKG_NCURSESTW_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX_NATIVE}/lib/pkgconfig --without-manpages --without-progs --with-shared --with-termlib --without-ada --without-tests --disable-widec --with-pthread"};
+: ${PKG_NCURSESW_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
+: ${PKG_NCURSESW_VERSION:=6.3};
+: ${PKG_NCURSESW_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESW_VERSION}.tar.gz};
+: ${PKG_NCURSESW_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX_NATIVE}/lib/pkgconfig --with-manpages --with-progs --with-shared --with-termlib --without-ada --without-tests --enable-widec --without-pthread"};
+: ${PKG_NCURSESW_INSTALL_FILES_V2:="@ncursesw/ncurses.h=include/ncurses.h"};
+
+ex_pkg_register "ncurses" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/npth.package b/groups.d/231.native_packages_etc.d/npth.package
new file mode 100644
index 00000000..dc440b59
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/npth.package
@@ -0,0 +1,7 @@
+: ${PKG_NPTH_SHA256SUM:=1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1};
+: ${PKG_NPTH_VERSION:=1.6};
+: ${PKG_NPTH_URL:=https://www.gnupg.org/ftp/gcrypt/npth/npth-${PKG_NPTH_VERSION}.tar.bz2};
+
+ex_pkg_register "npth" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/openjazz.package b/groups.d/231.native_packages_etc.d/openjazz.package
new file mode 100644
index 00000000..aa84cd1f
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/openjazz.package
@@ -0,0 +1,9 @@
+: ${PKG_OPENJAZZ_DEPENDS:="sdl1"};
+: ${PKG_OPENJAZZ_URLS_GIT:=openjazz=https://github.com/AlisterT/openjazz.git@master};
+: ${PKG_OPENJAZZ_CONFIG_CACHE_EXTRA:="ac_cv_prog_POD2MAN="};
+: ${PKG_OPENJAZZ_FORCE_AUTORECONF:=1};
+: ${PKG_OPENJAZZ_DISABLED:=1};
+
+ex_pkg_register "openjazz" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/openjpeg.package b/groups.d/231.native_packages_etc.d/openjpeg.package
new file mode 100644
index 00000000..5096f19c
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/openjpeg.package
@@ -0,0 +1,21 @@
+: ${PKG_OPENJPEG_DEPENDS:="lcms libpng libz tiff"};
+: ${PKG_OPENJPEG_SHA256SUM:=90e3896fed910c376aaf79cdd98bdfdaf98c6472efd8e1debf0a854938cbda6a};
+: ${PKG_OPENJPEG_VERSION:=2.5.2};
+: ${PKG_OPENJPEG_URL:=https://github.com/uclouvain/openjpeg/archive/v${PKG_OPENJPEG_VERSION}.tar.gz};
+: ${PKG_OPENJPEG_CMAKE_ARGS_EXTRA:="
+ -DLCMS2_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DLCMS2_LIBRARY=${PREFIX_NATIVE}/lib/liblcms2.lib.a
+ -DPNG_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libpng.lib.a
+ -DPNG_LIBRARY_RELEASE=${PREFIX_NATIVE}/lib/libpng.lib.a
+ -DPNG_PNG_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DTIFF_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DTIFF_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libtiff.lib.a
+ -DTIFF_LIBRARY_RELEASE=${PREFIX_NATIVE}/lib/libtiff.lib.a
+ -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DZLIB_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libz.a
+ -DZLIB_LIBRARY_RELEASE=${PREFIX_NATIVE}/lib/libz.a"};
+: ${PKG_OPENJPEG_SUBDIR:=openjpeg-${PKG_OPENJPEG_VERSION}};
+
+ex_pkg_register "openjpeg" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/p7zip.package b/groups.d/231.native_packages_etc.d/p7zip.package
new file mode 100644
index 00000000..9522c92d
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/p7zip.package
@@ -0,0 +1,8 @@
+: ${PKG_P7ZIP_URLS_GIT:="p7zip-midipix.git=https://github.com/lalbornoz/p7zip-midipix.git@master"};
+: ${PKG_P7ZIP_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_P7ZIP_IN_TREE:=1};
+: ${PKG_P7ZIP_INSTALL_FILES_V2:="+../p7zip-midipix.git/bin/7za=bin/%[FNAME]"};
+
+ex_pkg_register "p7zip" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/pcre.package b/groups.d/231.native_packages_etc.d/pcre.package
new file mode 100644
index 00000000..d676619a
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/pcre.package
@@ -0,0 +1,14 @@
+: ${PKG_PCRE_DEPENDS:="bzip2 libz"};
+: ${PKG_PCRE_SHA256SUM:=0b8e7465dc5e98c757cc3650a20a7843ee4c3edf50aaf60bb33fd879690d2c73};
+: ${PKG_PCRE_VERSION:=8.45};
+: ${PKG_PCRE_URL:="https://osdn.net/frs/g_redir.php?m=gigenet&f=pcre%2Fpcre%2F8.43%2Fpcre-${PKG_PCRE_HOST_VERSION}.tar.gz"};
+: ${PKG_PCRE_FNAME:="pcre-${PKG_PCRE_HOST_VERSION}.tar.gz"};
+: ${PKG_PCRE2_DEPENDS:="bzip2 libz"};
+: ${PKG_PCRE2_SHA256SUM:=8d36cd8cb6ea2a4c2bb358ff6411b0c788633a2a45dabbf1aeb4b701d1b5e840};
+: ${PKG_PCRE2_VERSION:=10.42};
+: ${PKG_PCRE2_URL:=https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${PKG_PCRE2_VERSION}/pcre2-${PKG_PCRE2_VERSION}.tar.bz2};
+: ${PKG_PCRE2_CONFIGURE_ARGS_EXTRA:="--enable-pcre2grep-libz --enable-pcre2grep-libbz2 --enable-pcre2-16 --enable-pcre2-32 --disable-jit --enable-unicode"};
+
+ex_pkg_register "pcre" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/php.package b/groups.d/231.native_packages_etc.d/php.package
new file mode 100644
index 00000000..46f7bf3b
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/php.package
@@ -0,0 +1,17 @@
+: ${PKG_PHP_DEPENDS:="bzip2 curl libz libzip libxml2 libxslt sqlite3 pcre2 readline libressl onig libiconv"};
+: ${PKG_PHP_SHA256SUM:=39a337036a546e5c28aea76cf424ac172db5156bd8a8fd85252e389409a5ba63};
+: ${PKG_PHP_VERSION:=8.3.4};
+: ${PKG_PHP_URL:=https://www.php.net/distributions/php-${PKG_PHP_VERSION}.tar.xz};
+: ${PKG_PHP_CONFIG_CACHE_EXTRA:="
+ac_cv_c_bigendian_php=no
+ac_cv_write_stdout=yes
+have_shm_mmap_posix=yes"};
+: ${PKG_PHP_CONFIGURE_ARGS_EXTRA:="--with-layout=GNU --with-external-pcre --with-gmp=shared --disable-gd --disable-phar --enable-pdo=shared --enable-pdo-sqlite=shared --enable-dom=shared --enable-embed=shared --enable-all=shared --without-enchant --without-imap --disable-intl --without-ldap --without-oci8 --without-adabas --enable-pcntl=shared --without-pdo-dblib --without-pdo-firebird --without-pdo-mysql --without-pdo-oci --without-pdo-odbc --without-pdo-pgsql --without-pdo-sqlite --without-pgsql --without-pspell --without-libedit --without-sapdb --without-snmp --without-sodium --without-password-argon2 --without-tidy --without-ffi --without-mysqli --without-unixODBC --without-dbmaker --without-solid --without-ibm-db2 --without-empress --without-empress-bcs --without-iodbc --without-esoob --without-custom-odbc --without-pear --without-pcre-jit --with-bz2=shared,${PREFIX_NATIVE} --with-gettext=shared --disable-opcache-jit --disable-dl-test --disable-sockets --enable-ctype=shared --enable-calendar=shared --enable-mbstring=shared"};
+: ${PKG_PHP_ENV_VARS_EXTRA:="HOST_CC=gcc:READLINE_DIR=${PREFIX_NATIVE}/include/readline"};
+: ${PKG_PHP_MAKEFLAGS_PARALLELISE:="-j1"};
+: ${PKG_PHP_LIBTOOL:=rdlibtool};
+: ${PKG_PHP_INSTALL_FILES_V2:="+../obj/libs/libphp.so=lib/%[FNAME]"};
+
+ex_pkg_register "php" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/popt.package b/groups.d/231.native_packages_etc.d/popt.package
new file mode 100644
index 00000000..01edad4e
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/popt.package
@@ -0,0 +1,8 @@
+: ${PKG_POPT_DEPENDS:="libiconv"};
+: ${PKG_POPT_SHA256SUM:=5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1};
+: ${PKG_POPT_VERSION:=1.18};
+: ${PKG_POPT_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/popt/popt-${PKG_POPT_VERSION}.tar.gz};
+
+ex_pkg_register "popt" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/potrace.package b/groups.d/231.native_packages_etc.d/potrace.package
new file mode 100644
index 00000000..914e1415
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/potrace.package
@@ -0,0 +1,8 @@
+: ${PKG_POTRACE_DEPENDS:="libz"};
+: ${PKG_POTRACE_SHA256SUM:=be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc};
+: ${PKG_POTRACE_VERSION:=1.16};
+: ${PKG_POTRACE_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/potrace/potrace-${PKG_POTRACE_VERSION}.tar.gz};
+
+ex_pkg_register "potrace" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/procps_ng.package b/groups.d/231.native_packages_etc.d/procps_ng.package
new file mode 100644
index 00000000..ab4c6201
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/procps_ng.package
@@ -0,0 +1,15 @@
+: ${PKG_PROCPS_NG_DEPENDS:="ncurses ncursesw"};
+: ${PKG_PROCPS_NG_SHA256SUM:=4518b3e7aafd34ec07d0063d250fd474999b20b200218c3ae56f5d2113f141b4};
+: ${PKG_PROCPS_NG_VERSION:=3.3.17};
+: ${PKG_PROCPS_NG_URL:=http://mirror.internode.on.net/pub/slackware/slackware64/source/a/procps-ng/procps-ng-${PKG_PROCPS_NG_VERSION}.tar.xz};
+: ${PKG_PROCPS_NG_CONFIGURE_ARGS_EXTRA:="--disable-kill"};
+: ${PKG_PROCPS_NG_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/ncursesw};
+: ${PKG_PROCPS_NG_SUBDIR:=procps-${PKG_PROCPS_NG_VERSION}};
+: ${PKG_PROCPS_NG_IN_TREE:=1};
+: ${PKG_PROCPS_NG_MAKEFLAGS_BUILD:="LIBS=-Wl,-lncurses,-ltinfo"};
+: ${PKG_PROCPS_NG_FNAME:=procps_ng-${PKG_PROCPS_NG_VERSION}.tar.xz};
+: ${PKG_PROCPS_NG_SUBDIR:=procps-ng-${PKG_PROCPS_NG_VERSION}};
+
+ex_pkg_register "procps_ng" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/qemu.package b/groups.d/231.native_packages_etc.d/qemu.package
new file mode 100644
index 00000000..31f907cb
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/qemu.package
@@ -0,0 +1,11 @@
+: ${PKG_QEMU_DEPENDS:="curl glib libX11 pixman w32api w32lib"};
+: ${PKG_QEMU_SHA256SUM:=6a0508df079a0a33c2487ca936a56c12122f105b8a96a44374704bef6c69abfc};
+: ${PKG_QEMU_VERSION:=3.1.0};
+: ${PKG_QEMU_URL:=https://download.qemu.org/qemu-${PKG_QEMU_VERSION}.tar.xz};
+: ${PKG_QEMU_CCLD:="${DEFAULT_NATIVE_LD}"};
+: ${PKG_QEMU_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports"};
+: ${PKG_QEMU_CONFIGURE_ARGS_LIST:="--host=${DEFAULT_TARGET}:--prefix=:--cc=${DEFAULT_NATIVE_CC}:--cxx=:--disable-strip:--disable-sdl"};
+
+ex_pkg_register "qemu" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/qpdf.package b/groups.d/231.native_packages_etc.d/qpdf.package
new file mode 100644
index 00000000..957b6d60
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/qpdf.package
@@ -0,0 +1,10 @@
+: ${PKG_QPDF_DEPENDS:="libz pcre"};
+: ${PKG_QPDF_SHA256SUM:=a9fdc7e94d38fcd3831f37b6e0fe36492bf79aa6d54f8f66062cf7f9c4155233};
+: ${PKG_QPDF_VERSION:=6.0.0};
+: ${PKG_QPDF_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/qpdf/qpdf-${PKG_QPDF_VERSION}.tar.gz};
+: ${PKG_QPDF_CONFIGURE_ARGS_EXTRA:=--with-random=/dev/urandom};
+: ${PKG_QPDF_IN_TREE:=1};
+
+ex_pkg_register "qpdf" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/qrencode.package b/groups.d/231.native_packages_etc.d/qrencode.package
new file mode 100644
index 00000000..25530bdc
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/qrencode.package
@@ -0,0 +1,9 @@
+: ${PKG_QRENCODE_DEPENDS:="libpng"};
+: ${PKG_QRENCODE_SHA256SUM:=da448ed4f52aba6bcb0cd48cac0dd51b8692bccc4cd127431402fca6f8171e8e};
+: ${PKG_QRENCODE_VERSION:=4.1.1};
+: ${PKG_QRENCODE_URL:=https://fukuchi.org/works/qrencode/qrencode-${PKG_QRENCODE_VERSION}.tar.gz};
+: ${PKG_QRENCODE_CONFIGURE_ARGS_EXTRA:=--disable-sdltest};
+
+ex_pkg_register "qrencode" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/rpm.package b/groups.d/231.native_packages_etc.d/rpm.package
new file mode 100644
index 00000000..4a58ed49
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/rpm.package
@@ -0,0 +1,10 @@
+: ${PKG_RPM_DEPENDS:="curl file libarchive libgcrypt libz lua popt xz zstd"};
+: ${PKG_RPM_SHA256SUM:=2e0d220b24749b17810ed181ac1ed005a56bbb6bc8ac429c21f314068dc65e6a};
+: ${PKG_RPM_VERSION:=4.17.0};
+: ${PKG_RPM_URL:=http://ftp.rpm.org/releases/rpm-${PKG_RPM_VERSION%.*}.x/rpm-${PKG_RPM_VERSION}.tar.bz2};
+: ${PKG_RPM_CONFIGURE_ARGS:="-C --disable-nls --host=${DEFAULT_TARGET} --prefix=/usr --target=${DEFAULT_TARGET} --disable-inhibit-plugin --enable-ndb --with-vendor=midipix --disable-openmp"};
+: ${PKG_RPM_ENV_VARS_EXTRA:="LIBGCRYPT_LIBS=-lgcrypt:LUA_LIBS=-llua:SQLITE_LIBS=-lsqlite3:LUA_CFLAGS=-I${PREFIX_NATIVE}/include/lua5.4"};
+
+ex_pkg_register "rpm" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/rw.package b/groups.d/231.native_packages_etc.d/rw.package
new file mode 100644
index 00000000..1761fad5
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/rw.package
@@ -0,0 +1,8 @@
+: ${PKG_RW_SHA256SUM:=50009730e36991dfe579716f91f4f616f5ba05ffb7bf69c03d41bf305ed93b6d};
+: ${PKG_RW_VERSION:=1.0};
+: ${PKG_RW_URL:=https://sortix.org/rw/release/rw-portable-${PKG_RW_VERSION}.tar.gz}
+: ${PKG_RW_BUILD_DIR:=rw-portable-${PKG_RW_VERSION}};
+
+ex_pkg_register "rw" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/sdlquake.package b/groups.d/231.native_packages_etc.d/sdlquake.package
new file mode 100644
index 00000000..7f0e8bdb
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/sdlquake.package
@@ -0,0 +1,9 @@
+: ${PKG_SDLQUAKE_DEPENDS:="sdl1"};
+: ${PKG_SDLQUAKE_SHA256SUM:=097882b4613c87303dd068c41c95e77675da790cab63c7b440e70643d1741035};
+: ${PKG_SDLQUAKE_VERSION:=1.0.9};
+: ${PKG_SDLQUAKE_URL:=http://www.libsdl.org/projects/quake/src/sdlquake-${PKG_SDLQUAKE_VERSION}.tar.gz};
+: ${PKG_SDLQUAKE_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --target=${DEFAULT_TARGET} --with-sdl-prefix=${PREFIX_NATIVE}"};
+
+ex_pkg_register "sdlquake" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/shared_mime_info.package b/groups.d/231.native_packages_etc.d/shared_mime_info.package
new file mode 100644
index 00000000..04242ea7
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/shared_mime_info.package
@@ -0,0 +1,10 @@
+: ${PKG_SHARED_MIME_INFO_DEPENDS:="glib libxml2"};
+: ${PKG_SHARED_MIME_INFO_SHA256SUM:=2af55ef1a0319805b74ab40d331a3962c905477d76c086f49e34dc96363589e9};
+: ${PKG_SHARED_MIME_INFO_VERSION:=1.8};
+: ${PKG_SHARED_MIME_INFO_URL:=http://freedesktop.org/~hadess/shared-mime-info-${PKG_SHARED_MIME_INFO_VERSION}.tar.xz};
+: ${PKG_SHARED_MIME_INFO_CONFIGURE_ARGS_EXTRA:=--disable-update-mimedb};
+: ${PKG_SHARED_MIME_INFO_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "shared" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/slang.package b/groups.d/231.native_packages_etc.d/slang.package
new file mode 100644
index 00000000..41abb81c
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/slang.package
@@ -0,0 +1,10 @@
+: ${PKG_SLANG_DEPENDS:="libpng ncursesw pcre"};
+: ${PKG_SLANG_SHA256SUM:=f9145054ae131973c61208ea82486d5dd10e3c5cdad23b7c4a0617743c8f5a18};
+: ${PKG_SLANG_VERSION:=2.3.3};
+: ${PKG_SLANG_URL:=https://www.jedsoft.org/releases/slang/slang-${PKG_SLANG_VERSION}.tar.bz2};
+: ${PKG_SLANG_IN_TREE:=1};
+: ${PKG_SLANG_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "slang" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/sqlite3.package b/groups.d/231.native_packages_etc.d/sqlite3.package
new file mode 100644
index 00000000..4517bd12
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/sqlite3.package
@@ -0,0 +1,9 @@
+: ${PKG_SQLITE3_DEPENDS:="ncurses readline libz"};
+: ${PKG_SQLITE3_SHA256SUM:=2c5dea207fa508d765af1ef620b637dcb06572afa6f01f0815bd5bbf864b33d9};
+: ${PKG_SQLITE3_VERSION:=3400100};
+: ${PKG_SQLITE3_URL:=https://sqlite.org/2022/sqlite-autoconf-${PKG_SQLITE3_VERSION}.tar.gz};
+: ${PKG_SQLITE3_CONFIGURE_ARGS_EXTRA:=--disable-static-shell};
+
+ex_pkg_register "sqlite3" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/tcl.package b/groups.d/231.native_packages_etc.d/tcl.package
new file mode 100644
index 00000000..f18836a2
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/tcl.package
@@ -0,0 +1,11 @@
+: ${PKG_TCL_SHA256SUM:=2bbd4e0bbdebeaf5dc6cc823d0805afb45c764292f6667d9ce2b9fcf5399e0dc};
+: ${PKG_TCL_VERSION:=8.7a1};
+: ${PKG_TCL_URL:=http://kuiper.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/tcl8_7/tcl${PKG_TCL_VERSION}-src.tar.gz};
+: ${PKG_TCL_CONFIG_CACHE_EXTRA:="
+tcl_cv_strtod_buggy=false
+tcl_cv_strtod_unbroken=true"};
+: ${PKG_TCL_SUBDIR:=tcl${PKG_TCL_VERSION}/unix};
+
+ex_pkg_register "tcl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/tdnf.package b/groups.d/231.native_packages_etc.d/tdnf.package
new file mode 100644
index 00000000..489a6254
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/tdnf.package
@@ -0,0 +1,11 @@
+: ${PKG_TDNF_DEPENDS:="libmetalink libressl curl gpgme libsolv"};
+: ${PKG_TDNF_SHA256SUM:=1ca20b176939f32c212f8dec7bfacd99995f1cb16c7f176b90394378ea854b0b};
+: ${PKG_TDNF_VERSION:=2.1.1};
+: ${PKG_TDNF_URL:=https://github.com/vmware/tdnf/archive/v${PKG_TDNF_VERSION}/tdnf-${PKG_TDNF_VERSION}.tar.gz};
+: ${PKG_TDNF_CMAKE_ARGS_EXTRA:="-DOPENSSL_LIBRARY=${PREFIX_NATIVE}/lib/libcrypto.so"};
+: ${PKG_TDNF_IN_TREE:=1};
+: ${PKG_TDNF_SUBDIR:=tdnf-${PKG_TDNF_VERSION}};
+
+ex_pkg_register "tdnf" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/texinfo.package b/groups.d/231.native_packages_etc.d/texinfo.package
new file mode 100644
index 00000000..b62f74be
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/texinfo.package
@@ -0,0 +1,7 @@
+: ${PKG_TEXINFO_SHA256SUM:=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa};
+: ${PKG_TEXINFO_VERSION:=6.7};
+: ${PKG_TEXINFO_URL:=https://ftp.gnu.org/gnu/texinfo/texinfo-${PKG_TEXINFO_VERSION}.tar.xz};
+
+ex_pkg_register "texinfo" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/tiff.package b/groups.d/231.native_packages_etc.d/tiff.package
new file mode 100644
index 00000000..c22c1b87
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/tiff.package
@@ -0,0 +1,9 @@
+: ${PKG_TIFF_DEPENDS:="libjpeg_turbo libz xz zstd"};
+: ${PKG_TIFF_SHA256SUM:=d6da35c9986a4ec845eb96258b3693f8df515f7eb4c1e597ceb03e22788f305b};
+: ${PKG_TIFF_VERSION:=4.6.0t};
+: ${PKG_TIFF_URL:=http://www.libtiff.org/downloads/tiff-${PKG_TIFF_VERSION}.tar.xz};
+: ${PKG_TIFF_CONFIGURE_ARGS_EXTRA:=--disable-cxx};
+
+ex_pkg_register "tiff" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/tmux.package b/groups.d/231.native_packages_etc.d/tmux.package
new file mode 100644
index 00000000..0eea2c0b
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/tmux.package
@@ -0,0 +1,9 @@
+: ${PKG_TMUX_DEPENDS:="libevent ncurses"};
+: ${PKG_TMUX_SHA256SUM:=55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b};
+: ${PKG_TMUX_VERSION:=2.3};
+: ${PKG_TMUX_URL:=https://github.com/tmux/tmux/releases/download/${PKG_TMUX_VERSION}/tmux-${PKG_TMUX_VERSION}.tar.gz};
+: ${PKG_TMUX_CONFIGURE_ARGS_EXTRA:=--enable-utf8proc};
+
+ex_pkg_register "tmux" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/tzdb.package b/groups.d/231.native_packages_etc.d/tzdb.package
new file mode 100644
index 00000000..74fbb077
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/tzdb.package
@@ -0,0 +1,10 @@
+: ${PKG_TZDB_SHA256SUM:=511af6b467f40b1ec9ac3684d1701793af470f3e29ddfb97b82be438e8601a7a};
+: ${PKG_TZDB_VERSION:=2024a};
+: ${PKG_TZDB_URL:=https://data.iana.org/time-zones/releases/tzdb-${PKG_TZDB_VERSION}.tar.lz};
+: ${PKG_TZDB_BUILD_DIR:="tzdb-${PKG_TZDB_VERSION}"};
+: ${PKG_TZDB_CFLAGS_BUILD_EXTRA:="-std=c99 -DHAVE_GETRANDOM -DHAVE_STDINT_H"};
+: ${PKG_TZDB_MAKEFLAGS_INSTALL_EXTRA:="ZIC=${PREFIX}/sbin/zic"};
+
+ex_pkg_register "tzdb" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/utf8proc.package b/groups.d/231.native_packages_etc.d/utf8proc.package
new file mode 100644
index 00000000..3343e952
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/utf8proc.package
@@ -0,0 +1,5 @@
+: ${PKG_UTF8PROC_URLS_GIT:="utf8proc=https://github.com/JuliaStrings/utf8proc@master"};
+
+ex_pkg_register "utf8proc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/util_linux.package b/groups.d/231.native_packages_etc.d/util_linux.package
new file mode 100644
index 00000000..e22640db
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/util_linux.package
@@ -0,0 +1,15 @@
+: ${PKG_UTIL_LINUX_DEPENDS:="ncursesw"};
+: ${PKG_UTIL_LINUX_SHA256SUM:=6a0764c1aae7fb607ef8a6dd2c0f6c47d5e5fd27aa08820abaad9ec14e28e9d9};
+: ${PKG_UTIL_LINUX_VERSION:=2.37.2};
+: ${PKG_UTIL_LINUX_URL:=https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${PKG_UTIL_LINUX_VERSION%.*}/util-linux-${PKG_UTIL_LINUX_VERSION}.tar.xz};
+: ${PKG_UTIL_LINUX_CONFIGURE_ARGS_EXTRA:=--disable-agetty --disable-lslogins --disable-wall --disable-write --disable-nologin --disable-sulogin --disable-hwclock --disable-schedutils --enable-more};
+: ${PKG_UTIL_LINUX_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
+: ${PKG_UTIL_LINUX_CONFIG_CACHE_EXTRA:="
+ac_cv_func_timer_create=no
+ac_cv_lib_rt_timer_create=no
+ac_cv_search_timer_create=no
+ac_cv_prog_NCURSESW6_CONFIG=%PREFIX%/bin/ncursesw6-config"};
+
+ex_pkg_register "util_linux" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/vim.package b/groups.d/231.native_packages_etc.d/vim.package
new file mode 100644
index 00000000..53d70059
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/vim.package
@@ -0,0 +1,21 @@
+: ${PKG_VIM_DEPENDS:="ncursesw libiconv"};
+: ${PKG_VIM_SHA256SUM:=2b17989c6258f422276c6df9b72626947027a8b98e3a8eca2b2649c6ddc33765};
+: ${PKG_VIM_VERSION:=9.0.1927};
+: ${PKG_VIM_URL:=https://github.com/vim/vim/archive/v${PKG_VIM_VERSION}.tar.gz};
+: ${PKG_VIM_CONFIGURE_ARGS_EXTRA:="--enable-gui=no --with-tlib=tinfow --without-x --disable-canberra --disable-libsodium --disable-motif-check --disable-sysmouse --disable-gpm"};
+: ${PKG_VIM_IN_TREE:=1};
+: ${PKG_VIM_INSTALL_FILES_V2:="@vim=bin/vi"};
+: ${PKG_VIM_MAKEFLAGS_INSTALL_EXTRA:=STRIP=/bin/true};
+: ${PKG_VIM_SUBDIR:=vim-${PKG_VIM_VERSION}};
+: ${PKG_VIM_CONFIG_CACHE_EXTRA:="
+vim_cv_tgetent=zero
+vim_cv_toupper_broken=no
+vim_cv_terminfo=yes
+vim_cv_getcwd_broken=no
+vim_cv_stat_ignores_slash=yes
+vim_cv_memmove_handles_overlap=yes
+vim_cv_timer_create=yes"};
+
+ex_pkg_register "vim" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/vorbis_tools.package b/groups.d/231.native_packages_etc.d/vorbis_tools.package
new file mode 100644
index 00000000..6ba8f09b
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/vorbis_tools.package
@@ -0,0 +1,9 @@
+: ${PKG_VORBIS_TOOLS_DEPENDS:="curl libflac libogg libvorbis"};
+: ${PKG_VORBIS_TOOLS_SHA256SUM:=db7774ec2bf2c939b139452183669be84fda5774d6400fc57fde37f77624f0b0};
+: ${PKG_VORBIS_TOOLS_VERSION:=1.4.2};
+: ${PKG_VORBIS_TOOLS_URL:=https://ftp.osuosl.org/pub/xiph/releases/vorbis/vorbis-tools-${PKG_VORBIS_TOOLS_VERSION}.tar.gz};
+: ${PKG_VORBIS_TOOLS_CONFIGURE_ARGS_EXTRA:="--disable-ogg123 --without-speex --without-kate"};
+
+ex_pkg_register "vorbis_tools" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/w32api.package b/groups.d/231.native_packages_etc.d/w32api.package
new file mode 100644
index 00000000..3da7cc6a
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/w32api.package
@@ -0,0 +1,7 @@
+: ${PKG_W32API_URLS_GIT:="w32api=https://github.com/midipix-ports/w32api.ports@main"};
+: ${PKG_W32API_IN_TREE:=1};
+: ${PKG_W32API_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
+
+ex_pkg_register "w32api" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/w32lib.package b/groups.d/231.native_packages_etc.d/w32lib.package
new file mode 100644
index 00000000..43e1e6bd
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/w32lib.package
@@ -0,0 +1,6 @@
+: ${PKG_W32LIB_URLS_GIT:="w32lib=https://git.midipix.org/w32lib"};
+: ${PKG_W32LIB_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}"};
+
+ex_pkg_register "w32lib" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/xorriso.package b/groups.d/231.native_packages_etc.d/xorriso.package
new file mode 100644
index 00000000..ab2bc2f1
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/xorriso.package
@@ -0,0 +1,9 @@
+: ${PKG_XORRISO_DEPENDS:="libiconv"};
+: ${PKG_XORRISO_SHA256SUM:=3b69f5c93ae7c40c5bbe4a847fa3963f5efc9c565551622f77121c5792fc17e7};
+: ${PKG_XORRISO_VERSION:=1.5.2};
+: ${PKG_XORRISO_URL:=https://www.gnu.org/software/xorriso/xorriso-${PKG_XORRISO_VERSION}.tar.gz};
+: ${PKG_XORRISO_IN_TREE:=1};
+
+ex_pkg_register "xorriso" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/xpdf.package b/groups.d/231.native_packages_etc.d/xpdf.package
new file mode 100644
index 00000000..bdd9fe9e
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/xpdf.package
@@ -0,0 +1,12 @@
+: ${PKG_XPDF_DEPENDS:="fontconfig libz"};
+: ${PKG_XPDF_SHA256SUM:=0fe4274374c330feaadcebb7bd7700cb91203e153b26aa95952f02bf130be846};
+: ${PKG_XPDF_VERSION:=4.03};
+: ${PKG_XPDF_URL:=https://dl.xpdfreader.com/xpdf-${PKG_XPDF_VERSION}.tar.gz};
+: ${PKG_XPDF_CMAKE_ARGS_EXTRA:="
+ -DFREETYPE_LIBRARY=${PREFIX_NATIVE}/lib/libfreetype.lib.a
+ -DFREETYPE_INCLUDE_DIR_ft2build=${PREFIX_NATIVE}/include/ft2build
+ -DFONTCONFIG_LIBRARY=${PREFIX_NATIVE}/lib/libfontconfig.lib.a"};
+
+ex_pkg_register "xpdf" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/xz.package b/groups.d/231.native_packages_etc.d/xz.package
new file mode 100644
index 00000000..db9b5beb
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/xz.package
@@ -0,0 +1,8 @@
+: ${PKG_XZ_SHA256SUM:=3e1e518ffc912f86608a8cb35e4bd41ad1aec210df2a47aaa1f95e7f5576ef56};
+: ${PKG_XZ_VERSION:=5.2.5};
+: ${PKG_XZ_URL:=https://mirror.midipix.org/xz/xz-${PKG_XZ_HOST_VERSION}.tar.xz};
+: ${PKG_XZ_CFLAGS_BUILD_EXTRA:="-DLZMA_RANGE_DECODER_CONFIG=3"};
+
+ex_pkg_register "xz" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.d/zstd.package b/groups.d/231.native_packages_etc.d/zstd.package
new file mode 100644
index 00000000..da704d65
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/zstd.package
@@ -0,0 +1,10 @@
+: ${PKG_ZSTD_SHA256SUM:=98e9c3d949d1b924e28e01eccb7deed865eefebf25c2f21c702e5cd5b63b85e1};
+: ${PKG_ZSTD_VERSION:=1.5.5};
+: ${PKG_ZSTD_URL:=https://github.com/facebook/zstd/archive/v${PKG_ZSTD_VERSION}.tar.gz};
+: ${PKG_ZSTD_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
+: ${PKG_ZSTD_IN_TREE:=1};
+: ${PKG_ZSTD_SUBDIR:=zstd-${PKG_ZSTD_VERSION}};
+
+ex_pkg_register "zstd" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/231.native_packages_etc.group b/groups.d/231.native_packages_etc.group
deleted file mode 100644
index a452983f..00000000
--- a/groups.d/231.native_packages_etc.group
+++ /dev/null
@@ -1,559 +0,0 @@
-#
-# Build group native_packages (etc)
-#
-GROUP_TARGET_APPEND="native_packages";
-NATIVE_PACKAGES_ETC_PACKAGES="
-apr apr_util bdwgc bmake bochs bzip2 cherokee clzip cmake cron dante
-dosbox doomgeneric emacs enscript expat ffmpeg file gdbm geoip gettext_tiny ghostpdl
-giflib gnuchess graphicsmagick gzip hastyhex hexcurse hexer htop icoutils imagemagick infounzip infozip
-john lbreakout2 lcms less libmetalink lolcode ltris minizip mintty mlogin musl_compat musl_fts ncdu
-ncurses ncursestw ncursesw npth openjazz openjpeg p7zip pcre pcre2 php popt potrace procps_ng qemu
-qpdf qrencode rpm rw sdlquake shared_mime_info slang sqlite3 tcl tdnf texinfo
-tiff tmux tzdb utf8proc util_linux vim vorbis_tools w32api w32lib xorriso xpdf xz zstd";
-: ${PKG_APR_SHA256SUM:=a67ca9fcf9c4ff59bce7f428a323c8b5e18667fdea7b0ebad47d194371b0a105};
-: ${PKG_APR_VERSION:=1.6.5};
-: ${PKG_APR_URL:=http://ftp.fau.de/apache/apr/apr-${PKG_APR_VERSION}.tar.bz2};
-: ${PKG_APR_CONFIGURE_ARGS_EXTRA:="--with-devrandom=/dev/urandom"};
-: ${PKG_APR_LIBTOOL:=rdlibtool};
-: ${PKG_APR_NO_CLEAN:=1};
-: ${PKG_APR_UTIL_DEPENDS:="apr expat libressl sqlite3"};
-: ${PKG_APR_UTIL_SHA256SUM:=d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b};
-: ${PKG_APR_UTIL_VERSION:=1.6.1};
-: ${PKG_APR_UTIL_URL:=https://archive.apache.org/dist/apr/apr-util-${PKG_APR_UTIL_VERSION}.tar.bz2};
-: ${PKG_APR_UTIL_ENV_VARS_EXTRA:="LDADD_dbd_sqlite3=-lsqlite3 -lapr-1 -L.libs -laprutil-1:LDADD_crypto_openssl=-lcrypto -lssl -lapr-1 -L.libs -laprutil-1"};
-: ${PKG_APR_UTIL_CONFIGURE_ARGS_EXTRA:="--with-crypto --with-apr=${BUILD_WORKDIR}/apr-native-${DEFAULT_TARGET}/obj"};
-: ${PKG_APR_UTIL_INSTALL_FILES_V2:="+bin/apu-1-config=%[_prefix_host]/bin/%[_target]-%[FNAME]"};
-: ${PKG_APR_UTIL_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_BDWGC_DEPENDS:="libatomic_ops"};
-: ${PKG_BDWGC_URLS_GIT:="bdwgc=https://github.com/ivmai/bdwgc@master"};
-: ${PKG_BDWGC_CONFIGURE_ARGS_EXTRA:="--enable-threads=posix --enable-parallel-mark --enable-handle-fork"};
-
-: ${PKG_BMAKE_VERSION:=20240401};
-: ${PKG_BMAKE_URL:=https://srcbase.foss21.org/base/bmake/srcbase.bmake-${PKG_BMAKE_HOST_VERSION}.tar.xz};
-: ${PKG_BMAKE_SHA256SUM:=4b760506cd1fdada8c1012558e78530ccd2deaa29aeb463411bc9d8755a40a7e};
-: ${PKG_BMAKE_SUBDIR:=bmake-20240401};
-: ${PKG_BMAKE_CONFIGURE_TYPE:="sofort"};
-: ${PKG_BMAKE_CONFIGURE_ARGS:=--prefix=};
-
-: ${PKG_BOCHS_DEPENDS:="curl ncurses sdl1"};
-: ${PKG_BOCHS_SHA256SUM:=a85b13aff7d8411f7a9f356ba6c33b5f5dc1fbb107eb5018cc23a62639da0059};
-: ${PKG_BOCHS_VERSION:=2.8};
-: ${PKG_BOCHS_URL:=https://fossies.org/linux/misc/bochs-${PKG_BOCHS_VERSION}.tar.gz};
-: ${PKG_BOCHS_CONFIGURE_ARGS_EXTRA:="--disable-docbook --without-x11 --without-wx --without-sdl2 --with-term --with-sdl --enable-idle-hack"};
-: ${PKG_BOCHS_CXXFLAGS_CONFIGURE_EXTRA:="-D_LARGEFILE64_SOURCE -I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_BOCHS_INSTALL_FILES_V2:="
- +../obj/.libs/bochs=bin/%[FNAME]
- +../obj/.libs/bximage=bin/%[FNAME]"};
-: ${PKG_BOCHS_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib"};
-: ${PKG_BOCHS_MAKEFLAGS_BUILD:="LIBS=-Wl,-ltinfo"};
-: ${PKG_BZIP2_SHA256SUM:=ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269};
-: ${PKG_BZIP2_VERSION:=1.0.8};
-: ${PKG_BZIP2_URL:=https://sourceware.org/pub/bzip2/bzip2-${PKG_BZIP2_VERSION}.tar.gz};
-: ${PKG_BZIP2_INSTALL_FILES_V2:="
- @bzdiff=bin/bzcmp
- @bzgrep=bin/bzegrep
- @bzgrep=bin/bzfgrep
- @bzmore=bin/bzless
- +../bzip2-${PKG_BZIP2_VERSION}/libbz2.so.1=lib/%[FNAME]
- +../bzip2-${PKG_BZIP2_VERSION}/libbz2.so.1.0.8=lib/%[FNAME]"};
-: ${PKG_BZIP2_IN_TREE:=1};
-: ${PKG_BZIP2_MAKEFLAGS_BUILD_EXTRA:=-f Makefile-libbz2_so};
-: ${PKG_BZIP2_MAKE_INSTALL_VNAME:=PREFIX};
-: ${PKG_CHEROKEE_DEPENDS:="libz"};
-: ${PKG_CHEROKEE_URLS_GIT:=cherokee=https://github.com/cherokee/webserver.git@master};
-: ${PKG_CHEROKEE_CONFIGURE_ARGS_EXTRA:="--with-python=${PREFIX}/bin/python2 --without-epoll --without-php --without-ffmpeg --without-libssl"};
-: ${PKG_CHEROKEE_IN_TREE:=1};
-: ${PKG_CHEROKEE_DISABLED:=1};
-: ${PKG_CLZIP_SHA256SUM:=f63fe1245b832fe07ff679e9b9b8687e9379ab613a26bfb0aca3754c8b162d73};
-: ${PKG_CLZIP_VERSION:=1.14};
-: ${PKG_CLZIP_URL:=https://download.savannah.gnu.org/releases/lzip/clzip/clzip-${PKG_CLZIP_VERSION}.tar.gz};
-: ${PKG_CLZIP_CONFIGURE_ARGS_LIST:="CC=${DEFAULT_NATIVE_CC}:--prefix="};
-: ${PKG_CLZIP_INSTALL_FILES_V2:="@clzip=bin/lzip"};
-: ${PKG_CLZIP_IN_TREE:=1};
-: ${PKG_CMAKE_DEPENDS:="curl libarchive libuv libz ncurses"};
-: ${PKG_CMAKE_SHA256SUM:=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0};
-: ${PKG_CMAKE_VERSION:=3.7.2};
-: ${PKG_CMAKE_URL:=https://cmake.org/files/v${PKG_CMAKE_VERSION%.*}/cmake-${PKG_CMAKE_VERSION}.tar.gz};
-: ${PKG_CMAKE_CFLAGS_CONFIGURE_EXTRA:="-g0 -O2"};
-: ${PKG_CMAKE_CMAKE_ARGS_EXTRA:="
- -DBZIP2_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.a
- -DCMAKE_USE_SYSTEM_BZIP2=ON
- -DCMAKE_USE_SYSTEM_CURL=ON
- -DCMAKE_USE_SYSTEM_EXPAT=OFF
- -DCMAKE_USE_SYSTEM_LIBARCHIVE=ON
- -DCMAKE_USE_SYSTEM_LIBUV=ON
- -DCMAKE_USE_SYSTEM_ZLIB=ON
- -DCURL_INCLUDE_DIR=${PREFIX_NATIVE}/include/curl
- -DCURL_LIBRARY=${PREFIX_NATIVE}/lib/libcurl.lib.a
- -DCURSES_NCURSES_LIBRARY=${PREFIX_NATIVE}/lib/libncurses.lib.a
- -DKWSYS_LFS_WORKS=YES
- -DLibArchive_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DLibArchive_LIBRARY=${PREFIX_NATIVE}/lib/libarchive.lib.a
- -DLIBLZMA_HAS_AUTO_DECODER=YES
- -DLIBLZMA_HAS_EASY_ENCODER=YES
- -DLIBLZMA_HAS_LZMA_PRESET=YES
- -DLIBLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DLIBLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a
- -DLibUV_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DLibUV_LIBRARY=${PREFIX_NATIVE}/lib/libuv.1.0.0.lib.a
- -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
-: ${PKG_CMAKE_CONFIGURE_TYPE:="cmake"};
-: ${PKG_CRON_URLS_GIT:="pkg-cron=https://github.com/lalbornoz/pkg-cron@master"};
-: ${PKG_CRON_ENV_VARS_EXTRA:="CC=${DEFAULT_NATIVE_CC}:CFLAGS=${NATIVE_PACKAGES_CFLAGS_CONFIGURE} -D__GNU__"};
-: ${PKG_CRON_IN_TREE:=1};
-: ${PKG_DANTE_DEPENDS:="libtirpc"};
-: ${PKG_DANTE_SHA256SUM:=418a065fe1a4b8ace8fbf77c2da269a98f376e7115902e76cda7e741e4846a5d};
-: ${PKG_DANTE_VERSION:=1.4.3};
-: ${PKG_DANTE_URL:=http://www.inet.no/dante/files/dante-${PKG_DANTE_VERSION}.tar.gz};
-: ${PKG_DANTE_CONFIGURE_ARGS_EXTRA:="ac_cv_func_sched_setscheduler=no --without-libwrap LIBS=-ltirpc"};
-: ${PKG_DANTE_IN_TREE:=1};
-: ${PKG_DOSBOX_DEPENDS:="sdl1"};
-: ${PKG_DOSBOX_SHA256SUM:=c0d13dd7ed2ed363b68de615475781e891cd582e8162b5c3669137502222260a};
-: ${PKG_DOSBOX_VERSION:=0.74-3};
-: ${PKG_DOSBOX_URL:=https://fossies.org/linux/privat/dosbox-${PKG_DOSBOX_VERSION}.tar.gz};
-: ${PKG_DOSBOX_CONFIGURE_ARGS_EXTRA:="--disable-opengl --disable-alsa-midi --with-sdl-prefix=${PREFIX_NATIVE}"};
-: ${PKG_DOSBOX_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports -DWINAPI_ANSI_DEFAULT"};
-: ${PKG_DOOMGENERIC_DEPENDS:="w32api w32lib"};
-: ${PKG_DOOMGENERIC_URLS_GIT:=doomgeneric=https://github.com/Redfoxymoon/doomgeneric.git@midipix};
-: ${PKG_DOOMGENERIC_BUILD_DIR:=doomgeneric/doomgeneric};
-: ${PKG_DOOMGENERIC_MAKEFLAGS_BUILD_EXTRA:=-f Makefile.midipix};
-: ${PKG_DOOMGENERIC_CFLAGS_BUILD_EXTRA:="-DWINAPI_ANSI_DEFAULT -I${PREFIX_NATIVE}/include/w32api.ports"};
-: ${PKG_DOOMGENERIC_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib"};
-: ${PKG_DOOMGENERIC_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_DOOMGENERIC_INSTALL_FILES_V2:="+../doomgeneric/doomgeneric/doomgeneric=bin/%[FNAME]"};
-: ${PKG_EMACS_DEPENDS:="freetype gnutls libjpeg_turbo libz ncurses"};
-: ${PKG_EMACS_SHA256SUM:=1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c};
-: ${PKG_EMACS_VERSION:=26.1};
-: ${PKG_EMACS_URL:=http://www.gutscheinrausch.de/mirror/gnu/emacs/emacs-${PKG_EMACS_VERSION}.tar.xz};
-: ${PKG_EMACS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -O1 -g2"};
-: ${PKG_EMACS_CONFIGURE_ARGS_EXTRA:="--with-modules --with-sound=no --with-x-toolkit=no --without-dbus --without-x --without-mailutils --without-pop"};
-: ${PKG_EMACS_ENV_VARS_EXTRA:="BUILDCC=gcc"};
-: ${PKG_ENSCRIPT_SHA256SUM:=6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb};
-: ${PKG_ENSCRIPT_VERSION:=1.6.6};
-: ${PKG_ENSCRIPT_URL:=https://ftp.gnu.org/gnu/enscript/enscript-${PKG_ENSCRIPT_VERSION}.tar.gz};
-: ${PKG_EXPAT_SHA256SUM:=0c00d2760ad12efef6e26efc8b363c8eb28eb8c8de719e46d5bb67b40ba904a3};
-: ${PKG_EXPAT_VERSION:=2.6.1};
-: ${PKG_EXPAT_URL:=http://download.openpkg.org/components/cache/expat/expat-${PKG_EXPAT_VERSION}.tar.xz};
-: ${PKG_EXPAT_CONFIGURE_ARGS_EXTRA:="--with-getrandom --with-sys-getrandom --without-docbook --without-tests"};
-: ${PKG_FFMPEG_DEPENDS:="lame libass libshine libssh libtheora libxml2 gnutls twolame"};
-: ${PKG_FFMPEG_SHA256SUM:=8684f4b00f94b85461884c3719382f1261f0d9eb3d59640a1f4ac0873616f968};
-: ${PKG_FFMPEG_VERSION:=6.1.1};
-: ${PKG_FFMPEG_URL:=https://ffmpeg.org/releases/ffmpeg-${PKG_FFMPEG_VERSION}.tar.xz};
-: ${PKG_FFMPEG_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/SDL2 -I${PREFIX_NATIVE}/include/libxml2 -std=gnu99"};
-: ${PKG_FFMPEG_CONFIGURE_ARGS_LIST:="--cc=${DEFAULT_NATIVE_CC}:--cxx=${DEFAULT_NATIVE_CXX}:--disable-stripping:--enable-cross-compile:--enable-libass:--enable-libshine:--enable-libtheora:--enable-libvorbis:--enable-libxml2:--enable-gpl:--enable-version3:--enable-gnutls:--enable-libmp3lame:--enable-libssh:--enable-libtwolame:--pkg-config=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config:--prefix=/:--target-os=midipix:--x86asmexe=${DEFAULT_TARGET}-nasm:--disable-cuda-llvm"};
-: ${PKG_FILE_DEPENDS:="xz bzip2 libz zstd"};
-: ${PKG_FILE_SHA256SUM:=fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82};
-: ${PKG_FILE_VERSION:=5.45};
-: ${PKG_FILE_URL:=http://ftp.astron.com/pub/file/file-${PKG_FILE_VERSION}.tar.gz};
-: ${PKG_FILE_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
-: ${PKG_GDBM_DEPENDS:="ncurses"};
-: ${PKG_GDBM_SHA256SUM:=74b1081d21fff13ae4bd7c16e5d6e504a4c26f7cde1dca0d963a484174bbcacd};
-: ${PKG_GDBM_VERSION:=1.23};
-: ${PKG_GDBM_URL:=https://ftp.gnu.org/gnu/gdbm/gdbm-${PKG_GDBM_VERSION}.tar.gz};
-: ${PKG_GDBM_CONFIGURE_ARGS_EXTRA:=--enable-libgdbm-compat};
-: ${PKG_GEOIP_SHA256SUM:=0daf0dbe35249f0affb5e10010e0b6b8104d19e156ab8e3b2318df8165463f21};
-: ${PKG_GEOIP_VERSION:=1.7.0};
-: ${PKG_GEOIP_URL:=https://midipix.org/mirror/geoip/geoip-api-c-${PKG_GEOIP_VERSION}.tar.gz};
-: ${PKG_GETTEXT_TINY_DEPENDS:="libiconv"};
-: ${PKG_GETTEXT_TINY_SHA256SUM:=29cc165e27e83d2bb3760118c2368eadab550830d962d758e51bd36eb860f383};
-: ${PKG_GETTEXT_TINY_VERSION:=0.3.2};
-: ${PKG_GETTEXT_TINY_URL:=https://toolchains.bootlin.com/downloads/releases/sources/gettext-tiny-${PKG_GETTEXT_TINY_VERSION}/gettext-tiny-${PKG_GETTEXT_TINY_VERSION}.tar.gz};
-: ${PKG_GETTEXT_TINY_BUILD_DIR:=gettext-tiny-${PKG_GETTEXT_TINY_VERSION}};
-: ${PKG_GETTEXT_TINY_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
-: ${PKG_GETTEXT_TINY_LDFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE:+${NATIVE_PACKAGES_CFLAGS_CONFIGURE} }-liconv"};
-: ${PKG_GHOSTPDL_DEPENDS:="libpng tiff fontconfig libz libXt libX11 freetype expat openjpeg"};
-: ${PKG_GHOSTPDL_SHA256SUM:=9059bf9c0685e88206d34b702f5a15f148451959f73ab2d01d44a5b12088a762};
-: ${PKG_GHOSTPDL_VERSION:=9.52};
-: ${PKG_GHOSTPDL_URL:=https://mirror.midipix.org/ghostpdl/ghostpdl-${PKG_GHOSTPDL_VERSION}.tar.xz};
-: ${PKG_GHOSTPDL_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
-: ${PKG_GHOSTPDL_CONFIGURE_ARGS_EXTRA:="--with-system-libtiff --with-memory-alignment=8 --without-x --without-local-zlib"};
-: ${PKG_GHOSTPDL_ENV_VARS_EXTRA:="CCAUX=cc:CFLAGSAUX=${DEFAULT_CFLAGS} -L${PREFIX}/lib:LDFLAGSAUX=-L${PREFIX}/lib:SHARE_ZLIB=-lz:ZLIBDIR=${PREFIX}/include"};
-: ${PKG_GHOSTPDL_MAKEFLAGS_BUILD_EXTRA:="TARGET_ARCH_FILE=${BUILD_WORKDIR}/ghostpdl-native-${DEFAULT_TARGET}/ghostpdl-${PKG_GHOSTPDL_VERSION}/arch/${DEFAULT_TARGET}.h"};
-: ${PKG_GIFLIB_SHA256SUM:=be7ffbd057cadebe2aa144542fd90c6838c6a083b5e8a9048b8ee3b66b29d5fb};
-: ${PKG_GIFLIB_VERSION:=5.2.2};
-: ${PKG_GIFLIB_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/giflib/giflib-${PKG_GIFLIB_VERSION}.tar.gz};
-: ${PKG_GIFLIB_CFLAGS_BUILD_EXTRA:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE} -std=gnu99 -DHAVE_REALLOCARRAY"};
-: ${PKG_GIFLIB_BUILD_DIR:=giflib-${PKG_GIFLIB_VERSION}};
-: ${PKG_GNUCHESS_DEPENS:="ncurses"};
-: ${PKG_GNUCHESS_SHA256SUM:=ddfcc20bdd756900a9ab6c42c7daf90a2893bf7f19ce347420ce36baebc41890};
-: ${PKG_GNUCHESS_VERSION:=6.2.9};
-: ${PKG_GNUCHESS_URL:=https://ftp.gnu.org/gnu/chess/gnuchess-${PKG_GNUCHESS_VERSION}.tar.gz};
-: ${PKG_GRAPHICSMAGICK_DEPENDS:="libz libpng freetype lcms libxml2 tiff libjpeg_turbo bzip2 zstd"};
-: ${PKG_GRAPHICSMAGICK_SHA256SUM:=484fccfd2b2faf6c2ba9151469ece5072bcb91ba4ed73e75ed3d8e46c759d557};
-: ${PKG_GRAPHICSMAGICK_VERSION:=1.3.42};
-: ${PKG_GRAPHICSMAGICK_URL:=https://mirror.midipix.org/graphicsmagick/GraphicsMagick-${PKG_GRAPHICSMAGICK_VERSION}.tar.xz};
-: ${PKG_GRAPHICSMAGICK_CONFIGURE_ARGS_EXTRA:="--enable-shared --with-modules --without-x --without-gs --without-trio --without-wmf --without-gdi32 --without-dps --without-fpx --without-jbig --without-jp2 --without-jxl"};
-: ${PKG_GRAPHICSMAGICK_CFLAGS_CONFIGURE_EXTRA:="-fopenmp -I${PREFIX_NATIVE}/include/freetype2"};
-: ${PKG_GRAPHICSMAGICK_LDFLAGS_CONFIGURE_EXTRA:=-fopenmp};
-: ${PKG_GRAPHICSMAGICK_LIBTOOL=clibtool};
-: ${PKG_GRAPHICSMAGICK_IN_TREE:=1};
-: ${PKG_GRAPHICSMAGICK_NO_PURGE_LA_FILES=1};
-: ${PKG_GZIP_SHA256SUM:=7454eb6935db17c6655576c2e1b0fabefd38b4d0936e0f87f48cd062ce91a057};
-: ${PKG_GZIP_VERSION:=1.13};
-: ${PKG_GZIP_URL:=https://ftp.gnu.org/gnu/gzip/gzip-${PKG_GZIP_VERSION}.tar.xz};
-: ${PKG_HASTYHEX_URLS_GIT:="hastyhex=https://github.com/skeeto/hastyhex.git@master"};
-: ${PKG_HASTYHEX_IN_TREE:=1};
-: ${PKG_HASTYHEX_CFLAGS_BUILD_EXTRA:="-g3 -O0 -ansi -pedantic -funroll-loops"};
-: ${PKG_HASTYHEX_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_HASTYHEX_INSTALL_FILES_V2:="+../hastyhex/hastyhex=bin/%[FNAME]"};
-: ${PKG_HEXCURSE_DEPENDS:="ncurses"};
-: ${PKG_HEXCURSE_URLS_GIT:="hexcurse=https://github.com/LonnyGomes/hexcurse@master"};
-: ${PKG_HEXCURSE_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/ncurses};
-: ${PKG_HEXCURSE_MAKEFLAGS_BUILD:="LIBS=-Wl,-lncurses,-ltinfo"};
-: ${PKG_HEXER_DEPENDS:="ncurses"};
-: ${PKG_HEXER_SHA256SUM:=e6b84ace5283825943f88ce7ec4ae836ec15ba41978b3a858d6d478cfe09ff94};
-: ${PKG_HEXER_VERSION:=1.0.6};
-: ${PKG_HEXER_URL:=https://devel.ringlet.net/files/editors/hexer/hexer-${PKG_HEXER_VERSION}.tar.xz};
-: ${PKG_HEXER_CFLAGS_BUILD_EXTRA:="-isystem${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_HEXER_LDFLAGS_BUILD_EXTRA:="-L${PREFIX_NATIVE}/lib"};
-: ${PKG_HEXER_ENV_VARS_EXTRA:="CC_FOR_BUILD=gcc"};
-: ${PKG_HEXER_IN_TREE:=1};
-: ${PKG_HTOP_DEPENDS:="ncursesw"};
-: ${PKG_HTOP_SHA256SUM:=a69acf9b42ff592c4861010fce7d8006805f0d6ef0e8ee647a6ee6e59b743d5c};
-: ${PKG_HTOP_VERSION:=3.3.0};
-: ${PKG_HTOP_URL:=https://github.com/htop-dev/htop/releases/download/${PKG_HTOP_VERSION}/htop-${PKG_HTOP_VERSION}.tar.xz};
-: ${PKG_HTOP_CONFIGURE_ARGS_EXTRA:="--enable-unicode"};
-: ${PKG_ICOUTILS_DEPENDS:="libpng"};
-: ${PKG_ICOUTILS_SHA256SUM:=17abe02d043a253b68b47e3af69c9fc755b895db68fdc8811786125df564c6e0};
-: ${PKG_ICOUTILS_VERSION:=0.32.3};
-: ${PKG_ICOUTILS_URL:=http://savannah.nongnu.org/download/icoutils/icoutils-${PKG_ICOUTILS_VERSION}.tar.bz2};
-: ${PKG_ICOUTILS_CONFIG_CACHE_EXTRA:="
-am_cv_func_working_getline=yes
-gl_cv_func_getopt_gnu=yes"};
-: ${PKG_IMAGEMAGICK_DEPENDS:="bzip2 curl freetype fontconfig libpng libz libzip libxml2 tiff xz zstd"};
-: ${PKG_IMAGEMAGICK_SHA256SUM:=1e44faec8bf603e8c894a7c039fb1b4bb83dc0c429c79c74577e73ceefe4a238};
-: ${PKG_IMAGEMAGICK_VERSION:=7.1.1-21};
-: ${PKG_IMAGEMAGICK_URL:=https://imagemagick.org/download/releases/ImageMagick-${PKG_IMAGEMAGICK_VERSION}.tar.xz};
-: ${PKG_IMAGEMAGICK_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2"};
-: ${PKG_IMAGEMAGICK_CONFIGURE_ARGS_EXTRA:="--with-modules --without-x --without-pango --without-jemalloc --without-tcmalloc --without-umem"};
-: ${PKG_IMAGEMAGICK_LIBTOOL="clibtool"};
-: ${PKG_IMAGEMAGICK_NO_PURGE_LA_FILES=1};
-: ${PKG_INFOUNZIP_URLS_GIT:=infounzip=https://github.com/Redfoxmoon3/infounzip.git@master};
-: ${PKG_INFOUNZIP_IN_TREE:=1};
-: ${PKG_INFOUNZIP_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
-: ${PKG_INFOZIP_URLS_GIT:=infozip=https://github.com/Redfoxmoon3/infozip.git@master};
-: ${PKG_INFOZIP_IN_TREE:=1};
-: ${PKG_INFOZIP_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
-: ${PKG_JOHN_SHA256SUM:=952cf68369fb5b27f2d112ce7ca1eb16b975c85cbce8c658abb8bc5a20e1b266};
-: ${PKG_JOHN_VERSION:=1.8.0};
-: ${PKG_JOHN_URL:=http://www.openwall.com/john/j/john-${PKG_JOHN_VERSION}.tar.xz};
-: ${PKG_JOHN_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_JOHN_DISABLED_NT32:=1};
-: ${PKG_JOHN_IN_TREE:=1};
-: ${PKG_JOHN_INSTALL_FILES_V2:="
- /=share/john
- +../john-${PKG_JOHN_VERSION}/run/john=bin/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/mailer=bin/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/makechr=bin/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/relbench=bin/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/unafs=bin/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/unique=bin/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/unshadow=bin/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/ascii.chr=share/john/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/digits.chr=share/john/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/john.conf=share/john/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/lm_ascii.chr=share/john/%[FNAME]
- +../john-${PKG_JOHN_VERSION}/run/password.lst=share/john/%[FNAME]"};
-: ${PKG_JOHN_MAKEFLAGS_BUILD_EXTRA:="-C src midipix-x86-64"};
-: ${PKG_LBREAKOUT2_DEPENDS:="sdl1 libz libpng"};
-: ${PKG_LBREAKOUT2_SHA256SUM:=9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f};
-: ${PKG_LBREAKOUT2_VERSION:=2.6.5};
-: ${PKG_LBREAKOUT2_URL:=http://sources.buildroot.net/lbreakout2/lbreakout2-${PKG_LBREAKOUT2_VERSION}.tar.gz};
-: ${PKG_LBREAKOUT2_CONFIGURE_ARGS_EXTRA:=--with-sdl-prefix=${PREFIX_NATIVE}};
-: ${PKG_LBREAKOUT2_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX_NATIVE}/lib/w32lib};
-: ${PKG_LBREAKOUT2_ENV_VARS_EXTRA:="SDL_CONFIG=${PREFIX_NATIVE}/bin/sdl-config --prefix=${PREFIX_NATIVE}"};
-: ${PKG_LBREAKOUT2_IN_TREE:=1};
-: ${PKG_LCMS_DEPENDS:="libz libjpeg_turbo tiff"};
-: ${PKG_LCMS_SHA256SUM:=d873d34ad8b9b4cea010631f1a6228d2087475e4dc5e763eb81acc23d9d45a51};
-: ${PKG_LCMS_VERSION:=2.16};
-: ${PKG_LCMS_URL:=https://github.com/mm2/Little-CMS/releases/download/lcms${PKG_LCMS_VERSION}/lcms2-${PKG_LCMS_VERSION}.tar.gz};
-: ${PKG_LESS_DEPENDS:="ncurses ncursesw"};
-: ${PKG_LESS_SHA256SUM:=2911b5432c836fa084c8a2e68f6cd6312372c026a58faaa98862731c8b6052e8};
-: ${PKG_LESS_VERSION:=643};
-: ${PKG_LESS_URL:=http://www.greenwoodsoftware.com/less/less-${PKG_LESS_VERSION}.tar.gz};
-: ${PKG_LIBMETALINK_DEPENDS:="expat"};
-: ${PKG_LIBMETALINK_SHA256SUM:=0753ae1152d970dc3bf327d0ce5cfefeca2f1ab13294b115e64811163a68fd4f};
-: ${PKG_LIBMETALINK_VERSION:=0.1.3};
-: ${PKG_LIBMETALINK_URL:=https://launchpad.net/libmetalink/trunk/libmetalink-${PKG_LIBMETALINK_VERSION}/+download/libmetalink-${PKG_LIBMETALINK_VERSION}.tar.bz2};
-: ${PKG_LOLCODE_URLS_GIT:="lci=https://github.com/justinmeza/lci.git@main"};
-: ${PKG_LOLCODE_BUILD_DIR:=lci};
-: ${PKG_LTRIS_DEPENDS:="sdl1"};
-: ${PKG_LTRIS_SHA256SUM:=0ec4ad053e066a296529e923c2f626fa0a19c094c5ae03e44359f9c9e50955a8};
-: ${PKG_LTRIS_VERSION:=1.2.3};
-: ${PKG_LTRIS_URL:=https://sources.voidlinux-ppc.org/ltris-${PKG_LTRIS_VERSION}/ltris-${PKG_LTRIS_VERSION}.tar.gz};
-: ${PKG_LTRIS_CONFIGURE_ARGS_EXTRA:="--with-sdl-prefix=${PREFIX_NATIVE} SDL_LIBS=-L${PREFIX_NATIVE}/lib SDL_CFLAGS=-I${PREFIX_NATIVE}/include"};
-: ${PKG_LTRIS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/SDL -std=gnu99"};
-: ${PKG_LTRIS_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib -L${PREFIX_NATIVE}/lib/w32lib"};
-: ${PKG_LTRIS_ENV_VARS_EXTRA:="LIBS=-lSDL"};
-: ${PKG_LTRIS_IN_TREE:=1};
-: ${PKG_MINIZIP_DEPENDS:="bzip2 libressl libz xz"};
-: ${PKG_MINIZIP_SHA256SUM:=f4c8e7afdd45a093f69d7d338652996766d5473e63ad97a2c5cf89c0787773a0};
-: ${PKG_MINIZIP_VERSION:=2.10.4};
-: ${PKG_MINIZIP_URL:=https://github.com/nmoinvaz/minizip/archive/${PKG_MINIZIP_VERSION}.tar.gz};
-: ${PKG_MINIZIP_CMAKE_ARGS_EXTRA:="
- -DBUILD_SHARED_LIBS=ON
- -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a
- -DPKG_CONFIG_EXECUTABLE=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config
- -DMZ_BUILD_TEST=ON
- -DMZ_LIBBSD=OFF
- -DMZ_LZMA=ON
- -DMZ_OPENSSL=ON
- -DMZ_ZSTD=OFF
- -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DZLIB_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libz.lib.a"};
-: ${PKG_MINIZIP_SUBDIR:=minizip-ng-${PKG_MINIZIP_VERSION}};
-: ${PKG_MINTTY_DEPENDS:="w32api w32lib"};
-: ${PKG_MINTTY_URLS_GIT:="mintty=https://github.com/midipix-ports/mintty.git@midipix bmintty=https://github.com/midipix-ports/bmintty.git@main"};
-: ${PKG_MINTTY_CONFIGURE:=bmintty/configure};
-: ${PKG_MINTTY_CONFIGURE_ARGS:="--debug --strict --target=${DEFAULT_TARGET} --source-dir=../mintty --prefix="};
-: ${PKG_MINTTY_LDFLAGS_CONFIGURE_EXTRA:=-L${PREFIX_NATIVE}/lib/w32lib};
-: ${PKG_MLOGIN_URLS_GIT:="mlogin=https://dev.midipix.org/env/mlogin.git@main"};
-: ${PKG_MLOGIN_BUILD_DIR:=mlogin};
-: ${PKG_MLOGIN_FORCE_AUTORECONF:=1};
-: ${PKG_MUSL_COMPAT_URLS_GIT:=musl_compat=https://dev.midipix.org/compat/musl-compat.git@main};
-: ${PKG_MUSL_COMPAT_BUILD_DIR:=musl_compat};
-: ${PKG_MUSL_COMPAT_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
-: ${PKG_MUSL_FTS_SHA256SUM:=32dfe02768f1d3d91ab04df4fbdb7922cd34cd529ce7081a78c3ca8b8652d1ee};
-: ${PKG_MUSL_FTS_VERSION:=1.2.7};
-: ${PKG_MUSL_FTS_URL:=https://midipix.org/mirror/musl-fts/musl-fts-${PKG_MUSL_FTS_VERSION}.tar.xz};
-: ${PKG_NCDU_DEPENDS:="ncursesw"};
-: ${PKG_NCDU_SHA256SUM:=3c37a1a96580c9c5d2cc352dc3c5eef0d909158c05f1cc29db4712544c8b9f95};
-: ${PKG_NCDU_VERSION:=1.18};
-: ${PKG_NCDU_URL:=https://dev.yorhel.nl/download/ncdu-${PKG_NCDU_VERSION}.tar.gz};
-: ${PKG_NCURSES_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
-: ${PKG_NCURSES_VERSION:=6.3};
-: ${PKG_NCURSES_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSES_VERSION}.tar.gz};
-: ${PKG_NCURSES_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
-: ${PKG_NCURSES_CONFIGURE_ARGS:="-C --disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET} --with-curses"};
-: ${PKG_NCURSES_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX_NATIVE}/lib/pkgconfig --without-manpages --without-progs --with-shared --with-termlib --without-ada --without-tests --disable-widec --without-pthread"};
-: ${PKG_NCURSES_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
-: ${PKG_NCURSESTW_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
-: ${PKG_NCURSESTW_VERSION:=6.3};
-: ${PKG_NCURSESTW_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESTW_VERSION}.tar.gz};
-: ${PKG_NCURSESTW_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX_NATIVE}/lib/pkgconfig --without-manpages --without-progs --with-shared --with-termlib --without-ada --without-tests --disable-widec --with-pthread"};
-: ${PKG_NCURSESW_SHA256SUM:=97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059};
-: ${PKG_NCURSESW_VERSION:=6.3};
-: ${PKG_NCURSESW_URL:=https://ftp.gnu.org/gnu/ncurses/ncurses-${PKG_NCURSESW_VERSION}.tar.gz};
-: ${PKG_NCURSESW_CONFIGURE_ARGS_EXTRA:="--enable-pc-files --with-pkg-config-libdir=${PREFIX_NATIVE}/lib/pkgconfig --with-manpages --with-progs --with-shared --with-termlib --without-ada --without-tests --enable-widec --without-pthread"};
-: ${PKG_NCURSESW_INSTALL_FILES_V2:="@ncursesw/ncurses.h=include/ncurses.h"};
-: ${PKG_NPTH_SHA256SUM:=1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1};
-: ${PKG_NPTH_VERSION:=1.6};
-: ${PKG_NPTH_URL:=https://www.gnupg.org/ftp/gcrypt/npth/npth-${PKG_NPTH_VERSION}.tar.bz2};
-: ${PKG_OPENJAZZ_DEPENDS:="sdl1"};
-: ${PKG_OPENJAZZ_URLS_GIT:=openjazz=https://github.com/AlisterT/openjazz.git@master};
-: ${PKG_OPENJAZZ_CONFIG_CACHE_EXTRA:="ac_cv_prog_POD2MAN="};
-: ${PKG_OPENJAZZ_FORCE_AUTORECONF:=1};
-: ${PKG_OPENJAZZ_DISABLED:=1};
-: ${PKG_OPENJPEG_DEPENDS:="lcms libpng libz tiff"};
-: ${PKG_OPENJPEG_SHA256SUM:=90e3896fed910c376aaf79cdd98bdfdaf98c6472efd8e1debf0a854938cbda6a};
-: ${PKG_OPENJPEG_VERSION:=2.5.2};
-: ${PKG_OPENJPEG_URL:=https://github.com/uclouvain/openjpeg/archive/v${PKG_OPENJPEG_VERSION}.tar.gz};
-: ${PKG_OPENJPEG_CMAKE_ARGS_EXTRA:="
- -DLCMS2_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DLCMS2_LIBRARY=${PREFIX_NATIVE}/lib/liblcms2.lib.a
- -DPNG_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libpng.lib.a
- -DPNG_LIBRARY_RELEASE=${PREFIX_NATIVE}/lib/libpng.lib.a
- -DPNG_PNG_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DTIFF_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DTIFF_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libtiff.lib.a
- -DTIFF_LIBRARY_RELEASE=${PREFIX_NATIVE}/lib/libtiff.lib.a
- -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DZLIB_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libz.a
- -DZLIB_LIBRARY_RELEASE=${PREFIX_NATIVE}/lib/libz.a"};
-: ${PKG_OPENJPEG_SUBDIR:=openjpeg-${PKG_OPENJPEG_VERSION}};
-: ${PKG_P7ZIP_URLS_GIT:="p7zip-midipix.git=https://github.com/lalbornoz/p7zip-midipix.git@master"};
-: ${PKG_P7ZIP_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_P7ZIP_IN_TREE:=1};
-: ${PKG_P7ZIP_INSTALL_FILES_V2:="+../p7zip-midipix.git/bin/7za=bin/%[FNAME]"};
-: ${PKG_PCRE_DEPENDS:="bzip2 libz"};
-: ${PKG_PCRE_SHA256SUM:=0b8e7465dc5e98c757cc3650a20a7843ee4c3edf50aaf60bb33fd879690d2c73};
-: ${PKG_PCRE_VERSION:=8.45};
-: ${PKG_PCRE_URL:="https://osdn.net/frs/g_redir.php?m=gigenet&f=pcre%2Fpcre%2F8.43%2Fpcre-${PKG_PCRE_HOST_VERSION}.tar.gz"};
-: ${PKG_PCRE_FNAME:="pcre-${PKG_PCRE_HOST_VERSION}.tar.gz"};
-: ${PKG_PCRE2_DEPENDS:="bzip2 libz"};
-: ${PKG_PCRE2_SHA256SUM:=8d36cd8cb6ea2a4c2bb358ff6411b0c788633a2a45dabbf1aeb4b701d1b5e840};
-: ${PKG_PCRE2_VERSION:=10.42};
-: ${PKG_PCRE2_URL:=https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${PKG_PCRE2_VERSION}/pcre2-${PKG_PCRE2_VERSION}.tar.bz2};
-: ${PKG_PCRE2_CONFIGURE_ARGS_EXTRA:="--enable-pcre2grep-libz --enable-pcre2grep-libbz2 --enable-pcre2-16 --enable-pcre2-32 --disable-jit --enable-unicode"};
-: ${PKG_PHP_DEPENDS:="bzip2 curl libz libzip libxml2 libxslt sqlite3 pcre2 readline libressl onig libiconv"};
-: ${PKG_PHP_SHA256SUM:=39a337036a546e5c28aea76cf424ac172db5156bd8a8fd85252e389409a5ba63};
-: ${PKG_PHP_VERSION:=8.3.4};
-: ${PKG_PHP_URL:=https://www.php.net/distributions/php-${PKG_PHP_VERSION}.tar.xz};
-: ${PKG_PHP_CONFIG_CACHE_EXTRA:="
-ac_cv_c_bigendian_php=no
-ac_cv_write_stdout=yes
-have_shm_mmap_posix=yes"};
-: ${PKG_PHP_CONFIGURE_ARGS_EXTRA:="--with-layout=GNU --with-external-pcre --with-gmp=shared --disable-gd --disable-phar --enable-pdo=shared --enable-pdo-sqlite=shared --enable-dom=shared --enable-embed=shared --enable-all=shared --without-enchant --without-imap --disable-intl --without-ldap --without-oci8 --without-adabas --enable-pcntl=shared --without-pdo-dblib --without-pdo-firebird --without-pdo-mysql --without-pdo-oci --without-pdo-odbc --without-pdo-pgsql --without-pdo-sqlite --without-pgsql --without-pspell --without-libedit --without-sapdb --without-snmp --without-sodium --without-password-argon2 --without-tidy --without-ffi --without-mysqli --without-unixODBC --without-dbmaker --without-solid --without-ibm-db2 --without-empress --without-empress-bcs --without-iodbc --without-esoob --without-custom-odbc --without-pear --without-pcre-jit --with-bz2=shared,${PREFIX_NATIVE} --with-gettext=shared --disable-opcache-jit --disable-dl-test --disable-sockets --enable-ctype=shared --enable-calendar=shared --enable-mbstring=shared"};
-: ${PKG_PHP_ENV_VARS_EXTRA:="HOST_CC=gcc:READLINE_DIR=${PREFIX_NATIVE}/include/readline"};
-: ${PKG_PHP_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_PHP_LIBTOOL:=rdlibtool};
-: ${PKG_PHP_INSTALL_FILES_V2:="+../obj/libs/libphp.so=lib/%[FNAME]"};
-: ${PKG_POPT_DEPENDS:="libiconv"};
-: ${PKG_POPT_SHA256SUM:=5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1};
-: ${PKG_POPT_VERSION:=1.18};
-: ${PKG_POPT_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/popt/popt-${PKG_POPT_VERSION}.tar.gz};
-: ${PKG_POTRACE_DEPENDS:="libz"};
-: ${PKG_POTRACE_SHA256SUM:=be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc};
-: ${PKG_POTRACE_VERSION:=1.16};
-: ${PKG_POTRACE_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/potrace/potrace-${PKG_POTRACE_VERSION}.tar.gz};
-: ${PKG_PROCPS_NG_DEPENDS:="ncurses ncursesw"};
-: ${PKG_PROCPS_NG_SHA256SUM:=4518b3e7aafd34ec07d0063d250fd474999b20b200218c3ae56f5d2113f141b4};
-: ${PKG_PROCPS_NG_VERSION:=3.3.17};
-: ${PKG_PROCPS_NG_URL:=http://mirror.internode.on.net/pub/slackware/slackware64/source/a/procps-ng/procps-ng-${PKG_PROCPS_NG_VERSION}.tar.xz};
-: ${PKg_PROCPS_NG_CONFIGURE_ARGS_EXTRA:="--disable-kill"};
-: ${PKG_PROCPS_NG_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/ncursesw};
-: ${PKG_PROCPS_NG_SUBDIR:=procps-${PKG_PROCPS_NG_VERSION}};
-: ${PKG_PROCPS_NG_IN_TREE:=1};
-: ${PKG_PROCPS_NG_MAKEFLAGS_BUILD:="LIBS=-Wl,-lncurses,-ltinfo"};
-: ${PKG_PROCPS_NG_FNAME:=procps_ng-${PKG_PROCPS_NG_VERSION}.tar.xz};
-: ${PKG_PROCPS_NG_SUBDIR:=procps-ng-${PKG_PROCPS_NG_VERSION}};
-: ${PKG_QEMU_DEPENDS:="curl glib libX11 pixman w32api w32lib"};
-: ${PKG_QEMU_SHA256SUM:=6a0508df079a0a33c2487ca936a56c12122f105b8a96a44374704bef6c69abfc};
-: ${PKG_QEMU_VERSION:=3.1.0};
-: ${PKG_QEMU_URL:=https://download.qemu.org/qemu-${PKG_QEMU_VERSION}.tar.xz};
-: ${PKG_QEMU_CCLD:="${DEFAULT_NATIVE_LD}"};
-: ${PKG_QEMU_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports"};
-: ${PKG_QEMU_CONFIGURE_ARGS_LIST:="--host=${DEFAULT_TARGET}:--prefix=:--cc=${DEFAULT_NATIVE_CC}:--cxx=:--disable-strip:--disable-sdl"};
-: ${PKG_QPDF_DEPENDS:="libz pcre"};
-: ${PKG_QPDF_SHA256SUM:=a9fdc7e94d38fcd3831f37b6e0fe36492bf79aa6d54f8f66062cf7f9c4155233};
-: ${PKG_QPDF_VERSION:=6.0.0};
-: ${PKG_QPDF_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/qpdf/qpdf-${PKG_QPDF_VERSION}.tar.gz};
-: ${PKG_QPDF_CONFIGURE_ARGS_EXTRA:=--with-random=/dev/urandom};
-: ${PKG_QPDF_IN_TREE:=1};
-: ${PKG_QRENCODE_DEPENDS:="libpng"};
-: ${PKG_QRENCODE_SHA256SUM:=da448ed4f52aba6bcb0cd48cac0dd51b8692bccc4cd127431402fca6f8171e8e};
-: ${PKG_QRENCODE_VERSION:=4.1.1};
-: ${PKG_QRENCODE_URL:=https://fukuchi.org/works/qrencode/qrencode-${PKG_QRENCODE_VERSION}.tar.gz};
-: ${PKG_QRENCODE_CONFIGURE_ARGS_EXTRA:=--disable-sdltest};
-: ${PKG_RPM_DEPENDS:="curl file libarchive libgcrypt libz lua popt xz zstd"};
-: ${PKG_RPM_SHA256SUM:=2e0d220b24749b17810ed181ac1ed005a56bbb6bc8ac429c21f314068dc65e6a};
-: ${PKG_RPM_VERSION:=4.17.0};
-: ${PKG_RPM_URL:=http://ftp.rpm.org/releases/rpm-${PKG_RPM_VERSION%.*}.x/rpm-${PKG_RPM_VERSION}.tar.bz2};
-: ${PKG_RPM_CONFIGURE_ARGS:="-C --disable-nls --host=${DEFAULT_TARGET} --prefix=/usr --target=${DEFAULT_TARGET} --disable-inhibit-plugin --enable-ndb --with-vendor=midipix --disable-openmp"};
-: ${PKG_RPM_ENV_VARS_EXTRA:="LIBGCRYPT_LIBS=-lgcrypt:LUA_LIBS=-llua:SQLITE_LIBS=-lsqlite3:LUA_CFLAGS=-I${PREFIX_NATIVE}/include/lua5.4"};
-: ${PKG_RW_SHA256SUM:=50009730e36991dfe579716f91f4f616f5ba05ffb7bf69c03d41bf305ed93b6d};
-: ${PKG_RW_VERSION:=1.0};
-: ${PKG_RW_URL:=https://sortix.org/rw/release/rw-portable-${PKG_RW_VERSION}.tar.gz}
-: ${PKG_RW_BUILD_DIR:=rw-portable-${PKG_RW_VERSION}};
-: ${PKG_SDLQUAKE_DEPENDS:="sdl1"};
-: ${PKG_SDLQUAKE_SHA256SUM:=097882b4613c87303dd068c41c95e77675da790cab63c7b440e70643d1741035};
-: ${PKG_SDLQUAKE_VERSION:=1.0.9};
-: ${PKG_SDLQUAKE_URL:=http://www.libsdl.org/projects/quake/src/sdlquake-${PKG_SDLQUAKE_VERSION}.tar.gz};
-: ${PKG_SDLQUAKE_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --target=${DEFAULT_TARGET} --with-sdl-prefix=${PREFIX_NATIVE}"};
-: ${PKG_SHARED_MIME_INFO_DEPENDS:="glib libxml2"};
-: ${PKG_SHARED_MIME_INFO_SHA256SUM:=2af55ef1a0319805b74ab40d331a3962c905477d76c086f49e34dc96363589e9};
-: ${PKG_SHARED_MIME_INFO_VERSION:=1.8};
-: ${PKG_SHARED_MIME_INFO_URL:=http://freedesktop.org/~hadess/shared-mime-info-${PKG_SHARED_MIME_INFO_VERSION}.tar.xz};
-: ${PKG_SHARED_MIME_INFO_CONFIGURE_ARGS_EXTRA:=--disable-update-mimedb};
-: ${PKG_SHARED_MIME_INFO_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_SLANG_DEPENDS:="libpng ncursesw pcre"};
-: ${PKG_SLANG_SHA256SUM:=f9145054ae131973c61208ea82486d5dd10e3c5cdad23b7c4a0617743c8f5a18};
-: ${PKG_SLANG_VERSION:=2.3.3};
-: ${PKG_SLANG_URL:=https://www.jedsoft.org/releases/slang/slang-${PKG_SLANG_VERSION}.tar.bz2};
-: ${PKG_SLANG_IN_TREE:=1};
-: ${PKG_SLANG_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_SQLITE3_DEPENDS:="ncurses readline libz"};
-: ${PKG_SQLITE3_SHA256SUM:=2c5dea207fa508d765af1ef620b637dcb06572afa6f01f0815bd5bbf864b33d9};
-: ${PKG_SQLITE3_VERSION:=3400100};
-: ${PKG_SQLITE3_URL:=https://sqlite.org/2022/sqlite-autoconf-${PKG_SQLITE3_VERSION}.tar.gz};
-: ${PKG_SQLITE3_CONFIGURE_ARGS_EXTRA:=--disable-static-shell};
-: ${PKG_TCL_SHA256SUM:=2bbd4e0bbdebeaf5dc6cc823d0805afb45c764292f6667d9ce2b9fcf5399e0dc};
-: ${PKG_TCL_VERSION:=8.7a1};
-: ${PKG_TCL_URL:=http://kuiper.mirrorservice.org/sites/ftp.tcl.tk/pub/tcl/tcl8_7/tcl${PKG_TCL_VERSION}-src.tar.gz};
-: ${PKG_TCL_CONFIG_CACHE_EXTRA:="
-tcl_cv_strtod_buggy=false
-tcl_cv_strtod_unbroken=true"};
-: ${PKG_TCL_SUBDIR:=tcl${PKG_TCL_VERSION}/unix};
-: ${PKG_TDNF_DEPENDS:="libmetalink libressl curl gpgme libsolv"};
-: ${PKG_TDNF_SHA256SUM:=1ca20b176939f32c212f8dec7bfacd99995f1cb16c7f176b90394378ea854b0b};
-: ${PKG_TDNF_VERSION:=2.1.1};
-: ${PKG_TDNF_URL:=https://github.com/vmware/tdnf/archive/v${PKG_TDNF_VERSION}/tdnf-${PKG_TDNF_VERSION}.tar.gz};
-: ${PKG_TDNF_CMAKE_ARGS_EXTRA:="-DOPENSSL_LIBRARY=${PREFIX_NATIVE}/lib/libcrypto.so"};
-: ${PKG_TDNF_IN_TREE:=1};
-: ${PKG_TDNF_SUBDIR:=tdnf-${PKG_TDNF_VERSION}};
-: ${PKG_TEXINFO_SHA256SUM:=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa};
-: ${PKG_TEXINFO_VERSION:=6.7};
-: ${PKG_TEXINFO_URL:=https://ftp.gnu.org/gnu/texinfo/texinfo-${PKG_TEXINFO_VERSION}.tar.xz};
-: ${PKG_TIFF_DEPENDS:="libjpeg_turbo libz xz zstd"};
-: ${PKG_TIFF_SHA256SUM:=d6da35c9986a4ec845eb96258b3693f8df515f7eb4c1e597ceb03e22788f305b};
-: ${PKG_TIFF_VERSION:=4.6.0t};
-: ${PKG_TIFF_URL:=http://www.libtiff.org/downloads/tiff-${PKG_TIFF_VERSION}.tar.xz};
-: ${PKG_TIFF_CONFIGURE_ARGS_EXTRA:=--disable-cxx};
-: ${PKG_TMUX_DEPENDS:="libevent ncurses"};
-: ${PKG_TMUX_SHA256SUM:=55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b};
-: ${PKG_TMUX_VERSION:=2.3};
-: ${PKG_TMUX_URL:=https://github.com/tmux/tmux/releases/download/${PKG_TMUX_VERSION}/tmux-${PKG_TMUX_VERSION}.tar.gz};
-: ${PKG_TMUX_CONFIGURE_ARGS_EXTRA:=--enable-utf8proc};
-: ${PKG_TZDB_SHA256SUM:=511af6b467f40b1ec9ac3684d1701793af470f3e29ddfb97b82be438e8601a7a};
-: ${PKG_TZDB_VERSION:=2024a};
-: ${PKG_TZDB_URL:=https://data.iana.org/time-zones/releases/tzdb-${PKG_TZDB_VERSION}.tar.lz};
-: ${PKG_TZDB_BUILD_DIR:="tzdb-${PKG_TZDB_VERSION}"};
-: ${PKG_TZDB_CFLAGS_BUILD_EXTRA:="-std=c99 -DHAVE_GETRANDOM -DHAVE_STDINT_H"};
-: ${PKG_TZDB_MAKEFLAGS_INSTALL_EXTRA:="ZIC=${PREFIX}/sbin/zic"};
-: ${PKG_UTF8PROC_URLS_GIT:="utf8proc=https://github.com/JuliaStrings/utf8proc@master"};
-: ${PKG_UTIL_LINUX_DEPENDS:="ncursesw"};
-: ${PKG_UTIL_LINUX_SHA256SUM:=6a0764c1aae7fb607ef8a6dd2c0f6c47d5e5fd27aa08820abaad9ec14e28e9d9};
-: ${PKG_UTIL_LINUX_VERSION:=2.37.2};
-: ${PKG_UTIL_LINUX_URL:=https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${PKG_UTIL_LINUX_VERSION%.*}/util-linux-${PKG_UTIL_LINUX_VERSION}.tar.xz};
-: ${PKG_UTIL_LINUX_CONFIGURE_ARGS_EXTRA:=--disable-agetty --disable-lslogins --disable-wall --disable-write --disable-nologin --disable-sulogin --disable-hwclock --disable-schedutils --enable-more};
-: ${PKG_UTIL_LINUX_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
-: ${PKG_UTIL_LINUX_CONFIG_CACHE_EXTRA:="
-ac_cv_func_timer_create=no
-ac_cv_lib_rt_timer_create=no
-ac_cv_search_timer_create=no
-ac_cv_prog_NCURSESW6_CONFIG=%PREFIX%/bin/ncursesw6-config"};
-: ${PKG_VIM_DEPENDS:="ncursesw libiconv"};
-: ${PKG_VIM_SHA256SUM:=2b17989c6258f422276c6df9b72626947027a8b98e3a8eca2b2649c6ddc33765};
-: ${PKG_VIM_VERSION:=9.0.1927};
-: ${PKG_VIM_URL:=https://github.com/vim/vim/archive/v${PKG_VIM_VERSION}.tar.gz};
-: ${PKG_VIM_CONFIGURE_ARGS_EXTRA:="--enable-gui=no --with-tlib=tinfow --without-x --disable-canberra --disable-libsodium --disable-motif-check --disable-sysmouse --disable-gpm"};
-: ${PKG_VIM_IN_TREE:=1};
-: ${PKG_VIM_INSTALL_FILES_V2:="@vim=bin/vi"};
-: ${PKG_VIM_MAKEFLAGS_INSTALL_EXTRA:=STRIP=/bin/true};
-: ${PKG_VIM_SUBDIR:=vim-${PKG_VIM_VERSION}};
-: ${PKG_VIM_CONFIG_CACHE_EXTRA:="
-vim_cv_tgetent=zero
-vim_cv_toupper_broken=no
-vim_cv_terminfo=yes
-vim_cv_getcwd_broken=no
-vim_cv_stat_ignores_slash=yes
-vim_cv_memmove_handles_overlap=yes
-vim_cv_timer_create=yes"};
-: ${PKG_VORBIS_TOOLS_DEPENDS:="curl libflac libogg libvorbis"};
-: ${PKG_VORBIS_TOOLS_SHA256SUM:=db7774ec2bf2c939b139452183669be84fda5774d6400fc57fde37f77624f0b0};
-: ${PKG_VORBIS_TOOLS_VERSION:=1.4.2};
-: ${PKG_VORBIS_TOOLS_URL:=https://ftp.osuosl.org/pub/xiph/releases/vorbis/vorbis-tools-${PKG_VORBIS_TOOLS_VERSION}.tar.gz};
-: ${PKG_VORBIS_TOOLS_CONFIGURE_ARGS_EXTRA:="--disable-ogg123 --without-speex --without-kate"};
-: ${PKG_W32API_URLS_GIT:="w32api=https://github.com/midipix-ports/w32api.ports@main"};
-: ${PKG_W32API_IN_TREE:=1};
-: ${PKG_W32API_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
-: ${PKG_W32LIB_URLS_GIT:="w32lib=https://git.midipix.org/w32lib"};
-: ${PKG_W32LIB_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_XORRISO_DEPENDS:="libiconv"};
-: ${PKG_XORRISO_SHA256SUM:=3b69f5c93ae7c40c5bbe4a847fa3963f5efc9c565551622f77121c5792fc17e7};
-: ${PKG_XORRISO_VERSION:=1.5.2};
-: ${PKG_XORRISO_URL:=https://www.gnu.org/software/xorriso/xorriso-${PKG_XORRISO_VERSION}.tar.gz};
-: ${PKG_XORRISO_IN_TREE:=1};
-: ${PKG_XPDF_DEPENDS:="fontconfig libz"};
-: ${PKG_XPDF_SHA256SUM:=0fe4274374c330feaadcebb7bd7700cb91203e153b26aa95952f02bf130be846};
-: ${PKG_XPDF_VERSION:=4.03};
-: ${PKG_XPDF_URL:=https://dl.xpdfreader.com/xpdf-${PKG_XPDF_VERSION}.tar.gz};
-: ${PKG_XPDF_CMAKE_ARGS_EXTRA:="
- -DFREETYPE_LIBRARY=${PREFIX_NATIVE}/lib/libfreetype.lib.a
- -DFREETYPE_INCLUDE_DIR_ft2build=${PREFIX_NATIVE}/include/ft2build
- -DFONTCONFIG_LIBRARY=${PREFIX_NATIVE}/lib/libfontconfig.lib.a"};
-
-: ${PKG_XZ_SHA256SUM:=3e1e518ffc912f86608a8cb35e4bd41ad1aec210df2a47aaa1f95e7f5576ef56};
-: ${PKG_XZ_VERSION:=5.2.5};
-: ${PKG_XZ_URL:=https://mirror.midipix.org/xz/xz-${PKG_XZ_HOST_VERSION}.tar.xz};
-: ${PKG_XZ_CFLAGS_BUILD_EXTRA:="-DLZMA_RANGE_DECODER_CONFIG=3"};
-: ${PKG_ZSTD_SHA256SUM:=98e9c3d949d1b924e28e01eccb7deed865eefebf25c2f21c702e5cd5b63b85e1};
-: ${PKG_ZSTD_VERSION:=1.5.5};
-: ${PKG_ZSTD_URL:=https://github.com/facebook/zstd/archive/v${PKG_ZSTD_VERSION}.tar.gz};
-: ${PKG_ZSTD_CFLAGS_BUILD_EXTRA:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
-: ${PKG_ZSTD_IN_TREE:=1};
-: ${PKG_ZSTD_SUBDIR:=zstd-${PKG_ZSTD_VERSION}};
-
-# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/apk_tools.package b/groups.d/241.native_packages_inet.d/apk_tools.package
new file mode 100644
index 00000000..e41dd75a
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/apk_tools.package
@@ -0,0 +1,12 @@
+: ${PKG_APK_TOOLS_DEPENDS:="libfetch libressl libz"};
+: ${PKG_APK_TOOLS_SHA256SUM:=def2b2c23cd12fd2a9c19be49653b0d1bf9d81a26dac5a0ee79a1351d674f93b};
+: ${PKG_APK_TOOLS_VERSION:=2.6.8};
+: ${PKG_APK_TOOLS_URL:=http://git.alpinelinux.org/cgit/apk-tools/snapshot/apk-tools-${PKG_APK_TOOLS_VERSION}.tar.bz2};
+: ${PKG_APK_TOOLS_ENV_VARS_EXTRA:=CFLAGS=--sysroot=${PREFIX_NATIVE}:CROSS_COMPILE=${DEFAULT_TARGET}-:LUAAPK=:VERBOSE=1:PREFIX=${PREFIX_NATIVE}:OPENSSL_LIBS=-L${PREFIX_NATIVE}/lib -lssl -lcrypto:ZLIB_LIBS=-L${PREFIX_NATIVE}/lib -lz};
+: ${PKG_APK_TOOLS_IN_TREE:=1};
+: ${PKG_APK_TOOLS_MAKEFLAGS_INSTALL_EXTRA:="PREFIX=${PREFIX_NATIVE} MANDIR=/share/man DOCDIR=/share/doc/apk"};
+: ${PKG_APK_TOOLS_DISABLED:=1};
+
+ex_pkg_register "apk_tools" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/bind.package b/groups.d/241.native_packages_inet.d/bind.package
new file mode 100644
index 00000000..d2cc43cf
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/bind.package
@@ -0,0 +1,10 @@
+: ${PKG_BIND_DEPENDS:="curl libressl libz"};
+: ${PKG_BIND_SHA256SUM:=6c044e9ea81add9dbbd2f5dfc224964cc6b6e364e43a8d6d8b574d9282651802};
+: ${PKG_BIND_VERSION:=9.13.2};
+: ${PKG_BIND_URL:=https://ftp.isc.org/isc/bind/${PKG_BIND_VERSION}/bind-${PKG_BIND_VERSION}.tar.gz};
+: ${PKG_BIND_CONFIGURE_ARGS_EXTRA:="--with-libtool --disable-backtrace --with-eddsa=no --with-ecdsa=yes --with-gssapi=no --with-libxml2=no --with-libjson=no --with-openssl=${PREFIX_NATIVE} --without-lmdb BUILD_CC=gcc"};
+: ${PKG_BIND_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "bind" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/ca_certificates.package b/groups.d/241.native_packages_inet.d/ca_certificates.package
new file mode 100644
index 00000000..717d41bb
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/ca_certificates.package
@@ -0,0 +1,11 @@
+: ${PKG_CA_CERTIFICATES_DEPENDS:="libressl"};
+: ${PKG_CA_CERTIFICATES_URLS_GIT:="cacerts=https://dev.midipix.org/distro/cacerts.git@main"};
+: ${PKG_CA_CERTIFICATES_IN_TREE:=1};
+: ${PKG_CA_CERTIFICATES_CFLAGS_BUILD_EXTRA:=${DEFAULT_CFLAGS}};
+: ${PKG_CA_CERTIFICATES_LDFLAGS_BUILD_EXTRA:=${DEFAULT_LDFLAGS}};
+: ${PKG_CA_CERTIFICATES_ENV_VARS_EXTRA:="HOST_CC=gcc"};
+: ${PKG_CA_CERTIFICATES_VARS_FILE:="vars/ca_certificates.vars"};
+
+ex_pkg_register "ca_certificates" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/curl.package b/groups.d/241.native_packages_inet.d/curl.package
new file mode 100644
index 00000000..77b93f7e
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/curl.package
@@ -0,0 +1,10 @@
+: ${PKG_CURL_DEPENDS:="gnutls libpsl libidn2 libz zstd"};
+: ${PKG_CURL_SHA256SUM:=6fea2aac6a4610fbd0400afb0bcddbe7258a64c63f1f68e5855ebc0c659710cd};
+: ${PKG_CURL_VERSION:=8.7.1};
+: ${PKG_CURL_URL:=https://curl.haxx.se/download/curl-${PKG_CURL_VERSION}.tar.xz};
+: ${PKG_CURL_CONFIGURE_ARGS_EXTRA:="--disable-symbol-hiding --enable-shared --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --with-ca-path=/etc/ssl/certs --with-gnutls --with-libssh --without-openssl --without-librtmp --without-hyper --without-brotli --without-gssapi --disable-socketpair --disable-unix-sockets --with-libidn2"};
+: ${PKG_CURL_FORCE_AUTORECONF:=1};
+
+ex_pkg_register "curl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/cvs.package b/groups.d/241.native_packages_inet.d/cvs.package
new file mode 100644
index 00000000..e9726c62
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/cvs.package
@@ -0,0 +1,12 @@
+: ${PKG_CVS_SHA256SUM:=4734971a59471744e4ad8665c1dca54cb3ebf9fc66ce9c2dff3d04670d3f7312};
+: ${PKG_CVS_VERSION:=1.12.13};
+: ${PKG_CVS_URL:=https://deb.debian.org/debian/pool/main/c/cvs/cvs_${PKG_CVS_VERSION}+real.orig.tar.gz};
+: ${PKG_CVS_SUBDIR:=cvs-${PKG_CVS_VERSION}};
+: ${PKG_CVS_CONFIGURE_ARGS_EXTRA:="--disable-pam --enable-client --enable-password-authenticated-client --enable-server -enable-proxy --enable-case-sensitivity --disable-lock-compatibility --enable-rootcommit --disable-old-info-format-support --enable-config-override=no --with-rsh=ssh --with-editor=vi --with-tmpdir=/tmp --with-umask=002 --with-external-zlib"};
+: ${PKG_CVS_CONFIG_CACHE_EXTRA:="
+cvs_cv_func_printf_ptr=yes
+ac_cv_path_PS2PDF=false"};
+
+ex_pkg_register "cvs" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/dropbear.package b/groups.d/241.native_packages_inet.d/dropbear.package
new file mode 100644
index 00000000..fa6e8160
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/dropbear.package
@@ -0,0 +1,9 @@
+: ${PKG_DROPBEAR_DEPENDS:="libz"};
+: ${PKG_DROPBEAR_SHA256SUM:=48235d10b37775dbda59341ac0c4b239b82ad6318c31568b985730c788aac53b};
+: ${PKG_DROPBEAR_VERSION:=2020.81};
+: ${PKG_DROPBEAR_URL:=http://repository.timesys.com/buildsources/d/dropbear/dropbear-${PKG_DROPBEAR_VERSION}/dropbear-${PKG_DROPBEAR_VERSION}.tar.bz2};
+: ${PKG_DROPBEAR_CONFIGURE_ARGS_EXTRA:=--disable-loginfunc};
+
+ex_pkg_register "dropbear" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/elinks.package b/groups.d/241.native_packages_inet.d/elinks.package
new file mode 100644
index 00000000..a9f9046b
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/elinks.package
@@ -0,0 +1,12 @@
+: ${PKG_ELINKS_DEPENDS:="gnutls libgcrypt libevent expat xz bzip2 ncurses zstd libz"};
+: ${PKG_ELINKS_SHA256SUM:=bf2e9d752921f2d83a7dcac1062c37ae6c8d7c4057d8537abe1c42fbac946fb3};
+: ${PKG_ELINKS_VERSION:=0.15.0};
+: ${PKG_ELINKS_URL:=https://github.com/rkd77/elinks/releases/download/v${PKG_ELINKS_VERSION}/elinks-${PKG_ELINKS_VERSION}.tar.xz};
+: ${PKG_ELINKS_CCLD:="${DEFAULT_NATIVE_LD}"};
+: ${PKG_ELINKS_CONFIGURE_ARGS_EXTRA:="--enable-fastmem --enable-88-colors --enable-256-colors --enable-true-color --enable-leds --enable-gemini --enable-gopher --enable-html-highlight --enable-fsp --with-terminfo --with-libevent --with-lzma --with-gnutls --without-spidermonkey --without-x"};
+: ${PKG_ELINKS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/ncurses"};
+: ${PKG_ELINKS_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "elinks" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/fetchmail.package b/groups.d/241.native_packages_inet.d/fetchmail.package
new file mode 100644
index 00000000..7c8c0335
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/fetchmail.package
@@ -0,0 +1,9 @@
+: ${PKG_FETCHMAIL_DEPENDS:="libressl"};
+: ${PKG_FETCHMAIL_SHA256SUM:=c7500bed3b0bb85722f7cf2d980e74a879ac57b13cfd225d278179d671c0f5e8};
+: ${PKG_FETCHMAIL_VERSION:=6.4.0.beta4};
+: ${PKG_FETCHMAIL_URL:=http://krusty.dt.e-technik.tu-dortmund.de/~ma/fetchmail/fetchmail-${PKG_FETCHMAIL_VERSION}.tar.xz};
+: ${PKG_FETCHMAIL_CONFIGURE_ARGS_EXTRA:="--with-kerberos5=no --with-kerberos=no --with-ssl=${PREFIX_NATIVE}"};
+
+ex_pkg_register "fetchmail" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/git.package b/groups.d/241.native_packages_inet.d/git.package
new file mode 100644
index 00000000..d3a63cb0
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/git.package
@@ -0,0 +1,18 @@
+: ${PKG_GIT_DEPENDS:="curl libz"};
+: ${PKG_GIT_SHA256SUM:=2deab68747c9ee4e456482c9e7a9a12b05aa5d5f7fab8a35535d0dfab9d10529};
+: ${PKG_GIT_VERSION:=2.35.5};
+: ${PKG_GIT_URL:=https://mirrors.edge.kernel.org/pub/software/scm/git/git-${PKG_GIT_VERSION}.tar.xz};
+: ${PKG_GIT_CFLAGS_BUILD_EXTRA:="-std=gnu99"};
+: ${PKG_GIT_CONFIG_CACHE_EXTRA:="
+ac_cv_fread_reads_directories=1
+ac_cv_snprintf_returns_bogus=0
+ac_cv_prog_CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config"};
+: ${PKG_GIT_CONFIG_CACHE_LOCAL:="ac_cv_iconv_omits_bom=false"};
+: ${PKG_GIT_IN_TREE:=1};
+: ${PKG_GIT_MAKEFLAGS_BUILD:="CFLAGS=-std=gnu99 CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config CURLDIR=${PREFIX_NATIVE} HAVE_DEV_TTY=yes NO_GETTEXT=yes NO_REGEX=yes NO_PERL=yes NO_PYTHON=yes NO_TCLTK=yes"};
+: ${PKG_GIT_MAKEFLAGS_INSTALL:="CFLAGS=-std=gnu99 CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config CURLDIR=${PREFIX_NATIVE} HAVE_DEV_TTY=yes NO_GETTEXT=yes NO_REGEX=yes NO_PERL=yes NO_PYTHON=yes NO_TCLTK=yes"};
+: ${PKG_GIT_SUBDIR:=git-${PKG_GIT_VERSION}};
+
+ex_pkg_register "git" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/gnupg.package b/groups.d/241.native_packages_inet.d/gnupg.package
new file mode 100644
index 00000000..c4339511
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/gnupg.package
@@ -0,0 +1,11 @@
+: ${PKG_GNUPG_DEPENDS:="libassuan libgcrypt libgpg_error libksba npth sqlite3"};
+: ${PKG_GNUPG_SHA256SUM:=540b7a40e57da261fb10ef521a282e0021532a80fd023e75fb71757e8a4969ed};
+: ${PKG_GNUPG_VERSION:=2.3.8};
+: ${PKG_GNUPG_URL:=https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${PKG_GNUPG_VERSION}.tar.bz2};
+: ${PKG_GNUPG_CONFIGURE_ARGS_EXTRA:="--with-libgpg-error-prefix=${PREFIX_NATIVE} --with-libgcrypt-prefix=${PREFIX_NATIVE} --with-libassuan-prefix=${PREFIX_NATIVE} --with-ksba-prefix=${PREFIX_NATIVE} --with-npth-prefix=${PREFIX_NATIVE}"};
+: ${PKG_GNUPG_CONFIG_CACHE_EXTRA:="
+ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
+
+ex_pkg_register "gnupg" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/gnutls.package b/groups.d/241.native_packages_inet.d/gnutls.package
new file mode 100644
index 00000000..24f39a77
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/gnutls.package
@@ -0,0 +1,13 @@
+: ${PKG_GNUTLS_DEPENDS:="libunistring libtasn1 nettle zstd"};
+: ${PKG_GNUTLS_SHA256SUM:=66269a2cfe0e1c2dabec87bdbbd8ab656f396edd9a40dd006978e003cfa52bfc};
+: ${PKG_GNUTLS_VERSION:=3.8.5};
+: ${PKG_GNUTLS_URL:=https://www.gnupg.org/ftp/gcrypt/gnutls/v${PKG_GNUTLS_VERSION%.*}/gnutls-${PKG_GNUTLS_VERSION}.tar.xz};
+: ${PKG_GNUTLS_CONFIG_CACHE_EXTRA:="
+gl_cv_func_working_getdelim=yes
+gl_cv_ld_output_def=no"};
+: ${PKG_GNUTLS_CONFIGURE_ARGS_EXTRA:="PYTHON=python3 --disable-static --disable-ssl3-support --disable-ssl2-support --disable-cxx --enable-local-libopts --without-p11-kit --disable-hardware-acceleration --enable-guile=no --with-default-trust-store-dir=/etc/ssl/certs"};
+: ${PKG_GNUTLS_LIBTOOL:=rlibtool};
+
+ex_pkg_register "gnutls" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/gpgme.package b/groups.d/241.native_packages_inet.d/gpgme.package
new file mode 100644
index 00000000..f4feef4d
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/gpgme.package
@@ -0,0 +1,12 @@
+: ${PKG_GPGME_DEPENDS:="libassuan libgpg_error"};
+: ${PKG_GPGME_SHA256SUM:=361d4eae47ce925dba0ea569af40e7b52c645c4ae2e65e5621bf1b6cdd8b0e9e};
+: ${PKG_GPGME_VERSION:=1.18.0};
+: ${PKG_GPGME_URL:=https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${PKG_GPGME_VERSION}.tar.bz2};
+: ${PKG_GPGME_CONFIGURE_ARGS_EXTRA:="--disable-g13-test --disable-gpgconf-test --disable-gpgsm-test --disable-gpg-test --with-libgpg-error-prefix=${PREFIX_NATIVE} --with-libassuan-prefix=${PREFIX_NATIVE} --enable-languages=cl"};
+: ${PKG_GPGME_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
+: ${PKG_GPGME_CONFIG_CACHE_EXTRA:="
+ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
+
+ex_pkg_register "gpgme" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/httpd.package b/groups.d/241.native_packages_inet.d/httpd.package
new file mode 100644
index 00000000..f8f3d814
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/httpd.package
@@ -0,0 +1,11 @@
+: ${PKG_HTTPD_SHA256SUM:=0127f7dc497e9983e9c51474bed75e45607f2f870a7675a86dc90af6d572f5c9};
+: ${PKG_HTTPD_VERSION:=2.4.52};
+: ${PKG_HTTPD_URL:=https://archive.apache.org/dist/httpd/httpd-${PKG_HTTPD_VERSION}.tar.bz2};
+: ${PKG_HTTPD_CONFIG_CACHE_EXTRA:="ap_cv_void_ptr_lt_long=no"};
+: ${PKG_HTTPD_CONFIGURE_ARGS_EXTRA:="--with-apr=${PREFIX_NATIVE}/bin/${DEFAULT_TARGET}-apr-1-config --with-apr-util=${PREFIX_NATIVE}/bin/apu-1-config --with-z=${PREFIX_NATIVE} --with-ssl=${PREFIX_NATIVE} --with-pcre=${PREFIX}/bin/pcre-config --enable-mods-static=all --disable-ext-filter --disable-lua --sysconfdir=/etc/apache2 --localstatedir=/var/lib/apache2 --datadir=/srv/www"};
+: ${PKG_HTTPD_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/lua5.4"};
+: ${PKG_HTTPD_DISABLED:=1};
+
+ex_pkg_register "httpd" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/icecast.package b/groups.d/241.native_packages_inet.d/icecast.package
new file mode 100644
index 00000000..58cbba6b
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/icecast.package
@@ -0,0 +1,11 @@
+: ${PKG_ICECAST_DEPENDS:="curl expat libvorbis libxml2 libxslt wolfssl"};
+: ${PKG_ICECAST_SHA256SUM:=49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44};
+: ${PKG_ICECAST_VERSION:=2.4.4};
+: ${PKG_ICECAST_URL:=http://downloads.xiph.org/releases/icecast/icecast-${PKG_ICECAST_VERSION}.tar.gz};
+: ${PKG_ICECAST_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/libxml2"};
+: ${PKG_ICECAST_LDFLAGS_CONFIGURE_EXTRA:="-lwolfssl"};
+: ${PKG_ICECAST_CONFIGURE_ARGS_EXTRA:="--with-curl=${PREFIX_NATIVE} --with-ogg=${PREFIX_NATIVE} --with-theora=${PREFIX_NATIVE} --with-vorbis=${PREFIX_NATIVE} --with-xslt-config=${PREFIX}/bin/xslt-config --with-curl-config=${PREFIX_NATIVE}/bin/curl-config --without-speex"};
+
+ex_pkg_register "icecast" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/inetutils.package b/groups.d/241.native_packages_inet.d/inetutils.package
new file mode 100644
index 00000000..07e26075
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/inetutils.package
@@ -0,0 +1,9 @@
+: ${PKG_INETUTILS_DEPENDS:="ncurses"};
+: ${PKG_INETUTILS_SHA256SUM:=1789d6b1b1a57dfe2a7ab7b533ee9f5dfd9cbf5b59bb1bb3c2612ed08d0f68b2};
+: ${PKG_INETUTILS_VERSION:=2.4};
+: ${PKG_INETUTILS_URL:=https://ftp.gnu.org/gnu/inetutils/inetutils-${PKG_INETUTILS_VERSION}.tar.xz};
+: ${PKG_INETUTILS_CONFIGURE_ARGS_EXTRA:="--disable-ftpd --enable-inetd --disable-rexecd --disable-rlogind --disable-rshd --disable-talkd --enable-telnetd --disable-tftpd --disable-uucpd --disable-dnsdomainname --disable-ping --disable-ping6 --disable-rcp --disable-rexec --disable-rlogin --disable-rsh --disable-logger --enable-hostname --disable-talk --enable-telnet --disable-tftp --disable-whois --disable-ifconfig --disable-traceroute --with-ncurses-include-dir=${PREFIX_NATIVE}/include/ncurses"};
+
+ex_pkg_register "inetutils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/irssi.package b/groups.d/241.native_packages_inet.d/irssi.package
new file mode 100644
index 00000000..a6dafd81
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/irssi.package
@@ -0,0 +1,9 @@
+: ${PKG_IRSSI_DEPENDS:="glib libressl ncurses"};
+: ${PKG_IRSSI_SHA256SUM:=29cbb746d7e57591d8fcf799406fb28cb7c2d734bc4288cbb8b4c4e05cf99c25};
+: ${PKG_IRSSI_VERSION:=1.2.3};
+: ${PKG_IRSSI_URL:=https://github.com/irssi/irssi/releases/download/${PKG_IRSSI_VERSION}/irssi-${PKG_IRSSI_VERSION}.tar.gz};
+: ${PKG_IRSSI_CONFIGURE_ARGS_EXTRA:=--with-ncurses=${PREFIX_NATIVE}};
+
+ex_pkg_register "irssi" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/isync.package b/groups.d/241.native_packages_inet.d/isync.package
new file mode 100644
index 00000000..060dbbc9
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/isync.package
@@ -0,0 +1,9 @@
+: ${PKG_ISYNC_DEPENDS:="libressl"};
+: ${PKG_ISYNC_SHA256SUM:=7c3273894f22e98330a330051e9d942fd9ffbc02b91952c2f1896a5c37e700ff};
+: ${PKG_ISYNC_VERSION:=1.4.4};
+: ${PKG_ISYNC_URL:=https://sources.voidlinux.org/isync-${PKG_ISYNC_VERSION}/isync-${PKG_ISYNC_VERSION}.tar.gz};
+: ${PKG_ISYNC_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
+
+ex_pkg_register "isync" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/ldns.package b/groups.d/241.native_packages_inet.d/ldns.package
new file mode 100644
index 00000000..e3415295
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/ldns.package
@@ -0,0 +1,10 @@
+: ${PKG_LDNS_DEPENDS:="libressl"};
+: ${PKG_LDNS_SHA256SUM:=c3f72dd1036b2907e3a56e6acf9dfb2e551256b3c1bbd9787942deeeb70e7860};
+: ${PKG_LDNS_VERSION:=1.8.3};
+: ${PKG_LDNS_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/ldns/ldns-${PKG_LDNS_VERSION}.tar.gz};
+: ${PKG_LDNS_CONFIGURE_ARGS_EXTRA:="--with-ssl=${PREFIX_NATIVE} --disable-dane-ta-usage --disable-gost --with-drill --with-examples"};
+: ${PKG_LDNS_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "ldns" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/lighttpd.package b/groups.d/241.native_packages_inet.d/lighttpd.package
new file mode 100644
index 00000000..88c02ba4
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/lighttpd.package
@@ -0,0 +1,11 @@
+: ${PKG_LIGHTTPD_DEPENDS:="bzip2 pcre libressl libsasl2 libz gnutls"};
+: ${PKG_LIGHTTPD_SHA256SUM:=8cbf4296e373cfd0cedfe9d978760b5b05c58fdc4048b4e2bcaf0a61ac8f5011};
+: ${PKG_LIGHTTPD_VERSION:=1.4.76};
+: ${PKG_LIGHTTPD_URL:=https://download.lighttpd.net/lighttpd/releases-${PKG_LIGHTTPD_VERSION%.*}.x/lighttpd-${PKG_LIGHTTPD_VERSION}.tar.xz};
+: ${PKG_LIGHTTPD_CONFIGURE_ARGS_EXTRA:="--with-pcre2 --with-bzip2 --with-openssl --with-gnutls --with-libxml --with-sasl"};
+: ${PKG_LIGHTTPD_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/lua5.4"};
+: ${PKG_LIGHTTPD_CONFIG_CACHE_EXTRA:="ac_cv_func_copy_file_range=no"};
+
+ex_pkg_register "lighttpd" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/links.package b/groups.d/241.native_packages_inet.d/links.package
new file mode 100644
index 00000000..5d2b1c96
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/links.package
@@ -0,0 +1,9 @@
+: ${PKG_LINKS_DEPENDS:="bzip2 libz libpng libX11 libressl tiff libjpeg_turbo xz zstd"};
+: ${PKG_LINKS_SHA256SUM:=22aa96c0b38e1a6f8f7ed9d7a4167a47fc37246097759ef6059ecf8f9ead7998};
+: ${PKG_LINKS_VERSION:=2.29};
+: ${PKG_LINKS_URL:=http://links.twibright.com/download/links-${PKG_LINKS_VERSION}.tar.bz2};
+: ${PKG_LINKS_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --disable-graphics --without-freetype"};
+
+ex_pkg_register "links" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/lynx.package b/groups.d/241.native_packages_inet.d/lynx.package
new file mode 100644
index 00000000..a182aa72
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/lynx.package
@@ -0,0 +1,12 @@
+: ${PKG_LYNX_DEPENDS:="gnutls ncursesw readline"};
+: ${PKG_LYNX_SHA256SUM:=6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7};
+: ${PKG_LYNX_VERSION:=2.8.8rel.2};
+: ${PKG_LYNX_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/lynx/lynx${PKG_LYNX_VERSION}.tar.bz2};
+: ${PKG_LYNX_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncursesw -DNCURSES_INTERNALS"};
+: ${PKG_LYNX_CONFIGURE_ARGS_EXTRA:=--with-gnutls};
+: ${PKG_LYNX_SUBDIR:=lynx2-8-8};
+: ${PKG_LYNX_DISABLED:=1};
+
+ex_pkg_register "lynx" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/mailutils.package b/groups.d/241.native_packages_inet.d/mailutils.package
new file mode 100644
index 00000000..9bfdd2aa
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/mailutils.package
@@ -0,0 +1,11 @@
+: ${PKG_MAILUTILS_DEPENDS:="gnutls ncurses libunistring"};
+: ${PKG_MAILUTILS_SHA256SUM:=b7d0c286c352fcc7da7978cfd617cc66736b21fa891aa4f88855f516354f2ddb};
+: ${PKG_MAILUTILS_VERSION:=3.15};
+: ${PKG_MAILUTILS_URL:=https://ftp.gnu.org/gnu/mailutils/mailutils-${PKG_MAILUTILS_VERSION}.tar.xz};
+: ${PKG_MAILUTILS_CONFIGURE_ARGS_EXTRA:="mu_cv_lib_gnutls=yes --disable-python --with-gnutls --without-fribidi --without-gssapi"};
+: ${PKG_MAILUTILS_LDFLAGS_BUILD_EXTRA:="-lgnutls -lunistring"};
+: ${PKG_MAILUTILS_IN_TREE=1};
+
+ex_pkg_register "mailutils" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/microsocks.package b/groups.d/241.native_packages_inet.d/microsocks.package
new file mode 100644
index 00000000..3747e9f1
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/microsocks.package
@@ -0,0 +1,6 @@
+: ${PKG_MICROSOCKS_URLS_GIT:=microsocks=https://github.com/rofl0r/microsocks.git@master};
+: ${PKG_MICROSOCKS_BUILD_DIR:=microsocks};
+
+ex_pkg_register "microsocks" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/mutt.package b/groups.d/241.native_packages_inet.d/mutt.package
new file mode 100644
index 00000000..d8044caa
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/mutt.package
@@ -0,0 +1,13 @@
+: ${PKG_MUTT_DEPENDS:="gnutls libz ncursesw libiconv"};
+: ${PKG_MUTT_SHA256SUM:=eb23faddc1cc97d867693f3a4a9f30949ad93765ad5b6fdae2797a4001c58efb};
+: ${PKG_MUTT_VERSION:=2.2.13};
+: ${PKG_MUTT_URL:=http://ftp.mutt.org/pub/mutt/mutt-${PKG_MUTT_VERSION}.tar.gz};
+: ${PKG_MUTT_CONFIG_CACHE_EXTRA:="
+mutt_cv_c99_snprintf=yes
+mutt_cv_c99_vsnprintf=yes
+mutt_cv_regex_broken=no"};
+: ${PKG_MUTT_CONFIGURE_ARGS_EXTRA:="--enable-imap --enable-pop --enable-smtp --enable-sidebar --with-curses --with-mailpath=/var/spool/mail --with-gnutls --disable-doc"};
+
+ex_pkg_register "mutt" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/nginx.package b/groups.d/241.native_packages_inet.d/nginx.package
new file mode 100644
index 00000000..9397ca38
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/nginx.package
@@ -0,0 +1,12 @@
+: ${PKG_NGINX_DEPENDS:="libz pcre"};
+: ${PKG_NGINX_SHA256SUM:=958876757782190a1653e14dc26dfc7ba263de310e04c113e11e97d1bef45a42};
+: ${PKG_NGINX_VERSION:=1.20.2};
+: ${PKG_NGINX_URL:=http://nginx.org/download/nginx-${PKG_NGINX_VERSION}.tar.gz};
+: ${PKG_NGINX_CFLAGS_BUILD_EXTRA:="-Wno-sign-compare"};
+: ${PKG_NGINX_CONFIGURE_ARGS:="--prefix="};
+: ${PKG_NGINX_ENV_VARS_EXTRA:=CC=${DEFAULT_NATIVE_CC}};
+: ${PKG_NGINX_IN_TREE:=1};
+
+ex_pkg_register "nginx" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/ngircd.package b/groups.d/241.native_packages_inet.d/ngircd.package
new file mode 100644
index 00000000..d1a384e0
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/ngircd.package
@@ -0,0 +1,9 @@
+: ${PKG_NGIRCD_DEPENDS:="gnutls"};
+: ${PKG_NGIRCD_SHA256SUM:=55c16fd26009f6fc6a007df4efac87a02e122f680612cda1ce26e17a18d86254};
+: ${PKG_NGIRCD_VERSION:=26.1};
+: ${PKG_NGIRCD_URL:=https://arthur.barton.de/pub/ngircd/ngircd-${PKG_NGIRCD_VERSION}.tar.xz};
+: ${PKG_NGIRCD_CONFIGURE_ARGS_EXTRA:="--with-gnutls"};
+
+ex_pkg_register "ngircd" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/nullmailer.package b/groups.d/241.native_packages_inet.d/nullmailer.package
new file mode 100644
index 00000000..b9324834
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/nullmailer.package
@@ -0,0 +1,13 @@
+: ${PKG_NULLMAILER_DEPENDS:="gnutls"};
+: ${PKG_NULLMAILER_SHA256SUM:=6d277f69f1999c86df0ca9a97a4f14f9bb431c50fd4e016918290b84ff679241}
+: ${PKG_NULLMAILER_VERSION:=2.2}
+: ${PKG_NULLMAILER_URL:=https://github.com/bruceg/nullmailer/archive/${PKG_NULLMAILER_VERSION}.tar.gz};
+: ${PKG_NULLMAILER_CONFIG_CACHE_EXTRA:="local_cv_flag_NAMEDPIPEBUG=no"};
+: ${PKG_NULLMAILER_CONFIGURE_ARGS_EXTRA:="--enable-tls"}
+: ${PKG_NULLMAILER_FORCE_AUTORECONF:=1};
+: ${PKG_NULLMAILER_IN_TREE:=1}
+: ${PKG_NULLMAILER_SUBDIR:=nullmailer-${PKG_NULLMAILER_VERSION}};
+
+ex_pkg_register "nullmailer" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/openlitespeed.package b/groups.d/241.native_packages_inet.d/openlitespeed.package
new file mode 100644
index 00000000..3c51f74b
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/openlitespeed.package
@@ -0,0 +1,14 @@
+: ${PKG_OPENLITESPEED_SHA256SUM:=11cea34ebb0d72e5c620c61dce9ee4982474311dc5f35e0737a6b6d760bcf577};
+: ${PKG_OPENLITESPEED_VERSION:=1.4.27};
+: ${PKG_OPENLITESPEED_URL:=http://open.litespeedtech.com/packages/openlitespeed-${PKG_OPENLITESPEED_VERSION}.tgz};
+: ${PKG_OPENLITESPEED_CONFIGURE_ARGS:="-C --host=${DEFAULT_TARGET} --prefix=/usr/lsws --target=${DEFAULT_TARGET} --with-expat=${PREFIX_NATIVE} --with-openssl=${PREFIX_NATIVE} --with-zlib=${PREFIX_NATIVE}" --enable-spdy=no};
+: ${PKG_OPENLITESPEED_CXXFLAGS_CONFIGURE_EXTRA:="-D_GNU_SOURCE"};
+: ${PKG_OPENLITESPEED_DESTDIR:=destdir/lsws};
+: ${PKG_OPENLITESPEED_DISABLED:=1};
+: ${PKG_OPENLITESPEED_IN_TREE:=1};
+: ${PKG_OPENLITESPEED_MAKEFLAGS_PARALLELISE:="-j1"};
+: ${PKG_OPENLITESPEED_PREFIX:=${PREFIX_NATIVE}/lsws};
+
+ex_pkg_register "openlitespeed" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/opensmtpd.package b/groups.d/241.native_packages_inet.d/opensmtpd.package
new file mode 100644
index 00000000..4b2cbe22
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/opensmtpd.package
@@ -0,0 +1,10 @@
+: ${PKG_OPENSMTPD_DEPENDS:="libevent libressl libz musl_fts"};
+: ${PKG_OPENSMTPD_SHA256SUM:=fccdfbc5b98d150012bf9ccdef51752c18a862ed10888b56289826b83a2b5a4e};
+: ${PKG_OPENSMTPD_VERSION:=7.3.0p2};
+: ${PKG_OPENSMTPD_URL:=https://www.opensmtpd.org/archives/opensmtpd-${PKG_OPENSMTPD_VERSION}.tar.gz}
+: ${PKG_OPENSMTPD_CONFIGURE_ARGS_EXTRA:="--with-maildir=/var/mail --with-libz=${PREFIX_NATIVE} --with-libevent=${PREFIX_NATIVE}"};
+: ${PKG_OPENSMTPD_IN_TREE:=1};
+
+ex_pkg_register "opensmtpd" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/openssh.package b/groups.d/241.native_packages_inet.d/openssh.package
new file mode 100644
index 00000000..3a9a3e98
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/openssh.package
@@ -0,0 +1,14 @@
+: ${PKG_OPENSSH_DEPENDS:="libedit libressl libz libmd"};
+: ${PKG_OPENSSH_SHA256SUM:=f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b};
+: ${PKG_OPENSSH_VERSION:=9.5p1};
+: ${PKG_OPENSSH_URL:=https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PKG_OPENSSH_VERSION}.tar.gz};
+: ${PKG_OPENSSH_CFLAGS_CONFIGURE_EXTRA:="-DUSE_PIPES -DUSE_LIBEDIT"};
+: ${PKG_OPENSSH_CONFIGURE_ARGS_EXTRA:="--with-libedit=${PREFIX_NATIVE} --without-shadow"};
+: ${PKG_OPENSSH_DEBUG_CONFIGURE_ARGS_EXTRA:=--disable-strip};
+: ${PKG_OPENSSH_INSTALL_TARGET:=install-nokeys};
+: ${PKG_OPENSSH_MAKEFLAGS_INSTALL_EXTRA:=STRIP_OPT=};
+: ${PKG_OPENSSH_ENV_VARS_EXTRA:="LIBEDIT=-ledit -ltinfo"};
+
+ex_pkg_register "openssh" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/proxytunnel.package b/groups.d/241.native_packages_inet.d/proxytunnel.package
new file mode 100644
index 00000000..eec98b9c
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/proxytunnel.package
@@ -0,0 +1,12 @@
+: ${PKG_PROXYTUNNEL_DEPENDS:="libressl"};
+: ${PKG_PROXYTUNNEL_SHA256SUM:=acc111ba4ef47a61878eb480636941add36edb38defae22dd54288bcf036cdc4};
+: ${PKG_PROXYTUNNEL_VERSION:=1.12.1}
+: ${PKG_PROXYTUNNEL_URL:=https://github.com/proxytunnel/proxytunnel/archive/v${PKG_PROXYTUNNEL_VERSION}.tar.gz};
+: ${PKG_PROXYTUNNEL_SUBDIR:=proxytunnel-${PKG_PROXYTUNNEL_VERSION}};
+: ${PKG_PROXYTUNNEL_BUILD_DIR:=${PKG_PROXYTUNNEL_SUBDIR}};
+: ${PKG_PROXYTUNNEL_CFLAGS_BUILD_EXTRA:=${DEFAULT_CFLAGS}};
+: ${PKG_PROXYTUNNEL_LDFLAGS_BUILD_EXTRA:="-lssl -lcrypto"};
+
+ex_pkg_register "proxytunnel" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/rsync.package b/groups.d/241.native_packages_inet.d/rsync.package
new file mode 100644
index 00000000..ccb0a4e0
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/rsync.package
@@ -0,0 +1,9 @@
+: ${PKG_RSYNC_DEPENDS:="libressl"};
+: ${PKG_RSYNC_SHA256SUM:=6f761838d08052b0b6579cf7f6737d93e47f01f4da04c5d24d3447b7f2a5fad1};
+: ${PKG_RSYNC_VERSION:=3.2.4};
+: ${PKG_RSYNC_URL:=https://download.samba.org/pub/rsync/src/rsync-${PKG_RSYNC_VERSION}.tar.gz};
+: ${PKG_RSYNC_CONFIGURE_ARGS_EXTRA:="--with-included-zlib --disable-simd --disable-xxhash --disable-lz4 --disable-zstd"};
+
+ex_pkg_register "rsync" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/socat.package b/groups.d/241.native_packages_inet.d/socat.package
new file mode 100644
index 00000000..b2acc831
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/socat.package
@@ -0,0 +1,7 @@
+: ${PKG_SOCAT_SHA256SUM:=d9ed2075abed7b3ec9730ed729b4c8e287c502181c806d4487020418a6e2fc36};
+: ${PKG_SOCAT_VERSION:=1.7.3.4};
+: ${PKG_SOCAT_URL:=http://www.dest-unreach.org/socat/download/socat-${PKG_SOCAT_VERSION}.tar.gz};
+
+ex_pkg_register "socat" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/thttpd.package b/groups.d/241.native_packages_inet.d/thttpd.package
new file mode 100644
index 00000000..e36141ca
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/thttpd.package
@@ -0,0 +1,11 @@
+: ${PKG_THTTPD_SHA256SUM:=99c09f47da326b1e7b5295c45549d2b65534dce27c44812cf7eef1441681a397};
+: ${PKG_THTTPD_VERSION:=2.29};
+: ${PKG_THTTPD_URL:=https://acme.com/software/thttpd/thttpd-${PKG_THTTPD_VERSION}.tar.gz};
+: ${PKG_THTTPD_CONFIGURE_ARGS:="--disable-nls --host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_THTTPD_IN_TREE:=1};
+: ${PKG_THTTPD_MAKEFLAGS_PARALLELISE:="-j1"};
+: ${PKG_THTTPD_MAKE_INSTALL_VNAME:=prefix};
+
+ex_pkg_register "thttpd" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/w3m.package b/groups.d/241.native_packages_inet.d/w3m.package
new file mode 100644
index 00000000..9d81d826
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/w3m.package
@@ -0,0 +1,14 @@
+: ${PKG_W3M_DEPENDS:="bdwgc imlib2 libressl ncurses"};
+: ${PKG_W3M_SHA256SUM:=0467bb5429b75749205a3f57b9f5e8abba49929272aeab6fce94ff17953f0784};
+: ${PKG_W3M_VERSION:=0.5.3+git20190105};
+: ${PKG_W3M_URL:=https://github.com/tats/w3m/archive/v${PKG_W3M_VERSION}.tar.gz};
+: ${PKG_W3M_CONFIG_CACHE_EXTRA:="ac_cv_func_setpgrp_void=yes"};
+: ${PKG_W3M_CONFIGURE_ARGS_EXTRA:="--with-ssl --with-imagelib=imlib2 --with-termlib=ncurses --disable-w3mmailer"};
+: ${PKG_W3M_ENV_VARS_EXTRA:="LIBS=-ltinfo"};
+: ${PKG_W3M_IN_TREE:=1};
+: ${PKG_W3M_MAKEFLAGS_PARALLELISE:="-j1"};
+: ${PKG_W3M_SUBDIR:=w3m-0.5.3-git20190105};
+
+ex_pkg_register "w3m" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/weechat.package b/groups.d/241.native_packages_inet.d/weechat.package
new file mode 100644
index 00000000..e7b9b813
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/weechat.package
@@ -0,0 +1,11 @@
+: ${PKG_WEECHAT_DEPENDS:="aspell curl gnutls libgcrypt libz ncursesw perl"};
+: ${PKG_WEECHAT_SHA256SUM:=d9d27fac127c724564cf28c6179fa6ecc79a61f9dad09a3b251500f2b0755409};
+: ${PKG_WEECHAT_VERSION:=3.8};
+: ${PKG_WEECHAT_URL:=https://weechat.org/files/src/weechat-${PKG_WEECHAT_VERSION}.tar.gz};
+: ${PKG_WEECHAT_CONFIGURE_ARGS_EXTRA:="--disable-guile --disable-javascript --disable-python --disable-ruby --disable-tcl --enable-perl PERL_CFLAGS=-I${PREFIX_NATIVE}/lib/perl5/5.36.0/${DEFAULT_TARGET}/CORE PERL_LFLAGS=-lperl"};
+: ${PKG_WEECHAT_ENV_VARS_EXTRA:="CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config:LIBGCRYPT_CONFIG=${PREFIX_NATIVE}/bin/libgcrypt-config:PKGCONFIG=${DEFAULT_TARGET}-pkg-config"};
+: ${PKG_WEECHAT_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/lua5.4 -I${PREFIX_NATIVE}/include/php -I${PREFIX_NATIVE}/include/php/main -I${PREFIX_NATIVE}/include/php/Zend -I${PREFIX_NATIVE}/include/php/TSRM"};
+
+ex_pkg_register "weechat" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/wget.package b/groups.d/241.native_packages_inet.d/wget.package
new file mode 100644
index 00000000..5763212c
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/wget.package
@@ -0,0 +1,17 @@
+: ${PKG_WGET_DEPENDS:="gnutls gpgme libz libidn2 libpsl libiconv libunistring"};
+: ${PKG_WGET_SHA256SUM:=fa2dc35bab5184ecbc46a9ef83def2aaaa3f4c9f3c97d4bd19dcb07d4da637de};
+: ${PKG_WGET_VERSION:=1.24.5};
+: ${PKG_WGET_URL:=https://ftp.gnu.org/gnu/wget/wget-${PKG_WGET_VERSION}.tar.gz};
+: ${PKG_WGET_CONFIGURE_ARGS_EXTRA:="--with-ssl=gnutls --with-gpgme-prefix=${PREFIX_NATIVE}"};
+: ${PKG_WGET_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
+: ${PKG_WGET_PYTHON:=${PREFIX}/bin/python3};
+: ${PKG_WGET_CONFIG_CACHE_EXTRA:="
+ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
+: ${PKG_WGET2_DEPENDS:="gnutls gpgme libz libidn2 libpsl bzip2 pcre2 xz zstd"};
+: ${PKG_WGET2_SHA256SUM:=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1};
+: ${PKG_WGET2_VERSION:=2.0.1};
+: ${PKG_WGET2_URL:=https://ftp.gnu.org/gnu/wget/wget2-${PKG_WGET2_VERSION}.tar.gz};
+
+ex_pkg_register "wget" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.d/whois.package b/groups.d/241.native_packages_inet.d/whois.package
new file mode 100644
index 00000000..ba34195c
--- /dev/null
+++ b/groups.d/241.native_packages_inet.d/whois.package
@@ -0,0 +1,12 @@
+: ${PKG_WHOIS_DEPENDS:="libidn2"};
+: ${PKG_WHOIS_SHA256SUM:=b7de4288700951b141420e2b4408f0906eaf4e97409cf5043aee80ef4d31e2b4};
+: ${PKG_WHOIS_VERSION:=5.5.22};
+: ${PKG_WHOIS_URL:=https://github.com/rfc1036/whois/archive/v${PKG_WHOIS_VERSION}.tar.gz};
+: ${PKG_WHOIS_IN_TREE:=1};
+: ${PKG_WHOIS_CFLAGS_BUILD:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
+: ${PKG_WHOIS_MAKE_INSTALL_VNAME:=BASEDIR};
+: ${PKG_WHOIS_SUBDIR:=whois-${PKG_WHOIS_VERSION}};
+
+ex_pkg_register "whois" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/241.native_packages_inet.group b/groups.d/241.native_packages_inet.group
deleted file mode 100644
index e82b9592..00000000
--- a/groups.d/241.native_packages_inet.group
+++ /dev/null
@@ -1,284 +0,0 @@
-#
-# Build group native_packages (inet)
-#
-GROUP_TARGET_APPEND="native_packages";
-NATIVE_PACKAGES_INET_PACKAGES="
-apk_tools bind ca_certificates curl cvs dropbear elinks fetchmail git gnupg gpgme
-gnutls httpd icecast inetutils irssi isync ldns lighttpd links lynx mailutils
-microsocks mutt nginx ngircd nullmailer openlitespeed opensmtpd openssh
-proxytunnel rsync socat thttpd w3m weechat wget wget2 whois";
-: ${PKG_APK_TOOLS_DEPENDS:="libfetch libressl libz"};
-: ${PKG_APK_TOOLS_SHA256SUM:=def2b2c23cd12fd2a9c19be49653b0d1bf9d81a26dac5a0ee79a1351d674f93b};
-: ${PKG_APK_TOOLS_VERSION:=2.6.8};
-: ${PKG_APK_TOOLS_URL:=http://git.alpinelinux.org/cgit/apk-tools/snapshot/apk-tools-${PKG_APK_TOOLS_VERSION}.tar.bz2};
-: ${PKG_APK_TOOLS_ENV_VARS_EXTRA:=CFLAGS=--sysroot=${PREFIX_NATIVE}:CROSS_COMPILE=${DEFAULT_TARGET}-:LUAAPK=:VERBOSE=1:PREFIX=${PREFIX_NATIVE}:OPENSSL_LIBS=-L${PREFIX_NATIVE}/lib -lssl -lcrypto:ZLIB_LIBS=-L${PREFIX_NATIVE}/lib -lz};
-: ${PKG_APK_TOOLS_IN_TREE:=1};
-: ${PKG_APK_TOOLS_MAKEFLAGS_INSTALL_EXTRA:="PREFIX=${PREFIX_NATIVE} MANDIR=/share/man DOCDIR=/share/doc/apk"};
-: ${PKG_APK_TOOLS_DISABLED:=1};
-: ${PKG_BIND_DEPENDS:="curl libressl libz"};
-: ${PKG_BIND_SHA256SUM:=6c044e9ea81add9dbbd2f5dfc224964cc6b6e364e43a8d6d8b574d9282651802};
-: ${PKG_BIND_VERSION:=9.13.2};
-: ${PKG_BIND_URL:=https://ftp.isc.org/isc/bind/${PKG_BIND_VERSION}/bind-${PKG_BIND_VERSION}.tar.gz};
-: ${PKG_BIND_CONFIGURE_ARGS_EXTRA:="--with-libtool --disable-backtrace --with-eddsa=no --with-ecdsa=yes --with-gssapi=no --with-libxml2=no --with-libjson=no --with-openssl=${PREFIX_NATIVE} --without-lmdb BUILD_CC=gcc"};
-: ${PKG_BIND_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_CA_CERTIFICATES_DEPENDS:="libressl"};
-: ${PKG_CA_CERTIFICATES_URLS_GIT:="cacerts=https://dev.midipix.org/distro/cacerts.git@main"};
-: ${PKG_CA_CERTIFICATES_IN_TREE:=1};
-: ${PKG_CA_CERTIFICATES_CFLAGS_BUILD_EXTRA:=${DEFAULT_CFLAGS}};
-: ${PKG_CA_CERTIFICATES_LDFLAGS_BUILD_EXTRA:=${DEFAULT_LDFLAGS}};
-: ${PKG_CA_CERTIFICATES_ENV_VARS_EXTRA:="HOST_CC=gcc"};
-: ${PKG_CA_CERTIFICATES_VARS_FILE:="vars/ca_certificates.vars"};
-: ${PKG_CURL_DEPENDS:="gnutls libpsl libidn2 libz zstd"};
-: ${PKG_CURL_SHA256SUM:=6fea2aac6a4610fbd0400afb0bcddbe7258a64c63f1f68e5855ebc0c659710cd};
-: ${PKG_CURL_VERSION:=8.7.1};
-: ${PKG_CURL_URL:=https://curl.haxx.se/download/curl-${PKG_CURL_VERSION}.tar.xz};
-: ${PKG_CURL_CONFIGURE_ARGS_EXTRA:="--disable-symbol-hiding --enable-shared --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --with-ca-path=/etc/ssl/certs --with-gnutls --with-libssh --without-openssl --without-librtmp --without-hyper --without-brotli --without-gssapi --disable-socketpair --disable-unix-sockets --with-libidn2"};
-: ${PKG_CURL_FORCE_AUTORECONF:=1};
-: ${PKG_CVS_SHA256SUM:=4734971a59471744e4ad8665c1dca54cb3ebf9fc66ce9c2dff3d04670d3f7312};
-: ${PKG_CVS_VERSION:=1.12.13};
-: ${PKG_CVS_URL:=https://deb.debian.org/debian/pool/main/c/cvs/cvs_${PKG_CVS_VERSION}+real.orig.tar.gz};
-: ${PKG_CVS_SUBDIR:=cvs-${PKG_CVS_VERSION}};
-: ${PKG_CVS_CONFIGURE_ARGS_EXTRA:="--disable-pam --enable-client --enable-password-authenticated-client --enable-server -enable-proxy --enable-case-sensitivity --disable-lock-compatibility --enable-rootcommit --disable-old-info-format-support --enable-config-override=no --with-rsh=ssh --with-editor=vi --with-tmpdir=/tmp --with-umask=002 --with-external-zlib"};
-: ${PKG_CVS_CONFIG_CACHE_EXTRA:="
-cvs_cv_func_printf_ptr=yes
-ac_cv_path_PS2PDF=false"};
-: ${PKG_DROPBEAR_DEPENDS:="libz"};
-: ${PKG_DROPBEAR_SHA256SUM:=48235d10b37775dbda59341ac0c4b239b82ad6318c31568b985730c788aac53b};
-: ${PKG_DROPBEAR_VERSION:=2020.81};
-: ${PKG_DROPBEAR_URL:=http://repository.timesys.com/buildsources/d/dropbear/dropbear-${PKG_DROPBEAR_VERSION}/dropbear-${PKG_DROPBEAR_VERSION}.tar.bz2};
-: ${PKG_DROPBEAR_CONFIGURE_ARGS_EXTRA:=--disable-loginfunc};
-: ${PKG_ELINKS_DEPENDS:="gnutls libgcrypt libevent expat xz bzip2 ncurses zstd libz"};
-: ${PKG_ELINKS_SHA256SUM:=bf2e9d752921f2d83a7dcac1062c37ae6c8d7c4057d8537abe1c42fbac946fb3};
-: ${PKG_ELINKS_VERSION:=0.15.0};
-: ${PKG_ELINKS_URL:=https://github.com/rkd77/elinks/releases/download/v${PKG_ELINKS_VERSION}/elinks-${PKG_ELINKS_VERSION}.tar.xz};
-: ${PKG_ELINKS_CCLD:="${DEFAULT_NATIVE_LD}"};
-: ${PKG_ELINKS_CONFIGURE_ARGS_EXTRA:="--enable-fastmem --enable-88-colors --enable-256-colors --enable-true-color --enable-leds --enable-gemini --enable-gopher --enable-html-highlight --enable-fsp --with-terminfo --with-libevent --with-lzma --with-gnutls --without-spidermonkey --without-x"};
-: ${PKG_ELINKS_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_ELINKS_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_FETCHMAIL_DEPENDS:="libressl"};
-: ${PKG_FETCHMAIL_SHA256SUM:=c7500bed3b0bb85722f7cf2d980e74a879ac57b13cfd225d278179d671c0f5e8};
-: ${PKG_FETCHMAIL_VERSION:=6.4.0.beta4};
-: ${PKG_FETCHMAIL_URL:=http://krusty.dt.e-technik.tu-dortmund.de/~ma/fetchmail/fetchmail-${PKG_FETCHMAIL_VERSION}.tar.xz};
-: ${PKG_FETCHMAIL_CONFIGURE_ARGS_EXTRA:="--with-kerberos5=no --with-kerberos=no --with-ssl=${PREFIX_NATIVE}"};
-: ${PKG_GIT_DEPENDS:="curl libz"};
-: ${PKG_GIT_SHA256SUM:=2deab68747c9ee4e456482c9e7a9a12b05aa5d5f7fab8a35535d0dfab9d10529};
-: ${PKG_GIT_VERSION:=2.35.5};
-: ${PKG_GIT_URL:=https://mirrors.edge.kernel.org/pub/software/scm/git/git-${PKG_GIT_VERSION}.tar.xz};
-: ${PKG_GIT_CFLAGS_BUILD_EXTRA:="-std=gnu99"};
-: ${PKG_GIT_CONFIG_CACHE_EXTRA:="
-ac_cv_fread_reads_directories=1
-ac_cv_snprintf_returns_bogus=0
-ac_cv_prog_CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config"};
-: ${PKG_GIT_CONFIG_CACHE_LOCAL:="ac_cv_iconv_omits_bom=false"};
-: ${PKG_GIT_IN_TREE:=1};
-: ${PKG_GIT_MAKEFLAGS_BUILD:="CFLAGS=-std=gnu99 CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config CURLDIR=${PREFIX_NATIVE} HAVE_DEV_TTY=yes NO_GETTEXT=yes NO_REGEX=yes NO_PERL=yes NO_PYTHON=yes NO_TCLTK=yes"};
-: ${PKG_GIT_MAKEFLAGS_INSTALL:="CFLAGS=-std=gnu99 CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config CURLDIR=${PREFIX_NATIVE} HAVE_DEV_TTY=yes NO_GETTEXT=yes NO_REGEX=yes NO_PERL=yes NO_PYTHON=yes NO_TCLTK=yes"};
-: ${PKG_GIT_SUBDIR:=git-${PKG_GIT_VERSION}};
-: ${PKG_GNUPG_DEPENDS:="libassuan libgcrypt libgpg_error libksba npth sqlite3"};
-: ${PKG_GNUPG_SHA256SUM:=540b7a40e57da261fb10ef521a282e0021532a80fd023e75fb71757e8a4969ed};
-: ${PKG_GNUPG_VERSION:=2.3.8};
-: ${PKG_GNUPG_URL:=https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${PKG_GNUPG_VERSION}.tar.bz2};
-: ${PKG_GNUPG_CONFIGURE_ARGS_EXTRA:="--with-libgpg-error-prefix=${PREFIX_NATIVE} --with-libgcrypt-prefix=${PREFIX_NATIVE} --with-libassuan-prefix=${PREFIX_NATIVE} --with-ksba-prefix=${PREFIX_NATIVE} --with-npth-prefix=${PREFIX_NATIVE}"};
-: ${PKG_GNUPG_CONFIG_CACHE_EXTRA:="
-ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
-: ${PKG_GPGME_DEPENDS:="libassuan libgpg_error"};
-: ${PKG_GPGME_SHA256SUM:=361d4eae47ce925dba0ea569af40e7b52c645c4ae2e65e5621bf1b6cdd8b0e9e};
-: ${PKG_GPGME_VERSION:=1.18.0};
-: ${PKG_GPGME_URL:=https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${PKG_GPGME_VERSION}.tar.bz2};
-: ${PKG_GPGME_CONFIGURE_ARGS_EXTRA:="--disable-g13-test --disable-gpgconf-test --disable-gpgsm-test --disable-gpg-test --with-libgpg-error-prefix=${PREFIX_NATIVE} --with-libassuan-prefix=${PREFIX_NATIVE} --enable-languages=cl"};
-: ${PKG_GPGME_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
-: ${PKG_GPGME_CONFIG_CACHE_EXTRA:="
-ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
-: ${PKG_GNUTLS_DEPENDS:="libunistring libtasn1 nettle zstd"};
-: ${PKG_GNUTLS_SHA256SUM:=66269a2cfe0e1c2dabec87bdbbd8ab656f396edd9a40dd006978e003cfa52bfc};
-: ${PKG_GNUTLS_VERSION:=3.8.5};
-: ${PKG_GNUTLS_URL:=https://www.gnupg.org/ftp/gcrypt/gnutls/v${PKG_GNUTLS_VERSION%.*}/gnutls-${PKG_GNUTLS_VERSION}.tar.xz};
-: ${PKG_GNUTLS_CONFIG_CACHE_EXTRA:="
-gl_cv_func_working_getdelim=yes
-gl_cv_ld_output_def=no"};
-: ${PKG_GNUTLS_CONFIGURE_ARGS_EXTRA:="PYTHON=python3 --disable-static --disable-ssl3-support --disable-ssl2-support --disable-cxx --enable-local-libopts --without-p11-kit --disable-hardware-acceleration --enable-guile=no --with-default-trust-store-dir=/etc/ssl/certs"};
-: ${PKG_GNUTLS_LIBTOOL:=rlibtool};
-: ${PKG_HTTPD_SHA256SUM:=0127f7dc497e9983e9c51474bed75e45607f2f870a7675a86dc90af6d572f5c9};
-: ${PKG_HTTPD_VERSION:=2.4.52};
-: ${PKG_HTTPD_URL:=https://archive.apache.org/dist/httpd/httpd-${PKG_HTTPD_VERSION}.tar.bz2};
-: ${PKG_HTTPD_CONFIG_CACHE_EXTRA:="ap_cv_void_ptr_lt_long=no"};
-: ${PKG_HTTPD_CONFIGURE_ARGS_EXTRA:="--with-apr=${PREFIX_NATIVE}/bin/${DEFAULT_TARGET}-apr-1-config --with-apr-util=${PREFIX_NATIVE}/bin/apu-1-config --with-z=${PREFIX_NATIVE} --with-ssl=${PREFIX_NATIVE} --with-pcre=${PREFIX}/bin/pcre-config --enable-mods-static=all --disable-ext-filter --disable-lua --sysconfdir=/etc/apache2 --localstatedir=/var/lib/apache2 --datadir=/srv/www"};
-: ${PKG_HTTPD_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/lua5.4"};
-: ${PKG_HTTPD_DISABLED:=1};
-: ${PKG_ICECAST_DEPENDS:="curl expat libvorbis libxml2 libxslt wolfssl"};
-: ${PKG_ICECAST_SHA256SUM:=49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44};
-: ${PKG_ICECAST_VERSION:=2.4.4};
-: ${PKG_ICECAST_URL:=http://downloads.xiph.org/releases/icecast/icecast-${PKG_ICECAST_VERSION}.tar.gz};
-: ${PKG_ICECAST_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/libxml2"};
-: ${PKG_ICECAST_LDFLAGS_CONFIGURE_EXTRA:="-lwolfssl"};
-: ${PKG_ICECAST_CONFIGURE_ARGS_EXTRA:="--with-curl=${PREFIX_NATIVE} --with-ogg=${PREFIX_NATIVE} --with-theora=${PREFIX_NATIVE} --with-vorbis=${PREFIX_NATIVE} --with-xslt-config=${PREFIX}/bin/xslt-config --with-curl-config=${PREFIX_NATIVE}/bin/curl-config --without-speex"};
-: ${PKG_INETUTILS_DEPENDS:="ncurses"};
-: ${PKG_INETUTILS_SHA256SUM:=1789d6b1b1a57dfe2a7ab7b533ee9f5dfd9cbf5b59bb1bb3c2612ed08d0f68b2};
-: ${PKG_INETUTILS_VERSION:=2.4};
-: ${PKG_INETUTILS_URL:=https://ftp.gnu.org/gnu/inetutils/inetutils-${PKG_INETUTILS_VERSION}.tar.xz};
-: ${PKG_INETUTILS_CONFIGURE_ARGS_EXTRA:="--disable-ftpd --enable-inetd --disable-rexecd --disable-rlogind --disable-rshd --disable-talkd --enable-telnetd --disable-tftpd --disable-uucpd --disable-dnsdomainname --disable-ping --disable-ping6 --disable-rcp --disable-rexec --disable-rlogin --disable-rsh --disable-logger --enable-hostname --disable-talk --enable-telnet --disable-tftp --disable-whois --disable-ifconfig --disable-traceroute --with-ncurses-include-dir=${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_IRSSI_DEPENDS:="glib libressl ncurses"};
-: ${PKG_IRSSI_SHA256SUM:=29cbb746d7e57591d8fcf799406fb28cb7c2d734bc4288cbb8b4c4e05cf99c25};
-: ${PKG_IRSSI_VERSION:=1.2.3};
-: ${PKG_IRSSI_URL:=https://github.com/irssi/irssi/releases/download/${PKG_IRSSI_VERSION}/irssi-${PKG_IRSSI_VERSION}.tar.gz};
-: ${PKG_IRSSI_CONFIGURE_ARGS_EXTRA:=--with-ncurses=${PREFIX_NATIVE}};
-: ${PKG_ISYNC_DEPENDS:="libressl"};
-: ${PKG_ISYNC_SHA256SUM:=7c3273894f22e98330a330051e9d942fd9ffbc02b91952c2f1896a5c37e700ff};
-: ${PKG_ISYNC_VERSION:=1.4.4};
-: ${PKG_ISYNC_URL:=https://sources.voidlinux.org/isync-${PKG_ISYNC_VERSION}/isync-${PKG_ISYNC_VERSION}.tar.gz};
-: ${PKG_ISYNC_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
-: ${PKG_LDNS_DEPENDS:="libressl"};
-: ${PKG_LDNS_SHA256SUM:=c3f72dd1036b2907e3a56e6acf9dfb2e551256b3c1bbd9787942deeeb70e7860};
-: ${PKG_LDNS_VERSION:=1.8.3};
-: ${PKG_LDNS_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/ldns/ldns-${PKG_LDNS_VERSION}.tar.gz};
-: ${PKG_LDNS_CONFIGURE_ARGS_EXTRA:="--with-ssl=${PREFIX_NATIVE} --disable-dane-ta-usage --disable-gost --with-drill --with-examples"};
-: ${PKG_LDNS_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_LIGHTTPD_DEPENDS:="bzip2 pcre libressl libsasl2 libz gnutls"};
-: ${PKG_LIGHTTPD_SHA256SUM:=8cbf4296e373cfd0cedfe9d978760b5b05c58fdc4048b4e2bcaf0a61ac8f5011};
-: ${PKG_LIGHTTPD_VERSION:=1.4.76};
-: ${PKG_LIGHTTPD_URL:=https://download.lighttpd.net/lighttpd/releases-${PKG_LIGHTTPD_VERSION%.*}.x/lighttpd-${PKG_LIGHTTPD_VERSION}.tar.xz};
-: ${PKG_LIGHTTPD_CONFIGURE_ARGS_EXTRA:="--with-pcre2 --with-bzip2 --with-openssl --with-gnutls --with-libxml --with-sasl"};
-: ${PKG_LIGHTTPD_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/lua5.4"};
-: ${PKG_LIGHTTPD_CONFIG_CACHE_EXTRA:="ac_cv_func_copy_file_range=no"};
-: ${PKG_LINKS_DEPENDS:="bzip2 libz libpng libX11 libressl tiff libjpeg_turbo xz zstd"};
-: ${PKG_LINKS_SHA256SUM:=22aa96c0b38e1a6f8f7ed9d7a4167a47fc37246097759ef6059ecf8f9ead7998};
-: ${PKG_LINKS_VERSION:=2.29};
-: ${PKG_LINKS_URL:=http://links.twibright.com/download/links-${PKG_LINKS_VERSION}.tar.bz2};
-: ${PKG_LINKS_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --disable-graphics --without-freetype"};
-: ${PKG_LYNX_DEPENDS:="gnutls ncursesw readline"};
-: ${PKG_LYNX_SHA256SUM:=6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7};
-: ${PKG_LYNX_VERSION:=2.8.8rel.2};
-: ${PKG_LYNX_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/lynx/lynx${PKG_LYNX_VERSION}.tar.bz2};
-: ${PKG_LYNX_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncursesw -DNCURSES_INTERNALS"};
-: ${PKG_LYNX_CONFIGURE_ARGS_EXTRA:=--with-gnutls};
-: ${PKG_LYNX_SUBDIR:=lynx2-8-8};
-: ${PKG_LYNX_DISABLED:=1};
-: ${PKG_MAILUTILS_DEPENDS:="gnutls ncurses libunistring"};
-: ${PKG_MAILUTILS_SHA256SUM:=b7d0c286c352fcc7da7978cfd617cc66736b21fa891aa4f88855f516354f2ddb};
-: ${PKG_MAILUTILS_VERSION:=3.15};
-: ${PKG_MAILUTILS_URL:=https://ftp.gnu.org/gnu/mailutils/mailutils-${PKG_MAILUTILS_VERSION}.tar.xz};
-: ${PKG_MAILUTILS_CONFIGURE_ARGS_EXTRA:="mu_cv_lib_gnutls=yes --disable-python --with-gnutls --without-fribidi --without-gssapi"};
-: ${PKG_MAILUTILS_LDFLAGS_BUILD_EXTRA:="-lgnutls -lunistring"};
-: ${PKG_MAILUTILS_IN_TREE=1};
-: ${PKG_MICROSOCKS_URLS_GIT:=microsocks=https://github.com/rofl0r/microsocks.git@master};
-: ${PKG_MICROSOCKS_BUILD_DIR:=microsocks};
-: ${PKG_MUTT_DEPENDS:="gnutls libz ncursesw libiconv"};
-: ${PKG_MUTT_SHA256SUM:=eb23faddc1cc97d867693f3a4a9f30949ad93765ad5b6fdae2797a4001c58efb};
-: ${PKG_MUTT_VERSION:=2.2.13};
-: ${PKG_MUTT_URL:=http://ftp.mutt.org/pub/mutt/mutt-${PKG_MUTT_VERSION}.tar.gz};
-: ${PKG_MUTT_CONFIG_CACHE_EXTRA:="
-mutt_cv_c99_snprintf=yes
-mutt_cv_c99_vsnprintf=yes
-mutt_cv_regex_broken=no"};
-: ${PKG_MUTT_CONFIGURE_ARGS_EXTRA:="--enable-imap --enable-pop --enable-smtp --enable-sidebar --with-curses --with-mailpath=/var/spool/mail --with-gnutls --disable-doc"};
-: ${PKG_NGINX_DEPENDS:="libz pcre"};
-: ${PKG_NGINX_SHA256SUM:=958876757782190a1653e14dc26dfc7ba263de310e04c113e11e97d1bef45a42};
-: ${PKG_NGINX_VERSION:=1.20.2};
-: ${PKG_NGINX_URL:=http://nginx.org/download/nginx-${PKG_NGINX_VERSION}.tar.gz};
-: ${PKG_NGINX_CFLAGS_BUILD_EXTRA:="-Wno-sign-compare"};
-: ${PKG_NGINX_CONFIGURE_ARGS:="--prefix="};
-: ${PKG_NGINX_ENV_VARS_EXTRA:=CC=${DEFAULT_NATIVE_CC}};
-: ${PKG_NGINX_IN_TREE:=1};
-: ${PKG_NGIRCD_DEPENDS:="gnutls"};
-: ${PKG_NGIRCD_SHA256SUM:=55c16fd26009f6fc6a007df4efac87a02e122f680612cda1ce26e17a18d86254};
-: ${PKG_NGIRCD_VERSION:=26.1};
-: ${PKG_NGIRCD_URL:=https://arthur.barton.de/pub/ngircd/ngircd-${PKG_NGIRCD_VERSION}.tar.xz};
-: ${PKG_NGIRCD_CONFIGURE_ARGS_EXTRA:="--with-gnutls"};
-: ${PKG_NULLMAILER_DEPENDS:="gnutls"};
-: ${PKG_NULLMAILER_SHA256SUM:=6d277f69f1999c86df0ca9a97a4f14f9bb431c50fd4e016918290b84ff679241}
-: ${PKG_NULLMAILER_VERSION:=2.2}
-: ${PKG_NULLMAILER_URL:=https://github.com/bruceg/nullmailer/archive/${PKG_NULLMAILER_VERSION}.tar.gz};
-: ${PKG_NULLMAILER_CONFIG_CACHE_EXTRA:="local_cv_flag_NAMEDPIPEBUG=no"};
-: ${PKG_NULLMAILER_CONFIGURE_ARGS_EXTRA:="--enable-tls"}
-: ${PKG_NULLMAILER_FORCE_AUTORECONF:=1};
-: ${PKG_NULLMAILER_IN_TREE:=1}
-: ${PKG_NULLMAILER_SUBDIR:=nullmailer-${PKG_NULLMAILER_VERSION}};
-: ${PKG_OPENLITESPEED_SHA256SUM:=11cea34ebb0d72e5c620c61dce9ee4982474311dc5f35e0737a6b6d760bcf577};
-: ${PKG_OPENLITESPEED_VERSION:=1.4.27};
-: ${PKG_OPENLITESPEED_URL:=http://open.litespeedtech.com/packages/openlitespeed-${PKG_OPENLITESPEED_VERSION}.tgz};
-: ${PKG_OPENLITESPEED_CONFIGURE_ARGS:="-C --host=${DEFAULT_TARGET} --prefix=/usr/lsws --target=${DEFAULT_TARGET} --with-expat=${PREFIX_NATIVE} --with-openssl=${PREFIX_NATIVE} --with-zlib=${PREFIX_NATIVE}" --enable-spdy=no};
-: ${PKG_OPENLITESPEED_CXXFLAGS_CONFIGURE_EXTRA:="-D_GNU_SOURCE"};
-: ${PKG_OPENLITESPEED_DESTDIR:=destdir/lsws};
-: ${PKG_OPENLITESPEED_DISABLED:=1};
-: ${PKG_OPENLITESPEED_IN_TREE:=1};
-: ${PKG_OPENLITESPEED_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_OPENLITESPEED_PREFIX:=${PREFIX_NATIVE}/lsws};
-: ${PKG_OPENSMTPD_DEPENDS:="libevent libressl libz musl_fts"};
-: ${PKG_OPENSMTPD_SHA256SUM:=fccdfbc5b98d150012bf9ccdef51752c18a862ed10888b56289826b83a2b5a4e};
-: ${PKG_OPENSMTPD_VERSION:=7.3.0p2};
-: ${PKG_OPENSMTPD_URL:=https://www.opensmtpd.org/archives/opensmtpd-${PKG_OPENSMTPD_VERSION}.tar.gz}
-: ${PKG_OPENSMTPD_CONFIGURE_ARGS_EXTRA:="--with-maildir=/var/mail --with-libz=${PREFIX_NATIVE} --with-libevent=${PREFIX_NATIVE}"};
-: ${PKG_OPENSMTPD_IN_TREE:=1};
-: ${PKG_OPENSSH_DEPENDS:="libedit libressl libz libmd"};
-: ${PKG_OPENSSH_SHA256SUM:=f026e7b79ba7fb540f75182af96dc8a8f1db395f922bbc9f6ca603672686086b};
-: ${PKG_OPENSSH_VERSION:=9.5p1};
-: ${PKG_OPENSSH_URL:=https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PKG_OPENSSH_VERSION}.tar.gz};
-: ${PKG_OPENSSH_CFLAGS_CONFIGURE_EXTRA:="-DUSE_PIPES -DUSE_LIBEDIT"};
-: ${PKG_OPENSSH_CONFIGURE_ARGS_EXTRA:="--with-libedit=${PREFIX_NATIVE} --without-shadow"};
-: ${PKG_OPENSSH_DEBUG_CONFIGURE_ARGS_EXTRA:=--disable-strip};
-: ${PKG_OPENSSH_INSTALL_TARGET:=install-nokeys};
-: ${PKG_OPENSSH_MAKEFLAGS_INSTALL_EXTRA:=STRIP_OPT=};
-: ${PKG_OPENSSH_ENV_VARS_EXTRA:="LIBEDIT=-ledit -ltinfo"};
-: ${PKG_PROXYTUNNEL_DEPENDS:="libressl"};
-: ${PKG_PROXYTUNNEL_SHA256SUM:=acc111ba4ef47a61878eb480636941add36edb38defae22dd54288bcf036cdc4};
-: ${PKG_PROXYTUNNEL_VERSION:=1.12.1}
-: ${PKG_PROXYTUNNEL_URL:=https://github.com/proxytunnel/proxytunnel/archive/v${PKG_PROXYTUNNEL_VERSION}.tar.gz};
-: ${PKG_PROXYTUNNEL_SUBDIR:=proxytunnel-${PKG_PROXYTUNNEL_VERSION}};
-: ${PKG_PROXYTUNNEL_BUILD_DIR:=${PKG_PROXYTUNNEL_SUBDIR}};
-: ${PKG_PROXYTUNNEL_CFLAGS_BUILD_EXTRA:=${DEFAULT_CFLAGS}};
-: ${PKG_PROXYTUNNEL_LDFLAGS_BUILD_EXTRA:="-lssl -lcrypto"};
-: ${PKG_RSYNC_DEPENDS:="libressl"};
-: ${PKG_RSYNC_SHA256SUM:=6f761838d08052b0b6579cf7f6737d93e47f01f4da04c5d24d3447b7f2a5fad1};
-: ${PKG_RSYNC_VERSION:=3.2.4};
-: ${PKG_RSYNC_URL:=https://download.samba.org/pub/rsync/src/rsync-${PKG_RSYNC_VERSION}.tar.gz};
-: ${PKG_RSYNC_CONFIGURE_ARGS_EXTRA:="--with-included-zlib --disable-simd --disable-xxhash --disable-lz4 --disable-zstd"};
-: ${PKG_SOCAT_SHA256SUM:=d9ed2075abed7b3ec9730ed729b4c8e287c502181c806d4487020418a6e2fc36};
-: ${PKG_SOCAT_VERSION:=1.7.3.4};
-: ${PKG_SOCAT_URL:=http://www.dest-unreach.org/socat/download/socat-${PKG_SOCAT_VERSION}.tar.gz};
-: ${PKG_THTTPD_SHA256SUM:=99c09f47da326b1e7b5295c45549d2b65534dce27c44812cf7eef1441681a397};
-: ${PKG_THTTPD_VERSION:=2.29};
-: ${PKG_THTTPD_URL:=https://acme.com/software/thttpd/thttpd-${PKG_THTTPD_VERSION}.tar.gz};
-: ${PKG_THTTPD_CONFIGURE_ARGS:="--disable-nls --host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_THTTPD_IN_TREE:=1};
-: ${PKG_THTTPD_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_THTTPD_MAKE_INSTALL_VNAME:=prefix};
-: ${PKG_W3M_DEPENDS:="bdwgc imlib2 libressl ncurses"};
-: ${PKG_W3M_SHA256SUM:=0467bb5429b75749205a3f57b9f5e8abba49929272aeab6fce94ff17953f0784};
-: ${PKG_W3M_VERSION:=0.5.3+git20190105};
-: ${PKG_W3M_URL:=https://github.com/tats/w3m/archive/v${PKG_W3M_VERSION}.tar.gz};
-: ${PKG_W3M_CONFIG_CACHE_EXTRA:="ac_cv_func_setpgrp_void=yes"};
-: ${PKG_W3M_CONFIGURE_ARGS_EXTRA:="--with-ssl --with-imagelib=imlib2 --with-termlib=ncurses --disable-w3mmailer"};
-: ${PKG_W3M_ENV_VARS_EXTRA:="LIBS=-ltinfo"};
-: ${PKG_W3M_IN_TREE:=1};
-: ${PKG_W3M_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_W3M_SUBDIR:=w3m-0.5.3-git20190105};
-: ${PKG_WEECHAT_DEPENDS:="aspell curl gnutls libgcrypt libz ncursesw perl"};
-: ${PKG_WEECHAT_SHA256SUM:=d9d27fac127c724564cf28c6179fa6ecc79a61f9dad09a3b251500f2b0755409};
-: ${PKG_WEECHAT_VERSION:=3.8};
-: ${PKG_WEECHAT_URL:=https://weechat.org/files/src/weechat-${PKG_WEECHAT_VERSION}.tar.gz};
-: ${PKG_WEECHAT_CONFIGURE_ARGS_EXTRA:="--disable-guile --disable-javascript --disable-python --disable-ruby --disable-tcl --enable-perl PERL_CFLAGS=-I${PREFIX_NATIVE}/lib/perl5/5.36.0/${DEFAULT_TARGET}/CORE PERL_LFLAGS=-lperl"};
-: ${PKG_WEECHAT_ENV_VARS_EXTRA:="CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config:LIBGCRYPT_CONFIG=${PREFIX_NATIVE}/bin/libgcrypt-config:PKGCONFIG=${DEFAULT_TARGET}-pkg-config"};
-: ${PKG_WEECHAT_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/lua5.4 -I${PREFIX_NATIVE}/include/php -I${PREFIX_NATIVE}/include/php/main -I${PREFIX_NATIVE}/include/php/Zend -I${PREFIX_NATIVE}/include/php/TSRM"};
-: ${PKG_WGET_DEPENDS:="gnutls gpgme libz libidn2 libpsl libiconv libunistring"};
-: ${PKG_WGET_SHA256SUM:=fa2dc35bab5184ecbc46a9ef83def2aaaa3f4c9f3c97d4bd19dcb07d4da637de};
-: ${PKG_WGET_VERSION:=1.24.5};
-: ${PKG_WGET_URL:=https://ftp.gnu.org/gnu/wget/wget-${PKG_WGET_VERSION}.tar.gz};
-: ${PKG_WGET_CONFIGURE_ARGS_EXTRA:="--with-ssl=gnutls --with-gpgme-prefix=${PREFIX_NATIVE}"};
-: ${PKG_WGET_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
-: ${PKG_WGET_PYTHON:=${PREFIX}/bin/python3};
-: ${PKG_WGET_CONFIG_CACHE_EXTRA:="
-ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
-: ${PKG_WGET2_DEPENDS:="gnutls gpgme libz libidn2 libpsl bzip2 pcre2 xz zstd"};
-: ${PKG_WGET2_SHA256SUM:=0bb7fa03697bb5b8d05e1b5e15b863440826eb845874c4ffb5e32330f9845db1};
-: ${PKG_WGET2_VERSION:=2.0.1};
-: ${PKG_WGET2_URL:=https://ftp.gnu.org/gnu/wget/wget2-${PKG_WGET2_VERSION}.tar.gz};
-: ${PKG_WHOIS_DEPENDS:="libidn2"};
-: ${PKG_WHOIS_SHA256SUM:=b7de4288700951b141420e2b4408f0906eaf4e97409cf5043aee80ef4d31e2b4};
-: ${PKG_WHOIS_VERSION:=5.5.22};
-: ${PKG_WHOIS_URL:=https://github.com/rfc1036/whois/archive/v${PKG_WHOIS_VERSION}.tar.gz};
-: ${PKG_WHOIS_IN_TREE:=1};
-: ${PKG_WHOIS_CFLAGS_BUILD:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}};
-: ${PKG_WHOIS_MAKE_INSTALL_VNAME:=BASEDIR};
-: ${PKG_WHOIS_SUBDIR:=whois-${PKG_WHOIS_VERSION}};
-
-# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/aspell.package b/groups.d/251.native_packages_lib.d/aspell.package
new file mode 100644
index 00000000..48ea0d6c
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/aspell.package
@@ -0,0 +1,9 @@
+: ${PKG_ASPELL_DEPENDS:=ncursesw};
+: ${PKG_ASPELL_SHA256SUM:=f9b77e515334a751b2e60daab5db23499e26c9209f5e7b7443b05235ad0226f2};
+: ${PKG_ASPELL_VERSION:=0.60.8};
+: ${PKG_ASPELL_URL:=https://ftp.gnu.org/gnu/aspell/aspell-${PKG_ASPELL_VERSION}.tar.gz};
+: ${PKG_ASPELL_LDFLAGS_CONFIGURE_EXTRA:="-ltinfow"};
+
+ex_pkg_register "aspell" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/bearssl.package b/groups.d/251.native_packages_lib.d/bearssl.package
new file mode 100644
index 00000000..47770af2
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/bearssl.package
@@ -0,0 +1,9 @@
+: ${PKG_BEARSSL_SHA256SUM:=6705bba1714961b41a728dfc5debbe348d2966c117649392f8c8139efc83ff14};
+: ${PKG_BEARSSL_VERSION:=0.6};
+: ${PKG_BEARSSL_URL:=https://bearssl.org/bearssl-${PKG_BEARSSL_VERSION}.tar.gz};
+: ${PKG_BEARSSL_IN_TREE:=1};
+: ${PKG_BEARSSL_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
+
+ex_pkg_register "bearssl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/enchant.package b/groups.d/251.native_packages_lib.d/enchant.package
new file mode 100644
index 00000000..58bd8194
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/enchant.package
@@ -0,0 +1,9 @@
+: ${PKG_ENCHANT_DEPENDS:="glib hunspell aspell"};
+: ${PKG_ENCHANT_SHA256SUM:=3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891};
+: ${PKG_ENCHANT_VERSION:=2.3.3};
+: ${PKG_ENCHANT_URL:=https://github.com/AbiWord/enchant/releases/download/v${PKG_ENCHANT_VERSION}/enchant-${PKG_ENCHANT_VERSION}.tar.gz};
+: ${PKG_ENCHANT_CXXFLAGS_CONFIGURE_EXTRA:="-std=c++0x"};
+
+ex_pkg_register "enchant" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/fribidi.package b/groups.d/251.native_packages_lib.d/fribidi.package
new file mode 100644
index 00000000..e65e5a90
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/fribidi.package
@@ -0,0 +1,7 @@
+: ${PKG_FRIBIDI_SHA256SUM:=7fa16c80c81bd622f7b198d31356da139cc318a63fc7761217af4130903f54a2};
+: ${PKG_FRIBIDI_VERSION:=1.0.13};
+: ${PKG_FRIBIDI_URL:=https://github.com/fribidi/fribidi/releases/download/v${PKG_FRIBIDI_VERSION}/fribidi-${PKG_FRIBIDI_VERSION}.tar.xz};
+
+ex_pkg_register "fribidi" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/glib.package b/groups.d/251.native_packages_lib.d/glib.package
new file mode 100644
index 00000000..fadf0d3b
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/glib.package
@@ -0,0 +1,9 @@
+: ${PKG_GLIB_DEPENDS:="libffi libz pcre libiconv"};
+: ${PKG_GLIB_SHA256SUM:=d64abd16813501c956c4e123ae79f47f1b58de573df9fdd3b0795f1e2c1aa789};
+: ${PKG_GLIB_VERSION:=2.56.2};
+: ${PKG_GLIB_URL:="https://download.gnome.org/sources/glib/${PKG_GLIB_VERSION%.[0-9]}/glib-${PKG_GLIB_VERSION}.tar.xz https://ftp.pieskovisko.sk/slackware/slackware-current/source/l/glib2/glib-${PKG_GLIB_VERSION}.tar.xz"};
+: ${PKG_GLIB_CONFIGURE_ARGS_EXTRA:="--disable-dtrace --disable-libelf --disable-libmount --with-python=${PREFIX}/bin/python3 --with-libiconv=gnu"};
+
+ex_pkg_register "glib" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/hunspell.package b/groups.d/251.native_packages_lib.d/hunspell.package
new file mode 100644
index 00000000..25b3530b
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/hunspell.package
@@ -0,0 +1,9 @@
+: ${PKG_HUNSPELL_DEPENDS:="readline"};
+: ${PKG_HUNSPELL_SHA256SUM:=b2d9c5369c2cc7f321cb5983fda2dbf007dce3d9e17519746840a6f0c4bf7444};
+: ${PKG_HUNSPELL_VERSION:=1.7.1};
+: ${PKG_HUNSPELL_URL:=https://github.com/hunspell/hunspell/releases/download/v${PKG_HUNSPELL_VERSION}/hunspell-${PKG_HUNSPELL_VERSION}.tar.gz};
+: ${PKG_HUNSPELL_CONFIGURE_ARGS_EXTRA:="--with-ui --with-readline"};
+
+ex_pkg_register "hunspell" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/ivykis.package b/groups.d/251.native_packages_lib.d/ivykis.package
new file mode 100644
index 00000000..b39be3fc
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/ivykis.package
@@ -0,0 +1,8 @@
+: ${PKG_IVYKIS_SHA256SUM:=6ef8ed255814e5068473356877da55d67493eeafd978884cdecc5a3e58067129};
+: ${PKG_IVYKIS_VERSION:=0.42.4};
+: ${PKG_IVYKIS_URL:=https://mirrors.dotsrc.org/debian/pool/main/i/ivykis/ivykis_${PKG_IVYKIS_VERSION}.orig.tar.gz};
+: ${PKG_IVYKIS_SUBDIR=ivykis-${PKG_IVYKIS_VERSION}};
+
+ex_pkg_register "ivykis" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/jansson.package b/groups.d/251.native_packages_lib.d/jansson.package
new file mode 100644
index 00000000..3694eae1
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/jansson.package
@@ -0,0 +1,7 @@
+: ${PKG_JANSSON_SHA256SUM:=f4f377da17b10201a60c1108613e78ee15df6b12016b116b6de42209f47a474f};
+: ${PKG_JANSSON_VERSION:=2.13.1};
+: ${PKG_JANSSON_URL:=https://digip.org/jansson/releases/jansson-${PKG_JANSSON_VERSION}.tar.gz};
+
+ex_pkg_register "jansson" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/kvazaar.package b/groups.d/251.native_packages_lib.d/kvazaar.package
new file mode 100644
index 00000000..d2751228
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/kvazaar.package
@@ -0,0 +1,7 @@
+: ${PKG_KVAZAAR_SHA256SUM:=ca30575026d2f1a1201af4b94697bb0fcd05913388008631dc3332bae94122bd};
+: ${PKG_KVAZAAR_VERSION:=2.3.1};
+: ${PKG_KVAZAAR_URL:=https://github.com/ultravideo/kvazaar/releases/download/v${PKG_KVAZAAR_VERSION}/kvazaar-${PKG_KVAZAAR_VERSION}.tar.xz};
+
+ex_pkg_register "kvazaar" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/lame.package b/groups.d/251.native_packages_lib.d/lame.package
new file mode 100644
index 00000000..29043167
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/lame.package
@@ -0,0 +1,9 @@
+: ${PKG_LAME_SHA256SUM:=ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e};
+: ${PKG_LAME_VERSION:=3.100};
+: ${PKG_LAME_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/lame/lame-${PKG_LAME_VERSION}.tar.gz};
+: ${PKG_LAME_CONFIGURE_ARGS_EXTRA:="--enable-nasm"};
+: ${PKG_LAME_LDFLAGS_CONFIGURE_EXTRA:="-Wl,--as-needed -ltinfo -Wl,--no-as-needed"};
+
+ex_pkg_register "lame" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libao.package b/groups.d/251.native_packages_lib.d/libao.package
new file mode 100644
index 00000000..e8c8cc46
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libao.package
@@ -0,0 +1,11 @@
+: ${PKG_LIBAO_DEPENDS:="w32api w32lib"};
+: ${PKG_LIBAO_SHA256SUM:=03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf};
+: ${PKG_LIBAO_VERSION:=1.2.0};
+: ${PKG_LIBAO_URL:=http://downloads.xiph.org/releases/ao/libao-${PKG_LIBAO_VERSION}.tar.gz};
+: ${PKG_LIBAO_CONFIGURE_ARGS_EXTRA:="--enable-wmm --disable-esd --without-x"};
+: ${PKG_LIBAO_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports -DWINAPI_ANSI_DEFAULT"};
+: ${PKG_LIBAO_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -lwinmm"}
+
+ex_pkg_register "libao" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libarchive.package b/groups.d/251.native_packages_lib.d/libarchive.package
new file mode 100644
index 00000000..5c6e7228
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libarchive.package
@@ -0,0 +1,10 @@
+: ${PKG_LIBARCHIVE_DEPENDS:="libxml2 xz libiconv bzip2 libmd"};
+: ${PKG_LIBARCHIVE_SHA256SUM:=63e7a7174638fc7d6b79b4c8b0ad954e0f4f45abe7239c1ecb200232aa9a43d2};
+: ${PKG_LIBARCHIVE_VERSION:=3.7.3};
+: ${PKG_LIBARCHIVE_URL:=https://www.libarchive.de/downloads/libarchive-${PKG_LIBARCHIVE_VERSION}.tar.xz};
+: ${PKG_LIBARCHIVE_CONFIG_CACHE_LOCAL:="ac_cv_func_lstat_dereferences_slashed_symlink=yes"};
+: ${PKG_LIBARCHIVE_LIBTOOL:=rlibtool};
+
+ex_pkg_register "libarchive" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libass.package b/groups.d/251.native_packages_lib.d/libass.package
new file mode 100644
index 00000000..7e888002
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libass.package
@@ -0,0 +1,14 @@
+: ${PKG_LIBASS_DEPENDS:="freetype fontconfig harfbuzz fribidi libiconv"};
+: ${PKG_LIBASS_SHA256SUM:=f0da0bbfba476c16ae3e1cfd862256d30915911f7abaa1b16ce62ee653192784};
+: ${PKG_LIBASS_VERSION:=0.17.1};
+: ${PKG_LIBASS_URL:=https://github.com/libass/libass/releases/download/${PKG_LIBASS_VERSION}/libass-${PKG_LIBASS_VERSION}.tar.xz};
+: ${PKG_LIBASS_CONFIGURE_ARGS_EXTRA:="--disable-asm"};
+: ${PKG_LIBASSUAN_DEPENDS:="libgpg_error"};
+: ${PKG_LIBASSUAN_SHA256SUM:=8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4};
+: ${PKG_LIBASSUAN_VERSION:=2.5.5};
+: ${PKG_LIBASSUAN_URL:=https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-${PKG_LIBASSUAN_VERSION}.tar.bz2};
+: ${PKG_LIBASSUAN_CONFIGURE_ARGS_EXTRA:=--with-libgpg-error-prefix=${PREFIX_NATIVE}};
+
+ex_pkg_register "libass" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libatomic_ops.package b/groups.d/251.native_packages_lib.d/libatomic_ops.package
new file mode 100644
index 00000000..f69b0acd
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libatomic_ops.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBATOMIC_OPS_SHA256SUM:=587edf60817f56daf1e1ab38a4b3c729b8e846ff67b4f62a6157183708f099af};
+: ${PKG_LIBATOMIC_OPS_VERSION:=7.6.10};
+: ${PKG_LIBATOMIC_OPS_URL:=https://github.com/ivmai/libatomic_ops/releases/download/v${PKG_LIBATOMIC_OPS_VERSION}/libatomic_ops-${PKG_LIBATOMIC_OPS_VERSION}.tar.gz};
+
+ex_pkg_register "libatomic_ops" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libdmtx.package b/groups.d/251.native_packages_lib.d/libdmtx.package
new file mode 100644
index 00000000..4008a84c
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libdmtx.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBDMTX_SHA256SUM:=686bcfb44e50b96345aa53f41e285f2118a2cf87a333b69b74165a2e7ddca492};
+: ${PKG_LIBDMTX_VERSION:=0.7.4};
+: ${PKG_LIBDMTX_URL:=https://midipix.org/mirror/libdmtx/libdmtx-${PKG_LIBDMTX_VERSION}.tar.gz};
+
+ex_pkg_register "libdmtx" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libedit.package b/groups.d/251.native_packages_lib.d/libedit.package
new file mode 100644
index 00000000..70d83478
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libedit.package
@@ -0,0 +1,12 @@
+: ${PKG_LIBEDIT_DEPENDS:="ncurses"};
+: ${PKG_LIBEDIT_SHA256SUM:=6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5};
+: ${PKG_LIBEDIT_VERSION:=20210910-3.1};
+: ${PKG_LIBEDIT_URL:=https://www.thrysoee.dk/editline/libedit-${PKG_LIBEDIT_VERSION}.tar.gz};
+: ${PKG_LIBEDIT_CFLAGS_CONFIGURE_EXTRA:="--include=stdc-predef.h -I${PREFIX_NATIVE}/include/ncurses"};
+: ${PKG_LIBEDITLINE_SHA256SUM:=df223b3333a545fddbc67b49ded3d242c66fadf7a04beb3ada20957fcd1ffc0e};
+: ${PKG_LIBEDITLINE_VERSION:=1.17.1};
+: ${PKG_LIBEDITLINE_URL:=https://github.com/troglobit/editline/releases/download/${PKG_LIBEDITLINE_VERSION}/editline-${PKG_LIBEDITLINE_VERSION}.tar.xz};
+
+ex_pkg_register "libedit" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libelf.package b/groups.d/251.native_packages_lib.d/libelf.package
new file mode 100644
index 00000000..7b3ef7c1
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libelf.package
@@ -0,0 +1,10 @@
+: ${PKG_LIBELF_SHA256SUM:=591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d};
+: ${PKG_LIBELF_VERSION:=0.8.13};
+: ${PKG_LIBELF_URL:=https://fossies.org/linux/misc/old/libelf-${PKG_LIBELF_VERSION}.tar.gz};
+: ${PKG_LIBELF_CONFIGURE_ARGS:="--disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET}"};
+: ${PKG_LIBELF_MAKE_INSTALL_VNAME:=prefix};
+: ${PKG_LIBELF_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/libelf/libelf-${PKG_LIBELF_VERSION}.midipix.patch"};
+
+ex_pkg_register "libelf" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libestr.package b/groups.d/251.native_packages_lib.d/libestr.package
new file mode 100644
index 00000000..a32139d1
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libestr.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBESTR_SHA256SUM:=46632b2785ff4a231dcf241eeb0dcb5fc0c7d4da8ee49cf5687722cdbe8b2024};
+: ${PKG_LIBESTR_VERSION:=0.1.11};
+: ${PKG_LIBESTR_URL:=http://libestr.adiscon.com/files/download/libestr-${PKG_LIBESTR_VERSION}.tar.gz};
+
+ex_pkg_register "libestr" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libevent.package b/groups.d/251.native_packages_lib.d/libevent.package
new file mode 100644
index 00000000..056f8ad8
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libevent.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBEVENT_DEPENDS:="libressl"};
+: ${PKG_LIBEVENT_SHA256SUM:=92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb};
+: ${PKG_LIBEVENT_VERSION:=2.1.12-stable};
+: ${PKG_LIBEVENT_URL:=https://github.com/libevent/libevent/releases/download/release-${PKG_LIBEVENT_VERSION}/libevent-${PKG_LIBEVENT_VERSION}.tar.gz};
+: ${PKG_LIBEVENT_CONFIG_CACHE_EXTRA:="ac_pe_target=true"};
+
+ex_pkg_register "libevent" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libexif.package b/groups.d/251.native_packages_lib.d/libexif.package
new file mode 100644
index 00000000..3470ea33
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libexif.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBEXIF_SHA256SUM:=d47564c433b733d83b6704c70477e0a4067811d184ec565258ac563d8223f6ae};
+: ${PKG_LIBEXIF_VERSION:=0.6.24};
+: ${PKG_LIBEXIF_URL:=https://github.com/libexif/libexif/releases/download/v${PKG_LIBEXIF_VERSION}/libexif-${PKG_LIBEXIF_VERSION}.tar.bz2};
+
+ex_pkg_register "libexif" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libfastjson.package b/groups.d/251.native_packages_lib.d/libfastjson.package
new file mode 100644
index 00000000..638d502e
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libfastjson.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBFASTJSON_SHA256SUM:=3544c757668b4a257825b3cbc26f800f59ef3c1ff2a260f40f96b48ab1d59e07};
+: ${PKG_LIBFASTJSON_VERSION:=0.99.8};
+: ${PKG_LIBFASTJSON_URL:=http://download.rsyslog.com/libfastjson/libfastjson-${PKG_LIBFASTJSON_VERSION}.tar.gz};
+
+ex_pkg_register "libfastjson" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libfetch.package b/groups.d/251.native_packages_lib.d/libfetch.package
new file mode 100644
index 00000000..2fbb0565
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libfetch.package
@@ -0,0 +1,12 @@
+: ${PKG_LIBFETCH_DEPENDS:="libressl"};
+: ${PKG_LIBFETCH_SHA256SUM:=3226f53d5ad29cc27510db968ef0d37bf4554b8aaaeadcd56e23067213b08943};
+: ${PKG_LIBFETCH_VERSION:=2.33};
+: ${PKG_LIBFETCH_URL:=https://sources.archlinux.org/other/libfetch/libfetch-${PKG_LIBFETCH_VERSION}.tar.gz};
+: ${PKG_LIBFETCH_ENV_VARS_EXTRA:=CFLAGS=--sysroot=${PREFIX_NATIVE}:LDFLAGS=--sysroot=${PREFIX_NATIVE}};
+: ${PKG_LIBFETCH_IN_TREE:=1};
+: ${PKG_LIBFETCH_MAKEFLAGS_BUILD_EXTRA_LIST:="E=echo:Q=:AR=${DEFAULT_TARGET}-ar:CC=${DEFAULT_NATIVE_CC}:LD=${DEFAULT_NATIVE_CCLD}"};
+: ${PKG_LIBFETCH_MAKEFLAGS_INSTALL_EXTRA:="E=echo Q="};
+
+ex_pkg_register "libfetch" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libffi.package b/groups.d/251.native_packages_lib.d/libffi.package
new file mode 100644
index 00000000..21e4d940
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libffi.package
@@ -0,0 +1,13 @@
+: ${PKG_LIBFFI_SHA256SUM:=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37};
+: ${PKG_LIBFFI_VERSION:=3.2.1};
+: ${PKG_LIBFFI_URL:=ftp://sourceware.org/pub/libffi/libffi-${PKG_LIBFFI_VERSION}.tar.gz};
+: ${PKG_LIBFFI_CFLAGS_CONFIGURE_EXTRA:=-D_WIN64};
+: ${PKG_LIBFFI_ENV_VARS_EXTRA:="MAKE=make LIBTOOL=slibtool"};
+: ${PKG_LIBFFI_INSTALL_FILES_V2:="
+ +lib/libffi-${PKG_LIBFFI_VERSION}/include/ffi.h=include/%[FNAME]
+ +lib/libffi-${PKG_LIBFFI_VERSION}/include/ffitarget.h=include/%[FNAME]"};
+: ${PKG_LIBFFI_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/libffi/libffi-${PKG_LIBFFI_VERSION}.midipix.patch"};
+
+ex_pkg_register "libffi" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libfirm.package b/groups.d/251.native_packages_lib.d/libfirm.package
new file mode 100644
index 00000000..929057f0
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libfirm.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBFIRM_URLS_GIT:="libfirm=https://github.com/lalbornoz/libfirm@main bfirm=${DEFAULT_GITROOT}/compilers/bfirm@main"};
+: ${PKG_LIBFIRM_BUILD_DIR:=build/libfirm};
+: ${PKG_LIBFIRM_CONFIGURE:=bfirm/configure};
+: ${PKG_LIBFIRM_CONFIGURE_ARGS:="--source-dir=../../libfirm --prefix="};
+
+ex_pkg_register "libfirm" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libflac.package b/groups.d/251.native_packages_lib.d/libflac.package
new file mode 100644
index 00000000..f41cae3d
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libflac.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBFLAC_DEPENDS:="libogg libiconv"};
+: ${PKG_LIBFLAC_SHA256SUM:=6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70};
+: ${PKG_LIBFLAC_VERSION:=1.4.3};
+: ${PKG_LIBFLAC_URL:=https://ftp.osuosl.org/pub/xiph/releases/flac/flac-${PKG_LIBFLAC_VERSION}.tar.xz};
+: ${PKG_LIBFLAC_CONFIGURE_ARGS_EXTRA:="--with-ogg=yes --disable-stack-smash-protection"};
+
+ex_pkg_register "libflac" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libgcrypt.package b/groups.d/251.native_packages_lib.d/libgcrypt.package
new file mode 100644
index 00000000..5b6fadac
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libgcrypt.package
@@ -0,0 +1,13 @@
+: ${PKG_LIBGCRYPT_DEPENDS:="libgpg_error"};
+: ${PKG_LIBGCRYPT_SHA256SUM:=8b0870897ac5ac67ded568dcfadf45969cfa8a6beb0fd60af2a9eadc2a3272aa};
+: ${PKG_LIBGCRYPT_VERSION:=1.10.3};
+: ${PKG_LIBGCRYPT_URL:=https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${PKG_LIBGCRYPT_VERSION}.tar.bz2};
+: ${PKG_LIBGCRYPT_CONFIG_CACHE_EXTRA:="
+gcry_cv_broken_visibility_attribute=no
+gcry_cv_visibility_attribute=yes
+ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
+: ${PKG_LIBGCRYPT_CONFIGURE_ARGS_EXTRA:=--with-libgpg-error-prefix=${PREFIX_NATIVE} --disable-asm --disable-padlock-support --disable-aesni-support --disable-pclmul-support --disable-sse41-support --disable-drng-support --disable-avx-support --disable-avx2-support --disable-amd64-as-feature-detection};
+
+ex_pkg_register "libgcrypt" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libglob.package b/groups.d/251.native_packages_lib.d/libglob.package
new file mode 100644
index 00000000..73c19f69
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libglob.package
@@ -0,0 +1,6 @@
+: ${PKG_LIBGLOB_URLS_GIT:=libglob=https://github.com/void-linux/libglob.git@master};
+: ${PKG_LIBGLOB_BUILD_DIR:=libglob};
+
+ex_pkg_register "libglob" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libgpg_error.package b/groups.d/251.native_packages_lib.d/libgpg_error.package
new file mode 100644
index 00000000..122c3d9d
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libgpg_error.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBGPG_ERROR_SHA256SUM:=64b078b45ac3c3003d7e352a5e05318880a5778c42331ce1ef33d1a0d9922742};
+: ${PKG_LIBGPG_ERROR_VERSION:=1.41};
+: ${PKG_LIBGPG_ERROR_URL:=https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${PKG_LIBGPG_ERROR_VERSION}.tar.bz2};
+: ${PKG_LIBGPG_ERROR_FORCE_AUTORECONF:=1};
+: ${PKG_LIBGPG_ERROR_IN_TREE:=1};
+
+ex_pkg_register "libgpg_error" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libgsasl.package b/groups.d/251.native_packages_lib.d/libgsasl.package
new file mode 100644
index 00000000..9211c038
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libgsasl.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBGSASL_DEPENDS:="libgcrypt"};
+: ${PKG_LIBGSASL_SHA256SUM:=f1b553384dedbd87478449775546a358d6f5140c15cccc8fb574136fdc77329f};
+: ${PKG_LIBGSASL_VERSION:=1.10.0};
+: ${PKG_LIBGSASL_URL:=https://ftp.gnu.org/gnu/gsasl/libgsasl-${PKG_LIBGSASL_VERSION}.tar.gz};
+: ${PKG_LIBGSASL_CONFIGURE_ARGS_EXTRA:="--disable-ntlm --disable-gssapi --disable-gs2 --disable-kerberos_v5 --disable-obsolete --with-libgcrypt --with-libgcrypt-prefix=${PREFIX_NATIVE}"};
+
+ex_pkg_register "libgsasl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libiconv.package b/groups.d/251.native_packages_lib.d/libiconv.package
new file mode 100644
index 00000000..a493818d
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libiconv.package
@@ -0,0 +1,11 @@
+: ${PKG_LIBICONV_SHA256SUM:=8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313};
+: ${PKG_LIBICONV_VERSION:=1.17};
+: ${PKG_LIBICONV_URL:=https://ftp.gnu.org/pub/gnu/libiconv/libiconv-${PKG_LIBICONV_VERSION}.tar.gz};
+: ${PKG_LIBICONV_CONFIGURE_ARGS_EXTRA:="--enable-extra-encodings"};
+: ${PKG_LIBICONV_INSTALL_FILES_V2:="
+ @../../native/include/iconv.h=%[_prefix]/../x86_64-nt64-midipix/include/iconv.v
+ +%[_files]/lib/pkgconfig/iconv.pc=lib/pkgconfig/iconv.pc"};
+
+ex_pkg_register "libiconv" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libidn.package b/groups.d/251.native_packages_lib.d/libidn.package
new file mode 100644
index 00000000..dcfddf78
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libidn.package
@@ -0,0 +1,13 @@
+: ${PKG_LIBIDN_DEPENDS:="libiconv"};
+: ${PKG_LIBIDN_SHA256SUM:=d6c199dcd806e4fe279360cb4b08349a0d39560ed548ffd1ccadda8cdecb4723};
+: ${PKG_LIBIDN_VERSION:=1.42};
+: ${PKG_LIBIDN_URL:=https://ftp.gnu.org/gnu/libidn/libidn-${PKG_LIBIDN_VERSION}.tar.gz};
+: ${PKG_LIBIDN_CONFIGURE_ARGS_EXTRA:="--disable-java --disable-csharp --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf"};
+: ${PKG_LIBIDN2_DEPENDS:="libunistring libiconv"};
+: ${PKG_LIBIDN2_SHA256SUM:=93caba72b4e051d1f8d4f5a076ab63c99b77faee019b72b9783b267986dbb45f};
+: ${PKG_LIBIDN2_VERSION:=2.3.4};
+: ${PKG_LIBIDN2_URL:=https://ftp.gnu.org/gnu/libidn/libidn2-${PKG_LIBIDN2_VERSION}.tar.gz};
+
+ex_pkg_register "libidn" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libite.package b/groups.d/251.native_packages_lib.d/libite.package
new file mode 100644
index 00000000..e86a8649
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libite.package
@@ -0,0 +1,6 @@
+: ${PKG_LIBITE_URLS_GIT:=libite=https://github.com/troglobit/libite.git@master};
+: ${PKG_LIBITE_SUBDIR:=libite};
+
+ex_pkg_register "libite" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libjpeg_turbo.package b/groups.d/251.native_packages_lib.d/libjpeg_turbo.package
new file mode 100644
index 00000000..488d44d6
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libjpeg_turbo.package
@@ -0,0 +1,10 @@
+: ${PKG_LIBJPEG_TURBO_SHA256SUM:=22429507714ae147b3acacd299e82099fce5d9f456882fc28e252e4579ba2a75};
+: ${PKG_LIBJPEG_TURBO_VERSION:=3.0.1};
+: ${PKG_LIBJPEG_TURBO_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/libjpeg-turbo/libjpeg-turbo-${PKG_LIBJPEG_TURBO_VERSION}.tar.gz};
+: ${PKG_LIBJPEG_TURBO_CMAKE_ARGS_EXTRA:="
+ -DWITH_SIMD=OFF
+ -DWITH_JPEG8=ON"};
+
+ex_pkg_register "libjpeg_turbo" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libksba.package b/groups.d/251.native_packages_lib.d/libksba.package
new file mode 100644
index 00000000..8d1b35ea
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libksba.package
@@ -0,0 +1,13 @@
+: ${PKG_LIBKSBA_DEPENDS:="libgpg_error"};
+: ${PKG_LIBKSBA_SHA256SUM:=bbb43f032b9164d86c781ffe42213a83bf4f2fee91455edfa4654521b8b03b6b};
+: ${PKG_LIBKSBA_VERSION:=1.6.4};
+: ${PKG_LIBKSBA_URL:=https://www.gnupg.org/ftp/gcrypt/libksba/libksba-${PKG_LIBKSBA_VERSION}.tar.bz2};
+: ${PKG_LIBKSBA_CONFIG_CACHE_EXTRA:="
+ksba_cv_broken_visibility_attribute=no
+ksba_cv_visibility_attribute=yes
+ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
+: ${PKG_LIBKSBA_CONFIGURE_ARGS_EXTRA:=--with-libgpg-error-prefix=${PREFIX_NATIVE}};
+
+ex_pkg_register "libksba" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libmad.package b/groups.d/251.native_packages_lib.d/libmad.package
new file mode 100644
index 00000000..3a017aab
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libmad.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBMAD_SHA256SUM:=bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690};
+: ${PKG_LIBMAD_VERSION:=0.15.1b};
+: ${PKG_LIBMAD_URL:=ftp://ftp.mars.org/pub/mpeg/libmad-${PKG_LIBMAD_VERSION}.tar.gz};
+: ${PKG_LIBMAD_CONFIGURE_ARGS_EXTRA:="--enable-fpm=64bit --enable-accuracy"};
+
+ex_pkg_register "libmad" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libmd.package b/groups.d/251.native_packages_lib.d/libmd.package
new file mode 100644
index 00000000..1a16d938
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libmd.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBMD_SHA256SUM:=1bd6aa42275313af3141c7cf2e5b964e8b1fd488025caf2f971f43b00776b332};
+: ${PKG_LIBMD_VERSION:=1.1.0};
+: ${PKG_LIBMD_URL:=https://archive.hadrons.org/software/libmd/libmd-${PKG_LIBMD_VERSION}.tar.xz};
+
+ex_pkg_register "libmd" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libmp3splt.package b/groups.d/251.native_packages_lib.d/libmp3splt.package
new file mode 100644
index 00000000..d045785d
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libmp3splt.package
@@ -0,0 +1,10 @@
+: ${PKG_LIBMP3SPLT_SHA256SUM:=30eed64fce58cb379b7cc6a0d8e545579cb99d0f0f31eb00b9acc8aaa1b035dc};
+: ${PKG_LIBMP3SPLT_DEPENDS:="pcre libflac libogg libvorbis libmad"};
+: ${PKG_LIBMP3SPLT_VERSION:=0.9.2};
+: ${PKG_LIBMP3SPLT_URL:=https://ftp.fau.de/macports/distfiles/libmp3splt/libmp3splt-${PKG_LIBMP3SPLT_VERSION}.tar.gz};
+: ${PKG_LIBMP3SPLT_CONFIGURE_ARGS_EXTRA:="--disable-cutter --disable-id3tag --disable-optimise --with-ogg=${PREFIX_NATIVE} --with-vorbis=${PREFIX_NATIVE} --with-mad=${PREFIX_NATIVE}"};
+: ${PKG_LIBMP3SPLT_FORCE_AUTORECONF:=1};
+
+ex_pkg_register "libmp3splt" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libmspack.package b/groups.d/251.native_packages_lib.d/libmspack.package
new file mode 100644
index 00000000..ba376d17
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libmspack.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBMSPACK_SHA256SUM:=70dd1fb2f0aecc36791b71a1e1840e62173079eadaa081192d1c323a0eeea21b};
+: ${PKG_LIBMSPACK_VERSION:=0.11alpha};
+: ${PKG_LIBMSPACK_URL:=https://www.cabextract.org.uk/libmspack/libmspack-${PKG_LIBMSPACK_VERSION}.tar.gz};
+
+ex_pkg_register "libmspack" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libogg.package b/groups.d/251.native_packages_lib.d/libogg.package
new file mode 100644
index 00000000..dde1e775
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libogg.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBOGG_SHA256SUM:=c4d91be36fc8e54deae7575241e03f4211eb102afb3fc0775fbbc1b740016705};
+: ${PKG_LIBOGG_VERSION:=1.3.5};
+: ${PKG_LIBOGG_URL:=https://ftp.osuosl.org/pub/xiph/releases/ogg/libogg-${PKG_LIBOGG_VERSION}.tar.xz};
+
+ex_pkg_register "libogg" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libpcap.package b/groups.d/251.native_packages_lib.d/libpcap.package
new file mode 100644
index 00000000..2e9a5b48
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libpcap.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBPCAP_SHA256SUM:=8ac670de8dd6eff39441580c67f0520f326773422bbf89fdffcd269bd0cfddde};
+: ${PKG_LIBPCAP_VERSION:=1.9.1};
+: ${PKG_LIBPCAP_URL:=https://github.com/the-tcpdump-group/libpcap/archive/libpcap-${PKG_LIBPCAP_VERSION}.tar.gz};
+: ${PKG_LIBPCAP_CONFIG_CACHE_EXTRA:="ac_cv_lbl_unaligned_fail=no"};
+: ${PKG_LIBPCAP_SUBDIR:="libpcap-libpcap-${PKG_LIBPCAP_VERSION}"};
+
+ex_pkg_register "libpcap" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libpng.package b/groups.d/251.native_packages_lib.d/libpng.package
new file mode 100644
index 00000000..cb6f54db
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libpng.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBPNG_DEPENDS:="libz"};
+: ${PKG_LIBPNG_SHA256SUM:=6a5ca0652392a2d7c9db2ae5b40210843c0bbc081cbd410825ab00cc59f14a6c};
+: ${PKG_LIBPNG_VERSION:=1.6.43};
+: ${PKG_LIBPNG_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/libpng/libpng-${PKG_LIBPNG_VERSION}.tar.xz};
+
+ex_pkg_register "libpng" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libpsl.package b/groups.d/251.native_packages_lib.d/libpsl.package
new file mode 100644
index 00000000..7c72f724
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libpsl.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBPSL_DEPENDS:="libidn2 libunistring libiconv"}
+: ${PKG_LIBPSL_SHA256SUM:=e35991b6e17001afa2c0ca3b10c357650602b92596209b7492802f3768a6285f};
+: ${PKG_LIBPSL_VERSION:=0.21.2};
+: ${PKG_LIBPSL_URL:=https://github.com/rockdaboot/libpsl/releases/download/${PKG_LIBPSL_VERSION}/libpsl-${PKG_LIBPSL_VERSION}.tar.gz};
+
+ex_pkg_register "libpsl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libredwg.package b/groups.d/251.native_packages_lib.d/libredwg.package
new file mode 100644
index 00000000..a419f765
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libredwg.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBREDWG_SHA256SUM:=dd906f59d71b26c13fd2420f50fc50bea666fd54acc764d8c344f7f89d5ab94e};
+: ${PKG_LIBREDWG_VERSION:=0.13};
+: ${PKG_LIBREDWG_URL:=https://ftp.gnu.org/gnu/libredwg/libredwg-${PKG_LIBREDWG_VERSION}.tar.xz};
+: ${PKG_LIBREDWG_CONFIGURE_ARGS_EXTRA:="--disable-python --disable-bindings --disable-werror --enable-compile-warnings=yes"};
+
+ex_pkg_register "libredwg" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libressl.package b/groups.d/251.native_packages_lib.d/libressl.package
new file mode 100644
index 00000000..18ddfe7e
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libressl.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBRESSL_SHA256SUM:=6da0b954695f7ee62b03f64200a8a4f02af93717b60cce04ab6c8df262c07a51};
+: ${PKG_LIBRESSL_VERSION:=3.9.1};
+: ${PKG_LIBRESSL_URL:=https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${PKG_LIBRESSL_VERSION}.tar.gz};
+: ${PKG_LIBRESSL_CONFIGURE_ARGS_EXTRA:=--disable-asm --enable-nc};
+
+ex_pkg_register "libressl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libsasl2.package b/groups.d/251.native_packages_lib.d/libsasl2.package
new file mode 100644
index 00000000..dd954fff
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libsasl2.package
@@ -0,0 +1,10 @@
+: ${PKG_LIBSASL2_DEPENDS:="libressl"};
+: ${PKG_LIBSASL2_SHA256SUM:=7ccfc6abd01ed67c1a0924b353e526f1b766b21f42d4562ee635a8ebfc5bb38c};
+: ${PKG_LIBSASL2_VERSION:=2.1.28};
+: ${PKG_LIBSASL2_URL:="https://ftp.osuosl.org/pub/blfs/conglomeration/cyrus-sasl/cyrus-sasl-${PKG_LIBSASL2_VERSION}.tar.gz"};
+: ${PKG_LIBSASL2_CONFIGURE_ARGS_EXTRA:="--cache-file=../obj/config.cache"};
+: ${PKG_LIBSASL2_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "libsasl2" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libshine.package b/groups.d/251.native_packages_lib.d/libshine.package
new file mode 100644
index 00000000..483815ce
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libshine.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBSHINE_SHA256SUM:=58e61e70128cf73f88635db495bfc17f0dde3ce9c9ac070d505a0cd75b93d384};
+: ${PKG_LIBSHINE_VERSION:=3.1.1};
+: ${PKG_LIBSHINE_URL:=https://github.com/toots/shine/releases/download/${PKG_LIBSHINE_VERSION}/shine-${PKG_LIBSHINE_VERSION}.tar.gz};
+: ${PKG_LIBSHINE_IN_TREE:=1};
+
+ex_pkg_register "libshine" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libsndfile.package b/groups.d/251.native_packages_lib.d/libsndfile.package
new file mode 100644
index 00000000..18d6a237
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libsndfile.package
@@ -0,0 +1,11 @@
+: ${PKG_LIBSNDFILE_DEPENDS:="mpg123 lame libflac libogg libzip opus sqlite3"};
+: ${PKG_LIBSNDFILE_SHA256SUM:=0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a};
+: ${PKG_LIBSNDFILE_VERSION:=1.2.0};
+: ${PKG_LIBSNDFILE_URL:=https://github.com/libsndfile/libsndfile/releases/download/${PKG_LIBSNDFILE_VERSION}/libsndfile-${PKG_LIBSNDFILE_VERSION}.tar.xz};
+: ${PKG_LIBSNDFILE_CONFIGURE_ARGS_EXTRA:="--disable-alsa"};
+: ${PKG_LIBSNDFILE_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports -DWINAPI_ANSI_DEFAULT"};
+: ${PKG_LIBSNDFILE_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -lkernel32 -lwinmm"};
+
+ex_pkg_register "libsndfile" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libsolv.package b/groups.d/251.native_packages_lib.d/libsolv.package
new file mode 100644
index 00000000..3f05b8b1
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libsolv.package
@@ -0,0 +1,29 @@
+: ${PKG_LIBSOLV_DEPENDS:="bzip2 libxml2 libz musl_compat rpm"};
+: ${PKG_LIBSOLV_SHA256SUM:=153eb48814ffdbac396c98126037cf45c07e2b7087a61f86eb18a75ea1ab134b};
+: ${PKG_LIBSOLV_VERSION:=0.6.34};
+: ${PKG_LIBSOLV_URL:=https://github.com/openSUSE/libsolv/archive/${PKG_LIBSOLV_VERSION}.tar.gz};
+: ${PKG_LIBSOLV_SUBDIR:=libsolv-${PKG_LIBSOLV_VERSION}};
+: ${PKG_LIBSOLV_CMAKE_ARGS_EXTRA:="
+ -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a
+ -DENABLE_APPDATA:BOOL=ON
+ -DENABLE_BZIP2_COMPRESSION:BOOL=ON
+ -DENABLE_COMPLEX_DEPS:BOOL=ON
+ -DENABLE_COMPS:BOOL=ON
+ -DENABLE_LZMA_COMPRESSION:BOOL=ON
+ -DENABLE_RPMDB:BOOL=ON
+ -DENABLE_RPMDB_BYRPMHEADER:BOOL=ON
+ -DENABLE_RPMDB_LIBRPM:BOOL=ON
+ -DENABLE_RPMMD:BOOL=ON
+ -DENABLE_RPMPKG_LIBRPM:BOOL=ON
+ -DFEDORA=1
+ -DLIBXML2_LIBRARIES=${PREFIX_NATIVE}/lib/libxml2.lib.a
+ -DLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a
+ -DRPMIO_LIBRARY=${PREFIX_NATIVE}/lib/librpmio.so
+ -DWITH_LIBXML2:BOOL=ON
+ -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
+
+ex_pkg_register "libsolv" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libssh.package b/groups.d/251.native_packages_lib.d/libssh.package
new file mode 100644
index 00000000..9ad07b5d
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libssh.package
@@ -0,0 +1,15 @@
+: ${PKG_LIBSSH_DEPENDS:="libz"};
+: ${PKG_LIBSSH_SHA256SUM:=1861d498f5b6f1741b6abc73e608478491edcf9c9d4b6630eef6e74596de9dc1};
+: ${PKG_LIBSSH_VERSION:=0.10.6};
+: ${PKG_LIBSSH_URL:=https://www.libssh.org/files/${PKG_LIBSSH_VERSION%.*}/libssh-${PKG_LIBSSH_VERSION}.tar.xz};
+: ${PKG_LIBSSH_SUBDIR:=libssh-${PKG_LIBSSH_VERSION}};
+: ${PKG_LIBSSH_CMAKE_ARGS_EXTRA:="
+ -DWITH_EXAMPLES=OFF
+ -DWITH_GCRYPT=ON
+ -DWITH_SYMBOL_VERSIONING=OFF
+ -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.lib.a"};
+
+ex_pkg_register "libssh" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libstrophe.package b/groups.d/251.native_packages_lib.d/libstrophe.package
new file mode 100644
index 00000000..fedcc09c
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libstrophe.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBSTROPHE_DEPENDS:="libressl expat"};
+: ${PKG_LIBSTROPHE_SHA256SUM:=b3c79b6deeafafc0f622ba3ee3ca67e9a8e7d75edb102588c6b6f52b38c9fa4b};
+: ${PKG_LIBSTROPHE_VERSION=0.12.2};
+: ${PKG_LIBSTROPHE_URL:=https://github.com/strophe/libstrophe/releases/download/${PKG_LIBSTROPHE_VERSION}/libstrophe-${PKG_LIBSTROPHE_VERSION}.tar.xz};
+
+ex_pkg_register "libstrophe" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libtasn1.package b/groups.d/251.native_packages_lib.d/libtasn1.package
new file mode 100644
index 00000000..9257cf01
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libtasn1.package
@@ -0,0 +1,12 @@
+: ${PKG_LIBTASN1_SHA256SUM:=1613f0ac1cf484d6ec0ce3b8c06d56263cc7242f1c23b30d82d23de345a63f7a};
+: ${PKG_LIBTASN1_VERSION:=4.19.0};
+: ${PKG_LIBTASN1_URL:=https://ftp.gnu.org/gnu/libtasn1/libtasn1-${PKG_LIBTASN1_VERSION}.tar.gz};
+: ${PKG_LIBTASN1_CONFIGURE_ARGS_EXTRA:="--disable-static"};
+: ${PKG_LIBTASN1_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
+: ${PKG_LIBTASN1_LIBTOOL=rdlibtool};
+: ${PKG_LIBTASN1_CONFIG_CACHE_EXTRA:="
+gl_cv_ld_output_def=no"};
+
+ex_pkg_register "libtasn1" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libtelnet.package b/groups.d/251.native_packages_lib.d/libtelnet.package
new file mode 100644
index 00000000..d81d03f2
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libtelnet.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBTELNET_DEPENDS:="libz"};
+: ${PKG_LIBTELNET_SHA256SUM:=d2f01a9dc0cc01777844b6d27f0f836dad9a4b9a32a31c7bbde0762480262f25};
+: ${PKG_LIBTELNET_VERSION:=0.23};
+: ${PKG_LIBTELNET_URL:=https://github.com/seanmiddleditch/libtelnet/releases/download/${PKG_LIBTELNET_VERSION}/libtelnet-${PKG_LIBTELNET_VERSION}.tar.gz};
+
+ex_pkg_register "libtelnet" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libtheora.package b/groups.d/251.native_packages_lib.d/libtheora.package
new file mode 100644
index 00000000..d2ff9fbf
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libtheora.package
@@ -0,0 +1,10 @@
+: ${PKG_LIBTHEORA_DEPENDS:="libvorbis"};
+: ${PKG_LIBTHEORA_SHA256SUM:=b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc};
+: ${PKG_LIBTHEORA_VERSION:=1.1.1};
+: ${PKG_LIBTHEORA_URL:=http://downloads.xiph.org/releases/theora/libtheora-${PKG_LIBTHEORA_VERSION}.tar.bz2};
+: ${PKG_LIBTHEORA_IN_TREE:=1};
+: ${PKG_LIBTHEORA_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "libtheora" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libtirpc.package b/groups.d/251.native_packages_lib.d/libtirpc.package
new file mode 100644
index 00000000..98c75a92
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libtirpc.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBTIRPC_DEPENDS:="musl_compat"};
+: ${PKG_LIBTIRPC_SHA256SUM:=245895caf066bec5e3d4375942c8cb4366adad184c29c618d97f724ea309ee17};
+: ${PKG_LIBTIRPC_VERSION:=1.3.1};
+: ${PKG_LIBTIRPC_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/libtirpc/libtirpc-${PKG_LIBTIRPC_VERSION}.tar.bz2};
+: ${PKG_LIBTIRPC_CONFIGURE_ARGS_EXTRA:="--disable-gssapi"};
+
+ex_pkg_register "libtirpc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libudns.package b/groups.d/251.native_packages_lib.d/libudns.package
new file mode 100644
index 00000000..db7ea97c
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libudns.package
@@ -0,0 +1,5 @@
+: ${PKG_LIBUDNS_URLS_GIT:=libudns=https://github.com/shadowsocks/libudns.git@master};
+
+ex_pkg_register "libudns" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libunistring.package b/groups.d/251.native_packages_lib.d/libunistring.package
new file mode 100644
index 00000000..6284c077
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libunistring.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBUNISTRING_SHA256SUM:=827c1eb9cb6e7c738b171745dac0888aa58c5924df2e59239318383de0729b98};
+: ${PKG_LIBUNISTRING_VERSION:=1.1};
+: ${PKG_LIBUNISTRING_URL:=https://ftp.gnu.org/gnu/libunistring/libunistring-${PKG_LIBUNISTRING_VERSION}.tar.xz};
+
+ex_pkg_register "libunistring" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libuv.package b/groups.d/251.native_packages_lib.d/libuv.package
new file mode 100644
index 00000000..f03d9f78
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libuv.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBUV_SHA256SUM:=7cbcf2017e7116cf9da8ec1c6a146d578536b1e479458438873c991f984a53d7};
+: ${PKG_LIBUV_VERSION:=1.19.2};
+: ${PKG_LIBUV_URL:=https://dist.libuv.org/dist/v${PKG_LIBUV_VERSION}/libuv-v${PKG_LIBUV_VERSION}.tar.gz};
+
+ex_pkg_register "libuv" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libvorbis.package b/groups.d/251.native_packages_lib.d/libvorbis.package
new file mode 100644
index 00000000..94bdcbe9
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libvorbis.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBVORBIS_DEPENDS:="libogg"};
+: ${PKG_LIBVORBIS_SHA256SUM:=b33cc4934322bcbf6efcbacf49e3ca01aadbea4114ec9589d1b1e9d20f72954b};
+: ${PKG_LIBVORBIS_VERSION:=1.3.7};
+: ${PKG_LIBVORBIS_URL:=https://ftp.osuosl.org/pub/xiph/releases/vorbis/libvorbis-${PKG_LIBVORBIS_VERSION}.tar.xz};
+
+ex_pkg_register "libvorbis" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libwebp.package b/groups.d/251.native_packages_lib.d/libwebp.package
new file mode 100644
index 00000000..3101ed33
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libwebp.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBWEBP_DEPENDS:="tiff giflib libpng"};
+: ${PKG_LIBWEBP_SHA256SUM:=2a499607df669e40258e53d0ade8035ba4ec0175244869d1025d460562aa09b4};
+: ${PKG_LIBWEBP_VERSION:=1.3.2};
+: ${PKG_LIBWEBP_URL:=https://sources.voidlinux.org/libwebp-${PKG_LIBWEBP_VERSION}/libwebp-${PKG_LIBWEBP_VERSION}.tar.gz};
+: ${PKG_LIBWEBP_CONFIGURE_ARGS_EXTRA:="--disable-gl --disable-sdl --disable-sse4.1 --enable-libwebpdecoder --enable-libwebpextras --with-pnglibdir=${PREFIX_NATIVE} --with-pngincludedir=${PREFIX_NATIVE}"};
+
+ex_pkg_register "libwebp" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libxml2.package b/groups.d/251.native_packages_lib.d/libxml2.package
new file mode 100644
index 00000000..dcb813db
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libxml2.package
@@ -0,0 +1,12 @@
+: ${PKG_LIBXML2_DEPENDS:="libz xz libiconv"};
+: ${PKG_LIBXML2_SHA256SUM:=889c593a881a3db5fdd96cc9318c87df34eb648edfc458272ad46fd607353fbb};
+: ${PKG_LIBXML2_VERSION:=2.12.6};
+: ${PKG_LIBXML2_URL:=https://download.gnome.org/sources/libxml2/${PKG_LIBXML2_VERSION%.*}/libxml2-${PKG_LIBXML2_VERSION}.tar.xz};
+: ${PKG_LIBXML2_CONFIGURE_ARGS_EXTRA:="--with-python=no"};
+: ${PKG_LIBXML2_INSTALL_FILES_V2:="
+ +%[_files]/bin/\%[_target]-xml2-config=bin/%[_target]-xml2-config
+ m0755=bin/%[_target]-xml2-config"};
+
+ex_pkg_register "libxml2" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libxslt.package b/groups.d/251.native_packages_lib.d/libxslt.package
new file mode 100644
index 00000000..e174a752
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libxslt.package
@@ -0,0 +1,10 @@
+: ${PKG_LIBXSLT_DEPENDS:="libxml2 libgcrypt"};
+: ${PKG_LIBXSLT_SHA256SUM:=2a20ad621148339b0759c4d4e96719362dee64c9a096dbba625ba053846349f0};
+: ${PKG_LIBXSLT_VERSION:=1.1.39};
+: ${PKG_LIBXSLT_URL:=https://sources.voidlinux.org/libxslt-${PKG_LIBXSLT_VERSION}/libxslt-${PKG_LIBXSLT_VERSION}.tar.xz};
+: ${PKG_LIBXSLT_CONFIGURE_ARGS_EXTRA:="--without-python"};
+: ${PKG_LIBXSLT_FORCE_AUTORECONF:=1};
+
+ex_pkg_register "libxslt" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/libz.package b/groups.d/251.native_packages_lib.d/libz.package
new file mode 100644
index 00000000..040f3417
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/libz.package
@@ -0,0 +1,29 @@
+: ${PKG_LIBZ_SHA256SUM:=abcc2831b7a0e891d0875fa852e9b9510b420d843d3d20aad010f65493fe4f7b};
+: ${PKG_LIBZ_VERSION:=1.2.8.2015.12.26};
+: ${PKG_LIBZ_URL:=https://sortix.org/libz/release/libz-${PKG_LIBZ_VERSION}.tar.gz};
+: ${PKG_LIBZ_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
+: ${PKG_LIBZ_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET} --enable-shared"};
+: ${PKG_LIBZ_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
+: ${PKG_LIBZIP_DEPENDS:="bzip2 gnutls libz musl_fts nettle"};
+: ${PKG_LIBZIP_SHA256SUM:=a020dc1b17a79faa748e43a05f8605d65e403813e8e97ad3a300a90ddba097ac};
+: ${PKG_LIBZIP_VERSION:=1.7.1};
+: ${PKG_LIBZIP_URL:=https://libzip.org/download/libzip-${PKG_LIBZIP_VERSION}.tar.xz};
+: ${PKG_LIBZIP_CMAKE_ARGS_EXTRA:="
+ -DBZIP2_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a
+ -DENABLE_GNUTLS=:BOOL=ON
+ -DENABLE_MBEDTLS=:BOOL=OFF
+ -DGNUTLS_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DGNUTLS_LIBRARY=${PREFIX_NATIVE}/lib/libgnutls.lib.a
+ -DLIBLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DLIBLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a
+ -DNETTLE_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DNETTLE_LIBRARY=${PREFIX_NATIVE}/lib/libnettle.lib.a
+ -DOPENSSL_CRYPTO_LIBRARY=${PREFIX_NATIVE}/lib/libcrypto.lib.a
+ -DOPENSSL_SSL_LIBRARY=${PREFIX_NATIVE}/lib/libssl.lib.a
+ -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
+
+ex_pkg_register "libz" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/lzlib.package b/groups.d/251.native_packages_lib.d/lzlib.package
new file mode 100644
index 00000000..8537b008
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/lzlib.package
@@ -0,0 +1,9 @@
+: ${PKG_LZLIB_SHA256SUM:=5acac8714ed4f306020bae660dddce706e5f8a795863679037da9fe6bf4dcf6f};
+: ${PKG_LZLIB_VERSION:=1.14};
+: ${PKG_LZLIB_URL:=http://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-${PKG_LZLIB_VERSION}.tar.gz};
+: ${PKG_LZLIB_CONFIGURE_ARGS_LIST:="--prefix=:CC=${DEFAULT_NATIVE_CC}:AR=${DEFAULT_TARGET}-ar"};
+: ${PKG_LZLIB_CFLAGS_BUILD:=${DEFAULT_CFLAGS}};
+
+ex_pkg_register "lzlib" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/lzo.package b/groups.d/251.native_packages_lib.d/lzo.package
new file mode 100644
index 00000000..219fa1c3
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/lzo.package
@@ -0,0 +1,7 @@
+: ${PKG_LZO_SHA256SUM:=c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072};
+: ${PKG_LZO_VERSION:=2.10};
+: ${PKG_LZO_URL:=https://www.oberhumer.com/opensource/lzo/download/lzo-${PKG_LZO_VERSION}.tar.gz};
+
+ex_pkg_register "lzo" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/nettle.package b/groups.d/251.native_packages_lib.d/nettle.package
new file mode 100644
index 00000000..86acfdb4
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/nettle.package
@@ -0,0 +1,11 @@
+: ${PKG_NETTLE_SHA256SUM:=364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd41cbfe};
+: ${PKG_NETTLE_VERSION:=3.8.1};
+: ${PKG_NETTLE_URL:=https://ftp.gnu.org/gnu/nettle/nettle-${PKG_NETTLE_VERSION}.tar.gz};
+: ${PKG_NETTLE_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
+: ${PKG_NETTLE_CONFIG_CACHE_EXTRA:="nettle_cv_asm_underscore=no"};
+: ${PKG_NETTLE_INSTALL_FILES_V2:="m0755=lib/%<lib*.so>"};
+: ${PKG_NETTLE_MAKEFLAGS_PARALLELISE:="-j1"};
+
+ex_pkg_register "nettle" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/onig.package b/groups.d/251.native_packages_lib.d/onig.package
new file mode 100644
index 00000000..b836eb9d
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/onig.package
@@ -0,0 +1,7 @@
+: ${PKG_ONIG_SHA256SUM:=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf};
+: ${PKG_ONIG_VERSION:=6.9.9};
+: ${PKG_ONIG_URL:=https://github.com/kkos/oniguruma/releases/download/v${PKG_ONIG_VERSION}/onig-${PKG_ONIG_VERSION}.tar.gz};
+
+ex_pkg_register "onig" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/opus.package b/groups.d/251.native_packages_lib.d/opus.package
new file mode 100644
index 00000000..5950d8bd
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/opus.package
@@ -0,0 +1,8 @@
+: ${PKG_OPUS_SHA256SUM:=65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d};
+: ${PKG_OPUS_VERSION:=1.3.1};
+: ${PKG_OPUS_URL:=https://ftp.osuosl.org/pub/xiph/releases/opus/opus-${PKG_OPUS_VERSION}.tar.gz};
+: ${PKG_OPUS_CONFIGURE_ARGS_EXTRA:="--disable-intrinsics --disable-asm --disable-hardening"};
+
+ex_pkg_register "opus" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/readline.package b/groups.d/251.native_packages_lib.d/readline.package
new file mode 100644
index 00000000..772d8fcf
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/readline.package
@@ -0,0 +1,18 @@
+: ${PKG_READLINE_DEPENDS:="ncurses ncursestw ncursesw"};
+: ${PKG_READLINE_SHA256SUM:=3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35};
+: ${PKG_READLINE_VERSION:=8.2};
+: ${PKG_READLINE_URL:=https://ftp.gnu.org/gnu/readline/readline-${PKG_READLINE_VERSION}.tar.gz};
+: ${PKG_READLINE_CFLAGS_CONFIGURE:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }-I${PREFIX_NATIVE}/include"};
+: ${PKG_READLINE_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
+: ${PKG_READLINE_CONFIGURE_ARGS:="-C --disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET} --with-curses"};
+: ${PKG_READLINE_LDFLAGS_CONFIGURE:="${DEFAULT_LDFLAGS:+${DEFAULT_LDFLAGS} }-L${PREFIX_NATIVE}/lib"};
+: ${PKG_READLINE_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
+: ${PKG_READLINE_CONFIG_CACHE_EXTRA:="
+bash_cv_func_strcoll_broken=yes
+bash_cv_func_ctype_nonascii=no
+bash_cv_must_reinstall_sighandlers=no
+bash_cv_func_sigsetjmp=yes"};
+
+ex_pkg_register "readline" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/sdl1.package b/groups.d/251.native_packages_lib.d/sdl1.package
new file mode 100644
index 00000000..21576802
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/sdl1.package
@@ -0,0 +1,35 @@
+: ${PKG_SDL1_DEPENDS:="w32api w32lib"};
+: ${PKG_SDL1_SHA256SUM:=d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00};
+: ${PKG_SDL1_VERSION:=1.2.15};
+: ${PKG_SDL1_URL:=https://www.libsdl.org/release/SDL-${PKG_SDL1_VERSION}.tar.gz};
+: ${PKG_SDL1_CFLAGS_CONFIGURE_EXTRA:="-DWINAPI_ANSI_DEFAULT -I${PREFIX_NATIVE}/include/w32api.ports"};
+: ${PKG_SDL1_IN_TREE:=1};
+: ${PKG_SDL1_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib"};
+: ${PKG_SDL1_NET_DEPENDS:="sdl1"};
+: ${PKG_SDL1_NET_SHA256SUM:=5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4};
+: ${PKG_SDL1_NET_VERSION:=1.2.8};
+: ${PKG_SDL1_NET_URL:=https://www.libsdl.org/projects/SDL_net/release/SDL_net-${PKG_SDL1_NET_VERSION}.tar.gz};
+: ${PKG_SDL1_NET_CONFIGURE_ARGS_EXTRA:="--disable-gui"};
+: ${PKG_SDL1_MIXER_DEPENDS:="sdl1"};
+: ${PKG_SDL1_MIXER_SHA256SUM:=1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a};
+: ${PKG_SDL1_MIXER_VERSION:=1.2.12};
+: ${PKG_SDL1_MIXER_URL:=https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PKG_SDL1_MIXER_VERSION}.tar.gz};
+: ${PKG_SDL1_MIXER_CONFIGURE_ARGS_EXTRA:="--enable-music-mod=no --enable-music-mod-modplug=no --enable-music-midi=no --enable-music-fluidsynth-midi=no --enable-music-mp3=no"};
+: ${PKG_SDL1_MIXER_LDFLAGS_CONFIGURE:=-L${PREFIX_NATIVE}/lib};
+: ${PKG_SDL1_IMAGE_DEPENDS:="libz sdl1 libpng libjpeg_turbo tiff"};
+: ${PKG_SDL1_IMAGE_SHA256SUM:=0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699};
+: ${PKG_SDL1_IMAGE_VERSION:=1.2.12};
+: ${PKG_SDL1_IMAGE_URL:=https://www.libsdl.org/projects/SDL_image/release/SDL_image-${PKG_SDL1_IMAGE_VERSION}.tar.gz};
+: ${PKG_SDL1_IMAGE_CONFIGURE_ARGS_EXTRA:="--enable-jpg-shared --enable-png-shared --enable-tif-shared --disable-webp --disable-webp-shared"};
+: ${PKG_SDL1_TTF_DEPENDS:="sdl1 freetype libiconv"};
+: ${PKG_SDL1_TTF_SHA256SUM:=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7};
+: ${PKG_SDL1_TTF_VERSION:=2.0.11};
+: ${PKG_SDL1_TTF_URL:=https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PKG_SDL1_TTF_VERSION}.tar.gz};
+: ${PKG_SDL1_TTF_CONFIGURE_ARGS_EXTRA:="--with-freetype-prefix=${PREFIX_NATIVE} --without-x"};
+: ${PKG_SDL1_TTF_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2"};
+: ${PKG_SDL1_TTF_LDFLAGS_CONFIGURE_EXTRA:="-liconv"};
+: ${PKG_SDL1_TTF_IN_TREE:=1};
+
+ex_pkg_register "sdl1" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/sdl2.package b/groups.d/251.native_packages_lib.d/sdl2.package
new file mode 100644
index 00000000..381621bf
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/sdl2.package
@@ -0,0 +1,30 @@
+: ${PKG_SDL2_DEPENDS:="w32api w32lib"};
+: ${PKG_SDL2_SHA256SUM:=349268f695c02efbc9b9148a70b85e58cefbbf704abd3e91be654db7f1e2c863};
+: ${PKG_SDL2_VERSION:=2.0.12};
+: ${PKG_SDL2_URL:=https://www.libsdl.org/release/SDL2-${PKG_SDL2_VERSION}.tar.gz};
+: ${PKG_SDL2_CONFIG_CACHE_EXTRA:="ac_cv_func_strtod=yes"};
+: ${PKG_SDL2_CONFIGURE_ARGS_EXTRA:="--disable-video-vulkan --disable-video-opengles2 --disable-alsa --disable-static --disable-power"};
+: ${PKG_SDL2_CFLAGS_CONFIGURE_EXTRA:="-DWINAPI_UTF16_DEFAULT -DUNICODE -DWINVER=0x0601 -I${PREFIX_NATIVE}/include/w32api.ports -DSDL_DISABLE_WINDOWS_IME"};
+: ${PKG_SDL2_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -lkernel32 -luser32 -lgdi32 -limm32 -lshell32 -lu16ports"};
+: ${PKG_SDL2_MAKEFLAGS_PARALLELISE:="-j1"};
+: ${PKG_SDL2_IN_TREE:=1};
+: ${PKG_SDL2_FORCE_AUTORECONF:=1};
+: ${PKG_SDL2_IMAGE_DEPENDS:="sdl2 libz libpng libjpeg_turbo tiff"};
+: ${PKG_SDL2_IMAGE_SHA256SUM:=bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0};
+: ${PKG_SDL2_IMAGE_VERSION:=2.0.5};
+: ${PKG_SDL2_IMAGE_URL:=https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PKG_SDL2_IMAGE_VERSION}.tar.gz};
+: ${PKG_SDL2_TTF_DEPENDS:="sdl2 freetype"};
+: ${PKG_SDL2_TTF_SHA256SUM:=a9eceb1ad88c1f1545cd7bd28e7cbc0b2c14191d40238f531a15b01b1b22cd33};
+: ${PKG_SDL2_TTF_VERSION:=2.0.15};
+: ${PKG_SDL2_TTF_URL:=https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PKG_SDL2_TTF_VERSION}.tar.gz};
+: ${PKG_SDL2_TTF_CONFIGURE_ARGS_EXTRA:="--without-x"};
+: ${PKG_SDL2_TTF_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2"};
+: ${PKG_SDL2_NET_DEPENDS:="sdl2"};
+: ${PKG_SDL2_NET_SHA256SUM:=15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21};
+: ${PKG_SDL2_NET_VERSION:=2.0.1};
+: ${PKG_SDL2_NET_URL:=https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PKG_SDL2_NET_VERSION}.tar.gz};
+: ${PKG_SDL2_NET_CONFIGURE_ARGS_EXTRA:="--disable-gui"};
+
+ex_pkg_register "sdl2" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/twolame.package b/groups.d/251.native_packages_lib.d/twolame.package
new file mode 100644
index 00000000..10a6186c
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/twolame.package
@@ -0,0 +1,8 @@
+: ${PKG_TWOLAME_DEPENDS:="libsndfile"};
+: ${PKG_TWOLAME_SHA256SUM:=cc35424f6019a88c6f52570b63e1baf50f62963a3eac52a03a800bb070d7c87d};
+: ${PKG_TWOLAME_VERSION:=0.4.0};
+: ${PKG_TWOLAME_URL:=https://github.com/njh/twolame/releases/download/${PKG_TWOLAME_VERSION}/twolame-${PKG_TWOLAME_VERSION}.tar.gz};
+
+ex_pkg_register "twolame" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.d/wolfssl.package b/groups.d/251.native_packages_lib.d/wolfssl.package
new file mode 100644
index 00000000..b394bd12
--- /dev/null
+++ b/groups.d/251.native_packages_lib.d/wolfssl.package
@@ -0,0 +1,12 @@
+: ${PKG_WOLFSSL_DEPENDS:="libz"};
+: ${PKG_WOLFSSL_SHA256SUM:=2de93e8af588ee856fe67a6d7fce23fc1b226b74d710b0e3946bc8061f6aa18f};
+: ${PKG_WOLFSSL_VERSION:=5.7.0};
+: ${PKG_WOLFSSL_URL:=https://github.com/wolfSSL/wolfssl/archive/v${PKG_WOLFSSL_VERSION}-stable.tar.gz};
+: ${PKG_WOLFSSL_CONFIGURE_ARGS_EXTRA:="--enable-distro --disable-examples --enable-reproducible-build --enable-ed25519 --enable-ed25519-stream --with-libz=${PREFIX_NATIVE}"};
+: ${PKG_WOLFSSL_SUBDIR:=wolfssl-${PKG_WOLFSSL_VERSION}-stable};
+: ${PKG_WOLFSSL_INSTALL_FILES_V2:="
+ +../obj/wolfssl/options.h=include/wolfssl/%[FNAME]"};
+
+ex_pkg_register "wolfssl" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/251.native_packages_lib.group b/groups.d/251.native_packages_lib.group
deleted file mode 100644
index 36588e31..00000000
--- a/groups.d/251.native_packages_lib.group
+++ /dev/null
@@ -1,474 +0,0 @@
-#
-# Build group native_packages (libs)
-#
-GROUP_TARGET_APPEND="native_packages";
-NATIVE_PACKAGES_LIB_PACKAGES="
-aspell bearssl enchant fribidi glib hunspell ivykis jansson kvazaar lame libao libarchive libass libassuan libatomic_ops libdmtx libedit libeditline libelf libestr
-libevent libexif libfastjson libfetch libffi libfirm libflac libglob libgcrypt libgpg_error libgsasl libiconv libidn libidn2 libite
-libjpeg_turbo libksba libmad libmd libmspack libmp3splt libogg libpcap libpng libpsl
-readline libredwg libressl libsasl2 libshine libsndfile libsolv libssh
-libstrophe libtasn1 libtelnet libtheora libtirpc libudns libunistring
-libuv libvorbis libwebp libxml2 libxslt libz libzip lzlib lzo nettle onig opus sdl1 sdl1_net sdl1_mixer
-sdl1_image sdl1_ttf sdl2 sdl2_image sdl2_ttf sdl2_net twolame wolfssl";
-: ${PKG_ASPELL_DEPENDS:=ncursesw};
-: ${PKG_ASPELL_SHA256SUM:=f9b77e515334a751b2e60daab5db23499e26c9209f5e7b7443b05235ad0226f2};
-: ${PKG_ASPELL_VERSION:=0.60.8};
-: ${PKG_ASPELL_URL:=https://ftp.gnu.org/gnu/aspell/aspell-${PKG_ASPELL_VERSION}.tar.gz};
-: ${PKG_ASPELL_LDFLAGS_CONFIGURE_EXTRA:="-ltinfow"};
-: ${PKG_BEARSSL_SHA256SUM:=6705bba1714961b41a728dfc5debbe348d2966c117649392f8c8139efc83ff14};
-: ${PKG_BEARSSL_VERSION:=0.6};
-: ${PKG_BEARSSL_URL:=https://bearssl.org/bearssl-${PKG_BEARSSL_VERSION}.tar.gz};
-: ${PKG_BEARSSL_IN_TREE:=1};
-: ${PKG_BEARSSL_MAKEFLAGS_BUILD:="DESTDIR=${PREFIX_NATIVE}"};
-: ${PKG_ENCHANT_DEPENDS:="glib hunspell aspell"};
-: ${PKG_ENCHANT_SHA256SUM:=3da12103f11cf49c3cf2fd2ce3017575c5321a489e5b9bfa81dd91ec413f3891};
-: ${PKG_ENCHANT_VERSION:=2.3.3};
-: ${PKG_ENCHANT_URL:=https://github.com/AbiWord/enchant/releases/download/v${PKG_ENCHANT_VERSION}/enchant-${PKG_ENCHANT_VERSION}.tar.gz};
-: ${PKG_ENCHANT_CXXFLAGS_CONFIGURE_EXTRA:="-std=c++0x"};
-: ${PKG_FRIBIDI_SHA256SUM:=7fa16c80c81bd622f7b198d31356da139cc318a63fc7761217af4130903f54a2};
-: ${PKG_FRIBIDI_VERSION:=1.0.13};
-: ${PKG_FRIBIDI_URL:=https://github.com/fribidi/fribidi/releases/download/v${PKG_FRIBIDI_VERSION}/fribidi-${PKG_FRIBIDI_VERSION}.tar.xz};
-: ${PKG_GLIB_DEPENDS:="libffi libz pcre libiconv"};
-: ${PKG_GLIB_SHA256SUM:=d64abd16813501c956c4e123ae79f47f1b58de573df9fdd3b0795f1e2c1aa789};
-: ${PKG_GLIB_VERSION:=2.56.2};
-: ${PKG_GLIB_URL:="https://download.gnome.org/sources/glib/${PKG_GLIB_VERSION%.[0-9]}/glib-${PKG_GLIB_VERSION}.tar.xz https://ftp.pieskovisko.sk/slackware/slackware-current/source/l/glib2/glib-${PKG_GLIB_VERSION}.tar.xz"};
-: ${PKG_GLIB_CONFIGURE_ARGS_EXTRA:="--disable-dtrace --disable-libelf --disable-libmount --with-python=${PREFIX}/bin/python3 --with-libiconv=gnu"};
-: ${PKG_HUNSPELL_DEPENDS:="readline"};
-: ${PKG_HUNSPELL_SHA256SUM:=b2d9c5369c2cc7f321cb5983fda2dbf007dce3d9e17519746840a6f0c4bf7444};
-: ${PKG_HUNSPELL_VERSION:=1.7.1};
-: ${PKG_HUNSPELL_URL:=https://github.com/hunspell/hunspell/releases/download/v${PKG_HUNSPELL_VERSION}/hunspell-${PKG_HUNSPELL_VERSION}.tar.gz};
-: ${PKG_HUNSPELL_CONFIGURE_ARGS_EXTRA:="--with-ui --with-readline"};
-: ${PKG_IVYKIS_SHA256SUM:=6ef8ed255814e5068473356877da55d67493eeafd978884cdecc5a3e58067129};
-: ${PKG_IVYKIS_VERSION:=0.42.4};
-: ${PKG_IVYKIS_URL:=https://mirrors.dotsrc.org/debian/pool/main/i/ivykis/ivykis_${PKG_IVYKIS_VERSION}.orig.tar.gz};
-: ${PKG_IVYKIS_SUBDIR=ivykis-${PKG_IVYKIS_VERSION}};
-: ${PKG_JANSSON_SHA256SUM:=f4f377da17b10201a60c1108613e78ee15df6b12016b116b6de42209f47a474f};
-: ${PKG_JANSSON_VERSION:=2.13.1};
-: ${PKG_JANSSON_URL:=https://digip.org/jansson/releases/jansson-${PKG_JANSSON_VERSION}.tar.gz};
-: ${PKG_KVAZAAR_SHA256SUM:=ca30575026d2f1a1201af4b94697bb0fcd05913388008631dc3332bae94122bd};
-: ${PKG_KVAZAAR_VERSION:=2.3.1};
-: ${PKG_KVAZAAR_URL:=https://github.com/ultravideo/kvazaar/releases/download/v${PKG_KVAZAAR_VERSION}/kvazaar-${PKG_KVAZAAR_VERSION}.tar.xz};
-: ${PKG_LAME_SHA256SUM:=ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e};
-: ${PKG_LAME_VERSION:=3.100};
-: ${PKG_LAME_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/lame/lame-${PKG_LAME_VERSION}.tar.gz};
-: ${PKG_LAME_CONFIGURE_ARGS_EXTRA:="--enable-nasm"};
-: ${PKG_LAME_LDFLAGS_CONFIGURE_EXTRA:="-Wl,--as-needed -ltinfo -Wl,--no-as-needed"};
-: ${PKG_LIBAO_DEPENDS:="w32api w32lib"};
-: ${PKG_LIBAO_SHA256SUM:=03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf};
-: ${PKG_LIBAO_VERSION:=1.2.0};
-: ${PKG_LIBAO_URL:=http://downloads.xiph.org/releases/ao/libao-${PKG_LIBAO_VERSION}.tar.gz};
-: ${PKG_LIBAO_CONFIGURE_ARGS_EXTRA:="--enable-wmm --disable-esd --without-x"};
-: ${PKG_LIBAO_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports -DWINAPI_ANSI_DEFAULT"};
-: ${PKG_LIBAO_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -lwinmm"}
-: ${PKG_LIBARCHIVE_DEPENDS:="libxml2 xz libiconv bzip2 libmd"};
-: ${PKG_LIBARCHIVE_SHA256SUM:=63e7a7174638fc7d6b79b4c8b0ad954e0f4f45abe7239c1ecb200232aa9a43d2};
-: ${PKG_LIBARCHIVE_VERSION:=3.7.3};
-: ${PKG_LIBARCHIVE_URL:=https://www.libarchive.de/downloads/libarchive-${PKG_LIBARCHIVE_VERSION}.tar.xz};
-: ${PKG_LIBARCHIVE_CONFIG_CACHE_LOCAL:="ac_cv_func_lstat_dereferences_slashed_symlink=yes"};
-: ${PKG_LIBARCHIVE_LIBTOOL:=rlibtool};
-: ${PKG_LIBASS_DEPENDS:="freetype fontconfig harfbuzz fribidi libiconv"};
-: ${PKG_LIBASS_SHA256SUM:=f0da0bbfba476c16ae3e1cfd862256d30915911f7abaa1b16ce62ee653192784};
-: ${PKG_LIBASS_VERSION:=0.17.1};
-: ${PKG_LIBASS_URL:=https://github.com/libass/libass/releases/download/${PKG_LIBASS_VERSION}/libass-${PKG_LIBASS_VERSION}.tar.xz};
-: ${PKG_LIBASS_CONFIGURE_ARGS_EXTRA:="--disable-asm"};
-: ${PKG_LIBASSUAN_DEPENDS:="libgpg_error"};
-: ${PKG_LIBASSUAN_SHA256SUM:=8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4};
-: ${PKG_LIBASSUAN_VERSION:=2.5.5};
-: ${PKG_LIBASSUAN_URL:=https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-${PKG_LIBASSUAN_VERSION}.tar.bz2};
-: ${PKG_LIBASSUAN_CONFIGURE_ARGS_EXTRA:=--with-libgpg-error-prefix=${PREFIX_NATIVE}};
-: ${PKG_LIBATOMIC_OPS_SHA256SUM:=587edf60817f56daf1e1ab38a4b3c729b8e846ff67b4f62a6157183708f099af};
-: ${PKG_LIBATOMIC_OPS_VERSION:=7.6.10};
-: ${PKG_LIBATOMIC_OPS_URL:=https://github.com/ivmai/libatomic_ops/releases/download/v${PKG_LIBATOMIC_OPS_VERSION}/libatomic_ops-${PKG_LIBATOMIC_OPS_VERSION}.tar.gz};
-: ${PKG_LIBDMTX_SHA256SUM:=686bcfb44e50b96345aa53f41e285f2118a2cf87a333b69b74165a2e7ddca492};
-: ${PKG_LIBDMTX_VERSION:=0.7.4};
-: ${PKG_LIBDMTX_URL:=https://midipix.org/mirror/libdmtx/libdmtx-${PKG_LIBDMTX_VERSION}.tar.gz};
-: ${PKG_LIBEDIT_DEPENDS:="ncurses"};
-: ${PKG_LIBEDIT_SHA256SUM:=6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5};
-: ${PKG_LIBEDIT_VERSION:=20210910-3.1};
-: ${PKG_LIBEDIT_URL:=https://www.thrysoee.dk/editline/libedit-${PKG_LIBEDIT_VERSION}.tar.gz};
-: ${PKG_LIBEDIT_CFLAGS_CONFIGURE_EXTRA:="--include=stdc-predef.h -I${PREFIX_NATIVE}/include/ncurses"};
-: ${PKG_LIBEDITLINE_SHA256SUM:=df223b3333a545fddbc67b49ded3d242c66fadf7a04beb3ada20957fcd1ffc0e};
-: ${PKG_LIBEDITLINE_VERSION:=1.17.1};
-: ${PKG_LIBEDITLINE_URL:=https://github.com/troglobit/editline/releases/download/${PKG_LIBEDITLINE_VERSION}/editline-${PKG_LIBEDITLINE_VERSION}.tar.xz};
-: ${PKG_LIBELF_SHA256SUM:=591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d};
-: ${PKG_LIBELF_VERSION:=0.8.13};
-: ${PKG_LIBELF_URL:=https://fossies.org/linux/misc/old/libelf-${PKG_LIBELF_VERSION}.tar.gz};
-: ${PKG_LIBELF_CONFIGURE_ARGS:="--disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET}"};
-: ${PKG_LIBELF_MAKE_INSTALL_VNAME:=prefix};
-: ${PKG_LIBELF_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/libelf/libelf-${PKG_LIBELF_VERSION}.midipix.patch"};
-: ${PKG_LIBESTR_SHA256SUM:=46632b2785ff4a231dcf241eeb0dcb5fc0c7d4da8ee49cf5687722cdbe8b2024};
-: ${PKG_LIBESTR_VERSION:=0.1.11};
-: ${PKG_LIBESTR_URL:=http://libestr.adiscon.com/files/download/libestr-${PKG_LIBESTR_VERSION}.tar.gz};
-: ${PKG_LIBEVENT_DEPENDS:="libressl"};
-: ${PKG_LIBEVENT_SHA256SUM:=92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb};
-: ${PKG_LIBEVENT_VERSION:=2.1.12-stable};
-: ${PKG_LIBEVENT_URL:=https://github.com/libevent/libevent/releases/download/release-${PKG_LIBEVENT_VERSION}/libevent-${PKG_LIBEVENT_VERSION}.tar.gz};
-: ${PKG_LIBEVENT_CONFIG_CACHE_EXTRA:="ac_pe_target=true"};
-: ${PKG_LIBEXIF_SHA256SUM:=d47564c433b733d83b6704c70477e0a4067811d184ec565258ac563d8223f6ae};
-: ${PKG_LIBEXIF_VERSION:=0.6.24};
-: ${PKG_LIBEXIF_URL:=https://github.com/libexif/libexif/releases/download/v${PKG_LIBEXIF_VERSION}/libexif-${PKG_LIBEXIF_VERSION}.tar.bz2};
-: ${PKG_LIBFASTJSON_SHA256SUM:=3544c757668b4a257825b3cbc26f800f59ef3c1ff2a260f40f96b48ab1d59e07};
-: ${PKG_LIBFASTJSON_VERSION:=0.99.8};
-: ${PKG_LIBFASTJSON_URL:=http://download.rsyslog.com/libfastjson/libfastjson-${PKG_LIBFASTJSON_VERSION}.tar.gz};
-: ${PKG_LIBFETCH_DEPENDS:="libressl"};
-: ${PKG_LIBFETCH_SHA256SUM:=3226f53d5ad29cc27510db968ef0d37bf4554b8aaaeadcd56e23067213b08943};
-: ${PKG_LIBFETCH_VERSION:=2.33};
-: ${PKG_LIBFETCH_URL:=https://sources.archlinux.org/other/libfetch/libfetch-${PKG_LIBFETCH_VERSION}.tar.gz};
-: ${PKG_LIBFETCH_ENV_VARS_EXTRA:=CFLAGS=--sysroot=${PREFIX_NATIVE}:LDFLAGS=--sysroot=${PREFIX_NATIVE}};
-: ${PKG_LIBFETCH_IN_TREE:=1};
-: ${PKG_LIBFETCH_MAKEFLAGS_BUILD_EXTRA_LIST:="E=echo:Q=:AR=${DEFAULT_TARGET}-ar:CC=${DEFAULT_NATIVE_CC}:LD=${DEFAULT_NATIVE_CCLD}"};
-: ${PKG_LIBFETCH_MAKEFLAGS_INSTALL_EXTRA:="E=echo Q="};
-: ${PKG_LIBFFI_SHA256SUM:=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37};
-: ${PKG_LIBFFI_VERSION:=3.2.1};
-: ${PKG_LIBFFI_URL:=ftp://sourceware.org/pub/libffi/libffi-${PKG_LIBFFI_VERSION}.tar.gz};
-: ${PKG_LIBFFI_CFLAGS_CONFIGURE_EXTRA:=-D_WIN64};
-: ${PKG_LIBFFI_ENV_VARS_EXTRA:="MAKE=make LIBTOOL=slibtool"};
-: ${PKG_LIBFFI_INSTALL_FILES_V2:="
- +lib/libffi-${PKG_LIBFFI_VERSION}/include/ffi.h=include/%[FNAME]
- +lib/libffi-${PKG_LIBFFI_VERSION}/include/ffitarget.h=include/%[FNAME]"};
-: ${PKG_LIBFFI_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/libffi/libffi-${PKG_LIBFFI_VERSION}.midipix.patch"};
-: ${PKG_LIBFIRM_URLS_GIT:="libfirm=https://github.com/lalbornoz/libfirm@main bfirm=${DEFAULT_GITROOT}/compilers/bfirm@main"};
-: ${PKG_LIBFIRM_BUILD_DIR:=build/libfirm};
-: ${PKG_LIBFIRM_CONFIGURE:=bfirm/configure};
-: ${PKG_LIBFIRM_CONFIGURE_ARGS:="--source-dir=../../libfirm --prefix="};
-: ${PKG_LIBFLAC_DEPENDS:="libogg libiconv"};
-: ${PKG_LIBFLAC_SHA256SUM:=6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70};
-: ${PKG_LIBFLAC_VERSION:=1.4.3};
-: ${PKG_LIBFLAC_URL:=https://ftp.osuosl.org/pub/xiph/releases/flac/flac-${PKG_LIBFLAC_VERSION}.tar.xz};
-: ${PKG_LIBFLAC_CONFIGURE_ARGS_EXTRA:="--with-ogg=yes --disable-stack-smash-protection"};
-: ${PKG_LIBGLOB_URLS_GIT:=libglob=https://github.com/void-linux/libglob.git@master};
-: ${PKG_LIBGLOB_BUILD_DIR:=libglob};
-: ${PKG_LIBGCRYPT_DEPENDS:="libgpg_error"};
-: ${PKG_LIBGCRYPT_SHA256SUM:=8b0870897ac5ac67ded568dcfadf45969cfa8a6beb0fd60af2a9eadc2a3272aa};
-: ${PKG_LIBGCRYPT_VERSION:=1.10.3};
-: ${PKG_LIBGCRYPT_URL:=https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${PKG_LIBGCRYPT_VERSION}.tar.bz2};
-: ${PKG_LIBGCRYPT_CONFIG_CACHE_EXTRA:="
-gcry_cv_broken_visibility_attribute=no
-gcry_cv_visibility_attribute=yes
-ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
-: ${PKG_LIBGCRYPT_CONFIGURE_ARGS_EXTRA:=--with-libgpg-error-prefix=${PREFIX_NATIVE} --disable-asm --disable-padlock-support --disable-aesni-support --disable-pclmul-support --disable-sse41-support --disable-drng-support --disable-avx-support --disable-avx2-support --disable-amd64-as-feature-detection};
-: ${PKG_LIBGPG_ERROR_SHA256SUM:=64b078b45ac3c3003d7e352a5e05318880a5778c42331ce1ef33d1a0d9922742};
-: ${PKG_LIBGPG_ERROR_VERSION:=1.41};
-: ${PKG_LIBGPG_ERROR_URL:=https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${PKG_LIBGPG_ERROR_VERSION}.tar.bz2};
-: ${PKG_LIBGPG_ERROR_FORCE_AUTORECONF:=1};
-: ${PKG_LIBGPG_ERROR_IN_TREE:=1};
-: ${PKG_LIBGSASL_DEPENDS:="libgcrypt"};
-: ${PKG_LIBGSASL_SHA256SUM:=f1b553384dedbd87478449775546a358d6f5140c15cccc8fb574136fdc77329f};
-: ${PKG_LIBGSASL_VERSION:=1.10.0};
-: ${PKG_LIBGSASL_URL:=https://ftp.gnu.org/gnu/gsasl/libgsasl-${PKG_LIBGSASL_VERSION}.tar.gz};
-: ${PKG_LIBGSASL_CONFIGURE_ARGS_EXTRA:="--disable-ntlm --disable-gssapi --disable-gs2 --disable-kerberos_v5 --disable-obsolete --with-libgcrypt --with-libgcrypt-prefix=${PREFIX_NATIVE}"};
-: ${PKG_LIBICONV_SHA256SUM:=8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313};
-: ${PKG_LIBICONV_VERSION:=1.17};
-: ${PKG_LIBICONV_URL:=https://ftp.gnu.org/pub/gnu/libiconv/libiconv-${PKG_LIBICONV_VERSION}.tar.gz};
-: ${PKG_LIBICONV_CONFIGURE_ARGS_EXTRA:="--enable-extra-encodings"};
-: ${PKG_LIBICONV_INSTALL_FILES_V2:="
- @../../native/include/iconv.h=%[_prefix]/../x86_64-nt64-midipix/include/iconv.v
- +%[_files]/lib/pkgconfig/iconv.pc=lib/pkgconfig/iconv.pc"};
-: ${PKG_LIBIDN_DEPENDS:="libiconv"};
-: ${PKG_LIBIDN_SHA256SUM:=d6c199dcd806e4fe279360cb4b08349a0d39560ed548ffd1ccadda8cdecb4723};
-: ${PKG_LIBIDN_VERSION:=1.42};
-: ${PKG_LIBIDN_URL:=https://ftp.gnu.org/gnu/libidn/libidn-${PKG_LIBIDN_VERSION}.tar.gz};
-: ${PKG_LIBIDN_CONFIGURE_ARGS_EXTRA:="--disable-java --disable-csharp --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf"};
-: ${PKG_LIBIDN2_DEPENDS:="libunistring libiconv"};
-: ${PKG_LIBIDN2_SHA256SUM:=93caba72b4e051d1f8d4f5a076ab63c99b77faee019b72b9783b267986dbb45f};
-: ${PKG_LIBIDN2_VERSION:=2.3.4};
-: ${PKG_LIBIDN2_URL:=https://ftp.gnu.org/gnu/libidn/libidn2-${PKG_LIBIDN2_VERSION}.tar.gz};
-: ${PKG_LIBITE_URLS_GIT:=libite=https://github.com/troglobit/libite.git@master};
-: ${PKG_LIBITE_SUBDIR:=libite};
-: ${PKG_LIBJPEG_TURBO_SHA256SUM:=22429507714ae147b3acacd299e82099fce5d9f456882fc28e252e4579ba2a75};
-: ${PKG_LIBJPEG_TURBO_VERSION:=3.0.1};
-: ${PKG_LIBJPEG_TURBO_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/libjpeg-turbo/libjpeg-turbo-${PKG_LIBJPEG_TURBO_VERSION}.tar.gz};
-: ${PKG_LIBJPEG_TURBO_CMAKE_ARGS_EXTRA:="
- -DWITH_SIMD=OFF
- -DWITH_JPEG8=ON"};
-: ${PKG_LIBKSBA_DEPENDS:="libgpg_error"};
-: ${PKG_LIBKSBA_SHA256SUM:=bbb43f032b9164d86c781ffe42213a83bf4f2fee91455edfa4654521b8b03b6b};
-: ${PKG_LIBKSBA_VERSION:=1.6.4};
-: ${PKG_LIBKSBA_URL:=https://www.gnupg.org/ftp/gcrypt/libksba/libksba-${PKG_LIBKSBA_VERSION}.tar.bz2};
-: ${PKG_LIBKSBA_CONFIG_CACHE_EXTRA:="
-ksba_cv_broken_visibility_attribute=no
-ksba_cv_visibility_attribute=yes
-ac_cv_path_GPGRT_CONFIG=${PREFIX_NATIVE}/bin/gpgrt-config"};
-: ${PKG_LIBKSBA_CONFIGURE_ARGS_EXTRA:=--with-libgpg-error-prefix=${PREFIX_NATIVE}};
-: ${PKG_LIBMAD_SHA256SUM:=bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690};
-: ${PKG_LIBMAD_VERSION:=0.15.1b};
-: ${PKG_LIBMAD_URL:=ftp://ftp.mars.org/pub/mpeg/libmad-${PKG_LIBMAD_VERSION}.tar.gz};
-: ${PKG_LIBMAD_CONFIGURE_ARGS_EXTRA:="--enable-fpm=64bit --enable-accuracy"};
-: ${PKG_LIBMD_SHA256SUM:=1bd6aa42275313af3141c7cf2e5b964e8b1fd488025caf2f971f43b00776b332};
-: ${PKG_LIBMD_VERSION:=1.1.0};
-: ${PKG_LIBMD_URL:=https://archive.hadrons.org/software/libmd/libmd-${PKG_LIBMD_VERSION}.tar.xz};
-: ${PKG_LIBMSPACK_SHA256SUM:=70dd1fb2f0aecc36791b71a1e1840e62173079eadaa081192d1c323a0eeea21b};
-: ${PKG_LIBMSPACK_VERSION:=0.11alpha};
-: ${PKG_LIBMSPACK_URL:=https://www.cabextract.org.uk/libmspack/libmspack-${PKG_LIBMSPACK_VERSION}.tar.gz};
-: ${PKG_LIBMP3SPLT_SHA256SUM:=30eed64fce58cb379b7cc6a0d8e545579cb99d0f0f31eb00b9acc8aaa1b035dc};
-: ${PKG_LIBMP3SPLT_DEPENDS:="pcre libflac libogg libvorbis libmad"};
-: ${PKG_LIBMP3SPLT_VERSION:=0.9.2};
-: ${PKG_LIBMP3SPLT_URL:=https://ftp.fau.de/macports/distfiles/libmp3splt/libmp3splt-${PKG_LIBMP3SPLT_VERSION}.tar.gz};
-: ${PKG_LIBMP3SPLT_CONFIGURE_ARGS_EXTRA:="--disable-cutter --disable-id3tag --disable-optimise --with-ogg=${PREFIX_NATIVE} --with-vorbis=${PREFIX_NATIVE} --with-mad=${PREFIX_NATIVE}"};
-: ${PKG_LIBMP3SPLT_FORCE_AUTORECONF:=1};
-: ${PKG_LIBOGG_SHA256SUM:=c4d91be36fc8e54deae7575241e03f4211eb102afb3fc0775fbbc1b740016705};
-: ${PKG_LIBOGG_VERSION:=1.3.5};
-: ${PKG_LIBOGG_URL:=https://ftp.osuosl.org/pub/xiph/releases/ogg/libogg-${PKG_LIBOGG_VERSION}.tar.xz};
-: ${PKG_LIBPCAP_SHA256SUM:=8ac670de8dd6eff39441580c67f0520f326773422bbf89fdffcd269bd0cfddde};
-: ${PKG_LIBPCAP_VERSION:=1.9.1};
-: ${PKG_LIBPCAP_URL:=https://github.com/the-tcpdump-group/libpcap/archive/libpcap-${PKG_LIBPCAP_VERSION}.tar.gz};
-: ${PKG_LIBPCAP_CONFIG_CACHE_EXTRA:="ac_cv_lbl_unaligned_fail=no"};
-: ${PKG_LIBPCAP_SUBDIR:="libpcap-libpcap-${PKG_LIBPCAP_VERSION}"};
-: ${PKG_LIBPNG_DEPENDS:="libz"};
-: ${PKG_LIBPNG_SHA256SUM:=6a5ca0652392a2d7c9db2ae5b40210843c0bbc081cbd410825ab00cc59f14a6c};
-: ${PKG_LIBPNG_VERSION:=1.6.43};
-: ${PKG_LIBPNG_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/libpng/libpng-${PKG_LIBPNG_VERSION}.tar.xz};
-: ${PKG_LIBPSL_DEPENDS:="libidn2 libunistring libiconv"}
-: ${PKG_LIBPSL_SHA256SUM:=e35991b6e17001afa2c0ca3b10c357650602b92596209b7492802f3768a6285f};
-: ${PKG_LIBPSL_VERSION:=0.21.2};
-: ${PKG_LIBPSL_URL:=https://github.com/rockdaboot/libpsl/releases/download/${PKG_LIBPSL_VERSION}/libpsl-${PKG_LIBPSL_VERSION}.tar.gz};
-: ${PKG_LIBREDWG_SHA256SUM:=dd906f59d71b26c13fd2420f50fc50bea666fd54acc764d8c344f7f89d5ab94e};
-: ${PKG_LIBREDWG_VERSION:=0.13};
-: ${PKG_LIBREDWG_URL:=https://ftp.gnu.org/gnu/libredwg/libredwg-${PKG_LIBREDWG_VERSION}.tar.xz};
-: ${PKG_LIBREDWG_CONFIGURE_ARGS_EXTRA:="--disable-python --disable-bindings --disable-werror --enable-compile-warnings=yes"};
-: ${PKG_LIBRESSL_SHA256SUM:=6da0b954695f7ee62b03f64200a8a4f02af93717b60cce04ab6c8df262c07a51};
-: ${PKG_LIBRESSL_VERSION:=3.9.1};
-: ${PKG_LIBRESSL_URL:=https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${PKG_LIBRESSL_VERSION}.tar.gz};
-: ${PKG_LIBRESSL_CONFIGURE_ARGS_EXTRA:=--disable-asm --enable-nc};
-: ${PKG_LIBSASL2_DEPENDS:="libressl"};
-: ${PKG_LIBSASL2_SHA256SUM:=7ccfc6abd01ed67c1a0924b353e526f1b766b21f42d4562ee635a8ebfc5bb38c};
-: ${PKG_LIBSASL2_VERSION:=2.1.28};
-: ${PKG_LIBSASL2_URL:="https://ftp.osuosl.org/pub/blfs/conglomeration/cyrus-sasl/cyrus-sasl-${PKG_LIBSASL2_VERSION}.tar.gz"};
-: ${PKG_LIBSASL2_CONFIGURE_ARGS_EXTRA:="--cache-file=../obj/config.cache"};
-: ${PKG_LIBSASL2_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_LIBSHINE_SHA256SUM:=58e61e70128cf73f88635db495bfc17f0dde3ce9c9ac070d505a0cd75b93d384};
-: ${PKG_LIBSHINE_VERSION:=3.1.1};
-: ${PKG_LIBSHINE_URL:=https://github.com/toots/shine/releases/download/${PKG_LIBSHINE_VERSION}/shine-${PKG_LIBSHINE_VERSION}.tar.gz};
-: ${PKG_LIBSHINE_IN_TREE:=1};
-: ${PKG_LIBSNDFILE_DEPENDS:="mpg123 lame libflac libogg libzip opus sqlite3"};
-: ${PKG_LIBSNDFILE_SHA256SUM:=0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a};
-: ${PKG_LIBSNDFILE_VERSION:=1.2.0};
-: ${PKG_LIBSNDFILE_URL:=https://github.com/libsndfile/libsndfile/releases/download/${PKG_LIBSNDFILE_VERSION}/libsndfile-${PKG_LIBSNDFILE_VERSION}.tar.xz};
-: ${PKG_LIBSNDFILE_CONFIGURE_ARGS_EXTRA:="--disable-alsa"};
-: ${PKG_LIBSNDFILE_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/w32api.ports -DWINAPI_ANSI_DEFAULT"};
-: ${PKG_LIBSNDFILE_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -lkernel32 -lwinmm"};
-: ${PKG_LIBSOLV_DEPENDS:="bzip2 libxml2 libz musl_compat rpm"};
-: ${PKG_LIBSOLV_SHA256SUM:=153eb48814ffdbac396c98126037cf45c07e2b7087a61f86eb18a75ea1ab134b};
-: ${PKG_LIBSOLV_VERSION:=0.6.34};
-: ${PKG_LIBSOLV_URL:=https://github.com/openSUSE/libsolv/archive/${PKG_LIBSOLV_VERSION}.tar.gz};
-: ${PKG_LIBSOLV_SUBDIR:=libsolv-${PKG_LIBSOLV_VERSION}};
-: ${PKG_LIBSOLV_CMAKE_ARGS_EXTRA:="
- -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a
- -DENABLE_APPDATA:BOOL=ON
- -DENABLE_BZIP2_COMPRESSION:BOOL=ON
- -DENABLE_COMPLEX_DEPS:BOOL=ON
- -DENABLE_COMPS:BOOL=ON
- -DENABLE_LZMA_COMPRESSION:BOOL=ON
- -DENABLE_RPMDB:BOOL=ON
- -DENABLE_RPMDB_BYRPMHEADER:BOOL=ON
- -DENABLE_RPMDB_LIBRPM:BOOL=ON
- -DENABLE_RPMMD:BOOL=ON
- -DENABLE_RPMPKG_LIBRPM:BOOL=ON
- -DFEDORA=1
- -DLIBXML2_LIBRARIES=${PREFIX_NATIVE}/lib/libxml2.lib.a
- -DLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a
- -DRPMIO_LIBRARY=${PREFIX_NATIVE}/lib/librpmio.so
- -DWITH_LIBXML2:BOOL=ON
- -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
-: ${PKG_LIBSSH_DEPENDS:="libz"};
-: ${PKG_LIBSSH_SHA256SUM:=1861d498f5b6f1741b6abc73e608478491edcf9c9d4b6630eef6e74596de9dc1};
-: ${PKG_LIBSSH_VERSION:=0.10.6};
-: ${PKG_LIBSSH_URL:=https://www.libssh.org/files/${PKG_LIBSSH_VERSION%.*}/libssh-${PKG_LIBSSH_VERSION}.tar.xz};
-: ${PKG_LIBSSH_SUBDIR:=libssh-${PKG_LIBSSH_VERSION}};
-: ${PKG_LIBSSH_CMAKE_ARGS_EXTRA:="
- -DWITH_EXAMPLES=OFF
- -DWITH_GCRYPT=ON
- -DWITH_SYMBOL_VERSIONING=OFF
- -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.lib.a"};
-: ${PKG_LIBSTROPHE_DEPENDS:="libressl expat"};
-: ${PKG_LIBSTROPHE_SHA256SUM:=b3c79b6deeafafc0f622ba3ee3ca67e9a8e7d75edb102588c6b6f52b38c9fa4b};
-: ${PKG_LIBSTROPHE_VERSION=0.12.2};
-: ${PKG_LIBSTROPHE_URL:=https://github.com/strophe/libstrophe/releases/download/${PKG_LIBSTROPHE_VERSION}/libstrophe-${PKG_LIBSTROPHE_VERSION}.tar.xz};
-: ${PKG_LIBTASN1_SHA256SUM:=1613f0ac1cf484d6ec0ce3b8c06d56263cc7242f1c23b30d82d23de345a63f7a};
-: ${PKG_LIBTASN1_VERSION:=4.19.0};
-: ${PKG_LIBTASN1_URL:=https://ftp.gnu.org/gnu/libtasn1/libtasn1-${PKG_LIBTASN1_VERSION}.tar.gz};
-: ${PKG_LIBTASN1_CONFIGURE_ARGS_EXTRA:="--disable-static"};
-: ${PKG_LIBTASN1_CFLAGS_CONFIGURE_EXTRA:=-std=c99};
-: ${PKG_LIBTASN1_LIBTOOL=rdlibtool};
-: ${PKG_LIBTASN1_CONFIG_CACHE_EXTRA:="
-gl_cv_ld_output_def=no"};
-: ${PKG_LIBTELNET_DEPENDS:="libz"};
-: ${PKG_LIBTELNET_SHA256SUM:=d2f01a9dc0cc01777844b6d27f0f836dad9a4b9a32a31c7bbde0762480262f25};
-: ${PKG_LIBTELNET_VERSION:=0.23};
-: ${PKG_LIBTELNET_URL:=https://github.com/seanmiddleditch/libtelnet/releases/download/${PKG_LIBTELNET_VERSION}/libtelnet-${PKG_LIBTELNET_VERSION}.tar.gz};
-: ${PKG_LIBTHEORA_DEPENDS:="libvorbis"};
-: ${PKG_LIBTHEORA_SHA256SUM:=b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc};
-: ${PKG_LIBTHEORA_VERSION:=1.1.1};
-: ${PKG_LIBTHEORA_URL:=http://downloads.xiph.org/releases/theora/libtheora-${PKG_LIBTHEORA_VERSION}.tar.bz2};
-: ${PKG_LIBTHEORA_IN_TREE:=1};
-: ${PKG_LIBTHEORA_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_LIBTIRPC_DEPENDS:="musl_compat"};
-: ${PKG_LIBTIRPC_SHA256SUM:=245895caf066bec5e3d4375942c8cb4366adad184c29c618d97f724ea309ee17};
-: ${PKG_LIBTIRPC_VERSION:=1.3.1};
-: ${PKG_LIBTIRPC_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/libtirpc/libtirpc-${PKG_LIBTIRPC_VERSION}.tar.bz2};
-: ${PKG_LIBTIRPC_CONFIGURE_ARGS_EXTRA:="--disable-gssapi"};
-: ${PKG_LIBUDNS_URLS_GIT:=libudns=https://github.com/shadowsocks/libudns.git@master};
-: ${PKG_LIBUNISTRING_SHA256SUM:=827c1eb9cb6e7c738b171745dac0888aa58c5924df2e59239318383de0729b98};
-: ${PKG_LIBUNISTRING_VERSION:=1.1};
-: ${PKG_LIBUNISTRING_URL:=https://ftp.gnu.org/gnu/libunistring/libunistring-${PKG_LIBUNISTRING_VERSION}.tar.xz};
-: ${PKG_LIBUV_SHA256SUM:=7cbcf2017e7116cf9da8ec1c6a146d578536b1e479458438873c991f984a53d7};
-: ${PKG_LIBUV_VERSION:=1.19.2};
-: ${PKG_LIBUV_URL:=https://dist.libuv.org/dist/v${PKG_LIBUV_VERSION}/libuv-v${PKG_LIBUV_VERSION}.tar.gz};
-: ${PKG_LIBVORBIS_DEPENDS:="libogg"};
-: ${PKG_LIBVORBIS_SHA256SUM:=b33cc4934322bcbf6efcbacf49e3ca01aadbea4114ec9589d1b1e9d20f72954b};
-: ${PKG_LIBVORBIS_VERSION:=1.3.7};
-: ${PKG_LIBVORBIS_URL:=https://ftp.osuosl.org/pub/xiph/releases/vorbis/libvorbis-${PKG_LIBVORBIS_VERSION}.tar.xz};
-: ${PKG_LIBWEBP_DEPENDS:="tiff giflib libpng"};
-: ${PKG_LIBWEBP_SHA256SUM:=2a499607df669e40258e53d0ade8035ba4ec0175244869d1025d460562aa09b4};
-: ${PKG_LIBWEBP_VERSION:=1.3.2};
-: ${PKG_LIBWEBP_URL:=https://sources.voidlinux.org/libwebp-${PKG_LIBWEBP_VERSION}/libwebp-${PKG_LIBWEBP_VERSION}.tar.gz};
-: ${PKG_LIBWEBP_CONFIGURE_ARGS_EXTRA:="--disable-gl --disable-sdl --disable-sse4.1 --enable-libwebpdecoder --enable-libwebpextras --with-pnglibdir=${PREFIX_NATIVE} --with-pngincludedir=${PREFIX_NATIVE}"};
-: ${PKG_LIBXML2_DEPENDS:="libz xz libiconv"};
-: ${PKG_LIBXML2_SHA256SUM:=889c593a881a3db5fdd96cc9318c87df34eb648edfc458272ad46fd607353fbb};
-: ${PKG_LIBXML2_VERSION:=2.12.6};
-: ${PKG_LIBXML2_URL:=https://download.gnome.org/sources/libxml2/${PKG_LIBXML2_VERSION%.*}/libxml2-${PKG_LIBXML2_VERSION}.tar.xz};
-: ${PKG_LIBXML2_CONFIGURE_ARGS_EXTRA:="--with-python=no"};
-: ${PKG_LIBXML2_INSTALL_FILES_V2:="
- +%[_files]/bin/\%[_target]-xml2-config=bin/%[_target]-xml2-config
- m0755=bin/%[_target]-xml2-config"};
-: ${PKG_LIBXSLT_DEPENDS:="libxml2 libgcrypt"};
-: ${PKG_LIBXSLT_SHA256SUM:=2a20ad621148339b0759c4d4e96719362dee64c9a096dbba625ba053846349f0};
-: ${PKG_LIBXSLT_VERSION:=1.1.39};
-: ${PKG_LIBXSLT_URL:=https://sources.voidlinux.org/libxslt-${PKG_LIBXSLT_VERSION}/libxslt-${PKG_LIBXSLT_VERSION}.tar.xz};
-: ${PKG_LIBXSLT_CONFIGURE_ARGS_EXTRA:="--without-python"};
-: ${PKG_LIBXSLT_FORCE_AUTORECONF:=1};
-: ${PKG_LIBZ_SHA256SUM:=abcc2831b7a0e891d0875fa852e9b9510b420d843d3d20aad010f65493fe4f7b};
-: ${PKG_LIBZ_VERSION:=1.2.8.2015.12.26};
-: ${PKG_LIBZ_URL:=https://sortix.org/libz/release/libz-${PKG_LIBZ_VERSION}.tar.gz};
-: ${PKG_LIBZ_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
-: ${PKG_LIBZ_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET} --enable-shared"};
-: ${PKG_LIBZ_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
-: ${PKG_LIBZIP_DEPENDS:="bzip2 gnutls libz musl_fts nettle"};
-: ${PKG_LIBZIP_SHA256SUM:=a020dc1b17a79faa748e43a05f8605d65e403813e8e97ad3a300a90ddba097ac};
-: ${PKG_LIBZIP_VERSION:=1.7.1};
-: ${PKG_LIBZIP_URL:=https://libzip.org/download/libzip-${PKG_LIBZIP_VERSION}.tar.xz};
-: ${PKG_LIBZIP_CMAKE_ARGS_EXTRA:="
- -DBZIP2_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a
- -DENABLE_GNUTLS=:BOOL=ON
- -DENABLE_MBEDTLS=:BOOL=OFF
- -DGNUTLS_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DGNUTLS_LIBRARY=${PREFIX_NATIVE}/lib/libgnutls.lib.a
- -DLIBLZMA_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DLIBLZMA_LIBRARY=${PREFIX_NATIVE}/lib/liblzma.lib.a
- -DNETTLE_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DNETTLE_LIBRARY=${PREFIX_NATIVE}/lib/libnettle.lib.a
- -DOPENSSL_CRYPTO_LIBRARY=${PREFIX_NATIVE}/lib/libcrypto.lib.a
- -DOPENSSL_SSL_LIBRARY=${PREFIX_NATIVE}/lib/libssl.lib.a
- -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
- -DZLIB_LIBRARY=${PREFIX_NATIVE}/lib/libz.a"};
-: ${PKG_LZLIB_SHA256SUM:=5acac8714ed4f306020bae660dddce706e5f8a795863679037da9fe6bf4dcf6f};
-: ${PKG_LZLIB_VERSION:=1.14};
-: ${PKG_LZLIB_URL:=http://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-${PKG_LZLIB_VERSION}.tar.gz};
-: ${PKG_LZLIB_CONFIGURE_ARGS_LIST:="--prefix=:CC=${DEFAULT_NATIVE_CC}:AR=${DEFAULT_TARGET}-ar"};
-: ${PKG_LZLIB_CFLAGS_BUILD:=${DEFAULT_CFLAGS}};
-: ${PKG_ONIG_SHA256SUM:=60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf};
-: ${PKG_ONIG_VERSION:=6.9.9};
-: ${PKG_ONIG_URL:=https://github.com/kkos/oniguruma/releases/download/v${PKG_ONIG_VERSION}/onig-${PKG_ONIG_VERSION}.tar.gz};
-: ${PKG_OPUS_SHA256SUM:=65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d};
-: ${PKG_OPUS_VERSION:=1.3.1};
-: ${PKG_OPUS_URL:=https://ftp.osuosl.org/pub/xiph/releases/opus/opus-${PKG_OPUS_VERSION}.tar.gz};
-: ${PKG_OPUS_CONFIGURE_ARGS_EXTRA:="--disable-intrinsics --disable-asm --disable-hardening"};
-: ${PKG_LZO_SHA256SUM:=c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072};
-: ${PKG_LZO_VERSION:=2.10};
-: ${PKG_LZO_URL:=https://www.oberhumer.com/opensource/lzo/download/lzo-${PKG_LZO_VERSION}.tar.gz};
-: ${PKG_NETTLE_SHA256SUM:=364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd41cbfe};
-: ${PKG_NETTLE_VERSION:=3.8.1};
-: ${PKG_NETTLE_URL:=https://ftp.gnu.org/gnu/nettle/nettle-${PKG_NETTLE_VERSION}.tar.gz};
-: ${PKG_NETTLE_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
-: ${PKG_NETTLE_CONFIG_CACHE_EXTRA:="nettle_cv_asm_underscore=no"};
-: ${PKG_NETTLE_INSTALL_FILES_V2:="m0755=lib/%<lib*.so>"};
-: ${PKG_NETTLE_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_READLINE_DEPENDS:="ncurses ncursestw ncursesw"};
-: ${PKG_READLINE_SHA256SUM:=3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35};
-: ${PKG_READLINE_VERSION:=8.2};
-: ${PKG_READLINE_URL:=https://ftp.gnu.org/gnu/readline/readline-${PKG_READLINE_VERSION}.tar.gz};
-: ${PKG_READLINE_CFLAGS_CONFIGURE:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }-I${PREFIX_NATIVE}/include"};
-: ${PKG_READLINE_CONFIG_CACHE_LOCAL:="${CONFIG_CACHE_GNULIB}"};
-: ${PKG_READLINE_CONFIGURE_ARGS:="-C --disable-nls --host=${DEFAULT_TARGET} --prefix= --program-prefix= --target=${DEFAULT_TARGET} --with-curses"};
-: ${PKG_READLINE_LDFLAGS_CONFIGURE:="${DEFAULT_LDFLAGS:+${DEFAULT_LDFLAGS} }-L${PREFIX_NATIVE}/lib"};
-: ${PKG_READLINE_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
-: ${PKG_READLINE_CONFIG_CACHE_EXTRA:="
-bash_cv_func_strcoll_broken=yes
-bash_cv_func_ctype_nonascii=no
-bash_cv_must_reinstall_sighandlers=no
-bash_cv_func_sigsetjmp=yes"};
-: ${PKG_SDL1_DEPENDS:="w32api w32lib"};
-: ${PKG_SDL1_SHA256SUM:=d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00};
-: ${PKG_SDL1_VERSION:=1.2.15};
-: ${PKG_SDL1_URL:=https://www.libsdl.org/release/SDL-${PKG_SDL1_VERSION}.tar.gz};
-: ${PKG_SDL1_CFLAGS_CONFIGURE_EXTRA:="-DWINAPI_ANSI_DEFAULT -I${PREFIX_NATIVE}/include/w32api.ports"};
-: ${PKG_SDL1_IN_TREE:=1};
-: ${PKG_SDL1_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib"};
-: ${PKG_SDL1_NET_DEPENDS:="sdl1"};
-: ${PKG_SDL1_NET_SHA256SUM:=5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4};
-: ${PKG_SDL1_NET_VERSION:=1.2.8};
-: ${PKG_SDL1_NET_URL:=https://www.libsdl.org/projects/SDL_net/release/SDL_net-${PKG_SDL1_NET_VERSION}.tar.gz};
-: ${PKG_SDL1_NET_CONFIGURE_ARGS_EXTRA:="--disable-gui"};
-: ${PKG_SDL1_MIXER_DEPENDS:="sdl1"};
-: ${PKG_SDL1_MIXER_SHA256SUM:=1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a};
-: ${PKG_SDL1_MIXER_VERSION:=1.2.12};
-: ${PKG_SDL1_MIXER_URL:=https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PKG_SDL1_MIXER_VERSION}.tar.gz};
-: ${PKG_SDL1_MIXER_CONFIGURE_ARGS_EXTRA:="--enable-music-mod=no --enable-music-mod-modplug=no --enable-music-midi=no --enable-music-fluidsynth-midi=no --enable-music-mp3=no"};
-: ${PKG_SDL1_MIXER_LDFLAGS_CONFIGURE:=-L${PREFIX_NATIVE}/lib};
-: ${PKG_SDL1_IMAGE_DEPENDS:="libz sdl1 libpng libjpeg_turbo tiff"};
-: ${PKG_SDL1_IMAGE_SHA256SUM:=0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699};
-: ${PKG_SDL1_IMAGE_VERSION:=1.2.12};
-: ${PKG_SDL1_IMAGE_URL:=https://www.libsdl.org/projects/SDL_image/release/SDL_image-${PKG_SDL1_IMAGE_VERSION}.tar.gz};
-: ${PKG_SDL1_IMAGE_CONFIGURE_ARGS_EXTRA:="--enable-jpg-shared --enable-png-shared --enable-tif-shared --disable-webp --disable-webp-shared"};
-: ${PKG_SDL1_TTF_DEPENDS:="sdl1 freetype libiconv"};
-: ${PKG_SDL1_TTF_SHA256SUM:=724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7};
-: ${PKG_SDL1_TTF_VERSION:=2.0.11};
-: ${PKG_SDL1_TTF_URL:=https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PKG_SDL1_TTF_VERSION}.tar.gz};
-: ${PKG_SDL1_TTF_CONFIGURE_ARGS_EXTRA:="--with-freetype-prefix=${PREFIX_NATIVE} --without-x"};
-: ${PKG_SDL1_TTF_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2"};
-: ${PKG_SDL1_TTF_LDFLAGS_CONFIGURE_EXTRA:="-liconv"};
-: ${PKG_SDL1_TTF_IN_TREE:=1};
-: ${PKG_SDL2_DEPENDS:="w32api w32lib"};
-: ${PKG_SDL2_SHA256SUM:=349268f695c02efbc9b9148a70b85e58cefbbf704abd3e91be654db7f1e2c863};
-: ${PKG_SDL2_VERSION:=2.0.12};
-: ${PKG_SDL2_URL:=https://www.libsdl.org/release/SDL2-${PKG_SDL2_VERSION}.tar.gz};
-: ${PKG_SDL2_CONFIG_CACHE_EXTRA:="ac_cv_func_strtod=yes"};
-: ${PKG_SDL2_CONFIGURE_ARGS_EXTRA:="--disable-video-vulkan --disable-video-opengles2 --disable-alsa --disable-static --disable-power"};
-: ${PKG_SDL2_CFLAGS_CONFIGURE_EXTRA:="-DWINAPI_UTF16_DEFAULT -DUNICODE -DWINVER=0x0601 -I${PREFIX_NATIVE}/include/w32api.ports -DSDL_DISABLE_WINDOWS_IME"};
-: ${PKG_SDL2_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -lkernel32 -luser32 -lgdi32 -limm32 -lshell32 -lu16ports"};
-: ${PKG_SDL2_MAKEFLAGS_PARALLELISE:="-j1"};
-: ${PKG_SDL2_IN_TREE:=1};
-: ${PKG_SDL2_FORCE_AUTORECONF:=1};
-: ${PKG_SDL2_IMAGE_DEPENDS:="sdl2 libz libpng libjpeg_turbo tiff"};
-: ${PKG_SDL2_IMAGE_SHA256SUM:=bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0};
-: ${PKG_SDL2_IMAGE_VERSION:=2.0.5};
-: ${PKG_SDL2_IMAGE_URL:=https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PKG_SDL2_IMAGE_VERSION}.tar.gz};
-: ${PKG_SDL2_TTF_DEPENDS:="sdl2 freetype"};
-: ${PKG_SDL2_TTF_SHA256SUM:=a9eceb1ad88c1f1545cd7bd28e7cbc0b2c14191d40238f531a15b01b1b22cd33};
-: ${PKG_SDL2_TTF_VERSION:=2.0.15};
-: ${PKG_SDL2_TTF_URL:=https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PKG_SDL2_TTF_VERSION}.tar.gz};
-: ${PKG_SDL2_TTF_CONFIGURE_ARGS_EXTRA:="--without-x"};
-: ${PKG_SDL2_TTF_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2"};
-: ${PKG_SDL2_NET_DEPENDS:="sdl2"};
-: ${PKG_SDL2_NET_SHA256SUM:=15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21};
-: ${PKG_SDL2_NET_VERSION:=2.0.1};
-: ${PKG_SDL2_NET_URL:=https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PKG_SDL2_NET_VERSION}.tar.gz};
-: ${PKG_SDL2_NET_CONFIGURE_ARGS_EXTRA:="--disable-gui"};
-: ${PKG_TWOLAME_DEPENDS:="libsndfile"};
-: ${PKG_TWOLAME_SHA256SUM:=cc35424f6019a88c6f52570b63e1baf50f62963a3eac52a03a800bb070d7c87d};
-: ${PKG_TWOLAME_VERSION:=0.4.0};
-: ${PKG_TWOLAME_URL:=https://github.com/njh/twolame/releases/download/${PKG_TWOLAME_VERSION}/twolame-${PKG_TWOLAME_VERSION}.tar.gz};
-: ${PKG_WOLFSSL_DEPENDS:="libz"};
-: ${PKG_WOLFSSL_SHA256SUM:=2de93e8af588ee856fe67a6d7fce23fc1b226b74d710b0e3946bc8061f6aa18f};
-: ${PKG_WOLFSSL_VERSION:=5.7.0};
-: ${PKG_WOLFSSL_URL:=https://github.com/wolfSSL/wolfssl/archive/v${PKG_WOLFSSL_VERSION}-stable.tar.gz};
-: ${PKG_WOLFSSL_CONFIGURE_ARGS_EXTRA:="--enable-distro --disable-examples --enable-reproducible-build --enable-ed25519 --enable-ed25519-stream --with-libz=${PREFIX_NATIVE}"};
-: ${PKG_WOLFSSL_SUBDIR:=wolfssl-${PKG_WOLFSSL_VERSION}-stable};
-: ${PKG_WOLFSSL_INSTALL_FILES_V2:="
- +../obj/wolfssl/options.h=include/wolfssl/%[FNAME]"};
-
-# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/cairo.package b/groups.d/261.native_packages_x11.d/cairo.package
new file mode 100644
index 00000000..53294a9b
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/cairo.package
@@ -0,0 +1,9 @@
+: ${PKG_CAIRO_DEPENDS:="fontconfig freetype ghostpdl glib libXext libpng pixman"};
+: ${PKG_CAIRO_VERSION:=1.15.6};
+: ${PKG_CAIRO_URL:=http://cairographics.org/snapshots/cairo-${PKG_CAIRO_VERSION}.tar.xz};
+: ${PKG_CAIRO_SHA256SUM:=5228e0a1f8fd14317f30f08f3dd72971bca432f8cdd2281d421fdcc2279de58c};
+: ${PKG_CAIRO_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
+
+ex_pkg_register "cairo" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/fontconfig.package b/groups.d/261.native_packages_x11.d/fontconfig.package
new file mode 100644
index 00000000..f6670090
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/fontconfig.package
@@ -0,0 +1,10 @@
+: ${PKG_FONTCONFIG_DEPENDS:="expat freetype util_linux"};
+: ${PKG_FONTCONFIG_SHA256SUM:=298e883f6e11d2c5e6d53c8a8394de58d563902cfab934e6be12fb5a5f361ef0};
+: ${PKG_FONTCONFIG_VERSION:=2.14.1};
+: ${PKG_FONTCONFIG_URL:=https://www.freedesktop.org/software/fontconfig/release/fontconfig-${PKG_FONTCONFIG_VERSION}.tar.xz};
+: ${PKG_FONTCONFIG_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
+: ${PKG_FONTCONFIG_CONFIGURE_ARGS_EXTRA:="PYTHON=${PREFIX}/bin/python3 --enable-iconv --disable-docs"};
+
+ex_pkg_register "fontconfig" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/freetype.package b/groups.d/261.native_packages_x11.d/freetype.package
new file mode 100644
index 00000000..e826bf3f
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/freetype.package
@@ -0,0 +1,15 @@
+: ${PKG_FREETYPE_DEPENDS:="bzip2 harfbuzz libpng libz"};
+: ${PKG_FREETYPE_SHA256SUM:=3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8};
+: ${PKG_FREETYPE_VERSION:=2.11.1};
+: ${PKG_FREETYPE_URL:=http://download.savannah.gnu.org/releases/freetype/freetype-${PKG_FREETYPE_VERSION}.tar.xz};
+: ${PKG_FREETYPE_CONFIGURE_ARGS_EXTRA:="--with-bzip2=yes --with-harfbuzz=yes --with-png=yes --with-zlib=yes"};
+: ${PKG_FREETYPE_PRE_DEPENDS:="bzip2 libpng libz"};
+: ${PKG_FREETYPE_PRE_SHA256SUM:=3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8};
+: ${PKG_FREETYPE_PRE_VERSION:=2.11.1};
+: ${PKG_FREETYPE_PRE_URL:=http://download.savannah.gnu.org/releases/freetype/freetype-${PKG_FREETYPE_PRE_VERSION}.tar.xz};
+: ${PKG_FREETYPE_PRE_CONFIGURE_ARGS_EXTRA:="--with-bzip2=yes --with-harfbuzz=no --with-png=yes --with-zlib=yes"};
+: ${PKG_FREETYPE_PRE_RPM_DISABLE:=1};
+
+ex_pkg_register "freetype" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/gxemul.package b/groups.d/261.native_packages_x11.d/gxemul.package
new file mode 100644
index 00000000..97c13882
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/gxemul.package
@@ -0,0 +1,12 @@
+: ${PKG_GXEMUL_DEPENDS:="libX11"};
+: ${PKG_GXEMUL_SHA256SUM:=79c4437c6f8ca904f46d33ac36062a65fdcf4a92a248478e408ab11295cf8e83};
+: ${PKG_GXEMUL_VERSION:=0.7.0};
+: ${PKG_GXEMUL_URL:=http://gavare.se/gxemul/src/gxemul-${PKG_GXEMUL_VERSION}.tar.gz};
+: ${PKG_GXEMUL_CONFIGURE_ARGS:=""};
+: ${PKG_GXEMUL_CFLAGS_CONFIGURE_EXTRA:="-std=gnu99"};
+: ${PKG_GXEMUL_ENV_VARS_EXTRA:="XLIB=-lX11"};
+: ${PKG_GXEMUL_IN_TREE:=1};
+
+ex_pkg_register "gxemul" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/harfbuzz.package b/groups.d/261.native_packages_x11.d/harfbuzz.package
new file mode 100644
index 00000000..98d0e08f
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/harfbuzz.package
@@ -0,0 +1,9 @@
+: ${PKG_HARFBUZZ_DEPENDS:="freetype_pre glib"};
+: ${PKG_HARFBUZZ_SHA256SUM:=613264460bb6814c3894e3953225c5357402915853a652d40b4230ce5faf0bee};
+: ${PKG_HARFBUZZ_VERSION:=2.1.3};
+: ${PKG_HARFBUZZ_URL:=https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${PKG_HARFBUZZ_VERSION}.tar.bz2};
+: ${PKG_HARFBUZZ_CONFIGURE_ARGS_EXTRA:="--with-icu=no --with-cairo=no"};
+
+ex_pkg_register "harfbuzz" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/imlib2.package b/groups.d/261.native_packages_x11.d/imlib2.package
new file mode 100644
index 00000000..0a51345e
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/imlib2.package
@@ -0,0 +1,12 @@
+: ${PKG_IMLIB2_DEPENDS:="freetype libX11 libXext"};
+: ${PKG_IMLIB2_SHA256SUM:=4d393a77e13da883c8ee2da3b029da3570210fe37d000c9ac33d9fce751b166d};
+: ${PKG_IMLIB2_VERSION:=1.6.1};
+: ${PKG_IMLIB2_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/imlib/imlib2-${PKG_IMLIB2_VERSION}.tar.bz2};
+: ${PKG_IMLIB2_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
+: ${PKG_IMLIB2_CPPFLAGS_CONFIGURE:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
+: ${PKG_IMLIB2_CONFIGURE_ARGS_EXTRA:="--disable-static --disable-mmx --disable-amd64"};
+: ${PKG_IMLIB2_LIBTOOL=rdlibtool};
+
+ex_pkg_register "imlib2" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libcaca.package b/groups.d/261.native_packages_x11.d/libcaca.package
new file mode 100644
index 00000000..044ffd5b
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libcaca.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBCACA_DEPENDS:="freetype ncursesw"};
+: ${PKG_LIBCACA_URLS_GIT:=libcaca=https://github.com/cacalabs/libcaca@main};
+: ${PKG_LIBCACA_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -std=gnu99"};
+: ${PKG_LIBCACA_LDFLAGS_CONFIGURE_EXTRA:="-Wl,--as-needed -ltinfow -Wl,--as-needed"};
+
+ex_pkg_register "libcaca" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libfontenc.package b/groups.d/261.native_packages_x11.d/libfontenc.package
new file mode 100644
index 00000000..30746ee8
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libfontenc.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBFONTENC_DEPENDS:="libz xorgproto"};
+: ${PKG_LIBFONTENC_SHA256SUM:=c0d36991faee06551ddbaf5d99266e97becdc05edfae87a833c3ff7bf73cfec2};
+: ${PKG_LIBFONTENC_VERSION:=1.1.7};
+: ${PKG_LIBFONTENC_URL:=https://x.org/releases/individual/lib/libfontenc-${PKG_LIBFONTENC_VERSION}.tar.xz};
+
+ex_pkg_register "libfontenc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libice.package b/groups.d/261.native_packages_x11.d/libice.package
new file mode 100644
index 00000000..75e5484a
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libice.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBICE_DEPENDS:="xorgproto xtrans"};
+: ${PKG_LIBICE_SHA256SUM:=03e77afaf72942c7ac02ccebb19034e6e20f456dcf8dddadfeb572aa5ad3e451};
+: ${PKG_LIBICE_VERSION:=1.1.1};
+: ${PKG_LIBICE_URL:=https://www.x.org/releases/individual/lib/libICE-${PKG_LIBICE_VERSION}.tar.xz};
+: ${PKG_LIBICE_CONFIGURE_ARGS_EXTRA:="--disable-unix-transport"};
+
+ex_pkg_register "libice" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libpthread_stubs.package b/groups.d/261.native_packages_x11.d/libpthread_stubs.package
new file mode 100644
index 00000000..c20e07af
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libpthread_stubs.package
@@ -0,0 +1,7 @@
+: ${PKG_LIBPTHREAD_STUBS_SHA256SUM:=e4d05911a3165d3b18321cc067fdd2f023f06436e391c6a28dff618a78d2e733};
+: ${PKG_LIBPTHREAD_STUBS_VERSION:=0.4};
+: ${PKG_LIBPTHREAD_STUBS_URL:=https://xcb.freedesktop.org/dist/libpthread-stubs-${PKG_LIBPTHREAD_STUBS_VERSION}.tar.bz2};
+
+ex_pkg_register "libpthread_stubs" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libsm.package b/groups.d/261.native_packages_x11.d/libsm.package
new file mode 100644
index 00000000..269eb51d
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libsm.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBSM_DEPENDS:="libICE xtrans"};
+: ${PKG_LIBSM_SHA256SUM:=fdcbe51e4d1276b1183da77a8a4e74a137ca203e0bcfb20972dd5f3347e97b84};
+: ${PKG_LIBSM_VERSION:=1.2.4};
+: ${PKG_LIBSM_URL:=https://www.x.org/releases/individual/lib/libSM-${PKG_LIBSM_VERSION}.tar.xz};
+: ${PKG_LIBSM_CONFIGURE_ARGS_EXTRA:="--disable-unix-transport"};
+
+ex_pkg_register "libsm" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libx11.package b/groups.d/261.native_packages_x11.d/libx11.package
new file mode 100644
index 00000000..960b25d2
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libx11.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBX11_DEPENDS:="xcb xorgproto xtrans"};
+: ${PKG_LIBX11_SHA256SUM:=05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee};
+: ${PKG_LIBX11_VERSION:=1.8.7};
+: ${PKG_LIBX11_URL:=https://www.x.org/releases/individual/lib/libX11-${PKG_LIBX11_VERSION}.tar.xz};
+: ${PKG_LIBX11_CONFIGURE_ARGS_EXTRA:="--without-fop --disable-unix-transport"};
+
+ex_pkg_register "libx11" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxau.package b/groups.d/261.native_packages_x11.d/libxau.package
new file mode 100644
index 00000000..0d704a90
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxau.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBXAU_DEPENDS:="xorgproto"};
+: ${PKG_LIBXAU_SHA256SUM:=f3fa3282f5570c3f6bd620244438dbfbdd580fc80f02f549587a0f8ab329bbeb};
+: ${PKG_LIBXAU_VERSION:=1.0.11};
+: ${PKG_LIBXAU_URL:=https://www.x.org/releases/individual/lib/libXau-${PKG_LIBXAU_VERSION}.tar.xz};
+
+ex_pkg_register "libxau" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxaw.package b/groups.d/261.native_packages_x11.d/libxaw.package
new file mode 100644
index 00000000..26b4c9e8
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxaw.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBXAW_DEPENDS:="libX11 libXext libXmu libXpm libXt xorgproto"};
+: ${PKG_LIBXAW_SHA256SUM:=76aef98ea3df92615faec28004b5ce4e5c6855e716fa16de40c32030722a6f8e};
+: ${PKG_LIBXAW_VERSION:=1.0.14};
+: ${PKG_LIBXAW_URL:=https://www.x.org/releases/individual/lib/libXaw-${PKG_LIBXAW_VERSION}.tar.bz2};
+: ${PKG_LIBXAW_CONFIGURE_ARGS_EXTRA:="--without-fop"};
+
+ex_pkg_register "libxaw" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxcursor.package b/groups.d/261.native_packages_x11.d/libxcursor.package
new file mode 100644
index 00000000..6ef793b1
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxcursor.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBXCURSOR_DEPENDS:="libX11 libXfixes xorgproto Xrender"};
+: ${PKG_LIBXCURSOR_SHA256SUM:=77f96b9ad0a3c422cfa826afabaf1e02b9bfbfc8908c5fa1a45094faad074b98};
+: ${PKG_LIBXCURSOR_VERSION:=1.2.1};
+: ${PKG_LIBXCURSOR_URL:=https://www.x.org/releases/individual/lib/libXcursor-${PKG_LIBXCURSOR_VERSION}.tar.gz};
+
+ex_pkg_register "libxcursor" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxdamage.package b/groups.d/261.native_packages_x11.d/libxdamage.package
new file mode 100644
index 00000000..4fccb65f
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxdamage.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBXDAMAGE_DEPENDS:="libX11 libXfixes xorgproto"};
+: ${PKG_LIBXDAMAGE_SHA256SUM:=52733c1f5262fca35f64e7d5060c6fcd81a880ba8e1e65c9621cf0727afb5d11};
+: ${PKG_LIBXDAMAGE_VERSION:=1.1.6};
+: ${PKG_LIBXDAMAGE_URL:=https://x.org/releases/individual/lib/libXdamage-${PKG_LIBXDAMAGE_VERSION}.tar.xz};
+
+ex_pkg_register "libxdamage" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxdmcp.package b/groups.d/261.native_packages_x11.d/libxdmcp.package
new file mode 100644
index 00000000..abfb7656
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxdmcp.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBXDMCP_DEPENDS:="xorgproto"};
+: ${PKG_LIBXDMCP_SHA256SUM:=20523b44aaa513e17c009e873ad7bbc301507a3224c232610ce2e099011c6529};
+: ${PKG_LIBXDMCP_VERSION:=1.1.3};
+: ${PKG_LIBXDMCP_URL:=https://x.org/releases/individual/lib/libXdmcp-${PKG_LIBXDMCP_VERSION}.tar.bz2};
+: ${PKg_LIBXDMCP_CONFIGURE_ARGS_EXTRA:="--without-fop"};
+
+ex_pkg_register "libxdmcp" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxext.package b/groups.d/261.native_packages_x11.d/libxext.package
new file mode 100644
index 00000000..03848a02
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxext.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBXEXT_DEPENDS:="libX11 xorgproto"};
+: ${PKG_LIBXEXT_SHA256SUM:=db14c0c895c57ea33a8559de8cb2b93dc76c42ea4a39e294d175938a133d7bca};
+: ${PKG_LIBXEXT_VERSION:=1.3.5};
+: ${PKG_LIBXEXT_URL:=https://www.x.org/releases/individual/lib/libXext-${PKG_LIBXEXT_VERSION}.tar.xz};
+: ${PKG_LIBXEXT_CONFIGURE_ARGS_EXTRA:="--without-fop"};
+
+ex_pkg_register "libxext" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxfixes.package b/groups.d/261.native_packages_x11.d/libxfixes.package
new file mode 100644
index 00000000..11ae958e
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxfixes.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBXFIXES_DEPENDS:="libX11 util_macros xorgproto"};
+: ${PKG_LIBXFIXES_SHA256SUM:=9ab6c13590658501ce4bd965a8a5d32ba4d8b3bb39a5a5bc9901edffc5666570};
+: ${PKG_LIBXFIXES_VERSION:=5.0.3};
+: ${PKG_LIBXFIXES_URL:=https://x.org/releases/individual/lib/libXfixes-${PKG_LIBXFIXES_VERSION}.tar.gz};
+
+ex_pkg_register "libxfixes" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxfont2.package b/groups.d/261.native_packages_x11.d/libxfont2.package
new file mode 100644
index 00000000..c6330894
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxfont2.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBXFONT2_DEPENDS:="freetype libfontenc libz xorgproto xtrans"};
+: ${PKG_LIBXFONT2_SHA256SUM:=0e8ab7fd737ccdfe87e1f02b55f221f0bd4503a1c5f28be4ed6a54586bac9c4e};
+: ${PKG_LIBXFONT2_VERSION:=2.0.3};
+: ${PKG_LIBXFONT2_URL:=https://x.org/releases/individual/lib/libXfont2-${PKG_LIBXFONT2_VERSION}.tar.bz2};
+: ${PKG_LIBXFONT2_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
+
+ex_pkg_register "libxfont2" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxft.package b/groups.d/261.native_packages_x11.d/libxft.package
new file mode 100644
index 00000000..db5bb113
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxft.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBXFT_DEPENDS:="fontconfig freetype libX11 util_macros Xrender"};
+: ${PKG_LIBXFT_SHA256SUM:=7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd};
+: ${PKG_LIBXFT_VERSION:=2.3.1};
+: ${PKG_LIBXFT_URL:=https://www.x.org/releases/individual/lib/libXft-${PKG_LIBXFT_VERSION}.tar.bz2};
+: ${PKG_LIBXFT_CFLAGS_BUILD_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
+
+ex_pkg_register "libxft" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxi.package b/groups.d/261.native_packages_x11.d/libxi.package
new file mode 100644
index 00000000..dbebf326
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxi.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBXI_DEPENDS:="libX11 libXext libXfixes util_macros xorgproto"};
+: ${PKG_LIBXI_SHA256SUM:=463cc5370191404bc0f8a450fdbf6d9159efbbf274e5e0f427a60191fed9cf4b};
+: ${PKG_LIBXI_VERSION:=1.7.9};
+: ${PKG_LIBXI_URL:=https://x.org/releases/individual/lib/libXi-${PKG_LIBXI_VERSION}.tar.gz};
+
+ex_pkg_register "libxi" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxkbfile.package b/groups.d/261.native_packages_x11.d/libxkbfile.package
new file mode 100644
index 00000000..330c6875
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxkbfile.package
@@ -0,0 +1,8 @@
+: ${PKG_LIBXKBFILE_DEPENDS:="libX11"};
+: ${PKG_LIBXKBFILE_SHA256SUM:=51817e0530961975d9513b773960b4edd275f7d5c72293d5a151ed4f42aeb16a};
+: ${PKG_LIBXKBFILE_VERSION:=1.0.9};
+: ${PKG_LIBXKBFILE_URL:=https://www.x.org/releases/individual/lib/libxkbfile-${PKG_LIBXKBFILE_VERSION}.tar.bz2};
+
+ex_pkg_register "libxkbfile" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxmu.package b/groups.d/261.native_packages_x11.d/libxmu.package
new file mode 100644
index 00000000..87fe8d6b
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxmu.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBXMU_DEPENDS:="libXext libXt libX11 xorgproto"};
+: ${PKG_LIBXMU_SHA256SUM:=210de3ab9c3e9382572c25d17c2518a854ce6e2c62c5f8315deac7579e758244};
+: ${PKG_LIBXMU_VERSION:=1.1.4};
+: ${PKG_LIBXMU_URL:=https://www.x.org/releases/individual/lib/libXmu-${PKG_LIBXMU_VERSION}.tar.xz};
+: ${PKG_LIBXMU_CONFIGURE_ARGS_EXTRA:="--without-fop --disable-unix-transport"};
+
+ex_pkg_register "libxmu" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxpm.package b/groups.d/261.native_packages_x11.d/libxpm.package
new file mode 100644
index 00000000..7951f9fe
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxpm.package
@@ -0,0 +1,9 @@
+: ${PKG_LIBXPM_DEPENDS:="libX11 xorgproto"};
+: ${PKG_LIBXPM_SHA256SUM:=60bb906c5c317a6db863e39b69c4a83fdbd2ae2154fcf47640f8fefc9fdfd1c1};
+: ${PKG_LIBXPM_VERSION:=3.5.15};
+: ${PKG_LIBXPM_URL:=https://www.x.org/releases/individual/lib/libXpm-${PKG_LIBXPM_VERSION}.tar.xz};
+: ${PKG_LIBXPM_CONFIGURE_ARGS_EXTRA:="--disable-open-zfile --disable-stat-zfile --disable-unit-tests"};
+
+ex_pkg_register "libxpm" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/libxt.package b/groups.d/261.native_packages_x11.d/libxt.package
new file mode 100644
index 00000000..216ee28d
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/libxt.package
@@ -0,0 +1,15 @@
+: ${PKG_LIBXT_DEPENDS:="libICE libSM libX11"};
+: ${PKG_LIBXT_SHA256SUM:=679cc08f1646dbd27f5e48ffe8dd49406102937109130caab02ca32c083a3d60};
+: ${PKG_LIBXT_VERSION:=1.2.1};
+: ${PKG_LIBXT_URL:=https://www.x.org/releases/individual/lib/libXt-${PKG_LIBXT_VERSION}.tar.bz2};
+: ${PKG_LIBXT_CONFIGURE_ARGS_EXTRA:="--without-fop"};
+: ${PKG_LIBXT_LDFLAGS_CONFIGURE:=-g};
+: ${PKG_LIBXTST_DEPENDS:="libX11 libXext libXi xorgproto"};
+: ${PKG_LIBXTST_SHA256SUM:=84f5f30b9254b4ffee14b5b0940e2622153b0d3aed8286a3c5b7eeb340ca33c8};
+: ${PKG_LIBXTST_VERSION:=1.2.4};
+: ${PKG_LIBXTST_URL:=http://www.x.org/releases/individual/lib/libXtst-${PKG_LIBXTST_VERSION}.tar.xz};
+: ${PKG_LIBXTST_CONFIGURE_ARGS_EXTRA:="--without-fop"};
+
+ex_pkg_register "libxt" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/pango.package b/groups.d/261.native_packages_x11.d/pango.package
new file mode 100644
index 00000000..3aebcd31
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/pango.package
@@ -0,0 +1,9 @@
+: ${PKG_PANGO_DEPENDS:="cairo fontconfig harfbuzz"};
+: ${PKG_PANGO_VERSION:=1.40.11};
+: ${PKG_PANGO_SHA256SUM:=5b11140590e632739e4151cae06b8116160d59e22bf36a3ccd5df76d1cf0383e};
+: ${PKG_PANGO_URL:=http://ftp.gnome.org/pub/GNOME/sources/pango/${PKG_PANGO_VERSION%.*}/pango-${PKG_PANGO_VERSION}.tar.xz};
+: ${PKG_PANGO_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2 -I${PREFIX_NATIVE}/include/harfbuzz};
+
+ex_pkg_register "pango" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/pixman.package b/groups.d/261.native_packages_x11.d/pixman.package
new file mode 100644
index 00000000..42a9e561
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/pixman.package
@@ -0,0 +1,7 @@
+: ${PKG_PIXMAN_VERSION:=0.34.0};
+: ${PKG_PIXMAN_URL:=https://www.cairographics.org/releases/pixman-${PKG_PIXMAN_VERSION}.tar.gz};
+: ${PKG_PIXMAN_SHA256SUM:=21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e};
+
+ex_pkg_register "pixman" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/rdesktop.package b/groups.d/261.native_packages_x11.d/rdesktop.package
new file mode 100644
index 00000000..eb62f386
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/rdesktop.package
@@ -0,0 +1,11 @@
+: ${PKG_RDESKTOP_DEPENDS:="gnutls libICE libX11 libXcursor"};
+: ${PKG_RDESKTOP_SHA256SUM:=473c2f312391379960efe41caad37852c59312bc8f100f9b5f26609ab5704288};
+: ${PKG_RDESKTOP_VERSION:=1.9.0};
+: ${PKG_RDESKTOP_URL:=https://github.com/rdesktop/rdesktop/releases/download/v${PKG_RDESKTOP_VERSION}/rdesktop-${PKG_RDESKTOP_VERSION}.tar.gz};
+: ${PKG_RDESKTOP_CPPFLAGS_CONFIGURE:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
+: ${PKG_RDESKTOP_IN_TREE:=1};
+: ${PKG_RDESKTOP_CONFIGURE_ARGS_EXTRA:="--disable-credssp --disable-smartcard --without-sound --with-openssl=${PREFIX_NATIVE}"};
+
+ex_pkg_register "rdesktop" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/rxvt_unicode.package b/groups.d/261.native_packages_x11.d/rxvt_unicode.package
new file mode 100644
index 00000000..68bb8ebe
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/rxvt_unicode.package
@@ -0,0 +1,9 @@
+: ${PKG_RXVT_UNICODE_DEPENDS:="libX11 libXmu libXft Xrender"};
+: ${PKG_RXVT_UNICODE_SHA256SUM:=e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd};
+: ${PKG_RXVT_UNICODE_VERSION:=9.22};
+: ${PKG_RXVT_UNICODE_URL:=http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PKG_RXVT_UNICODE_VERSION}.tar.bz2};
+: ${PKG_RXVT_UNICODE_CONFIGURE_ARGS_EXTRA:=--disable-perl --disable-lastlog --disable-utmp --disable-wtmp --disable-xft --disable-pixbuf};
+
+ex_pkg_register "rxvt_unicode" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/st.package b/groups.d/261.native_packages_x11.d/st.package
new file mode 100644
index 00000000..2194c42d
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/st.package
@@ -0,0 +1,16 @@
+: ${PKG_ST_DEPENDS:="freetype fontconfig libX11 libXft"};
+: ${PKG_ST_SHA256SUM:=f7870d906ccc988926eef2cc98950a99cc78725b685e934c422c03c1234e6000};
+: ${PKG_ST_VERSION:=0.7};
+: ${PKG_ST_URL:=https://dl.suckless.org/st/st-${PKG_ST_VERSION}.tar.gz};
+: ${PKG_ST_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_ST_CFLAGS_BUILD_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -I${PREFIX_NATIVE}/include"};
+: ${PKG_ST_IN_TREE:=1};
+: ${PKG_ST_INSTALL_FILES_V2:="
+ +../st-${PKG_ST_VERSION}/st=bin/%[FNAME]
+ +../st-${PKG_ST_VERSION}/st.info=share/info/%[FNAME]
+ +../st-${PKG_ST_VERSION}/st.1=share/man/man1/%[FNAME]"};
+: ${PKG_ST_LDFLAGS_BUILD_EXTRA:=-L${PREFIX_NATIVE}/lib -lX11 -lXft -lfreetype -lfontconfig};
+
+ex_pkg_register "st" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/util_macros.package b/groups.d/261.native_packages_x11.d/util_macros.package
new file mode 100644
index 00000000..9838f66a
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/util_macros.package
@@ -0,0 +1,7 @@
+: ${PKG_UTIL_MACROS_SHA256SUM:=d7e43376ad220411499a79735020f9d145fdc159284867e99467e0d771f3e712};
+: ${PKG_UTIL_MACROS_VERSION:=1.19.2};
+: ${PKG_UTIL_MACROS_URL:=https://www.x.org/archive/individual/util/util-macros-${PKG_UTIL_MACROS_VERSION}.tar.bz2};
+
+ex_pkg_register "util_macros" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/xcalc.package b/groups.d/261.native_packages_x11.d/xcalc.package
new file mode 100644
index 00000000..e577f867
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/xcalc.package
@@ -0,0 +1,8 @@
+: ${PKG_XCALC_DEPENDS:="libX11 libXt libXaw"};
+: ${PKG_XCALC_SHA256SUM:=8578dfa1457e94289f6d6ed6146714307d8a73a1b54d2f42af1321b625fc1cd4};
+: ${PKG_XCALC_VERSION:=1.1.2};
+: ${PKG_XCALC_URL:=https://www.x.org/releases/individual/app/xcalc-${PKG_XCALC_VERSION}.tar.xz};
+
+ex_pkg_register "xcalc" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/xcb.package b/groups.d/261.native_packages_x11.d/xcb.package
new file mode 100644
index 00000000..4feb38f7
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/xcb.package
@@ -0,0 +1,27 @@
+: ${PKG_XCB_DEPENDS:="libpthread_stubs libXau xcb_proto"};
+: ${PKG_XCB_SHA256SUM:=f24d187154c8e027b358fc7cb6588e35e33e6a92f11c668fe77396a7ae66e311};
+: ${PKG_XCB_VERSION:=1.16.1};
+: ${PKG_XCB_URL:=https://www.x.org/releases/individual/xcb/libxcb-${PKG_XCB_VERSION}.tar.xz};
+: ${PKG_XCB_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
+: ${PKG_XCB_CONFIG_CACHE_EXTRA:="ac_cv_search_sendmsg=no"};
+: ${PKG_XCB_CONFIGURE_ARGS_EXTRA:="--disable-randr PYTHON=${PREFIX}/bin/python3"};
+: ${PKG_XCB_ENV_VARS_EXTRA:="XCBPROTO_XCBPYTHONDIR=${PREFIX_NATIVE}/lib/python2.7/site-packages:XCBPROTO_XCBINCLUDEDIR=${PREFIX_NATIVE}/share/xcb"};
+: ${PKG_XCB_PROTO_SHA256SUM:=a75a1848ad2a89a82d841a51be56ce988ff3c63a8d6bf4383ae3219d8d915119};
+: ${PKG_XCB_PROTO_VERSION:=1.16.0};
+: ${PKG_XCB_PROTO_URL:=https://www.x.org/releases/individual/proto/xcb-proto-${PKG_XCB_PROTO_VERSION}.tar.xz};
+: ${PKG_XCB_UTIL_DEPENDS:="xcb"};
+: ${PKG_XCB_UTIL_SHA256SUM:=5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512};
+: ${PKG_XCB_UTIL_VERSION:=0.4.1};
+: ${PKG_XCB_UTIL_URL:=https://x.org/releases/individual/xcb/xcb-util-${PKG_XCB_UTIL_VERSION}.tar.xz};
+: ${PKG_XCB_UTIL_IMAGE_DEPENDS:="xcb xcb_util"};
+: ${PKG_XCB_UTIL_IMAGE_SHA256SUM:=ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d};
+: ${PKG_XCB_UTIL_IMAGE_VERSION:=0.4.1};
+: ${PKG_XCB_UTIL_IMAGE_URL:=https://x.org/releases/individual/xcb/xcb-util-image-${PKG_XCB_UTIL_IMAGE_VERSION}.tar.xz};
+: ${PKG_XCB_UTIL_WM_DEPENDS:="xcb"};
+: ${PKG_XCB_UTIL_WM_SHA256SUM:=62c34e21d06264687faea7edbf63632c9f04d55e72114aa4a57bb95e4f888a0b};
+: ${PKG_XCB_UTIL_WM_VERSION:=0.4.2};
+: ${PKG_XCB_UTIL_WM_URL:=https://x.org/releases/individual/xcb/xcb-util-wm-${PKG_XCB_UTIL_WM_VERSION}.tar.xz};
+
+ex_pkg_register "xcb" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/xeyes.package b/groups.d/261.native_packages_x11.d/xeyes.package
new file mode 100644
index 00000000..e0026399
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/xeyes.package
@@ -0,0 +1,8 @@
+: ${PKG_XEYES_DEPENDS:="libX11 libXext libXmu libXt Xrender"};
+: ${PKG_XEYES_SHA256SUM:=57bcec0d2d167af9e5d44d0dbd74c6d7c0f0591cd0608952b23c749fdd910553};
+: ${PKG_XEYES_VERSION:=1.1.2};
+: ${PKG_XEYES_URL:=https://www.x.org/releases/individual/app/xeyes-${PKG_XEYES_VERSION}.tar.bz2};
+
+ex_pkg_register "xeyes" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/xorgproto.package b/groups.d/261.native_packages_x11.d/xorgproto.package
new file mode 100644
index 00000000..db6075d2
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/xorgproto.package
@@ -0,0 +1,8 @@
+: ${PKG_XORGPROTO_SHA256SUM:=5d13dbf2be08f95323985de53352c4f352713860457b95ccaf894a647ac06b9e};
+: ${PKG_XORGPROTO_VERSION:=2022.2};
+: ${PKG_XORGPROTO_URL:=https://www.x.org/releases/individual/proto/xorgproto-${PKG_XORGPROTO_VERSION}.tar.xz};
+: ${PKG_XORGPROTO_CONFIGURE_ARGS_EXTRA:="--without-fop --disable-specs --enable-legacy PYTHON=${PREFIX}/bin/python3"};
+
+ex_pkg_register "xorgproto" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/xrender.package b/groups.d/261.native_packages_x11.d/xrender.package
new file mode 100644
index 00000000..585d6015
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/xrender.package
@@ -0,0 +1,8 @@
+: ${PKG_XRENDER_DEPENDS:="libX11 xorgproto"};
+: ${PKG_XRENDER_SHA256SUM:=c06d5979f86e64cabbde57c223938db0b939dff49fdb5a793a1d3d0396650949};
+: ${PKG_XRENDER_VERSION:=0.9.10};
+: ${PKG_XRENDER_URL:=https://www.x.org/releases/individual/lib/libXrender-${PKG_XRENDER_VERSION}.tar.bz2};
+
+ex_pkg_register "xrender" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/xterm.package b/groups.d/261.native_packages_x11.d/xterm.package
new file mode 100644
index 00000000..ada1db40
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/xterm.package
@@ -0,0 +1,10 @@
+: ${PKG_XTERM_DEPENDS:="libX11 libXaw libXmu libXpm ncurses"};
+: ${PKG_XTERM_SHA256SUM:=9ae856a30fd93046be93952a6898ba47f6f88ad6a988a7c949c4c80d5199ef10};
+: ${PKG_XTERM_VERSION:=331};
+: ${PKG_XTERM_URL:=ftp://ftp.invisible-island.net/xterm/xterm-${PKG_XTERM_VERSION}.tgz};
+: ${PKG_XTERM_CONFIGURE_ARGS_EXTRA:="--disable-setuid --disable-setgid --disable-full-tgetent --enable-ansi-color --enable-88-color --enable-256-color --enable-broken-osc --enable-broken-st --enable-load-vt-fonts --enable-i18n --enable-doublechars --enable-warnings --enable-tcap-query --enable-logging --enable-dabbrev --enable-freetype --enable-luit --enable-mini-luit --enable-narrowproto --enable-exec-xterm --enable-sixel-graphics --with-utempter"};
+: ${PKG_XTERM_ENV_VARS_EXTRA:=LIBS=-lncurses -ltinfo};
+
+ex_pkg_register "xterm" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/xtrans.package b/groups.d/261.native_packages_x11.d/xtrans.package
new file mode 100644
index 00000000..8dfc06b1
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/xtrans.package
@@ -0,0 +1,9 @@
+: ${PKG_XTRANS_DEPENDS:="util_macros"};
+: ${PKG_XTRANS_SHA256SUM:=377c4491593c417946efcd2c7600d1e62639f7a8bbca391887e2c4679807d773};
+: ${PKG_XTRANS_VERSION:=1.4.0};
+: ${PKG_XTRANS_URL:=https://www.x.org/releases/individual/lib/xtrans-${PKG_XTRANS_VERSION}.tar.bz2};
+: ${PKG_XTRANS_CONFIGURE_ARGS_EXTRA:="--without-fop"};
+
+ex_pkg_register "xtrans" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/xwd.package b/groups.d/261.native_packages_x11.d/xwd.package
new file mode 100644
index 00000000..f0c5d142
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/xwd.package
@@ -0,0 +1,8 @@
+: ${PKG_XWD_DEPENDS:="libX11 libxkbfile"};
+: ${PKG_XWD_SHA256SUM:=3bb396a2268d78de4b1c3e5237a85f7849d3434e87b3cd1f4d57eef614227d79};
+: ${PKG_XWD_VERSION:=1.0.6};
+: ${PKG_XWD_URL:=https://www.x.org/releases/individual/app/xwd-${PKG_XWD_VERSION}.tar.bz2};
+
+ex_pkg_register "xwd" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.d/xwin.package b/groups.d/261.native_packages_x11.d/xwin.package
new file mode 100644
index 00000000..674786ed
--- /dev/null
+++ b/groups.d/261.native_packages_x11.d/xwin.package
@@ -0,0 +1,12 @@
+: ${PKG_XWIN_SHA256SUM:=59c99fe86fe75b8164c6567bfc6e982aecc2e4a51e6fbac1b842d5d00549e918};
+: ${PKG_XWIN_VERSION:=1.20.1};
+: ${PKG_XWIN_URL:=https://x.org/releases/individual/xserver/xorg-server-${PKG_XWIN_VERSION}.tar.bz2};
+: ${PKG_XWIN_CFLAGS_BUILD_EXTRA:=-Wno-redundant-decls};
+: ${PKG_XWIN_CFLAGS_CONFIGURE_EXTRA:="-DWINAPI_ANSI_DEFAULT -I${PREFIX_NATIVE}/include/w32api.ports/"};
+: ${PKG_XWIN_CONFIGURE_ARGS_EXTRA:="--enable-xwin --disable-xorg --disable-dri --disable-dri2 --disable-dri3 --disable-pciaccess --disable-glx"};
+: ${PKG_XWIN_DISABLED:=1};
+: ${PKG_XWIN_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib/"};
+
+ex_pkg_register "xwin" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/261.native_packages_x11.group b/groups.d/261.native_packages_x11.group
deleted file mode 100644
index c81033a4..00000000
--- a/groups.d/261.native_packages_x11.group
+++ /dev/null
@@ -1,249 +0,0 @@
-#
-# Build group native_packages (x11)
-#
-GROUP_TARGET_APPEND="native_packages";
-NATIVE_PACKAGES_X11_PACKAGES="
-cairo fontconfig freetype freetype_pre gxemul harfbuzz imlib2
-libcaca libfontenc libICE libpthread_stubs libSM libX11 libXau
-libXaw libXdamage libXdmcp libXext libXfixes libXfont2 libXft libXi libxkbfile
-libXmu libXpm libXt libXtst libXcursor pango pixman rdesktop rxvt_unicode
-st util_macros xcb xcb_proto xcb_util xcb_util_image xcb_util_wm xcalc
-xeyes xorgproto Xrender xterm xtrans xwd xwin";
-: ${PKG_CAIRO_DEPENDS:="fontconfig freetype ghostpdl glib libXext libpng pixman"};
-: ${PKG_CAIRO_VERSION:=1.15.6};
-: ${PKG_CAIRO_URL:=http://cairographics.org/snapshots/cairo-${PKG_CAIRO_VERSION}.tar.xz};
-: ${PKG_CAIRO_SHA256SUM:=5228e0a1f8fd14317f30f08f3dd72971bca432f8cdd2281d421fdcc2279de58c};
-: ${PKG_CAIRO_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
-: ${PKG_FONTCONFIG_DEPENDS:="expat freetype util_linux"};
-: ${PKG_FONTCONFIG_SHA256SUM:=298e883f6e11d2c5e6d53c8a8394de58d563902cfab934e6be12fb5a5f361ef0};
-: ${PKG_FONTCONFIG_VERSION:=2.14.1};
-: ${PKG_FONTCONFIG_URL:=https://www.freedesktop.org/software/fontconfig/release/fontconfig-${PKG_FONTCONFIG_VERSION}.tar.xz};
-: ${PKG_FONTCONFIG_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
-: ${PKG_FONTCONFIG_CONFIGURE_ARGS_EXTRA:="PYTHON=${PREFIX}/bin/python3 --enable-iconv --disable-docs"};
-: ${PKG_FREETYPE_DEPENDS:="bzip2 harfbuzz libpng libz"};
-: ${PKG_FREETYPE_SHA256SUM:=3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8};
-: ${PKG_FREETYPE_VERSION:=2.11.1};
-: ${PKG_FREETYPE_URL:=http://download.savannah.gnu.org/releases/freetype/freetype-${PKG_FREETYPE_VERSION}.tar.xz};
-: ${PKG_FREETYPE_CONFIGURE_ARGS_EXTRA:="--with-bzip2=yes --with-harfbuzz=yes --with-png=yes --with-zlib=yes"};
-: ${PKG_FREETYPE_PRE_DEPENDS:="bzip2 libpng libz"};
-: ${PKG_FREETYPE_PRE_SHA256SUM:=3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8};
-: ${PKG_FREETYPE_PRE_VERSION:=2.11.1};
-: ${PKG_FREETYPE_PRE_URL:=http://download.savannah.gnu.org/releases/freetype/freetype-${PKG_FREETYPE_PRE_VERSION}.tar.xz};
-: ${PKG_FREETYPE_PRE_CONFIGURE_ARGS_EXTRA:="--with-bzip2=yes --with-harfbuzz=no --with-png=yes --with-zlib=yes"};
-: ${PKG_FREETYPE_PRE_RPM_DISABLE:=1};
-: ${PKG_GXEMUL_DEPENDS:="libX11"};
-: ${PKG_GXEMUL_SHA256SUM:=79c4437c6f8ca904f46d33ac36062a65fdcf4a92a248478e408ab11295cf8e83};
-: ${PKG_GXEMUL_VERSION:=0.7.0};
-: ${PKG_GXEMUL_URL:=http://gavare.se/gxemul/src/gxemul-${PKG_GXEMUL_VERSION}.tar.gz};
-: ${PKG_GXEMUL_CONFIGURE_ARGS:=""};
-: ${PKG_GXEMUL_CFLAGS_CONFIGURE_EXTRA:="-std=gnu99"};
-: ${PKG_GXEMUL_ENV_VARS_EXTRA:="XLIB=-lX11"};
-: ${PKG_GXEMUL_IN_TREE:=1};
-: ${PKG_HARFBUZZ_DEPENDS:="freetype_pre glib"};
-: ${PKG_HARFBUZZ_SHA256SUM:=613264460bb6814c3894e3953225c5357402915853a652d40b4230ce5faf0bee};
-: ${PKG_HARFBUZZ_VERSION:=2.1.3};
-: ${PKG_HARFBUZZ_URL:=https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${PKG_HARFBUZZ_VERSION}.tar.bz2};
-: ${PKG_HARFBUZZ_CONFIGURE_ARGS_EXTRA:="--with-icu=no --with-cairo=no"};
-: ${PKG_IMLIB2_DEPENDS:="freetype libX11 libXext"};
-: ${PKG_IMLIB2_SHA256SUM:=4d393a77e13da883c8ee2da3b029da3570210fe37d000c9ac33d9fce751b166d};
-: ${PKG_IMLIB2_VERSION:=1.6.1};
-: ${PKG_IMLIB2_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/imlib/imlib2-${PKG_IMLIB2_VERSION}.tar.bz2};
-: ${PKG_IMLIB2_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
-: ${PKG_IMLIB2_CPPFLAGS_CONFIGURE:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
-: ${PKG_IMLIB2_CONFIGURE_ARGS_EXTRA:="--disable-static --disable-mmx --disable-amd64"};
-: ${PKG_IMLIB2_LIBTOOL=rdlibtool};
-: ${PKG_LIBCACA_DEPENDS:="freetype ncursesw"};
-: ${PKG_LIBCACA_URLS_GIT:=libcaca=https://github.com/cacalabs/libcaca@main};
-: ${PKG_LIBCACA_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -std=gnu99"};
-: ${PKG_LIBCACA_LDFLAGS_CONFIGURE_EXTRA:="-Wl,--as-needed -ltinfow -Wl,--as-needed"};
-: ${PKG_LIBFONTENC_DEPENDS:="libz xorgproto"};
-: ${PKG_LIBFONTENC_SHA256SUM:=c0d36991faee06551ddbaf5d99266e97becdc05edfae87a833c3ff7bf73cfec2};
-: ${PKG_LIBFONTENC_VERSION:=1.1.7};
-: ${PKG_LIBFONTENC_URL:=https://x.org/releases/individual/lib/libfontenc-${PKG_LIBFONTENC_VERSION}.tar.xz};
-: ${PKG_LIBICE_DEPENDS:="xorgproto xtrans"};
-: ${PKG_LIBICE_SHA256SUM:=03e77afaf72942c7ac02ccebb19034e6e20f456dcf8dddadfeb572aa5ad3e451};
-: ${PKG_LIBICE_VERSION:=1.1.1};
-: ${PKG_LIBICE_URL:=https://www.x.org/releases/individual/lib/libICE-${PKG_LIBICE_VERSION}.tar.xz};
-: ${PKG_LIBICE_CONFIGURE_ARGS_EXTRA:="--disable-unix-transport"};
-: ${PKG_LIBPTHREAD_STUBS_SHA256SUM:=e4d05911a3165d3b18321cc067fdd2f023f06436e391c6a28dff618a78d2e733};
-: ${PKG_LIBPTHREAD_STUBS_VERSION:=0.4};
-: ${PKG_LIBPTHREAD_STUBS_URL:=https://xcb.freedesktop.org/dist/libpthread-stubs-${PKG_LIBPTHREAD_STUBS_VERSION}.tar.bz2};
-: ${PKG_LIBSM_DEPENDS:="libICE xtrans"};
-: ${PKG_LIBSM_SHA256SUM:=fdcbe51e4d1276b1183da77a8a4e74a137ca203e0bcfb20972dd5f3347e97b84};
-: ${PKG_LIBSM_VERSION:=1.2.4};
-: ${PKG_LIBSM_URL:=https://www.x.org/releases/individual/lib/libSM-${PKG_LIBSM_VERSION}.tar.xz};
-: ${PKG_LIBSM_CONFIGURE_ARGS_EXTRA:="--disable-unix-transport"};
-: ${PKG_LIBX11_DEPENDS:="xcb xorgproto xtrans"};
-: ${PKG_LIBX11_SHA256SUM:=05f267468e3c851ae2b5c830bcf74251a90f63f04dd7c709ca94dc155b7e99ee};
-: ${PKG_LIBX11_VERSION:=1.8.7};
-: ${PKG_LIBX11_URL:=https://www.x.org/releases/individual/lib/libX11-${PKG_LIBX11_VERSION}.tar.xz};
-: ${PKG_LIBX11_CONFIGURE_ARGS_EXTRA:="--without-fop --disable-unix-transport"};
-: ${PKG_LIBXAU_DEPENDS:="xorgproto"};
-: ${PKG_LIBXAU_SHA256SUM:=f3fa3282f5570c3f6bd620244438dbfbdd580fc80f02f549587a0f8ab329bbeb};
-: ${PKG_LIBXAU_VERSION:=1.0.11};
-: ${PKG_LIBXAU_URL:=https://www.x.org/releases/individual/lib/libXau-${PKG_LIBXAU_VERSION}.tar.xz};
-: ${PKG_LIBXAW_DEPENDS:="libX11 libXext libXmu libXpm libXt xorgproto"};
-: ${PKG_LIBXAW_SHA256SUM:=76aef98ea3df92615faec28004b5ce4e5c6855e716fa16de40c32030722a6f8e};
-: ${PKG_LIBXAW_VERSION:=1.0.14};
-: ${PKG_LIBXAW_URL:=https://www.x.org/releases/individual/lib/libXaw-${PKG_LIBXAW_VERSION}.tar.bz2};
-: ${PKG_LIBXAW_CONFIGURE_ARGS_EXTRA:="--without-fop"};
-: ${PKG_LIBXDAMAGE_DEPENDS:="libX11 libXfixes xorgproto"};
-: ${PKG_LIBXDAMAGE_SHA256SUM:=52733c1f5262fca35f64e7d5060c6fcd81a880ba8e1e65c9621cf0727afb5d11};
-: ${PKG_LIBXDAMAGE_VERSION:=1.1.6};
-: ${PKG_LIBXDAMAGE_URL:=https://x.org/releases/individual/lib/libXdamage-${PKG_LIBXDAMAGE_VERSION}.tar.xz};
-: ${PKG_LIBXDMCP_DEPENDS:="xorgproto"};
-: ${PKG_LIBXDMCP_SHA256SUM:=20523b44aaa513e17c009e873ad7bbc301507a3224c232610ce2e099011c6529};
-: ${PKG_LIBXDMCP_VERSION:=1.1.3};
-: ${PKG_LIBXDMCP_URL:=https://x.org/releases/individual/lib/libXdmcp-${PKG_LIBXDMCP_VERSION}.tar.bz2};
-: ${PKg_LIBXDMCP_CONFIGURE_ARGS_EXTRA:="--without-fop"};
-: ${PKG_LIBXEXT_DEPENDS:="libX11 xorgproto"};
-: ${PKG_LIBXEXT_SHA256SUM:=db14c0c895c57ea33a8559de8cb2b93dc76c42ea4a39e294d175938a133d7bca};
-: ${PKG_LIBXEXT_VERSION:=1.3.5};
-: ${PKG_LIBXEXT_URL:=https://www.x.org/releases/individual/lib/libXext-${PKG_LIBXEXT_VERSION}.tar.xz};
-: ${PKG_LIBXEXT_CONFIGURE_ARGS_EXTRA:="--without-fop"};
-: ${PKG_LIBXFIXES_DEPENDS:="libX11 util_macros xorgproto"};
-: ${PKG_LIBXFIXES_SHA256SUM:=9ab6c13590658501ce4bd965a8a5d32ba4d8b3bb39a5a5bc9901edffc5666570};
-: ${PKG_LIBXFIXES_VERSION:=5.0.3};
-: ${PKG_LIBXFIXES_URL:=https://x.org/releases/individual/lib/libXfixes-${PKG_LIBXFIXES_VERSION}.tar.gz};
-: ${PKG_LIBXFONT2_DEPENDS:="freetype libfontenc libz xorgproto xtrans"};
-: ${PKG_LIBXFONT2_SHA256SUM:=0e8ab7fd737ccdfe87e1f02b55f221f0bd4503a1c5f28be4ed6a54586bac9c4e};
-: ${PKG_LIBXFONT2_VERSION:=2.0.3};
-: ${PKG_LIBXFONT2_URL:=https://x.org/releases/individual/lib/libXfont2-${PKG_LIBXFONT2_VERSION}.tar.bz2};
-: ${PKG_LIBXFONT2_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
-: ${PKG_LIBXFT_DEPENDS:="fontconfig freetype libX11 util_macros Xrender"};
-: ${PKG_LIBXFT_SHA256SUM:=7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd};
-: ${PKG_LIBXFT_VERSION:=2.3.1};
-: ${PKG_LIBXFT_URL:=https://www.x.org/releases/individual/lib/libXft-${PKG_LIBXFT_VERSION}.tar.bz2};
-: ${PKG_LIBXFT_CFLAGS_BUILD_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2};
-: ${PKG_LIBXI_DEPENDS:="libX11 libXext libXfixes util_macros xorgproto"};
-: ${PKG_LIBXI_SHA256SUM:=463cc5370191404bc0f8a450fdbf6d9159efbbf274e5e0f427a60191fed9cf4b};
-: ${PKG_LIBXI_VERSION:=1.7.9};
-: ${PKG_LIBXI_URL:=https://x.org/releases/individual/lib/libXi-${PKG_LIBXI_VERSION}.tar.gz};
-: ${PKG_LIBXKBFILE_DEPENDS:="libX11"};
-: ${PKG_LIBXKBFILE_SHA256SUM:=51817e0530961975d9513b773960b4edd275f7d5c72293d5a151ed4f42aeb16a};
-: ${PKG_LIBXKBFILE_VERSION:=1.0.9};
-: ${PKG_LIBXKBFILE_URL:=https://www.x.org/releases/individual/lib/libxkbfile-${PKG_LIBXKBFILE_VERSION}.tar.bz2};
-: ${PKG_LIBXMU_DEPENDS:="libXext libXt libX11 xorgproto"};
-: ${PKG_LIBXMU_SHA256SUM:=210de3ab9c3e9382572c25d17c2518a854ce6e2c62c5f8315deac7579e758244};
-: ${PKG_LIBXMU_VERSION:=1.1.4};
-: ${PKG_LIBXMU_URL:=https://www.x.org/releases/individual/lib/libXmu-${PKG_LIBXMU_VERSION}.tar.xz};
-: ${PKG_LIBXMU_CONFIGURE_ARGS_EXTRA:="--without-fop --disable-unix-transport"};
-: ${PKG_LIBXPM_DEPENDS:="libX11 xorgproto"};
-: ${PKG_LIBXPM_SHA256SUM:=60bb906c5c317a6db863e39b69c4a83fdbd2ae2154fcf47640f8fefc9fdfd1c1};
-: ${PKG_LIBXPM_VERSION:=3.5.15};
-: ${PKG_LIBXPM_URL:=https://www.x.org/releases/individual/lib/libXpm-${PKG_LIBXPM_VERSION}.tar.xz};
-: ${PKG_LIBXPM_CONFIGURE_ARGS_EXTRA:="--disable-open-zfile --disable-stat-zfile --disable-unit-tests"};
-: ${PKG_LIBXT_DEPENDS:="libICE libSM libX11"};
-: ${PKG_LIBXT_SHA256SUM:=679cc08f1646dbd27f5e48ffe8dd49406102937109130caab02ca32c083a3d60};
-: ${PKG_LIBXT_VERSION:=1.2.1};
-: ${PKG_LIBXT_URL:=https://www.x.org/releases/individual/lib/libXt-${PKG_LIBXT_VERSION}.tar.bz2};
-: ${PKG_LIBXT_CONFIGURE_ARGS_EXTRA:="--without-fop"};
-: ${PKG_LIBXT_LDFLAGS_CONFIGURE:=-g};
-: ${PKG_LIBXTST_DEPENDS:="libX11 libXext libXi xorgproto"};
-: ${PKG_LIBXTST_SHA256SUM:=84f5f30b9254b4ffee14b5b0940e2622153b0d3aed8286a3c5b7eeb340ca33c8};
-: ${PKG_LIBXTST_VERSION:=1.2.4};
-: ${PKG_LIBXTST_URL:=http://www.x.org/releases/individual/lib/libXtst-${PKG_LIBXTST_VERSION}.tar.xz};
-: ${PKG_LIBXTST_CONFIGURE_ARGS_EXTRA:="--without-fop"};
-: ${PKG_LIBXCURSOR_DEPENDS:="libX11 libXfixes xorgproto Xrender"};
-: ${PKG_LIBXCURSOR_SHA256SUM:=77f96b9ad0a3c422cfa826afabaf1e02b9bfbfc8908c5fa1a45094faad074b98};
-: ${PKG_LIBXCURSOR_VERSION:=1.2.1};
-: ${PKG_LIBXCURSOR_URL:=https://www.x.org/releases/individual/lib/libXcursor-${PKG_LIBXCURSOR_VERSION}.tar.gz};
-: ${PKG_PANGO_DEPENDS:="cairo fontconfig harfbuzz"};
-: ${PKG_PANGO_VERSION:=1.40.11};
-: ${PKG_PANGO_SHA256SUM:=5b11140590e632739e4151cae06b8116160d59e22bf36a3ccd5df76d1cf0383e};
-: ${PKG_PANGO_URL:=http://ftp.gnome.org/pub/GNOME/sources/pango/${PKG_PANGO_VERSION%.*}/pango-${PKG_PANGO_VERSION}.tar.xz};
-: ${PKG_PANGO_CFLAGS_CONFIGURE_EXTRA:=-I${PREFIX_NATIVE}/include/freetype2 -I${PREFIX_NATIVE}/include/harfbuzz};
-: ${PKG_PIXMAN_VERSION:=0.34.0};
-: ${PKG_PIXMAN_URL:=https://www.cairographics.org/releases/pixman-${PKG_PIXMAN_VERSION}.tar.gz};
-: ${PKG_PIXMAN_SHA256SUM:=21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e};
-: ${PKG_RDESKTOP_DEPENDS:="gnutls libICE libX11 libXcursor"};
-: ${PKG_RDESKTOP_SHA256SUM:=473c2f312391379960efe41caad37852c59312bc8f100f9b5f26609ab5704288};
-: ${PKG_RDESKTOP_VERSION:=1.9.0};
-: ${PKG_RDESKTOP_URL:=https://github.com/rdesktop/rdesktop/releases/download/v${PKG_RDESKTOP_VERSION}/rdesktop-${PKG_RDESKTOP_VERSION}.tar.gz};
-: ${PKG_RDESKTOP_CPPFLAGS_CONFIGURE:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"};
-: ${PKG_RDESKTOP_IN_TREE:=1};
-: ${PKG_RDESKTOP_CONFIGURE_ARGS_EXTRA:="--disable-credssp --disable-smartcard --without-sound --with-openssl=${PREFIX_NATIVE}"};
-: ${PKG_RXVT_UNICODE_DEPENDS:="libX11 libXmu libXft Xrender"};
-: ${PKG_RXVT_UNICODE_SHA256SUM:=e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd};
-: ${PKG_RXVT_UNICODE_VERSION:=9.22};
-: ${PKG_RXVT_UNICODE_URL:=http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PKG_RXVT_UNICODE_VERSION}.tar.bz2};
-: ${PKG_RXVT_UNICODE_CONFIGURE_ARGS_EXTRA:=--disable-perl --disable-lastlog --disable-utmp --disable-wtmp --disable-xft --disable-pixbuf};
-: ${PKG_ST_DEPENDS:="freetype fontconfig libX11 libXft"};
-: ${PKG_ST_SHA256SUM:=f7870d906ccc988926eef2cc98950a99cc78725b685e934c422c03c1234e6000};
-: ${PKG_ST_VERSION:=0.7};
-: ${PKG_ST_URL:=https://dl.suckless.org/st/st-${PKG_ST_VERSION}.tar.gz};
-: ${PKG_ST_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_ST_CFLAGS_BUILD_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -I${PREFIX_NATIVE}/include"};
-: ${PKG_ST_IN_TREE:=1};
-: ${PKG_ST_INSTALL_FILES_V2:="
- +../st-${PKG_ST_VERSION}/st=bin/%[FNAME]
- +../st-${PKG_ST_VERSION}/st.info=share/info/%[FNAME]
- +../st-${PKG_ST_VERSION}/st.1=share/man/man1/%[FNAME]"};
-: ${PKG_ST_LDFLAGS_BUILD_EXTRA:=-L${PREFIX_NATIVE}/lib -lX11 -lXft -lfreetype -lfontconfig};
-: ${PKG_UTIL_MACROS_SHA256SUM:=d7e43376ad220411499a79735020f9d145fdc159284867e99467e0d771f3e712};
-: ${PKG_UTIL_MACROS_VERSION:=1.19.2};
-: ${PKG_UTIL_MACROS_URL:=https://www.x.org/archive/individual/util/util-macros-${PKG_UTIL_MACROS_VERSION}.tar.bz2};
-: ${PKG_XCB_DEPENDS:="libpthread_stubs libXau xcb_proto"};
-: ${PKG_XCB_SHA256SUM:=f24d187154c8e027b358fc7cb6588e35e33e6a92f11c668fe77396a7ae66e311};
-: ${PKG_XCB_VERSION:=1.16.1};
-: ${PKG_XCB_URL:=https://www.x.org/releases/individual/xcb/libxcb-${PKG_XCB_VERSION}.tar.xz};
-: ${PKG_XCB_CFLAGS_CONFIGURE_EXTRA:=-std=gnu99};
-: ${PKG_XCB_CONFIG_CACHE_EXTRA:="ac_cv_search_sendmsg=no"};
-: ${PKG_XCB_CONFIGURE_ARGS_EXTRA:="--disable-randr PYTHON=${PREFIX}/bin/python3"};
-: ${PKG_XCB_ENV_VARS_EXTRA:="XCBPROTO_XCBPYTHONDIR=${PREFIX_NATIVE}/lib/python2.7/site-packages:XCBPROTO_XCBINCLUDEDIR=${PREFIX_NATIVE}/share/xcb"};
-: ${PKG_XCB_PROTO_SHA256SUM:=a75a1848ad2a89a82d841a51be56ce988ff3c63a8d6bf4383ae3219d8d915119};
-: ${PKG_XCB_PROTO_VERSION:=1.16.0};
-: ${PKG_XCB_PROTO_URL:=https://www.x.org/releases/individual/proto/xcb-proto-${PKG_XCB_PROTO_VERSION}.tar.xz};
-: ${PKG_XCB_UTIL_DEPENDS:="xcb"};
-: ${PKG_XCB_UTIL_SHA256SUM:=5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512};
-: ${PKG_XCB_UTIL_VERSION:=0.4.1};
-: ${PKG_XCB_UTIL_URL:=https://x.org/releases/individual/xcb/xcb-util-${PKG_XCB_UTIL_VERSION}.tar.xz};
-: ${PKG_XCB_UTIL_IMAGE_DEPENDS:="xcb xcb_util"};
-: ${PKG_XCB_UTIL_IMAGE_SHA256SUM:=ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d};
-: ${PKG_XCB_UTIL_IMAGE_VERSION:=0.4.1};
-: ${PKG_XCB_UTIL_IMAGE_URL:=https://x.org/releases/individual/xcb/xcb-util-image-${PKG_XCB_UTIL_IMAGE_VERSION}.tar.xz};
-: ${PKG_XCB_UTIL_WM_DEPENDS:="xcb"};
-: ${PKG_XCB_UTIL_WM_SHA256SUM:=62c34e21d06264687faea7edbf63632c9f04d55e72114aa4a57bb95e4f888a0b};
-: ${PKG_XCB_UTIL_WM_VERSION:=0.4.2};
-: ${PKG_XCB_UTIL_WM_URL:=https://x.org/releases/individual/xcb/xcb-util-wm-${PKG_XCB_UTIL_WM_VERSION}.tar.xz};
-: ${PKG_XCALC_DEPENDS:="libX11 libXt libXaw"};
-: ${PKG_XCALC_SHA256SUM:=8578dfa1457e94289f6d6ed6146714307d8a73a1b54d2f42af1321b625fc1cd4};
-: ${PKG_XCALC_VERSION:=1.1.2};
-: ${PKG_XCALC_URL:=https://www.x.org/releases/individual/app/xcalc-${PKG_XCALC_VERSION}.tar.xz};
-: ${PKG_XEYES_DEPENDS:="libX11 libXext libXmu libXt Xrender"};
-: ${PKG_XEYES_SHA256SUM:=57bcec0d2d167af9e5d44d0dbd74c6d7c0f0591cd0608952b23c749fdd910553};
-: ${PKG_XEYES_VERSION:=1.1.2};
-: ${PKG_XEYES_URL:=https://www.x.org/releases/individual/app/xeyes-${PKG_XEYES_VERSION}.tar.bz2};
-: ${PKG_XORGPROTO_SHA256SUM:=5d13dbf2be08f95323985de53352c4f352713860457b95ccaf894a647ac06b9e};
-: ${PKG_XORGPROTO_VERSION:=2022.2};
-: ${PKG_XORGPROTO_URL:=https://www.x.org/releases/individual/proto/xorgproto-${PKG_XORGPROTO_VERSION}.tar.xz};
-: ${PKG_XORGPROTO_CONFIGURE_ARGS_EXTRA:="--without-fop --disable-specs --enable-legacy PYTHON=${PREFIX}/bin/python3"};
-: ${PKG_XRENDER_DEPENDS:="libX11 xorgproto"};
-: ${PKG_XRENDER_SHA256SUM:=c06d5979f86e64cabbde57c223938db0b939dff49fdb5a793a1d3d0396650949};
-: ${PKG_XRENDER_VERSION:=0.9.10};
-: ${PKG_XRENDER_URL:=https://www.x.org/releases/individual/lib/libXrender-${PKG_XRENDER_VERSION}.tar.bz2};
-: ${PKG_XTERM_DEPENDS:="libX11 libXaw libXmu libXpm ncurses"};
-: ${PKG_XTERM_SHA256SUM:=9ae856a30fd93046be93952a6898ba47f6f88ad6a988a7c949c4c80d5199ef10};
-: ${PKG_XTERM_VERSION:=331};
-: ${PKG_XTERM_URL:=ftp://ftp.invisible-island.net/xterm/xterm-${PKG_XTERM_VERSION}.tgz};
-: ${PKG_XTERM_CONFIGURE_ARGS_EXTRA:="--disable-setuid --disable-setgid --disable-full-tgetent --enable-ansi-color --enable-88-color --enable-256-color --enable-broken-osc --enable-broken-st --enable-load-vt-fonts --enable-i18n --enable-doublechars --enable-warnings --enable-tcap-query --enable-logging --enable-dabbrev --enable-freetype --enable-luit --enable-mini-luit --enable-narrowproto --enable-exec-xterm --enable-sixel-graphics --with-utempter"};
-: ${PKG_XTERM_ENV_VARS_EXTRA:=LIBS=-lncurses -ltinfo};
-: ${PKG_XTRANS_DEPENDS:="util_macros"};
-: ${PKG_XTRANS_SHA256SUM:=377c4491593c417946efcd2c7600d1e62639f7a8bbca391887e2c4679807d773};
-: ${PKG_XTRANS_VERSION:=1.4.0};
-: ${PKG_XTRANS_URL:=https://www.x.org/releases/individual/lib/xtrans-${PKG_XTRANS_VERSION}.tar.bz2};
-: ${PKG_XTRANS_CONFIGURE_ARGS_EXTRA:="--without-fop"};
-: ${PKG_XWD_DEPENDS:="libX11 libxkbfile"};
-: ${PKG_XWD_SHA256SUM:=3bb396a2268d78de4b1c3e5237a85f7849d3434e87b3cd1f4d57eef614227d79};
-: ${PKG_XWD_VERSION:=1.0.6};
-: ${PKG_XWD_URL:=https://www.x.org/releases/individual/app/xwd-${PKG_XWD_VERSION}.tar.bz2};
-: ${PKG_XWIN_SHA256SUM:=59c99fe86fe75b8164c6567bfc6e982aecc2e4a51e6fbac1b842d5d00549e918};
-: ${PKG_XWIN_VERSION:=1.20.1};
-: ${PKG_XWIN_URL:=https://x.org/releases/individual/xserver/xorg-server-${PKG_XWIN_VERSION}.tar.bz2};
-: ${PKG_XWIN_CFLAGS_BUILD_EXTRA:=-Wno-redundant-decls};
-: ${PKG_XWIN_CFLAGS_CONFIGURE_EXTRA:="-DWINAPI_ANSI_DEFAULT -I${PREFIX_NATIVE}/include/w32api.ports/"};
-: ${PKG_XWIN_CONFIGURE_ARGS_EXTRA:="--enable-xwin --disable-xorg --disable-dri --disable-dri2 --disable-dri3 --disable-pciaccess --disable-glx"};
-: ${PKG_XWIN_DISABLED:=1};
-: ${PKG_XWIN_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib/"};
-
-# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/bash_minipix.package b/groups.d/800.minipix.d/bash_minipix.package
new file mode 100644
index 00000000..702fb343
--- /dev/null
+++ b/groups.d/800.minipix.d/bash_minipix.package
@@ -0,0 +1,10 @@
+: ${PKG_BASH_MINIPIX_INHERIT_FROM:=bash};
+: ${PKG_BASH_MINIPIX_BUILD_STEPS_DISABLE:=install_make};
+: ${PKG_BASH_MINIPIX_INSTALL_FILES_V2:="
+ +../obj/bash=bin/%[FNAME]
+ +../obj/bashbug=bin/%[FNAME]"};
+: ${PKG_BASH_MINIPIX_VARS_FILE:="vars/bash.vars"};
+
+ex_pkg_register "bash_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/bzip2_minipix.package b/groups.d/800.minipix.d/bzip2_minipix.package
new file mode 100644
index 00000000..f92ff577
--- /dev/null
+++ b/groups.d/800.minipix.d/bzip2_minipix.package
@@ -0,0 +1,15 @@
+: ${PKG_BZIP2_MINIPIX_INHERIT_FROM:=bzip2};
+: ${PKG_BZIP2_MINIPIX_BUILD_STEPS_DISABLE:="install_make"};
+: ${PKG_BZIP2_MINIPIX_INSTALL_FILES_V2:="
+ +../bzip2-${PKG_BZIP2_VERSION}/bzip2=bin/%[FNAME]
+ @bzip2=bin/bunzip2
+ @bzip2=bin/bzcat
+ @bzip2=bin/bzdiff
+ @bzip2=bin/bzgrep
+ @bzip2=bin/bzip2recover
+ @bzip2=bin/bzmore"};
+: ${PKG_BZIP2_MINIPIX_MAKEFLAGS_BUILD_EXTRA:="-f Makefile"};
+
+ex_pkg_register "bzip2_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/ca_certificates_minipix.package b/groups.d/800.minipix.d/ca_certificates_minipix.package
new file mode 100644
index 00000000..a6492a4e
--- /dev/null
+++ b/groups.d/800.minipix.d/ca_certificates_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_CA_CERTIFICATES_MINIPIX_INHERIT_FROM:=ca_certificates};
+
+ex_pkg_register "ca_certificates_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/coreutils_minipix.package b/groups.d/800.minipix.d/coreutils_minipix.package
new file mode 100644
index 00000000..54aa33f3
--- /dev/null
+++ b/groups.d/800.minipix.d/coreutils_minipix.package
@@ -0,0 +1,7 @@
+: ${PKG_COREUTILS_MINIPIX_INHERIT_FROM:=coreutils};
+: ${PKG_COREUTILS_MINIPIX_INSTALL_TARGET:=install-binPROGRAMS};
+: ${PKG_COREUTILS_MINIPIX_MAKEFLAGS_INSTALL_EXTRA:=INSTALL_PROGRAM=${DEFAULT_TARGET}-install-strip};
+
+ex_pkg_register "coreutils_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/dash_minipix.package b/groups.d/800.minipix.d/dash_minipix.package
new file mode 100644
index 00000000..56c23405
--- /dev/null
+++ b/groups.d/800.minipix.d/dash_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_DASH_MINIPIX_INHERIT_FROM:=dash};
+: ${PKG_DASH_MINIPIX_INSTALL_FILES_V2:="+bin/dash=bin/sh"};
+
+ex_pkg_register "dash_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/diffutils_minipix.package b/groups.d/800.minipix.d/diffutils_minipix.package
new file mode 100644
index 00000000..81904766
--- /dev/null
+++ b/groups.d/800.minipix.d/diffutils_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_DIFFUTILS_MINIPIX_INHERIT_FROM:=diffutils};
+
+ex_pkg_register "diffutils_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/dropbear_minipix.package b/groups.d/800.minipix.d/dropbear_minipix.package
new file mode 100644
index 00000000..a2f85655
--- /dev/null
+++ b/groups.d/800.minipix.d/dropbear_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_DROPBEAR_MINIPIX_INHERIT_FROM:=dropbear};
+: ${PKG_DROPBEAR_MINIPIX_INSTALL_FILES_V2:="+sbin/dropbear=bin/%[FNAME]"};
+
+ex_pkg_register "dropbear_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/findutils_minipix.package b/groups.d/800.minipix.d/findutils_minipix.package
new file mode 100644
index 00000000..2132a131
--- /dev/null
+++ b/groups.d/800.minipix.d/findutils_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_FINDUTILS_MINIPIX_INHERIT_FROM:=findutils};
+
+ex_pkg_register "findutils_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/gawk_minipix.package b/groups.d/800.minipix.d/gawk_minipix.package
new file mode 100644
index 00000000..d837b94d
--- /dev/null
+++ b/groups.d/800.minipix.d/gawk_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_GAWK_MINIPIX_INHERIT_FROM:=gawk};
+
+ex_pkg_register "gawk_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/gdb_minipix.package b/groups.d/800.minipix.d/gdb_minipix.package
new file mode 100644
index 00000000..83fddae2
--- /dev/null
+++ b/groups.d/800.minipix.d/gdb_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_GDB_MINIPIX_INHERIT_FROM:=gdb};
+: ${PKG_GDB_MINIPIX_DISABLED:=1};
+
+ex_pkg_register "gdb_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/grep_minipix.package b/groups.d/800.minipix.d/grep_minipix.package
new file mode 100644
index 00000000..5cac71a8
--- /dev/null
+++ b/groups.d/800.minipix.d/grep_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_GREP_MINIPIX_INHERIT_FROM:=grep};
+
+ex_pkg_register "grep_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/gzip_minipix.package b/groups.d/800.minipix.d/gzip_minipix.package
new file mode 100644
index 00000000..902abbed
--- /dev/null
+++ b/groups.d/800.minipix.d/gzip_minipix.package
@@ -0,0 +1,7 @@
+: ${PKG_GZIP_MINIPIX_INHERIT_FROM:=gzip};
+: ${PKG_GZIP_MINIPIX_INSTALL_TARGET:=install-binPROGRAMS};
+: ${PKG_GZIP_MINIPIX_MAKEFLAGS_INSTALL_EXTRA:="OBJA="};
+
+ex_pkg_register "gzip_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/infounzip_minipix.package b/groups.d/800.minipix.d/infounzip_minipix.package
new file mode 100644
index 00000000..a44d3321
--- /dev/null
+++ b/groups.d/800.minipix.d/infounzip_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_INFOUNZIP_MINIPIX_INHERIT_FROM:=infounzip};
+: ${PKG_INFOUNZIP_MINIPIX_LDFLAGS_BUILD_EXTRA:=${MINIPIX_LDFLAGS_CONFIGURE}};
+
+ex_pkg_register "infounzip_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/infozip_minipix.package b/groups.d/800.minipix.d/infozip_minipix.package
new file mode 100644
index 00000000..7b990e41
--- /dev/null
+++ b/groups.d/800.minipix.d/infozip_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_INFOZIP_MINIPIX_INHERIT_FROM:=infozip};
+: ${PKG_INFOZIP_MINIPIX_LDFLAGS_BUILD_EXTRA:=${MINIPIX_LDFLAGS_CONFIGURE}};
+
+ex_pkg_register "infozip_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/less_minipix.package b/groups.d/800.minipix.d/less_minipix.package
new file mode 100644
index 00000000..443f40c3
--- /dev/null
+++ b/groups.d/800.minipix.d/less_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_LESS_MINIPIX_INHERIT_FROM:=less};
+
+ex_pkg_register "less_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/libz_minipix.package b/groups.d/800.minipix.d/libz_minipix.package
new file mode 100644
index 00000000..985e0f5e
--- /dev/null
+++ b/groups.d/800.minipix.d/libz_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_LIBZ_MINIPIX_INHERIT_FROM:=libz};
+
+ex_pkg_register "libz_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/mintty_minipix.package b/groups.d/800.minipix.d/mintty_minipix.package
new file mode 100644
index 00000000..8a164ff6
--- /dev/null
+++ b/groups.d/800.minipix.d/mintty_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_MINTTY_MINIPIX_INHERIT_FROM:=mintty};
+: ${PKG_MINTTY_MINIPIX_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -mvrfs"};
+
+ex_pkg_register "mintty_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/nano_minipix.package b/groups.d/800.minipix.d/nano_minipix.package
new file mode 100644
index 00000000..e30e4212
--- /dev/null
+++ b/groups.d/800.minipix.d/nano_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_NANO_MINIPIX_INHERIT_FROM:=nano};
+
+ex_pkg_register "nano_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/ntctty_minipix.package b/groups.d/800.minipix.d/ntctty_minipix.package
new file mode 100644
index 00000000..39f8c4af
--- /dev/null
+++ b/groups.d/800.minipix.d/ntctty_minipix.package
@@ -0,0 +1,7 @@
+: ${PKG_NTCTTY_MINIPIX_INHERIT_FROM:=ntctty};
+: ${PKG_NTCTTY_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
+: ${PKG_NTCTTY_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
+
+ex_pkg_register "ntctty_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/ntux_minipix.package b/groups.d/800.minipix.d/ntux_minipix.package
new file mode 100644
index 00000000..f5bcb43f
--- /dev/null
+++ b/groups.d/800.minipix.d/ntux_minipix.package
@@ -0,0 +1,9 @@
+: ${PKG_NTUX_MINIPIX_INHERIT_FROM:=ntux};
+: ${PKG_NTUX_MINIPIX_CFLAGS_CONFIGURE:="${DEFAULT_CFLAGS_RUNTIME} --sysroot=${PREFIX_NATIVE} -O0 -DNTUX_STANDALONE"};
+: ${PKG_NTUX_MINIPIX_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET} --bindir=/bin"};
+: ${PKG_NTUX_MINIPIX_LDFLAGS_BUILD:="--sysroot=${PREFIX_NATIVE}"};
+: ${PKG_NTUX_MINIPIX_LDFLAGS_CONFIGURE:="--sysroot=${PREFIX_NATIVE}"};
+
+ex_pkg_register "ntux_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/patch_minipix.package b/groups.d/800.minipix.d/patch_minipix.package
new file mode 100644
index 00000000..9fa7df8c
--- /dev/null
+++ b/groups.d/800.minipix.d/patch_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_PATCH_MINIPIX_INHERIT_FROM:=patch};
+
+ex_pkg_register "patch_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/perk_minipix.package b/groups.d/800.minipix.d/perk_minipix.package
new file mode 100644
index 00000000..5587bdfe
--- /dev/null
+++ b/groups.d/800.minipix.d/perk_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_PERK_MINIPIX_INHERIT_FROM:=perk};
+
+ex_pkg_register "perk_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/ptycon_minipix.package b/groups.d/800.minipix.d/ptycon_minipix.package
new file mode 100644
index 00000000..b476696f
--- /dev/null
+++ b/groups.d/800.minipix.d/ptycon_minipix.package
@@ -0,0 +1,7 @@
+: ${PKG_PTYCON_MINIPIX_INHERIT_FROM:=ptycon};
+: ${PKG_PTYCON_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
+: ${PKG_PTYCON_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
+
+ex_pkg_register "ptycon_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/python2_minipix.package b/groups.d/800.minipix.d/python2_minipix.package
new file mode 100644
index 00000000..a40f2ea4
--- /dev/null
+++ b/groups.d/800.minipix.d/python2_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_PYTHON2_MINIPIX_INHERIT_FROM:=python2};
+: ${PKG_PYTHON2_MINIPIX_BASE_DIR:=${BUILD_WORKDIR}/python2-minipix-${DEFAULT_TARGET}};
+
+ex_pkg_register "python2_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/sed_minipix.package b/groups.d/800.minipix.d/sed_minipix.package
new file mode 100644
index 00000000..cff3d3b3
--- /dev/null
+++ b/groups.d/800.minipix.d/sed_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_SED_MINIPIX_INHERIT_FROM:=sed};
+
+ex_pkg_register "sed_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/tar_minipix.package b/groups.d/800.minipix.d/tar_minipix.package
new file mode 100644
index 00000000..e909e290
--- /dev/null
+++ b/groups.d/800.minipix.d/tar_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_TAR_MINIPIX_INHERIT_FROM:=tar};
+: ${PKG_TAR_MINIPIX_MAKEFLAGS_INSTALL:="-C src install-binPROGRAMS"};
+
+ex_pkg_register "tar_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/toksvc_minipix.package b/groups.d/800.minipix.d/toksvc_minipix.package
new file mode 100644
index 00000000..8389d7e3
--- /dev/null
+++ b/groups.d/800.minipix.d/toksvc_minipix.package
@@ -0,0 +1,7 @@
+: ${PKG_TOKSVC_MINIPIX_INHERIT_FROM:=toksvc};
+: ${PKG_TOKSVC_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
+: ${PKG_TOKSVC_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
+
+ex_pkg_register "toksvc_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/tpax_minipix.package b/groups.d/800.minipix.d/tpax_minipix.package
new file mode 100644
index 00000000..d16365c8
--- /dev/null
+++ b/groups.d/800.minipix.d/tpax_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_TPAX_MINIPIX_INHERIT_FROM:=tpax};
+: ${PKG_TPAX_MINIPIX_INHERIT_CONFIGURE_ARGS:="--prefix --strict --host=${DEFAULT_TARGET}"};
+
+ex_pkg_register "tpax_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/vim_minipix.package b/groups.d/800.minipix.d/vim_minipix.package
new file mode 100644
index 00000000..045bd106
--- /dev/null
+++ b/groups.d/800.minipix.d/vim_minipix.package
@@ -0,0 +1,6 @@
+: ${PKG_VIM_MINIPIX_INHERIT_FROM:=vim};
+: ${PKG_VIM_MINIPIX_VARS_FILE:="vars/vim.vars"};
+
+ex_pkg_register "vim_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/wget_minipix.package b/groups.d/800.minipix.d/wget_minipix.package
new file mode 100644
index 00000000..88ff5872
--- /dev/null
+++ b/groups.d/800.minipix.d/wget_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_WGET_MINIPIX_INHERIT_FROM:=wget};
+
+ex_pkg_register "wget_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/which_minipix.package b/groups.d/800.minipix.d/which_minipix.package
new file mode 100644
index 00000000..7d2fe107
--- /dev/null
+++ b/groups.d/800.minipix.d/which_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_WHICH_MINIPIX_INHERIT_FROM:=which};
+
+ex_pkg_register "which_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.d/xz_minipix.package b/groups.d/800.minipix.d/xz_minipix.package
new file mode 100644
index 00000000..a97e3b51
--- /dev/null
+++ b/groups.d/800.minipix.d/xz_minipix.package
@@ -0,0 +1,5 @@
+: ${PKG_XZ_MINIPIX_INHERIT_FROM:=xz};
+
+ex_pkg_register "xz_minipix" "${RTL_FILEOP_SOURCE_FNAME}" "minipix";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/800.minipix.group b/groups.d/800.minipix.group
index 3b4f0ae8..b24c863f 100644
--- a/groups.d/800.minipix.group
+++ b/groups.d/800.minipix.group
@@ -10,94 +10,9 @@ MINIPIX_GROUP_DEPENDS="host_deps host_deps_rpm cross_toolchain host_toolchain ho
MINIPIX_LDFLAGS_BUILD="--sysroot=${PREFIX_NATIVE} -mvrfs";
MINIPIX_LDFLAGS_CONFIGURE="--sysroot=${PREFIX_NATIVE} -mvrfs";
MINIPIX_MAKEFLAGS_INSTALL="PREFIX= prefix=";
-MINIPIX_PACKAGES="
-bash_minipix bzip2_minipix ca_certificates_minipix coreutils_minipix
-dash_minipix diffutils_minipix dropbear_minipix findutils_minipix
-gawk_minipix gdb_minipix grep_minipix gzip_minipix infounzip_minipix
-infozip_minipix less_minipix libz_minipix nano_minipix patch_minipix
-python2_minipix sed_minipix tar_minipix tpax_minipix vim_minipix
-wget_minipix which_minipix xz_minipix mintty_minipix ntctty_minipix
-ntux_minipix perk_minipix ptycon_minipix toksvc_minipix";
MINIPIX_PKG_CONFIG_LIBDIR="${PREFIX_NATIVE}/lib/pkgconfig";
MINIPIX_PKGLIST_DISABLE=1;
MINIPIX_PREFIX="${PREFIX}/minipix_dist";
MINIPIX_RPM_DISABLE=1;
-#
-# 3rd party packages
-: ${PKG_BASH_MINIPIX_INHERIT_FROM:=bash};
-: ${PKG_BASH_MINIPIX_BUILD_STEPS_DISABLE:=install_make};
-: ${PKG_BASH_MINIPIX_INSTALL_FILES_V2:="
- +../obj/bash=bin/%[FNAME]
- +../obj/bashbug=bin/%[FNAME]"};
-: ${PKG_BASH_MINIPIX_VARS_FILE:="vars/bash.vars"};
-: ${PKG_BZIP2_MINIPIX_INHERIT_FROM:=bzip2};
-: ${PKG_BZIP2_MINIPIX_BUILD_STEPS_DISABLE:="install_make"};
-: ${PKG_BZIP2_MINIPIX_INSTALL_FILES_V2:="
- +../bzip2-${PKG_BZIP2_VERSION}/bzip2=bin/%[FNAME]
- @bzip2=bin/bunzip2
- @bzip2=bin/bzcat
- @bzip2=bin/bzdiff
- @bzip2=bin/bzgrep
- @bzip2=bin/bzip2recover
- @bzip2=bin/bzmore"};
-: ${PKG_BZIP2_MINIPIX_MAKEFLAGS_BUILD_EXTRA:="-f Makefile"};
-: ${PKG_CA_CERTIFICATES_MINIPIX_INHERIT_FROM:=ca_certificates};
-: ${PKG_COREUTILS_MINIPIX_INHERIT_FROM:=coreutils};
-: ${PKG_COREUTILS_MINIPIX_INSTALL_TARGET:=install-binPROGRAMS};
-: ${PKG_COREUTILS_MINIPIX_MAKEFLAGS_INSTALL_EXTRA:=INSTALL_PROGRAM=${DEFAULT_TARGET}-install-strip};
-: ${PKG_DASH_MINIPIX_INHERIT_FROM:=dash};
-: ${PKG_DASH_MINIPIX_INSTALL_FILES_V2:="+bin/dash=bin/sh"};
-: ${PKG_DIFFUTILS_MINIPIX_INHERIT_FROM:=diffutils};
-: ${PKG_DROPBEAR_MINIPIX_INHERIT_FROM:=dropbear};
-: ${PKG_DROPBEAR_MINIPIX_INSTALL_FILES_V2:="+sbin/dropbear=bin/%[FNAME]"};
-: ${PKG_FINDUTILS_MINIPIX_INHERIT_FROM:=findutils};
-: ${PKG_GAWK_MINIPIX_INHERIT_FROM:=gawk};
-: ${PKG_GDB_MINIPIX_INHERIT_FROM:=gdb};
-: ${PKG_GDB_MINIPIX_DISABLED:=1};
-: ${PKG_GREP_MINIPIX_INHERIT_FROM:=grep};
-: ${PKG_GZIP_MINIPIX_INHERIT_FROM:=gzip};
-: ${PKG_GZIP_MINIPIX_INSTALL_TARGET:=install-binPROGRAMS};
-: ${PKG_GZIP_MINIPIX_MAKEFLAGS_INSTALL_EXTRA:="OBJA="};
-: ${PKG_INFOUNZIP_MINIPIX_INHERIT_FROM:=infounzip};
-: ${PKG_INFOUNZIP_MINIPIX_LDFLAGS_BUILD_EXTRA:=${MINIPIX_LDFLAGS_CONFIGURE}};
-: ${PKG_INFOZIP_MINIPIX_INHERIT_FROM:=infozip};
-: ${PKG_INFOZIP_MINIPIX_LDFLAGS_BUILD_EXTRA:=${MINIPIX_LDFLAGS_CONFIGURE}};
-: ${PKG_LESS_MINIPIX_INHERIT_FROM:=less};
-: ${PKG_LIBZ_MINIPIX_INHERIT_FROM:=libz};
-: ${PKG_NANO_MINIPIX_INHERIT_FROM:=nano};
-: ${PKG_PATCH_MINIPIX_INHERIT_FROM:=patch};
-: ${PKG_PYTHON2_MINIPIX_INHERIT_FROM:=python2};
-: ${PKG_PYTHON2_MINIPIX_BASE_DIR:=${BUILD_WORKDIR}/python2-minipix-${DEFAULT_TARGET}};
-: ${PKG_SED_MINIPIX_INHERIT_FROM:=sed};
-: ${PKG_TAR_MINIPIX_INHERIT_FROM:=tar};
-: ${PKG_TAR_MINIPIX_MAKEFLAGS_INSTALL:="-C src install-binPROGRAMS"};
-: ${PKG_VIM_MINIPIX_INHERIT_FROM:=vim};
-: ${PKG_VIM_MINIPIX_VARS_FILE:="vars/vim.vars"};
-: ${PKG_WGET_MINIPIX_INHERIT_FROM:=wget};
-: ${PKG_WHICH_MINIPIX_INHERIT_FROM:=which};
-: ${PKG_XZ_MINIPIX_INHERIT_FROM:=xz};
-
-#
-# Midipix tools
-: ${PKG_MINTTY_MINIPIX_INHERIT_FROM:=mintty};
-: ${PKG_MINTTY_MINIPIX_LDFLAGS_CONFIGURE_EXTRA:="-L${PREFIX_NATIVE}/lib/w32lib -mvrfs"};
-: ${PKG_NTCTTY_MINIPIX_INHERIT_FROM:=ntctty};
-: ${PKG_NTCTTY_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
-: ${PKG_NTCTTY_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
-: ${PKG_NTUX_MINIPIX_INHERIT_FROM:=ntux};
-: ${PKG_NTUX_MINIPIX_CFLAGS_CONFIGURE:="${DEFAULT_CFLAGS_RUNTIME} --sysroot=${PREFIX_NATIVE} -O0 -DNTUX_STANDALONE"};
-: ${PKG_NTUX_MINIPIX_CONFIGURE_ARGS:="--host=${DEFAULT_TARGET} --prefix= --target=${DEFAULT_TARGET} --bindir=/bin"};
-: ${PKG_NTUX_MINIPIX_LDFLAGS_BUILD:="--sysroot=${PREFIX_NATIVE}"};
-: ${PKG_NTUX_MINIPIX_LDFLAGS_CONFIGURE:="--sysroot=${PREFIX_NATIVE}"};
-: ${PKG_PERK_MINIPIX_INHERIT_FROM:=perk};
-: ${PKG_PTYCON_MINIPIX_INHERIT_FROM:=ptycon};
-: ${PKG_PTYCON_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
-: ${PKG_PTYCON_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
-: ${PKG_TOKSVC_MINIPIX_INHERIT_FROM:=toksvc};
-: ${PKG_TOKSVC_MINIPIX_CONFIGURE_ARGS:="--prefix= --strict --host=${DEFAULT_TARGET}"};
-: ${PKG_TOKSVC_MINIPIX_ENV_VARS_EXTRA:="CFLAGS_PATH=-I${PREFIX_NATIVE}/include:LDFLAGS_PATH=-L${PREFIX_NATIVE}/lib"};
-: ${PKG_TPAX_MINIPIX_INHERIT_FROM:=tpax};
-: ${PKG_TPAX_MINIPIX_INHERIT_CONFIGURE_ARGS:="--prefix --strict --host=${DEFAULT_TARGET}"};
-
# vim:filetype=sh textwidth=0
diff --git a/subr.ex/ex_pkg.subr b/subr.ex/ex_pkg.subr
index c914360e..6c020702 100644
--- a/subr.ex/ex_pkg.subr
+++ b/subr.ex/ex_pkg.subr
@@ -257,7 +257,7 @@ ex_pkg_load_groups() {
_eplg_pkg_names="";
for _eplg_fname in $(find ./groups.d -name *.group | sort); do
- rtl_fileop source_opt "${_eplg_fname}";
+ rtl_fileop source "${_eplg_fname}";
_eplg_group="${_eplg_fname##*/}";
_eplg_group="${_eplg_group%.group}";
@@ -305,6 +305,10 @@ ex_pkg_load_groups() {
fi;
done;
+ for _eplg_fname in $(find ./groups.d -mindepth 2 -name *.package | sort); do
+ rtl_fileop source_with_fnamevar "${_eplg_fname}";
+ done;
+
_eplg_build_groups="$(rtl_uniq "${_eplg_build_groups}")";
eval ${_eplg_rgroups}=\"${_eplg_build_groups}\";
@@ -317,6 +321,33 @@ ex_pkg_load_groups() {
};
#
+# ex_pkg_register() - register single package
+# @_pkg_name: single package name
+# @_fname: pathname to file package is defined in, relative to midipix_build root
+# @[_group_name]: optional build group name; inferred from @_fname if not specified
+#
+# Returns: zero (0) on success, non-zero (>0) on failure.
+#
+ex_pkg_register() {
+ local _epr_pkg_name="${1}" _epr_fname="${2}" _epr_group_name="${3:-}" \
+ _epr_group_name_uc="" _epr_group_noautofl=0;
+
+ if [ "${_epr_group_name:+1}" != 1 ]; then
+ _epr_group_name="${_epr_fname#./*/}";
+ _epr_group_name="${_epr_group_name%%/*}";
+ _epr_group_name="${_epr_group_name%.d}";
+ _epr_group_name="${_epr_group_name#*.}";
+ fi;
+
+ rtl_toupper2 \$_epr_group_name \$_epr_group_name_uc;
+ rtl_lconcat "\$${_epr_group_name_uc}_PACKAGES" "${_epr_pkg_name}";
+ rtl_set_var_unsafe -u "PKG_${_epr_pkg_name}_GROUP" "${_epr_group_name}";
+ rtl_set_var_unsafe -u "PKG_${_epr_pkg_name}_GROUP_FNAME" "${_epr_fname}";
+
+ return 0;
+};
+
+#
# ex_pkg_unfold_depends() - unfold list of package names into dependency-expanded set of complete, disabled, finished, and outstanding package names
# @_rdisabled: in reference toout variable of disabled packages
# @_rfinished: in reference toout variable of finished packages
diff --git a/subr.rtl/rtl_fileop.subr b/subr.rtl/rtl_fileop.subr
index 0f999ad7..9dfc266d 100644
--- a/subr.rtl/rtl_fileop.subr
+++ b/subr.rtl/rtl_fileop.subr
@@ -17,6 +17,12 @@ rtlp_fileop_log() {
};
#
+# Public globals
+#
+
+RTL_FILEOP_SOURCE_FNAME="";
+
+#
# Public subroutines
#
@@ -125,7 +131,7 @@ rtl_fileop() {
touch ${2:+-t "${2}"} -- "${1}"; _rf_rc="${?}";
fi; ;;
- mkdir|mkfifo|rm|source|source_opt|test)
+ mkdir|mkfifo|rm|source|source_with_fnamevar|source_opt|source_opt_with_fnamevar|test)
while [ \( "${?}" -eq 0 \) -a \( ""${#}"" -gt 0 \) ]; do
if [ "${1:+1}" != 1 ]; then
rtl_log_msgV "fatalexit" "${MSG_rtl_fileop_invparm}" "${_rf_op}" "${*}";
@@ -154,11 +160,22 @@ rtl_fileop() {
&& rtlp_fileop_check "${PREFIX:-}" "${1}"; then
rtlp_fileop_log "Sourcing file \`${1}'.";
. "${1}"; _rf_rc="${?}";
+ elif [ "${_rf_op}" = source_with_fnamevar ]\
+ && rtlp_fileop_check "${PREFIX:-}" "${1}"; then
+ rtlp_fileop_log "Sourcing file \`${1}'.";
+ RTL_FILEOP_SOURCE_FNAME="${1}";
+ . "${1}"; _rf_rc="${?}";
elif [ "${_rf_op}" = source_opt ]\
&& rtl_fileop test "${1}"\
&& rtlp_fileop_check "${PREFIX:-}" "${1}"; then
rtlp_fileop_log "Sourcing file \`${1}'.";
. "${1}"; _rf_rc="${?}";
+ elif [ "${_rf_op}" = source_opt_with_fnamevar ]\
+ && rtl_fileop test "${1}"\
+ && rtlp_fileop_check "${PREFIX:-}" "${1}"; then
+ rtlp_fileop_log "Sourcing file \`${1}'.";
+ RTL_FILEOP_SOURCE_FNAME="${1}";
+ . "${1}"; _rf_rc="${?}";
elif [ "${_rf_op}" = test ]\
&& rtlp_fileop_check "${PREFIX:-}" "${1}"\
&& ! [ \( -L "${1}" \) -o \( -e "${1}" \) ]; then