diff --git a/package-list.sh b/package-list.sh deleted file mode 100755 index 3851cdd..0000000 --- a/package-list.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash - -#----------------------------------------------------------- -# Script to generate a list of package details from a GitHub repository URL -# Author: RiO -# Date: 2024-12-27 -# Description: This script fetches the list of package filenames -# from a specified GitHub repository and processes them into a clean output. -# It also removes duplicate package names. -#----------------------------------------------------------- - -# GitHub API URL for the directory -repo_url="https://api.github.com/repos/Snigdha-OS/snigdhaos-extra/contents/x86_64" - -# Output file -output_file="packages.txt" - -# Function to install curl if not installed (for Arch Linux) -install_curl() { - echo "curl is not installed. Attempting to install..." - - # Check if the system is using the pacman package manager (Arch Linux) - if command -v pacman &> /dev/null; then - sudo pacman -Sy --noconfirm curl - else - echo "Error: Could not detect pacman package manager. Please install curl manually." - exit 1 - fi - - # Verify if curl was successfully installed - if command -v curl &> /dev/null; then - echo "curl has been installed successfully." - else - echo "Error: Failed to install curl. Please install it manually." - exit 1 - fi -} - -# Function to fetch and process the package list (only package names, with duplicates removed) -fetch_packages() { - # Check if curl is installed - if ! command -v curl &> /dev/null; then - install_curl - fi - - # Fetch the directory content from the GitHub API, extract package names, remove duplicates - curl -s "$repo_url" | \ - jq -r '.[].name' | \ - grep -oP '^[^/]+(?=-[0-9]+-[a-z0-9]+\.pkg\.tar\.zst)' | \ - sort | \ - uniq > "$output_file" - - # Check if the output file is generated successfully - if [[ $? -eq 0 ]]; then - echo "Generated $output_file with package names (duplicates removed)." - else - echo "Error: Failed to generate the package list." - exit 1 - fi -} - -# Run the function -fetch_packages \ No newline at end of file diff --git a/packages.json b/packages.json deleted file mode 100644 index 8e8283c..0000000 --- a/packages.json +++ /dev/null @@ -1,31 +0,0 @@ -[ - { - "name": "aic94xx-firmware", - "version": "30", - "description": "Adaptec SAS 44300, 48300, 58300 Sequencer Firmware for AIC94xx driver" - }, - - { - "name": "ast-firmware", - "version": "501", - "description": "Aspeed VGA module from the IPMI" - }, - - { - "name": "mkinitcpio-firmware", - "version": "1.4.0", - "description": "Optional firmware for the default linux kernel to get rid of the annoying 'WARNING: Possibly missing firmware for module:' messages" - }, - - { - "name": "upd72020x-fw", - "version": "1.0.0", - "description": "Renesas uPD720201 / uPD720202 USB 3.0 chipsets firmware" - }, - - { - "name": "wd719x-firmware", - "version": "1", - "description": "Driver for Western Digital WD7193, WD7197 and WD7296 SCSI cards" - } -] \ No newline at end of file diff --git a/packages.txt b/packages.txt deleted file mode 100644 index c1752eb..0000000 --- a/packages.txt +++ /dev/null @@ -1,5 +0,0 @@ -aic94xx-firmware-30 -ast-firmware-501 -mkinitcpio-firmware-1.4.0 -upd72020x-fw-1:1.0.0 -wd719x-firmware-1 diff --git a/repo-creds.sh b/repo-creds.sh index bcf3e0b..88adfed 100644 --- a/repo-creds.sh +++ b/repo-creds.sh @@ -1,4 +1,4 @@ -pacman-key --recv-key 93BC54415EA8E7AB --keyserver keyserver.ubuntu.com -pacman-key --lsign-key 93BC54415EA8E7AB +sudo pacman-key --recv-key 1CC586C7A25E47C5 --keyserver keyserver.ubuntu.com +sudo pacman-key --lsign-key 1CC586C7A25E47C5 pacman -U '#' pacman -U '@' diff --git a/x86_64/aic94xx-firmware-30-1-any.pkg.tar.zst b/x86_64/aic94xx-firmware-30-1-any.pkg.tar.zst new file mode 100644 index 0000000..8a28019 Binary files /dev/null and b/x86_64/aic94xx-firmware-30-1-any.pkg.tar.zst differ diff --git a/x86_64/aic94xx-firmware-30-1-any.pkg.tar.zst.sig b/x86_64/aic94xx-firmware-30-1-any.pkg.tar.zst.sig new file mode 100644 index 0000000..b321d5c Binary files /dev/null and b/x86_64/aic94xx-firmware-30-1-any.pkg.tar.zst.sig differ diff --git a/x86_64/aic94xx-firmware-30-10-any.pkg.tar.zst b/x86_64/aic94xx-firmware-30-10-any.pkg.tar.zst deleted file mode 100644 index f5f270e..0000000 Binary files a/x86_64/aic94xx-firmware-30-10-any.pkg.tar.zst and /dev/null differ diff --git a/x86_64/aic94xx-firmware-30-10-any.pkg.tar.zst.sig b/x86_64/aic94xx-firmware-30-10-any.pkg.tar.zst.sig deleted file mode 100644 index 55dfc61..0000000 Binary files a/x86_64/aic94xx-firmware-30-10-any.pkg.tar.zst.sig and /dev/null differ diff --git a/x86_64/ast-firmware-501-1-any.pkg.tar.zst b/x86_64/ast-firmware-501-1-any.pkg.tar.zst index 68927df..4a03dba 100644 Binary files a/x86_64/ast-firmware-501-1-any.pkg.tar.zst and b/x86_64/ast-firmware-501-1-any.pkg.tar.zst differ diff --git a/x86_64/ast-firmware-501-1-any.pkg.tar.zst.sig b/x86_64/ast-firmware-501-1-any.pkg.tar.zst.sig index 6bc360a..52b521e 100644 Binary files a/x86_64/ast-firmware-501-1-any.pkg.tar.zst.sig and b/x86_64/ast-firmware-501-1-any.pkg.tar.zst.sig differ diff --git a/x86_64/ckbcomp-1.233-1-any.pkg.tar.zst b/x86_64/ckbcomp-1.233-1-any.pkg.tar.zst new file mode 100644 index 0000000..205fa5f Binary files /dev/null and b/x86_64/ckbcomp-1.233-1-any.pkg.tar.zst differ diff --git a/x86_64/ckbcomp-1.233-1-any.pkg.tar.zst.sig b/x86_64/ckbcomp-1.233-1-any.pkg.tar.zst.sig new file mode 100644 index 0000000..e4d437c Binary files /dev/null and b/x86_64/ckbcomp-1.233-1-any.pkg.tar.zst.sig differ diff --git a/x86_64/mkinitcpio-firmware-1.0.0-1-any.pkg.tar.zst b/x86_64/mkinitcpio-firmware-1.0.0-1-any.pkg.tar.zst new file mode 100644 index 0000000..6f51482 Binary files /dev/null and b/x86_64/mkinitcpio-firmware-1.0.0-1-any.pkg.tar.zst differ diff --git a/x86_64/mkinitcpio-firmware-1.0.0-1-any.pkg.tar.zst.sig b/x86_64/mkinitcpio-firmware-1.0.0-1-any.pkg.tar.zst.sig new file mode 100644 index 0000000..d573e84 Binary files /dev/null and b/x86_64/mkinitcpio-firmware-1.0.0-1-any.pkg.tar.zst.sig differ diff --git a/x86_64/mkinitcpio-firmware-1.4.0-1-any.pkg.tar.zst b/x86_64/mkinitcpio-firmware-1.4.0-1-any.pkg.tar.zst deleted file mode 100644 index e65f3a6..0000000 Binary files a/x86_64/mkinitcpio-firmware-1.4.0-1-any.pkg.tar.zst and /dev/null differ diff --git a/x86_64/mkinitcpio-firmware-1.4.0-1-any.pkg.tar.zst.sig b/x86_64/mkinitcpio-firmware-1.4.0-1-any.pkg.tar.zst.sig deleted file mode 100644 index 5ec3eff..0000000 Binary files a/x86_64/mkinitcpio-firmware-1.4.0-1-any.pkg.tar.zst.sig and /dev/null differ diff --git a/x86_64/mkinitcpio-openswap-1.0.0-1-any.pkg.tar.zst b/x86_64/mkinitcpio-openswap-1.0.0-1-any.pkg.tar.zst new file mode 100644 index 0000000..025c7c7 Binary files /dev/null and b/x86_64/mkinitcpio-openswap-1.0.0-1-any.pkg.tar.zst differ diff --git a/x86_64/mkinitcpio-openswap-1.0.0-1-any.pkg.tar.zst.sig b/x86_64/mkinitcpio-openswap-1.0.0-1-any.pkg.tar.zst.sig new file mode 100644 index 0000000..5955f79 Binary files /dev/null and b/x86_64/mkinitcpio-openswap-1.0.0-1-any.pkg.tar.zst.sig differ diff --git a/x86_64/repo-updater.sh b/x86_64/repo-updater.sh deleted file mode 100755 index 404f1de..0000000 --- a/x86_64/repo-updater.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -#----------------------------------------------------------- -# Script to update Snigdha OS Core repository -# Author : Eshan Roy -# Author URI : https://eshanized.github.io -# Contributor : RiO -# Contributor URI : https://d3v1l0n.github.io -# Date : 2024-12-27 -# Description : This script updates the Snigdha OS Core repository -# by adding new package files and updating the database files. -#----------------------------------------------------------- - -# Set the name for the repository database -repo_name="snigdhaos-extra" - -# Function to handle errors -handle_error() { - echo "Error: $1" - exit 1 -} - -# Step 1: Remove old packages and database files -echo "Cleaning up old package and database files..." -rm -f "${repo_name}"* || handle_error "Failed to remove old packages." - -# Step 2: Adding new packages to the repository -echo "Adding new packages to the repository..." -repo-add -s -n -R "${repo_name}.db.tar.gz" *.pkg.tar.zst || handle_error "Failed to add packages." - -# Sleep to ensure all files are processed -sleep 1 - -# Step 3: Remove old database and files -echo "Cleaning up old database and files..." -rm -f "${repo_name}.db" "${repo_name}.db.sig" "${repo_name}.files" "${repo_name}.files.sig" || handle_error "Failed to remove old database files." - -# Step 4: Move new files into place -echo "Moving new database and file archive..." -mv -f "${repo_name}.db.tar.gz" "${repo_name}.db" || handle_error "Failed to move database file." -mv -f "${repo_name}.db.tar.gz.sig" "${repo_name}.db.sig" || handle_error "Failed to move database signature file." -mv -f "${repo_name}.files.tar.gz" "${repo_name}.files" || handle_error "Failed to move files archive." -mv -f "${repo_name}.files.tar.gz.sig" "${repo_name}.files.sig" || handle_error "Failed to move files signature." - -# Step 5: Confirmation -echo "Repository updated successfully!" -echo "*******************************************************************************" -echo "You can now sync the repository with 'pacman -Sy' to fetch the latest packages." -echo "*******************************************************************************" diff --git a/x86_64/snigdhaos-core.db b/x86_64/snigdhaos-core.db deleted file mode 100644 index 0c82654..0000000 Binary files a/x86_64/snigdhaos-core.db and /dev/null differ diff --git a/x86_64/snigdhaos-core.db.sig b/x86_64/snigdhaos-core.db.sig deleted file mode 100644 index bfdbb97..0000000 Binary files a/x86_64/snigdhaos-core.db.sig and /dev/null differ diff --git a/x86_64/snigdhaos-core.files b/x86_64/snigdhaos-core.files deleted file mode 100644 index 96d9a0a..0000000 Binary files a/x86_64/snigdhaos-core.files and /dev/null differ diff --git a/x86_64/snigdhaos-core.files.sig b/x86_64/snigdhaos-core.files.sig deleted file mode 100644 index bfca758..0000000 Binary files a/x86_64/snigdhaos-core.files.sig and /dev/null differ diff --git a/x86_64/snigdhaos-extra.db b/x86_64/snigdhaos-extra.db deleted file mode 100644 index 7713af6..0000000 Binary files a/x86_64/snigdhaos-extra.db and /dev/null differ diff --git a/x86_64/snigdhaos-extra.db b/x86_64/snigdhaos-extra.db new file mode 120000 index 0000000..50db962 --- /dev/null +++ b/x86_64/snigdhaos-extra.db @@ -0,0 +1 @@ +snigdhaos-extra.db.tar.gz \ No newline at end of file diff --git a/x86_64/snigdhaos-extra.db.sig b/x86_64/snigdhaos-extra.db.sig deleted file mode 100644 index c042313..0000000 Binary files a/x86_64/snigdhaos-extra.db.sig and /dev/null differ diff --git a/x86_64/snigdhaos-extra.db.tar.gz b/x86_64/snigdhaos-extra.db.tar.gz new file mode 100644 index 0000000..a3ff1b2 Binary files /dev/null and b/x86_64/snigdhaos-extra.db.tar.gz differ diff --git a/x86_64/snigdhaos-extra.files b/x86_64/snigdhaos-extra.files deleted file mode 100644 index 56346f8..0000000 Binary files a/x86_64/snigdhaos-extra.files and /dev/null differ diff --git a/x86_64/snigdhaos-extra.files b/x86_64/snigdhaos-extra.files new file mode 120000 index 0000000..6ce8e4c --- /dev/null +++ b/x86_64/snigdhaos-extra.files @@ -0,0 +1 @@ +snigdhaos-extra.files.tar.gz \ No newline at end of file diff --git a/x86_64/snigdhaos-extra.files.sig b/x86_64/snigdhaos-extra.files.sig deleted file mode 100644 index dda15bb..0000000 Binary files a/x86_64/snigdhaos-extra.files.sig and /dev/null differ diff --git a/x86_64/snigdhaos-extra.files.tar.gz b/x86_64/snigdhaos-extra.files.tar.gz new file mode 100644 index 0000000..c1af785 Binary files /dev/null and b/x86_64/snigdhaos-extra.files.tar.gz differ diff --git a/x86_64/uPD72020x-Firmware-1.0.0.tar.gz b/x86_64/uPD72020x-Firmware-1.0.0.tar.gz deleted file mode 100644 index 6751c63..0000000 Binary files a/x86_64/uPD72020x-Firmware-1.0.0.tar.gz and /dev/null differ diff --git a/x86_64/upd72020x-fw-1.0.0-1-any.pkg.tar.zst b/x86_64/upd72020x-fw-1.0.0-1-any.pkg.tar.zst new file mode 100644 index 0000000..1f0303d Binary files /dev/null and b/x86_64/upd72020x-fw-1.0.0-1-any.pkg.tar.zst differ diff --git a/x86_64/upd72020x-fw-1.0.0-1-any.pkg.tar.zst.sig b/x86_64/upd72020x-fw-1.0.0-1-any.pkg.tar.zst.sig new file mode 100644 index 0000000..e66d81d Binary files /dev/null and b/x86_64/upd72020x-fw-1.0.0-1-any.pkg.tar.zst.sig differ diff --git a/x86_64/upd72020x-fw-1:1.0.0-2-any.pkg.tar.zst b/x86_64/upd72020x-fw-1:1.0.0-2-any.pkg.tar.zst deleted file mode 100644 index d12fa8b..0000000 Binary files a/x86_64/upd72020x-fw-1:1.0.0-2-any.pkg.tar.zst and /dev/null differ diff --git a/x86_64/wd719x-firmware-1-7-any.pkg.tar.zst b/x86_64/wd719x-firmware-1-7-any.pkg.tar.zst deleted file mode 100644 index 530698b..0000000 Binary files a/x86_64/wd719x-firmware-1-7-any.pkg.tar.zst and /dev/null differ diff --git a/x86_64/wd719x-firmware-1-7-any.pkg.tar.zst.sig b/x86_64/wd719x-firmware-1-7-any.pkg.tar.zst.sig deleted file mode 100644 index 934e67d..0000000 Binary files a/x86_64/wd719x-firmware-1-7-any.pkg.tar.zst.sig and /dev/null differ diff --git a/x86_64/wd719x-firmware-1.0.0-1-any.pkg.tar.zst b/x86_64/wd719x-firmware-1.0.0-1-any.pkg.tar.zst new file mode 100644 index 0000000..a898cb1 Binary files /dev/null and b/x86_64/wd719x-firmware-1.0.0-1-any.pkg.tar.zst differ diff --git a/x86_64/wd719x-firmware-1.0.0-1-any.pkg.tar.zst.sig b/x86_64/wd719x-firmware-1.0.0-1-any.pkg.tar.zst.sig new file mode 100644 index 0000000..a0da4b4 Binary files /dev/null and b/x86_64/wd719x-firmware-1.0.0-1-any.pkg.tar.zst.sig differ