adapt scripts for cleaner file management

This commit is contained in:
Ward from fusion-voyager-3 2024-10-13 20:41:34 +03:00
parent 40ab9d262e
commit df28a066af
24 changed files with 26046 additions and 0 deletions

10
gen-apt-pins.sh Executable file
View File

@ -0,0 +1,10 @@
#! /bin/bash
echo -e "Package: *\nPin: release a=experimental\nPin-Priority: 600" > /etc/apt/preferences.d/0-pika-debian-settings
rm -rfv ./generated-output
mkdir -p ./generated-output
mkdir -p ./generated-output/bin-names-of-src-lists
chmod +x ./scripts/get-bin-name-from-src.sh
chmod +x ./scripts/gen-apt-config.py
apt-get update -y
./scripts/gen-apt-config.py
./scripts/gen-bin-lists.py

7
gen-i386-whitelist.sh Executable file
View File

@ -0,0 +1,7 @@
#! /bin/bash
rm -rfv ./generated-output/i386
mkdir -p ./generated-output/i386
chmod +x ./scripts/get_depend_tree.sh
chmod +x ./scripts/gen-i386-whitelist.py
apt-get update -y
./scripts/gen-i386-whitelist.py

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,342 @@
{
"package_names": [
"libexo-2-dev",
"libexo-2-devt64",
"libexo-2-0",
"libexo-2-0t64",
"exo-utils",
"exo-utilst64",
"libexo-common",
"libexo-commont64",
"libexo-2-dev",
"libexo-2-devt64",
"libexo-2-0",
"libexo-2-0t64",
"exo-utils",
"exo-utilst64",
"libexo-common",
"libexo-commont64",
"libgarcon-1-dev",
"libgarcon-1-devt64",
"libgarcon-1-0-dev",
"libgarcon-1-0-devt64",
"libgarcon-gtk3-1-dev",
"libgarcon-gtk3-1-devt64",
"libgarcon-1-0",
"libgarcon-1-0t64",
"libgarcon-gtk3-1-0",
"libgarcon-gtk3-1-0t64",
"gir1.2-garcon-1.0",
"gir1.2-garcon-1.0t64",
"gir1.2-garcongtk-1.0",
"gir1.2-garcongtk-1.0t64",
"libgarcon-common",
"libgarcon-commont64",
"libgarcon-1-dev",
"libgarcon-1-devt64",
"libgarcon-1-0-dev",
"libgarcon-1-0-devt64",
"libgarcon-gtk3-1-dev",
"libgarcon-gtk3-1-devt64",
"libgarcon-1-0",
"libgarcon-1-0t64",
"libgarcon-gtk3-1-0",
"libgarcon-gtk3-1-0t64",
"gir1.2-garcon-1.0",
"gir1.2-garcon-1.0t64",
"gir1.2-garcongtk-1.0",
"gir1.2-garcongtk-1.0t64",
"libgarcon-common",
"libgarcon-commont64",
"gigolo",
"gigolot64",
"libxfce4ui-2-0",
"libxfce4ui-2-0t64",
"libxfce4ui-2-dev",
"libxfce4ui-2-devt64",
"libxfce4ui-common",
"libxfce4ui-commont64",
"gir1.2-libxfce4ui-2.0",
"gir1.2-libxfce4ui-2.0t64",
"libxfce4ui-glade",
"libxfce4ui-gladet64",
"libxfce4ui-utils",
"libxfce4ui-utilst64",
"libxfce4ui-2-0",
"libxfce4ui-2-0t64",
"libxfce4ui-2-dev",
"libxfce4ui-2-devt64",
"libxfce4ui-common",
"libxfce4ui-commont64",
"gir1.2-libxfce4ui-2.0",
"gir1.2-libxfce4ui-2.0t64",
"libxfce4ui-glade",
"libxfce4ui-gladet64",
"libxfce4ui-utils",
"libxfce4ui-utilst64",
"libxfce4util-dev",
"libxfce4util-devt64",
"libxfce4util7",
"libxfce4util7t64",
"gir1.2-libxfce4util-1.0",
"gir1.2-libxfce4util-1.0t64",
"libxfce4util-bin",
"libxfce4util-bint64",
"libxfce4util-common",
"libxfce4util-commont64",
"libxfce4util-dev",
"libxfce4util-devt64",
"libxfce4util7",
"libxfce4util7t64",
"gir1.2-libxfce4util-1.0",
"gir1.2-libxfce4util-1.0t64",
"libxfce4util-bin",
"libxfce4util-bint64",
"libxfce4util-common",
"libxfce4util-commont64",
"libxfce4windowing-0-0",
"libxfce4windowing-0-0t64",
"libxfce4windowing-0-dev",
"libxfce4windowing-0-devt64",
"gir1.2-libxfce4windowing-0.0",
"gir1.2-libxfce4windowing-0.0t64",
"gir1.2-libxfce4windowingui-0.0",
"gir1.2-libxfce4windowingui-0.0t64",
"libxfce4windowing-common",
"libxfce4windowing-commont64",
"lightdm",
"lightdmt64",
"lightdm-vala",
"lightdm-valat64",
"liblightdm-gobject-1-0",
"liblightdm-gobject-1-0t64",
"liblightdm-qt5-3-0",
"liblightdm-qt5-3-0t64",
"liblightdm-gobject-dev",
"liblightdm-gobject-devt64",
"liblightdm-qt5-3-dev",
"liblightdm-qt5-3-devt64",
"gir1.2-lightdm-1",
"gir1.2-lightdm-1t64",
"lightdm-gtk-greeter",
"lightdm-gtk-greetert64",
"light-locker",
"light-lockert64",
"mousepad",
"mousepadt64",
"libmousepad-dev",
"libmousepad-devt64",
"libmousepad0",
"libmousepad0t64",
"orage",
"oraget64",
"orage-data",
"orage-datat64",
"parole",
"parolet64",
"parole-dev",
"parole-devt64",
"ristretto",
"ristrettot64",
"libthunarx-3-dev",
"libthunarx-3-devt64",
"libthunarx-3-0",
"libthunarx-3-0t64",
"gir1.2-thunarx-3.0",
"gir1.2-thunarx-3.0t64",
"thunar",
"thunart64",
"thunar-data",
"thunar-datat64",
"libthunarx-3-dev",
"libthunarx-3-devt64",
"libthunarx-3-0",
"libthunarx-3-0t64",
"gir1.2-thunarx-3.0",
"gir1.2-thunarx-3.0t64",
"thunar",
"thunart64",
"thunar-data",
"thunar-datat64",
"thunar-archive-plugin",
"thunar-archive-plugint64",
"thunar-media-tags-plugin",
"thunar-media-tags-plugint64",
"thunar-vcs-plugin",
"thunar-vcs-plugint64",
"thunar-volman",
"thunar-volmant64",
"tumbler",
"tumblert64",
"tumbler-plugins-extra",
"tumbler-plugins-extrat64",
"tumbler-common",
"tumbler-commont64",
"libtumbler-1-0t64",
"libtumbler-1-0t64t64",
"libtumbler-1-dev",
"libtumbler-1-devt64",
"tumbler",
"tumblert64",
"tumbler-plugins-extra",
"tumbler-plugins-extrat64",
"tumbler-common",
"tumbler-commont64",
"libtumbler-1-0t64",
"libtumbler-1-0t64t64",
"libtumbler-1-dev",
"libtumbler-1-devt64",
"xfburn",
"xfburnt64",
"xfce4",
"xfce4t64",
"xfce4-appfinder",
"xfce4-appfindert64",
"xfce4-appfinder",
"xfce4-appfindert64",
"xfce4-battery-plugin",
"xfce4-battery-plugint64",
"xfce4-clipman",
"xfce4-clipmant64",
"xfce4-clipman-plugin",
"xfce4-clipman-plugint64",
"xfce4-cpufreq-plugin",
"xfce4-cpufreq-plugint64",
"xfce4-cpugraph-plugin",
"xfce4-cpugraph-plugint64",
"xfce4-datetime-plugin",
"xfce4-datetime-plugint64",
"xfce4-dev-tools",
"xfce4-dev-toolst64",
"xfce4-dev-tools",
"xfce4-dev-toolst64",
"xfce4-dev-tools",
"xfce4-dev-toolst64",
"xfce4-dict",
"xfce4-dictt64",
"xfce4-diskperf-plugin",
"xfce4-diskperf-plugint64",
"xfce4-fsguard-plugin",
"xfce4-fsguard-plugint64",
"xfce4-genmon-plugin",
"xfce4-genmon-plugint64",
"xfce4-goodies",
"xfce4-goodiest64",
"xfce4-indicator-plugin",
"xfce4-indicator-plugint64",
"xfce4-mailwatch-plugin",
"xfce4-mailwatch-plugint64",
"xfce4-mount-plugin",
"xfce4-mount-plugint64",
"xfce4-mpc-plugin",
"xfce4-mpc-plugint64",
"xfce4-netload-plugin",
"xfce4-netload-plugint64",
"xfce4-notes",
"xfce4-notest64",
"xfce4-notes-plugin",
"xfce4-notes-plugint64",
"xfce4-notifyd",
"xfce4-notifydt64",
"xfce4-panel",
"xfce4-panelt64",
"libxfce4panel-2.0-4",
"libxfce4panel-2.0-4t64",
"libxfce4panel-2.0-dev",
"libxfce4panel-2.0-devt64",
"gir1.2-libxfce4panel-2.0",
"gir1.2-libxfce4panel-2.0t64",
"xfce4-panel",
"xfce4-panelt64",
"libxfce4panel-2.0-4",
"libxfce4panel-2.0-4t64",
"libxfce4panel-2.0-dev",
"libxfce4panel-2.0-devt64",
"gir1.2-libxfce4panel-2.0",
"gir1.2-libxfce4panel-2.0t64",
"xfce4-panel-profiles",
"xfce4-panel-profilest64",
"xfce4-places-plugin",
"xfce4-places-plugint64",
"xfce4-power-manager",
"xfce4-power-managert64",
"xfce4-power-manager-data",
"xfce4-power-manager-datat64",
"xfce4-power-manager-plugins",
"xfce4-power-manager-pluginst64",
"xfce4-power-manager",
"xfce4-power-managert64",
"xfce4-power-manager-data",
"xfce4-power-manager-datat64",
"xfce4-power-manager-plugins",
"xfce4-power-manager-pluginst64",
"xfce4-pulseaudio-plugin",
"xfce4-pulseaudio-plugint64",
"xfce4-screensaver",
"xfce4-screensavert64",
"xfce4-screenshooter",
"xfce4-screenshootert64",
"xfce4-sensors-plugin",
"xfce4-sensors-plugint64",
"xfce4-session",
"xfce4-sessiont64",
"xfce4-session",
"xfce4-sessiont64",
"xfce4-settings",
"xfce4-settingst64",
"xfce4-helpers",
"xfce4-helperst64",
"xfce4-settings",
"xfce4-settingst64",
"xfce4-helpers",
"xfce4-helperst64",
"xfce4-smartbookmark-plugin",
"xfce4-smartbookmark-plugint64",
"xfce4-systemload-plugin",
"xfce4-systemload-plugint64",
"xfce4-taskmanager",
"xfce4-taskmanagert64",
"xfce4-terminal",
"xfce4-terminalt64",
"xfce4-timer-plugin",
"xfce4-timer-plugint64",
"xfce4-verve-plugin",
"xfce4-verve-plugint64",
"xfce4-wavelan-plugin",
"xfce4-wavelan-plugint64",
"xfce4-weather-plugin",
"xfce4-weather-plugint64",
"xfce4-whiskermenu-plugin",
"xfce4-whiskermenu-plugint64",
"xfce4-xkb-plugin",
"xfce4-xkb-plugint64",
"libxfconf-0-dev",
"libxfconf-0-devt64",
"libxfconf-0-3",
"libxfconf-0-3t64",
"xfconf",
"xfconft64",
"gir1.2-xfconf-0",
"gir1.2-xfconf-0t64",
"libxfconf-0-dev",
"libxfconf-0-devt64",
"libxfconf-0-3",
"libxfconf-0-3t64",
"xfconf",
"xfconft64",
"xfconf-gsettings-backend",
"xfconf-gsettings-backendt64",
"gir1.2-xfconf-0",
"gir1.2-xfconf-0t64",
"xfdesktop4-data",
"xfdesktop4-datat64",
"xfdesktop4",
"xfdesktop4t64",
"xfdesktop4-data",
"xfdesktop4-datat64",
"xfdesktop4",
"xfdesktop4t64",
"xfwm4",
"xfwm4t64"
]
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,805 @@
{
"source_names": [
"iwyu",
"libedit",
"llvm-defaults",
"llvm-toolchain-14",
"llvm-toolchain-15",
"llvm-toolchain-16",
"llvm-toolchain-17",
"llvm-toolchain-18",
"llvm-toolchain-snapshot",
"llvmlite",
"swiftlang",
"z3",
"glibc",
"libnsl",
"libnss-nis",
"libnss-nisplus",
"rpcsvc-proto",
"tzdata",
"glibc-doc-reference",
"gcc-defaults",
"adwaita-icon-theme",
"at-spi2-core",
"baobab",
"gnome-calls",
"fonts-cantarell",
"d-spy",
"dconf",
"dconf-editor",
"devhelp",
"epiphany-browser",
"evince",
"evolution-data-server",
"folks",
"gcab",
"gcr",
"gcr4",
"gdk-pixbuf",
"gdm3",
"geocode-glib",
"gexiv2",
"gi-docgen",
"gjs",
"glib2.0",
"glib-networking",
"glibmm2.68",
"gmime",
"gnome-autoar",
"gnome-backgrounds",
"gnome-bluetooth3",
"gnome-boxes",
"gnome-builder",
"gnome-calculator",
"gnome-calendar",
"gnome-characters",
"gnome-clocks",
"gnome-color-manager",
"gnome-connections",
"gnome-console",
"gnome-contacts",
"gnome-control-center",
"gnome-desktop",
"gnome-disk-utility",
"gnome-font-viewer",
"gnome-initial-setup",
"gnome-keyring",
"gnome-logs",
"gnome-maps",
"gnome-menus",
"gnome-music",
"gnome-online-accounts",
"gnome-remote-desktop",
"gnome-session",
"gnome-settings-daemon",
"gnome-shell",
"gnome-shell-extensions",
"gnome-software",
"gnome-system-monitor",
"gnome-text-editor",
"gnome-tour",
"gnome-user-docs",
"gnome-user-share",
"gnome-weather",
"gobject-introspection",
"libgom",
"grilo",
"grilo-plugins",
"gsettings-desktop-schemas",
"gsound",
"gspell",
"gssdp",
"gtk4",
"gtk+3.0",
"gtk-doc",
"gtk-vnc",
"gtkmm4.0",
"gtksourceview4",
"gtksourceview5",
"gupnp",
"gupnp-av",
"gupnp-dlna",
"gvfs",
"json-glib",
"jsonrpc-glib",
"libadwaita-1",
"libdex",
"libgee-0.8",
"libgsf",
"libgtop2",
"libgweather4",
"libgxps",
"libhandy-1",
"libmediaart",
"libnma",
"libnotify",
"libpanel",
"libpeas",
"libpeas2",
"librsvg",
"libsecret",
"libshumate",
"libsigc++-3.0",
"libsoup3",
"loupe",
"mm-common",
"mutter",
"nautilus",
"orca",
"pango1.0",
"pangomm2.48",
"phodav",
"pyatspi",
"pygobject",
"librest",
"rygel",
"simple-scan",
"gnome-snapshot",
"gnome-sushi",
"sysprof",
"tecla",
"template-glib",
"totem",
"totem-pl-parser",
"tracker",
"tracker-miners",
"vala",
"vte2.91",
"xdg-desktop-portal-gnome",
"yelp",
"yelp-tools",
"yelp-xsl",
"activity-aware-firefox",
"akonadi",
"akonadi-calendar",
"akonadi-calendar-tools",
"akonadiconsole",
"akonadi-contacts",
"akonadi-import-wizard",
"akonadi-mime",
"akonadi-notes",
"akonadi-search",
"akregator",
"alkimia",
"amarok",
"analitza",
"ark",
"artikulate",
"attica-kf5",
"audiocd-kio",
"baloo-kf5",
"baloo-widgets",
"basket",
"bismuth",
"blinken",
"bluedevil",
"bluez-qt",
"bomber",
"bovo",
"breeze",
"breeze-grub",
"breeze-gtk",
"breeze-icons",
"breeze-plymouth",
"calamares-extensions",
"calligra",
"calligraplan",
"cantor",
"cervisia",
"charmtimetracker",
"choqok",
"clazy",
"colord-kde",
"convertall",
"ctemplate",
"debconf-kde",
"digikam",
"dolphin",
"dolphin-plugins",
"dragon",
"drkonqi",
"elisa-player",
"exiv2",
"extra-cmake-modules",
"ffmpegthumbs",
"filelight",
"flatpak-kcm",
"frameworkintegration",
"gammaray",
"gcompris-qt",
"ghostwriter",
"granatier",
"grantlee5",
"grantlee-editor",
"grantleetheme",
"gtk2-engines-oxygen",
"gwenview",
"icecc",
"icecc-monitor",
"immer",
"indi",
"itinerary",
"juk",
"k3b",
"kaccounts-integration",
"kaccounts-providers",
"kactivities-kf5",
"kactivities-stats",
"kactivitymanagerd",
"kaddressbook",
"kaffeine",
"kaidan",
"kajongg",
"kalarm",
"kalendar",
"kalgebra",
"kalzium",
"kamera",
"kamoso",
"kanagram",
"kapidox",
"kapman",
"kapptemplate",
"karchive",
"kate",
"katomic",
"kauth",
"kbackup",
"kblackbox",
"kblocks",
"kbookmarks",
"kbounce",
"kbreakout",
"kbruch",
"kcachegrind",
"kcalc",
"kcalcore",
"kcalutils",
"kcharselect",
"kchmviewer",
"kcmutils",
"kcodecs",
"kcollectd",
"kcolorchooser",
"kcolorpicker",
"kcompletion",
"kconfig",
"kconfigwidgets",
"kcontacts",
"kcoreaddons",
"kcrash",
"kcron",
"kdav",
"kdb",
"kdbusaddons",
"kdebugsettings",
"kdeclarative",
"kde-cli-tools",
"kdeconnect",
"kdecoration",
"kded",
"kde-dev-scripts",
"kde-dev-utils",
"kdeedu-data",
"kdegraphics-mobipocket",
"kdegraphics-thumbnailers",
"kde-gtk-config",
"kde-inotify-survey",
"kdelibs4support",
"kdenetwork-filesharing",
"kdepim-addons",
"kdepim-runtime",
"kdeplasma-addons",
"kdesdk-kioslaves",
"kdesdk-thumbnailers",
"kdesignerplugin",
"kde-spectacle",
"kdesu",
"kdesvn",
"kdevelop",
"kdevelop-pg-qt",
"kdevelop-php",
"kdevelop-python",
"kdewebkit",
"kdf",
"kdiagram",
"kdialog",
"kdiamond",
"kdiff3",
"kdnssd-kf5",
"kdoctools",
"keditbookmarks",
"kemoticons",
"keurocalc",
"kexi",
"kf5-messagelib",
"kf6-attica",
"kf6-baloo",
"kf6-bluez-qt",
"kf6-breeze-icons",
"kf6-frameworkintegration",
"kf6-kapidox",
"kf6-karchive",
"kf6-kauth",
"kf6-kbookmarks",
"kf6-kcalendarcore",
"kf6-kcmutils",
"kf6-kcodecs",
"kf6-kcolorscheme",
"kf6-kcompletion",
"kf6-kconfig",
"kf6-kconfigwidgets",
"kf6-kcontacts",
"kf6-kcoreaddons",
"kf6-kcrash",
"kf6-kdav",
"kf6-kdbusaddons",
"kf6-kdeclarative",
"kf6-kded",
"kf6-kdesu",
"kf6-kdnssd",
"kf6-kdoctools",
"kf6-kfilemetadata",
"kf6-kglobalaccel",
"kf6-kguiaddons",
"kf6-kholidays",
"kf6-ki18n",
"kf6-kiconthemes",
"kf6-kidletime",
"kf6-kimageformats",
"kf6-kio",
"kf6-kirigami",
"kf6-kitemmodels",
"kf6-kitemviews",
"kf6-kjobwidgets",
"kf6-knewstuff",
"kf6-knotifications",
"kf6-knotifyconfig",
"kf6-kpackage",
"kf6-kparts",
"kf6-kpeople",
"kf6-kplotting",
"kf6-kpty",
"kf6-kquickcharts",
"kf6-krunner",
"kf6-kservice",
"kf6-kstatusnotifieritem",
"kf6-ksvg",
"kf6-ktexteditor",
"kf6-ktexttemplate",
"kf6-ktextwidgets",
"kf6-kunitconversion",
"kf6-kuserfeedback",
"kf6-kwallet",
"kf6-kwidgetsaddons",
"kf6-kwindowsystem",
"kf6-kxmlgui",
"kf6-modemmanager-qt",
"kf6-networkmanager-qt",
"kf6-prison",
"kf6-purpose",
"kf6-qqc2-desktop-style",
"kf6-solid",
"kf6-sonnet",
"kf6-syndication",
"kf6-syntax-highlighting",
"kf6-threadweaver",
"kfilemetadata-kf5",
"kfind",
"kfloppy",
"kfourinline",
"kgamma",
"kgamma5",
"kgeography",
"kgeotag",
"kget",
"kglobalaccel",
"kglobalacceld",
"kgoldrunner",
"kgpg",
"kguiaddons",
"khangman",
"khelpcenter",
"kholidays",
"khotkeys",
"khtml",
"ki18n",
"kiconthemes",
"kidentitymanagement",
"kidletime",
"kig",
"kigo",
"kile",
"killbots",
"kimageannotator",
"kimageformats",
"kimagemapeditor",
"kimap",
"kinfocenter",
"kinit",
"kio",
"kio-extras",
"kio-fuse",
"kio-gdrive",
"kio-gopher",
"kipi-plugins",
"kirigami2",
"kirigami-addons",
"kirigami-addons5",
"kirigami-gallery",
"kiriki",
"kitemmodels",
"kitemviews",
"kiten",
"kitinerary",
"kjobwidgets",
"kjots",
"kjs",
"kjsembed",
"kjumpingcube",
"kldap",
"kleopatra",
"klettres",
"klickety",
"klines",
"kmag",
"kmahjongg",
"kmail",
"kmail-account-wizard",
"kmailtransport",
"kmbox",
"kmediaplayer",
"kmenuedit",
"kmime",
"kmines",
"kmix",
"kmousetool",
"kmouth",
"kmplayer",
"kmplot",
"kmymoney",
"knavalbattle",
"knetwalk",
"knewstuff",
"knights",
"knotes",
"knotifications",
"knotifyconfig",
"kolf",
"kollision",
"kolourpaint",
"kompare",
"kongress",
"konqueror",
"konquest",
"konsole",
"kontact",
"kontactinterface",
"kontrast",
"konversation",
"kookbook",
"kopeninghours",
"kopete",
"korganizer",
"kosmindoormap",
"kpackage",
"kparts",
"kpat",
"kpeople",
"kpeoplevcard",
"kphotoalbum",
"kpimtextedit",
"kpipewire",
"kpkpass",
"kplotting",
"kpmcore",
"kproperty",
"kpty",
"kpublictransport",
"kqtquickcharts",
"kquickcharts",
"kquickimageeditor",
"kraft",
"krdc",
"krdp",
"krename",
"kreport",
"kreversi",
"krfb",
"krita",
"kronometer",
"kross",
"kross-interpreters",
"kruler",
"krunner",
"krusader",
"ksanecore",
"kscreen",
"kscreenlocker",
"kseexpr",
"kservice",
"kshisen",
"ksirk",
"ksmtp",
"ksnakeduel",
"ksnip",
"kspaceduel",
"ksquares",
"ksshaskpass",
"kstars",
"ksudoku",
"ksyntax-highlighting",
"ksystemlog",
"ksystemstats",
"kteatime",
"ktechlab",
"ktextaddons",
"ktexteditor",
"ktextwidgets",
"ktikz",
"ktimer",
"ktimetracker",
"ktnef",
"ktorrent",
"ktouch",
"ktp-accounts-kcm",
"ktp-approver",
"ktp-auth-handler",
"ktp-call-ui",
"ktp-common-internals",
"ktp-contact-list",
"ktp-contact-runner",
"ktp-desktop-applets",
"ktp-filetransfer-handler",
"ktp-kded-integration-module",
"ktp-send-file",
"ktp-text-ui",
"ktrip",
"ktuberling",
"kturtle",
"kubrick",
"kunitconversion",
"kuserfeedback",
"kvirc",
"kwallet-kf5",
"kwalletmanager",
"kwallet-pam",
"kwave",
"kwayland",
"kwayland-integration",
"kwidgetsaddons",
"kwin",
"kwindowsystem",
"kwordquiz",
"kwrited",
"kxmlgui",
"kxmlrpcclient",
"kxstitch",
"labplot",
"lager",
"latte-dock",
"layer-shell-qt",
"lensfun",
"libaccounts-glib",
"libaccounts-qt",
"libappimage",
"libdbusmenu-qt",
"libkcddb",
"libkcompactdisc",
"libkdcraw",
"libkdegames",
"libkdepim",
"libkeduvocdocument",
"libkexiv2",
"libkf5calendarsupport",
"libkf5eventviews",
"libkf5grantleetheme",
"libkf5gravatar",
"libkf5incidenceeditor",
"libkf5kdcraw",
"libkf5kexiv2",
"libkf5kipi",
"libkf5kmahjongg",
"libkf5ksieve",
"libkf5libkdepim",
"libkf5libkleo",
"libkf5mailcommon",
"libkf5mailimporter",
"libkf5pimcommon",
"libkf5sane",
"libkgapi",
"libkgapi5",
"libkomparediff2",
"libkscreen",
"libksysguard",
"libktorrent",
"libmediawiki",
"libnova",
"libplasma",
"libqaccessibilityclient",
"libqapt",
"libsignon-glib",
"libspectre",
"libunibreak",
"lokalize",
"lskat",
"marble",
"markdownpart",
"mbox-importer",
"md4c",
"meta-kde",
"meta-kde-telepathy",
"milou",
"minuet",
"modemmanager-qt",
"neochat",
"networkmanager-qt",
"ocean-sound-theme",
"okteta",
"okular",
"oxygen",
"oxygen-fonts",
"oxygen-icons5",
"oxygen-sounds",
"palapeli",
"parley",
"partitionmanager",
"peruse",
"phonon",
"phonon-backend-gstreamer",
"phonon-backend-vlc",
"picmi",
"pim-data-exporter",
"pim-sieve-editor",
"pkg-kde-tools",
"plasma5support",
"plasma-activities",
"plasma-activities-stats",
"plasma-bigscreen",
"plasma-browser-integration",
"plasma-desktop",
"plasma-discover",
"plasma-disks",
"plasma-firewall",
"plasma-framework",
"plasma-gamemode",
"plasma-gmailfeed",
"plasma-integration",
"plasma-nano",
"plasma-nm",
"plasma-pa",
"plasma-pass",
"plasma-remotecontrollers",
"plasma-sdk",
"plasma-systemmonitor",
"plasma-thunderbolt",
"plasma-vault",
"plasma-wayland-protocols",
"plasma-welcome",
"plasma-workspace",
"plasma-workspace-wallpapers",
"plymouth-kcm",
"polkit-kde-agent-1",
"polkit-qt-1",
"powerdevil",
"poxml",
"print-manager",
"prison-kf5",
"projecteur",
"pulseaudio-qt",
"purpose",
"pyside2",
"pyside6",
"qbs",
"qca2",
"qconf",
"qcoro",
"qgnomeplatform",
"qqc2-breeze-style",
"qqc2-desktop-style",
"quassel",
"qzxing",
"readstat",
"rkward",
"rocs",
"rsibreak",
"sddm",
"sddm-kcm",
"signond",
"signon-kwallet-extension",
"signon-plugin-oauth2",
"signon-ui",
"skanlite",
"skanpage",
"skladnik",
"skrooge",
"smb4k",
"solid",
"sonnet",
"soundkonverter",
"stellarsolver",
"step",
"subtitlecomposer",
"svgpart",
"sweeper",
"syndication",
"systemsettings",
"telepathy-accounts-signon",
"telepathy-logger-qt",
"telepathy-qt",
"tellico",
"threadweaver",
"tokodon",
"umbrello",
"verdigris",
"xdg-desktop-portal-kde",
"yakuake",
"zanshin",
"zeroconf-ioslave",
"zug",
"exo",
"garcon",
"gigolo",
"libxfce4ui",
"libxfce4util",
"libxfce4windowing",
"lightdm",
"lightdm-gtk-greeter",
"light-locker",
"mousepad",
"orage",
"parole",
"ristretto",
"thunar",
"thunar-archive-plugin",
"thunar-media-tags-plugin",
"thunar-vcs-plugin",
"thunar-volman",
"tumbler",
"xfburn",
"xfce4",
"xfce4-appfinder",
"xfce4-battery-plugin",
"xfce4-clipman-plugin",
"xfce4-cpufreq-plugin",
"xfce4-cpugraph-plugin",
"xfce4-datetime-plugin",
"xfce4-dev-tools",
"xfce4-dict",
"xfce4-diskperf-plugin",
"xfce4-fsguard-plugin",
"xfce4-genmon-plugin",
"xfce4-goodies",
"xfce4-indicator-plugin",
"xfce4-mailwatch-plugin",
"xfce4-mount-plugin",
"xfce4-mpc-plugin",
"xfce4-netload-plugin",
"xfce4-notes-plugin",
"xfce4-notifyd",
"xfce4-panel",
"xfce4-panel-profiles",
"xfce4-places-plugin",
"xfce4-power-manager",
"xfce4-pulseaudio-plugin",
"xfce4-screensaver",
"xfce4-screenshooter",
"xfce4-sensors-plugin",
"xfce4-session",
"xfce4-settings",
"xfce4-smartbookmark-plugin",
"xfce4-systemload-plugin",
"xfce4-taskmanager",
"xfce4-terminal",
"xfce4-timer-plugin",
"xfce4-verve-plugin",
"xfce4-wavelan-plugin",
"xfce4-weather-plugin",
"xfce4-whiskermenu-plugin",
"xfce4-xkb-plugin",
"xfconf",
"xfdesktop4",
"xfwm4"
]
}

File diff suppressed because it is too large Load Diff

4700
i386_whitelist_target_bins Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,30 @@
libqt5core5t64
libkirigami-data
libkirigami-dev
libkirigami-doc
libkirigami6
libkirigamidelegates6
libkirigamidialogs6
libkirigamilayouts6
libkirigamiplatform6
libkirigamiprimitives6
libkirigamiprivate6
qml6-module-org-kde-kirigami
libbatterycontrol6
libcolorcorrect6
libkmpris6
libkfontinst6
libkfontinstui6
libkworkspace6-6
libnotificationmanager1
libplasma-geolocation-interface6
libtaskmanager6
libweather-ion7
plasma-workspace
plasma-workspace-data
plasma-workspace-dev
libksysguard-bin
libc6-amd64
libc6-dev-amd64
libc6-dev-x32
libc6-x32

View File

@ -0,0 +1,20 @@
iwyu
libedit
llvm-defaults
llvm-toolchain-14
llvm-toolchain-15
llvm-toolchain-16
llvm-toolchain-17
llvm-toolchain-18
llvm-toolchain-snapshot
llvmlite
swiftlang
z3
glibc
libnsl
libnss-nis
libnss-nisplus
rpcsvc-proto
tzdata
glibc-doc-reference
gcc-defaults

View File

@ -0,0 +1,130 @@
adwaita-icon-theme
at-spi2-core
baobab
gnome-calls
fonts-cantarell
d-spy
dconf
dconf-editor
devhelp
epiphany-browser
evince
evolution-data-server
folks
gcab
gcr
gcr4
gdk-pixbuf
gdm3
geocode-glib
gexiv2
gi-docgen
gjs
glib2.0
glib-networking
glibmm2.68
gmime
gnome-autoar
gnome-backgrounds
gnome-bluetooth3
gnome-boxes
gnome-builder
gnome-calculator
gnome-calendar
gnome-characters
gnome-clocks
gnome-color-manager
gnome-connections
gnome-console
gnome-contacts
gnome-control-center
gnome-desktop
gnome-disk-utility
gnome-font-viewer
gnome-initial-setup
gnome-keyring
gnome-logs
gnome-maps
gnome-menus
gnome-music
gnome-online-accounts
gnome-remote-desktop
gnome-session
gnome-settings-daemon
gnome-shell
gnome-shell-extensions
gnome-software
gnome-system-monitor
gnome-text-editor
gnome-tour
gnome-user-docs
gnome-user-share
gnome-weather
gobject-introspection
libgom
grilo
grilo-plugins
gsettings-desktop-schemas
gsound
gspell
gssdp
gtk4
gtk+3.0
gtk-doc
gtk-vnc
gtkmm4.0
gtksourceview4
gtksourceview5
gupnp
gupnp-av
gupnp-dlna
gvfs
json-glib
jsonrpc-glib
libadwaita-1
libdex
libgee-0.8
libgsf
libgtop2
libgweather4
libgxps
libhandy-1
libmediaart
libnma
libnotify
libpanel
libpeas
libpeas2
librsvg
libsecret
libshumate
libsigc++-3.0
libsoup3
loupe
mm-common
mutter
nautilus
orca
pango1.0
pangomm2.48
phodav
pyatspi
pygobject
librest
rygel
simple-scan
gnome-snapshot
gnome-sushi
sysprof
tecla
template-glib
totem
totem-pl-parser
tracker
tracker-miners
vala
vte2.91
xdg-desktop-portal-gnome
yelp
yelp-tools
yelp-xsl

View File

@ -0,0 +1,588 @@
activity-aware-firefox
akonadi
akonadi-calendar
akonadi-calendar-tools
akonadiconsole
akonadi-contacts
akonadi-import-wizard
akonadi-mime
akonadi-notes
akonadi-search
akregator
alkimia
amarok
analitza
ark
artikulate
attica-kf5
audiocd-kio
baloo-kf5
baloo-widgets
basket
bismuth
blinken
bluedevil
bluez-qt
bomber
bovo
breeze
breeze-grub
breeze-gtk
breeze-icons
breeze-plymouth
calamares-extensions
calligra
calligraplan
cantor
cervisia
charmtimetracker
choqok
clazy
colord-kde
convertall
ctemplate
debconf-kde
digikam
dolphin
dolphin-plugins
dragon
drkonqi
elisa-player
exiv2
extra-cmake-modules
ffmpegthumbs
filelight
flatpak-kcm
frameworkintegration
gammaray
gcompris-qt
ghostwriter
granatier
grantlee5
grantlee-editor
grantleetheme
gtk2-engines-oxygen
gwenview
icecc
icecc-monitor
immer
indi
itinerary
juk
k3b
kaccounts-integration
kaccounts-providers
kactivities-kf5
kactivities-stats
kactivitymanagerd
kaddressbook
kaffeine
kaidan
kajongg
kalarm
kalendar
kalgebra
kalzium
kamera
kamoso
kanagram
kapidox
kapman
kapptemplate
karchive
kate
katomic
kauth
kbackup
kblackbox
kblocks
kbookmarks
kbounce
kbreakout
kbruch
kcachegrind
kcalc
kcalcore
kcalutils
kcharselect
kchmviewer
kcmutils
kcodecs
kcollectd
kcolorchooser
kcolorpicker
kcompletion
kconfig
kconfigwidgets
kcontacts
kcoreaddons
kcrash
kcron
kdav
kdb
kdbusaddons
kdebugsettings
kdeclarative
kde-cli-tools
kdeconnect
kdecoration
kded
kde-dev-scripts
kde-dev-utils
kdeedu-data
kdegraphics-mobipocket
kdegraphics-thumbnailers
kde-gtk-config
kde-inotify-survey
kdelibs4support
kdenetwork-filesharing
kdepim-addons
kdepim-runtime
kdeplasma-addons
kdesdk-kioslaves
kdesdk-thumbnailers
kdesignerplugin
kde-spectacle
kdesu
kdesvn
kdevelop
kdevelop-pg-qt
kdevelop-php
kdevelop-python
kdewebkit
kdf
kdiagram
kdialog
kdiamond
kdiff3
kdnssd-kf5
kdoctools
keditbookmarks
kemoticons
keurocalc
kexi
kf5-messagelib
kf6-attica
kf6-baloo
kf6-bluez-qt
kf6-breeze-icons
kf6-frameworkintegration
kf6-kapidox
kf6-karchive
kf6-kauth
kf6-kbookmarks
kf6-kcalendarcore
kf6-kcmutils
kf6-kcodecs
kf6-kcolorscheme
kf6-kcompletion
kf6-kconfig
kf6-kconfigwidgets
kf6-kcontacts
kf6-kcoreaddons
kf6-kcrash
kf6-kdav
kf6-kdbusaddons
kf6-kdeclarative
kf6-kded
kf6-kdesu
kf6-kdnssd
kf6-kdoctools
kf6-kfilemetadata
kf6-kglobalaccel
kf6-kguiaddons
kf6-kholidays
kf6-ki18n
kf6-kiconthemes
kf6-kidletime
kf6-kimageformats
kf6-kio
kf6-kirigami
kf6-kitemmodels
kf6-kitemviews
kf6-kjobwidgets
kf6-knewstuff
kf6-knotifications
kf6-knotifyconfig
kf6-kpackage
kf6-kparts
kf6-kpeople
kf6-kplotting
kf6-kpty
kf6-kquickcharts
kf6-krunner
kf6-kservice
kf6-kstatusnotifieritem
kf6-ksvg
kf6-ktexteditor
kf6-ktexttemplate
kf6-ktextwidgets
kf6-kunitconversion
kf6-kuserfeedback
kf6-kwallet
kf6-kwidgetsaddons
kf6-kwindowsystem
kf6-kxmlgui
kf6-modemmanager-qt
kf6-networkmanager-qt
kf6-prison
kf6-purpose
kf6-qqc2-desktop-style
kf6-solid
kf6-sonnet
kf6-syndication
kf6-syntax-highlighting
kf6-threadweaver
kfilemetadata-kf5
kfind
kfloppy
kfourinline
kgamma
kgamma5
kgeography
kgeotag
kget
kglobalaccel
kglobalacceld
kgoldrunner
kgpg
kguiaddons
khangman
khelpcenter
kholidays
khotkeys
khtml
ki18n
kiconthemes
kidentitymanagement
kidletime
kig
kigo
kile
killbots
kimageannotator
kimageformats
kimagemapeditor
kimap
kinfocenter
kinit
kio
kio-extras
kio-fuse
kio-gdrive
kio-gopher
kipi-plugins
kirigami2
kirigami-addons
kirigami-addons5
kirigami-gallery
kiriki
kitemmodels
kitemviews
kiten
kitinerary
kjobwidgets
kjots
kjs
kjsembed
kjumpingcube
kldap
kleopatra
klettres
klickety
klines
kmag
kmahjongg
kmail
kmail-account-wizard
kmailtransport
kmbox
kmediaplayer
kmenuedit
kmime
kmines
kmix
kmousetool
kmouth
kmplayer
kmplot
kmymoney
knavalbattle
knetwalk
knewstuff
knights
knotes
knotifications
knotifyconfig
kolf
kollision
kolourpaint
kompare
kongress
konqueror
konquest
konsole
kontact
kontactinterface
kontrast
konversation
kookbook
kopeninghours
kopete
korganizer
kosmindoormap
kpackage
kparts
kpat
kpeople
kpeoplevcard
kphotoalbum
kpimtextedit
kpipewire
kpkpass
kplotting
kpmcore
kproperty
kpty
kpublictransport
kqtquickcharts
kquickcharts
kquickimageeditor
kraft
krdc
krdp
krename
kreport
kreversi
krfb
krita
kronometer
kross
kross-interpreters
kruler
krunner
krusader
ksanecore
kscreen
kscreenlocker
kseexpr
kservice
kshisen
ksirk
ksmtp
ksnakeduel
ksnip
kspaceduel
ksquares
ksshaskpass
kstars
ksudoku
ksyntax-highlighting
ksystemlog
ksystemstats
kteatime
ktechlab
ktextaddons
ktexteditor
ktextwidgets
ktikz
ktimer
ktimetracker
ktnef
ktorrent
ktouch
ktp-accounts-kcm
ktp-approver
ktp-auth-handler
ktp-call-ui
ktp-common-internals
ktp-contact-list
ktp-contact-runner
ktp-desktop-applets
ktp-filetransfer-handler
ktp-kded-integration-module
ktp-send-file
ktp-text-ui
ktrip
ktuberling
kturtle
kubrick
kunitconversion
kuserfeedback
kvirc
kwallet-kf5
kwalletmanager
kwallet-pam
kwave
kwayland
kwayland-integration
kwidgetsaddons
kwin
kwindowsystem
kwordquiz
kwrited
kxmlgui
kxmlrpcclient
kxstitch
labplot
lager
latte-dock
layer-shell-qt
lensfun
libaccounts-glib
libaccounts-qt
libappimage
libdbusmenu-qt
libkcddb
libkcompactdisc
libkdcraw
libkdegames
libkdepim
libkeduvocdocument
libkexiv2
libkf5calendarsupport
libkf5eventviews
libkf5grantleetheme
libkf5gravatar
libkf5incidenceeditor
libkf5kdcraw
libkf5kexiv2
libkf5kipi
libkf5kmahjongg
libkf5ksieve
libkf5libkdepim
libkf5libkleo
libkf5mailcommon
libkf5mailimporter
libkf5pimcommon
libkf5sane
libkgapi
libkgapi5
libkomparediff2
libkscreen
libksysguard
libktorrent
libmediawiki
libnova
libplasma
libqaccessibilityclient
libqapt
libsignon-glib
libspectre
libunibreak
lokalize
lskat
marble
markdownpart
mbox-importer
md4c
meta-kde
meta-kde-telepathy
milou
minuet
modemmanager-qt
neochat
networkmanager-qt
ocean-sound-theme
okteta
okular
oxygen
oxygen-fonts
oxygen-icons5
oxygen-sounds
palapeli
parley
partitionmanager
peruse
phonon
phonon-backend-gstreamer
phonon-backend-vlc
picmi
pim-data-exporter
pim-sieve-editor
pkg-kde-tools
plasma5support
plasma-activities
plasma-activities-stats
plasma-bigscreen
plasma-browser-integration
plasma-desktop
plasma-discover
plasma-disks
plasma-firewall
plasma-framework
plasma-gamemode
plasma-gmailfeed
plasma-integration
plasma-nano
plasma-nm
plasma-pa
plasma-pass
plasma-remotecontrollers
plasma-sdk
plasma-systemmonitor
plasma-thunderbolt
plasma-vault
plasma-wayland-protocols
plasma-welcome
plasma-workspace
plasma-workspace-wallpapers
plymouth-kcm
polkit-kde-agent-1
polkit-qt-1
powerdevil
poxml
print-manager
prison-kf5
projecteur
pulseaudio-qt
purpose
pyside2
pyside6
qbs
qca2
qconf
qcoro
qgnomeplatform
qqc2-breeze-style
qqc2-desktop-style
quassel
qzxing
readstat
rkward
rocs
rsibreak
sddm
sddm-kcm
signond
signon-kwallet-extension
signon-plugin-oauth2
signon-ui
skanlite
skanpage
skladnik
skrooge
smb4k
solid
sonnet
soundkonverter
stellarsolver
step
subtitlecomposer
svgpart
sweeper
syndication
systemsettings
telepathy-accounts-signon
telepathy-logger-qt
telepathy-qt
tellico
threadweaver
tokodon
umbrello
verdigris
xdg-desktop-portal-kde
yakuake
zanshin
zeroconf-ioslave
zug

View File

@ -0,0 +1,63 @@
exo
garcon
gigolo
libxfce4ui
libxfce4util
libxfce4windowing
lightdm
lightdm-gtk-greeter
light-locker
mousepad
orage
parole
ristretto
thunar
thunar-archive-plugin
thunar-media-tags-plugin
thunar-vcs-plugin
thunar-volman
tumbler
xfburn
xfce4
xfce4-appfinder
xfce4-battery-plugin
xfce4-clipman-plugin
xfce4-cpufreq-plugin
xfce4-cpugraph-plugin
xfce4-datetime-plugin
xfce4-dev-tools
xfce4-dict
xfce4-diskperf-plugin
xfce4-fsguard-plugin
xfce4-genmon-plugin
xfce4-goodies
xfce4-indicator-plugin
xfce4-mailwatch-plugin
xfce4-mount-plugin
xfce4-mpc-plugin
xfce4-netload-plugin
xfce4-notes-plugin
xfce4-notifyd
xfce4-panel
xfce4-panel-profiles
xfce4-places-plugin
xfce4-power-manager
xfce4-pulseaudio-plugin
xfce4-screensaver
xfce4-screenshooter
xfce4-sensors-plugin
xfce4-session
xfce4-settings
xfce4-smartbookmark-plugin
xfce4-systemload-plugin
xfce4-taskmanager
xfce4-terminal
xfce4-timer-plugin
xfce4-verve-plugin
xfce4-wavelan-plugin
xfce4-weather-plugin
xfce4-whiskermenu-plugin
xfce4-xkb-plugin
xfconf
xfdesktop4
xfwm4

75
scripts/gen-apt-config.py Executable file
View File

@ -0,0 +1,75 @@
#! /bin/python3
import os, errno
import json
import subprocess
_APT_CONFIG_PIN="""
Package: *
Pin: release a=experimental
Pin-Priority: 390
Package:{PACKAGES}
Pin: release a=experimental
Pin-Priority: 600
"""
def silentremove(filename):
try:
os.remove(filename)
except OSError as e: # this would be "except OSError, e:" before Python 2.6
if e.errno != errno.ENOENT: # errno.ENOENT = no such file or directory
raise # re-raise exception if a different error occurred
current_path = os.path.dirname(os.path.realpath(__file__))
srcnames_files = [open(current_path + "/../package_srcnames/" + filename) for filename in os.listdir(current_path + "/../package_srcnames/")]
srcname_lines = []
pkgname_lines = []
for file in srcnames_files:
for line in file.readlines():
srcname = line.strip()
srcname_lines.append(srcname)
result = subprocess.run([current_path + '/get-bin-name-from-src.sh', srcname], stdout=subprocess.PIPE)
stdout = result.stdout.decode('utf-8')
for line in stdout.splitlines():
if line != "":
pkgname_lines.append(line)
pkgname_lines.append(line+"t64")
file.close()
with open (current_path + "/../package_pkgnames_overrides") as file:
lines = file.readlines()
for line in lines:
pkgname_lines.append(line.strip())
file.close()
src_data = {
'source_names': [source_name for source_name in srcname_lines],
}
pkg_data = {
'package_names': [pkg_name for pkg_name in pkgname_lines]
}
apt_pin_packages = ""
for pkg in srcname_lines:
apt_pin_packages += (" src:" + pkg)
with open(current_path + "/../generated-output/0-debian-exp-overrides", "w") as file:
debian_exp_override_file = _APT_CONFIG_PIN.format(
PACKAGES=apt_pin_packages,
)
file.write(debian_exp_override_file)
with open(current_path + "/../generated-output/exp_src_names.json", "w") as twitterDataFile:
twitterDataFile.write(
json.dumps(src_data, indent=4)
)
with open(current_path + "/../generated-output/exp_pkg_names.json", "w") as twitterDataFile:
twitterDataFile.write(
json.dumps(pkg_data, indent=4)
)

28
scripts/gen-bin-lists.py Executable file
View File

@ -0,0 +1,28 @@
#! /bin/python3
import os, errno
import json
import subprocess
current_path = os.path.dirname(os.path.realpath(__file__))
for filename in os.listdir(current_path + "/../package_srcnames/"):
pkgname_lines = []
file = open(current_path + "/../package_srcnames/" + filename)
for line in file.readlines():
srcname = line.strip()
result = subprocess.run([current_path + '/get-bin-name-from-src.sh', srcname], stdout=subprocess.PIPE)
stdout = result.stdout.decode('utf-8')
for line in stdout.splitlines():
if line != "":
pkgname_lines.append(line)
pkgname_lines.append(line+"t64")
file.close()
pkg_data = {
'package_names': [pkg_name for pkg_name in pkgname_lines]
}
with open(current_path + "/../generated-output/bin-names-of-src-lists/" + filename, "w") as twitterDataFile:
twitterDataFile.write(
json.dumps(pkg_data, indent=4)
)

77
scripts/gen-i386-whitelist.py Executable file
View File

@ -0,0 +1,77 @@
#! /bin/python3
import os, errno
import json
import subprocess
import apt
import numpy as np
import threading
def silentremove(filename):
try:
os.remove(filename)
except OSError as e: # this would be "except OSError, e:" before Python 2.6
if e.errno != errno.ENOENT: # errno.ENOENT = no such file or directory
raise # re-raise exception if a different error occurred
def pharse_build_tree(pkg_arr, current_path, pkgname_lines):
for pkgname in pkg_arr:
print("Parsing dep tree for: " + pkgname)
result = subprocess.run([current_path + '/get_depend_tree.sh', pkgname], stdout=subprocess.PIPE)
stdout = result.stdout.decode('utf-8')
for line in stdout.splitlines():
if line != "":
pkgname_lines.append(line)
current_path = os.path.dirname(os.path.realpath(__file__))
global whitelist_arr
whitelist_arr = np.array([])
thread_arr = []
pkgname_lines = []
srcname_lines = []
srcnames_clean = []
file = open(current_path + "/../i386_whitelist_target_bins", "r")
for line in file.readlines():
pkgname = line.strip()
if pkgname != "" and not pkgname.endswith("-udeb"):
pkgname_lines.append(pkgname)
whitelist_arr = np.append(whitelist_arr, [pkgname])
file.close()
newarr = np.array_split(whitelist_arr, 20)
for array in newarr:
t0 = threading.Thread(target=pharse_build_tree, args=(array, current_path, pkgname_lines,))
thread_arr.append(t0)
for thread_proc in thread_arr:
thread_proc.start()
for thread_proc in thread_arr:
thread_proc.join()
c = apt.Cache()
for pkgname in pkgname_lines:
try:
src_name = c[pkgname].candidate.source_name
if src_name:
srcname_lines.append(src_name)
except:
pass
for i in srcname_lines:
if i not in srcnames_clean and i + "-dmo" not in srcnames_clean:
srcnames_clean.append(i)
src_data = {
'i386_whitelist': [source_name for source_name in srcnames_clean],
}
with open(current_path + "/../generated-output/i386/i386_src_whitelist.json", "w") as twitterDataFile:
twitterDataFile.write(
json.dumps(src_data, indent=4)
)

View File

@ -0,0 +1,2 @@
#! /bin/bash
cat "$1" | cut -f1 -d " " | cut -f1 -d"*" | sort -u

View File

@ -0,0 +1,2 @@
#! /bin/bash
apt showsrc "$1" | grep -E "^Binary:" | cut -d":" -f2- | sed 's/\,/\n/g' | sed 's/\ /\n/g' | sed '/^$/d'

41
scripts/get_depend_tree.py Executable file
View File

@ -0,0 +1,41 @@
#!/usr/bin/python3
import sys
import apt
def dependencies(cache, pkg, deps, key="Depends"):
# print "pkg: %s (%s)" % (pkg.name, deps)
candver = cache._depcache.get_candidate_ver(pkg._pkg)
if candver is None:
return deps
dependslist = candver.depends_list
if key in dependslist:
for depVerList in dependslist[key]:
for dep in depVerList:
if dep.target_pkg.name in cache:
if (
pkg.name != dep.target_pkg.name
and dep.target_pkg.name not in deps
):
deps.add(dep.target_pkg.name)
dependencies(cache, cache[dep.target_pkg.name], deps, key)
return deps
pkgname = sys.argv[1]
c = apt.Cache()
try:
pkg = c[pkgname]
deps = set()
deps = dependencies(c, pkg, deps, "Depends")
print(" ".join(deps))
preDeps = set()
preDeps = dependencies(c, pkg, preDeps, "PreDepends")
print(" ".join(preDeps))
except:
pass

2
scripts/get_depend_tree.sh Executable file
View File

@ -0,0 +1,2 @@
#! /bin/bash
./scripts/get_depend_tree.py "$1" | sed 's/\,/\n/g' | sed 's/\ /\n/g' | sed '/^$/d'

9
scripts/get_source_name.py Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/python3
import sys
import apt
pkgname = sys.argv[1]
c = apt.Cache()
print(c[pkgname].candidate.source_name)