Support blacklisted and ignored packages
Pkg should get the list of ignored and blacklisted packages for the current system, and skip them whenever processing a package list:
Example /root/.packages/PKGS_MANAGEMENT
from Puppy (Debian) Stretch 7.5
:
#some pkgs no longer exist, maybe now builtin to the skeleton f.s. (for ex, 'petget')...
#this variable is processed in /usr/local/petget/pkg_chooser.sh, used in /usr/local/petget/filterpkgs.sh
case $DISTRO_COMPAT_VERSION in
*)
PKG_NAME_IGNORE='fbset petget rgb sysfiles sysklogd'
;;
esac
case $DISTRO_BINARY_COMPAT in #110705
debian|devuan|ubuntu|trisquel|raspbian) #130614
PKG_NAME_IGNORE="adduser debconf libglib2.0-bin libglib2.0-0 libglib2.0-data libglib2.0-dev passwd ${PKG_NAME_IGNORE}"
;;
esac
#in some cases the compat-distro has a pkg that has a dep that was a PET builtin to Puppy.
#however, the compat-distro pkg will only work with the dep from the compat-distro.
#an example is slackware 13.1, ffmpegthumbnailer (slacky repo) will only work with
#ffmpeg from the slacky repo, but Slackpup is built with my own ffmpeg PET...
#by putting 'ffmpeg' in this variable, any slacky pkgs with ffmpeg dep will be filtered out
#(but only if I built Puppy with ffmpeg from a PET not from the compat-distro-repos)
PKG_PET_THEN_BLACKLIST_COMPAT_KIDS='ffmpeg'
PKG_REPOS_ENABLED=' Packages-puppy-stretch-official Packages-puppy-noarch-official Packages-puppy-common-official Packages-debian-stretch-contrib Packages-debian-stretch-main '