I added the ability to create a DISTRO_PKGS_SPECS, for the items that my script moved. Here is my modified script:
Code: Select all
#w469 fallbacks when looking for pet pkgs.... (note, older: lucid karmic jaunty intrepid)
FALLBACKS_COMPAT_VERSIONS='xenial trusty'
#custom templates=cups,sylpheed,ghostscript,xorg-base
#PKGS_SPECS_TABLE table format:
#will pkg be in puppy-build.
# Generic name for pkg. Note: PET packages, if exist, use this name.
# Comma-separated list of compatible-distro pkg(s). '-' prefix, exclude.
# Must be exact name-only of pkg, else '*' on end is wildcard to search full name.
# Empty field, then use PET pkg.
# How the package will get split up in woof (optional redirection '>' operator).
# Missing field, it goes into exe. Can also redirect >null, means dump it.
#yes|abiword|iceword,iceword-plugins|exe,dev,doc,nls
#example showing wildcard. finds all full pkg names with 'gcc-4.3*',
#but, exclude any 'gcc-4.3-doc*' matches...
# yes|gcc|gcc,gcc-4.3*,-gcc-4.3-doc*|exe,dev,doc,nls
#110817 Comments preferred to be on end of line, ex:
# yes|abiword|iceword,iceword-plugins|exe,dev,doc,nls| #this is a comment.
#110829 enhancements:
# Force pkg is from compat-distro repo, specifically 'salix' repo.
# yes|abiword|iceword,iceword-plugins|exe,dev,doc,nls|compat:salix
#Generic format:
# yes|genericpkgname|[pkgnames]|[splitup]|[pet:[repo]]
# yes|genericpkgname|[pkgnames]|[splitup]|[compat:[repo]]
#for a fuller explanation of the entries in PKGS_SPECS_TABLE, please see:
# http://bkhome.org/blog/?viewDetailed=02414
PKGS_SPECS_TABLE='
yes|glibc|libc-bin,libc6,libc-dev-bin,libc6-dev,tzdata|exe,dev,doc,nls
yes|ncurses|ncurses-base,ncurses-bin,libncurses6,libncurses6,libncursesw6,libncurses5-dev,libncurses-dev,libncursesw5,libncursesw5-dev,libtinfo5,libtinfo6,libtinfo-dev|exe,dev,doc,nls
yes|libselinux|libselinux1,libselinux1-dev|exe,dev,doc,nls
yes|libsepol|libsepol1,libsepol1-dev|exe,dev,doc,nls
yes|debianutils|debianutils|exe,dev,doc,nls
yes|coreutils|coreutils|exe,dev>null,doc,nls
yes|grep|grep|exe,dev>null,doc,nls
yes|gmp|libgmp10,libgmpxx4ldbl,libgmp-dev,libgmp3-dev|exe,dev,doc,nls| #in precise, this was only in devx, but abiword needs it.
yes|mpfr|libmpfr6,libmpfr-dev|exe>dev,dev,doc,nls
yes|readline|libreadline8,libreadline-dev,readline-common|exe,dev,doc,nls
yes|libsigsegv|libsigsegv2,libsigsegv-dev|exe,dev,doc,nls
yes|gawk|gawk|exe,dev,doc,nls
yes|sed|sed|exe,dev>null,doc,nls
yes|tar|tar|exe,dev>null,doc,nls
yes|xz|xz-utils,liblzma5,liblzma-dev|exe,dev,doc,nls
yes|liblz4|liblz4-1|exe,dev,doc
yes|lzo2|liblzo2-2,liblzo2-dev|exe,dev,doc,nls
yes|squashfs-tools4||exe| #note, kernel-version sensitive
yes|gzip|gzip|exe,dev>null,doc,nls
yes|cpio|cpio|exe,dev>null,doc,nls
yes|bzip2|bzip2,libbz2-1.0,libbz2-dev|exe,dev,doc,nls
yes|attr|libattr1,libattr1-dev|exe,dev,doc,nls
yes|acl|acl,libacl1,libacl1-dev|exe,dev,doc,nls
yes|libsystemd|libsystemd0,libsystemd-dev|exe,dev,doc,nls
yes|procps|procps,libprocps8,libprocps-dev|exe,dev,doc,nls
yes|util-linux|util-linux,fdisk,mount,uuid-runtime,bsdutils,libuuid1,libblkid1,libfdisk1,libmount1,libsmartcols1,libfdisk-dev,libmount-dev,libsmartcols-dev,uuid-dev,libblkid-dev,libmount-dev|exe,dev,doc,nls| #ADDED 20150717-08 20150730 20150808
yes|dialog|dialog|exe,dev>null,doc,nls
yes|gettext|gettext,gettext-base,libasprintf0v5,libasprintf-dev,libgettextpo-dev|exe,dev>null,doc>null,nls>null| #MERGED 20150717-08
yes|gcc_dev|gcc-9-base,gcc,gcc-9,g++,g++-9,cpp,cpp-9|exe>dev,dev,doc,nls
yes|gcc_lib|gcc-10-base,libasan5,libatomic1,libgcc-s1,libgcc1,libgcc-9-dev,libgomp1,libisl22,libitm1,libquadmath0|exe,dev,doc,nls
yes|gettext_devxonly|gettext-base,gettext|exe>dev,dev,doc,nls
yes|zlib|zlib1g,zlib1g-dev|exe,dev,doc,nls
yes|file|file,libmagic1,libmagic-mgc,libmagic-dev|exe,dev,doc,nls
yes|devmapper|libdevmapper1.02.1,libdevmapper-dev,libdevmapper-event1.02.1|exe,dev,doc,nls
yes|keyutils|libkeyutils1,libkeyutils-dev|exe,dev>null,doc,nls
yes|kmod|kmod,libkmod2,libkmod-dev|exe,dev,doc,nls
yes|diffutils|diffutils|exe,dev,doc,nls
yes|e2fsprogs|comerr-dev,e2fslibs,e2fslibs-dev,e2fsprogs,libext2fs2,libext2fs-dev,libblkid1,libblkid-dev,libcom-err2,libss2,libuuid1,ss-dev,uuid-dev|exe,dev,doc,nls
yes|findutils|findutils|exe,dev>null,doc,nls
yes|ntfs-3g|ntfs-3g,ntfs-3g-dev,libntfs-3g883|exe,dev,doc,nls| #this seems to have taken over the full functionality of ntfsprogs.
yes|fuse|fuse,libfuse2,libfuse-dev|exe,dev,doc,nls|
yes|expat|libexpat1,libexpat1-dev|exe,dev,doc,nls
yes|parted|parted,libparted2,libparted-dev,libparted-fs-resize0|exe,dev,doc,nls|
yes|libusb|libusb-0.1-4,libusb-dev|exe,dev,doc,nls
yes|bdb|libdb5.3,libdb-dev,libdb5.3-dev|exe,dev,doc,nls
yes|perl|perl,perl-base,perl-modules-5.*|exe>dev,dev,doc,nls
yes|perl-digest-sha1|libdigest-sha-perl|exe,dev>null,doc>null,nls>null
yes|perl-html-parser|libhtml-parser-perl|exe,dev>null,doc>null,nls>null
yes|openssl|openssl,libssl1.1,libssl-dev|exe,dev,doc,nls
yes|ca-certificates|ca-certificates|exe,dev,doc,nls
yes|curl|curl,libcurl4,libidn2-0,libpsl5,libpsl-dev,libnghttp2-14,libssh-4,libcurl4-openssl-dev|exe,dev,doc,nls|
yes|audit|libaudit-common,libaudit1,libaudit-dev|exe,dev,doc,nls| #needed by xorg.
yes|libcap-ng|libcap-ng0|exe,dev,doc,nls|
yes|pam|libpam0g,libpam0g-dev,libpam-modules|exe,dev,doc,nls|
yes|libcap|libcap2,libcap-dev|exe,dev,doc,nls
yes|libcapnp|libcapnp-0.*|exe,dev,doc,nls|
yes|libunistring|libunistring2,libunistring-dev|exe,dev,doc,nls
yes|wget|wget,libpcre2-8-0|exe,dev>null,doc,nls
yes|libmnl|libmnl0,libmnl-dev|exe,dev,doc,nls
yes|iptables|iptables,libxtables12,libnftnl11|exe,dev,doc,nls
yes|libgpg-error|libgpg-error0,libgpg-error-dev|exe,dev,doc,nls
yes|sqlite|sqlite3,libsqlite3-0,libsqlite3-dev|exe,dev,doc,nls
yes|dhcpcd||exe,dev,doc,nls|
yes|wireless-tools|wireless-tools,libiw30,libiw-dev|exe,dev,doc,nls
yes|libnl3|libnl-3-200,libnl-3-dev,libnl-cli-3-200,libnl-cli-3-dev,libnl-genl-3-200,libnl-genl-3-dev,libnl-nf-3-200,libnl-nf-3-dev,libnl-route-3-200,libnl-route-3-dev|exe,dev,doc,nls
yes|dbus|dbus,dbus-x11,libdbus-1-3,libdbus-1-dev|exe,dev,doc,nls|
yes|wpa_supplicant|wpasupplicant|exe,dev>null,doc,nls
yes|pcre|libpcre16-3,libpcre3,libpcre2-16-0,libpcre2-dev,libpcre32-3,libpcre3-dev,libpcrecpp0v5|exe,dev,doc,nls| #MERGED 20150717-08
yes|glib|libglib2.0-bin,libglib2.0-0,libglib2.0-data,libglib2.0-dev,libglib2.0-dev-bin|exe,dev,doc,nls
'
for some reason pastebin flagged this DISTRO_PKGS_SPECS as "offensive" so the output is posted here rather than on pastebin.
The output as noted previously is a CLI module about 33MB. The output can be made smaller by replacing full utilities with busybox. The output doesn't include any Xorg components because I would rather that be a seperate module, which one can merge with this module if they wish. The reason for this to be a CLI only module is that sometimes one wants a pure cli system. Some use cases or a pure cli include, a chroot, a remote shell, or as a base to build a distro up from.