diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2023-12-14 16:40:40 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2023-12-14 17:13:11 -0500 |
commit | 073aa8a765d33f94409f138c07409cecce16680d (patch) | |
tree | 2bec8658a0101ae6cea2b8ee4deaffaa72aed632 | |
parent | e60e120da35d33e51b94f8309aaf3bbc075c683d (diff) |
-rwxr-xr-x | blacklist-diffs | 18 | ||||
-rwxr-xr-x | duplicate-or-unpublished-pkgs | 24 | ||||
-rwxr-xr-x | lddtree-parabola-packages | 21 | ||||
-rwxr-xr-x | meld-pkgbuilds | 30 | ||||
-rwxr-xr-x | meld-src-pkgbuilds | 20 | ||||
-rwxr-xr-x | packages-by | 23 | ||||
-rwxr-xr-x | parabola-dependents | 20 | ||||
-rwxr-xr-x | parabola-keys | 18 | ||||
-rwxr-xr-x | parabolaweb-hackers-discrepancies | 21 | ||||
-rwxr-xr-x | pbot-sshay | 20 |
10 files changed, 195 insertions, 20 deletions
diff --git a/blacklist-diffs b/blacklist-diffs index 1027f86..de46db4 100755 --- a/blacklist-diffs +++ b/blacklist-diffs @@ -3,6 +3,24 @@ # blacklist-diffs - locates the upstream repo in which each blacklist entry exists; # and identifies blacklist entries which do not exist upstream # +# Copyright (C) 2023 bill-auger <bill-auger@programmer.net> +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# +# # TODO: determine which non-existing packages should exist on a per-arch basis, # perhaps with a cross-arch compare filter, or per-arch supplemental blacklists # (eg: blacklist.txt (all arches) , blacklist-armv7h.txt (armv7h only) , ...) diff --git a/duplicate-or-unpublished-pkgs b/duplicate-or-unpublished-pkgs index 9f0d35a..e074f54 100755 --- a/duplicate-or-unpublished-pkgs +++ b/duplicate-or-unpublished-pkgs @@ -1,5 +1,29 @@ #!/usr/bin/env ruby +# duplicate-or-unpublished-pkgs - detect packages in multiple repos which may be +# duplicates, and discrepancies between the repos and your local abslibre tree +# +# Copyright (C) 2020 bill-auger <bill-auger@programmer.net> +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# +# +# NOTE: you should configure 'ABS_PATH' and install 'pacman-all.conf' to /etc + + DEBUG = false VERBOSE = false ABS_PATH = '/packages/abslibre' diff --git a/lddtree-parabola-packages b/lddtree-parabola-packages index 28ee75b..6682557 100755 --- a/lddtree-parabola-packages +++ b/lddtree-parabola-packages @@ -1,5 +1,26 @@ #!/bin/bash +# lddtree-parabola-packages - identify packages providing libraries which are in +# the linkage chain of a specified binary +# +# Copyright (C) 2022 bill-auger <bill-auger@programmer.net> +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + + readonly REPOS_RX='^(libre|nonprism|nonsystem|pcr)' diff --git a/meld-pkgbuilds b/meld-pkgbuilds index 7cb8e2c..1151efb 100755 --- a/meld-pkgbuilds +++ b/meld-pkgbuilds @@ -1,5 +1,35 @@ #!/bin/bash +# meld-pkgbuilds - search, download, cache and compare PKGBUILDs +# across Parabola abslibre and various upstreams +# +# Copyright (C) 2023 bill-auger <bill-auger@programmer.net> +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# +# +# NOTE: you should create a /packages directory and install 'pacman-all.conf' to /etc +# +# NOTE: FSDG warning: this program is capable of locating and downloading build recipes +# which are not be FSDG-fit. It is mainly useful for merging upstream changes into +# PKGBUILDs which Parabola replaces; but should be used cautiously. The usual reason +# why Parabola replaces those packages is because the upstream source or recipes are +# not FSDG-fit; so you must apply your own judgement when using this tool. + + readonly DEBUG=0 readonly ARCH_DIR=/packages/arch diff --git a/meld-src-pkgbuilds b/meld-src-pkgbuilds index 6814aba..6d420e9 100755 --- a/meld-src-pkgbuilds +++ b/meld-src-pkgbuilds @@ -1,5 +1,25 @@ #!/bin/bash +# meld-src-pkgbuilds - compare source packages +# +# Copyright (C) 2020 bill-auger <bill-auger@programmer.net> +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + + # echo "$(grep 'WORKDIR=' /etc/libretools.conf | sed 's|^WORKDIR="\([^"]*\)"|\1|') IN" # echo "$(grep 'WORKDIR=' /etc/libretools.conf | sed 's|^WORKDIR=||' | tr '"' ' ') IN" diff --git a/packages-by b/packages-by index fe76640..e20456d 100755 --- a/packages-by +++ b/packages-by @@ -1,5 +1,28 @@ #!/bin/bash +# packages-by - list all packages in the repos, published by a specifed hacker +# +# Copyright (C) 2020 bill-auger <bill-auger@programmer.net> +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# +# +# NOTE: you should install 'pacman-all.conf' to /etc + + readonly DEBUG=0 readonly PACMAN_CONF_FILE=/etc/pacman-all.conf readonly USAGE="USAGE:\n\tpackages-by [-d] [-n] <TERM>\n\nDESCRIPTION:\n\t<TERM> will be matched against expac output lines of the form:\n\t\tPKGNAME ARCH/REPO YYYY-MM-DD-HH:MM PACKAGER_NAME <PACKAGER_EMAIL> BASE64_SIG\n\nOPTIONS:\n\t-d -> sort by date\n\t-n -> show usage help" diff --git a/parabola-dependents b/parabola-dependents index 996a1f4..5acf432 100755 --- a/parabola-dependents +++ b/parabola-dependents @@ -1,5 +1,25 @@ #!/bin/bash +# parabola-dependents - list all packages which are dependents of a specified package +# +# Copyright (C) 2022-2023 bill-auger <bill-auger@programmer.net> +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + + readonly ABSLIBRE_DIR=/packages/abslibre readonly ABS_PACKAGES_DIR=/packages/arch/packages readonly ABS_COMMUNITY_DIR=/packages/arch/community diff --git a/parabola-keys b/parabola-keys index 5745d11..f4acf21 100755 --- a/parabola-keys +++ b/parabola-keys @@ -1,23 +1,23 @@ #!/bin/bash - # parabola-keys - detect problems and inconsistencies # -# This file is part of Parabola Libretools. -# Copyright 2020-2021 bill-auger <bill-auger@programmer.net> +# Copyright 2019-2021 bill-auger <bill-auger@programmer.net> +# +# SPDX-License-Identifier: AGPL-3.0-or-later # -# Libretools is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# Libretools is distributed in the hope that it will be useful, +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# GNU Affero General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with Libretools. If not, see <https://www.gnu.org/licenses/>. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. # # # DESCRIPTION: diff --git a/parabolaweb-hackers-discrepancies b/parabolaweb-hackers-discrepancies index 9ae2347..6918291 100755 --- a/parabolaweb-hackers-discrepancies +++ b/parabolaweb-hackers-discrepancies @@ -1,5 +1,26 @@ #!/bin/bash +# parabolaweb-hackers-discrepancies - detect discrepancies between +# the Parabola Hackers web page and hackers.git +# +# Copyright (C) 2019 bill-auger <bill-auger@programmer.net> +# +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + + readonly HACKERS_GIT_URL=https://git.parabola.nu/hackers.git readonly HACKERS_GIT_DIR=/tmp/$(basename $0) readonly HACKERS_URL=https://www.parabola.nu/people/hackers/ @@ -5,26 +5,24 @@ # # Copyright (C) 2022 bill-auger <bill-auger@programmer.net> # -# License: GNU GPLv3+ +# SPDX-License-Identifier: AGPL-3.0-or-later # -# This file is part of Parabola Libretools. -# -# Parabola is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# Parabola is distributed in the hope that it will be useful, +# This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with Parabola. If not, see <http://www.gnu.org/licenses/>. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. # # +# NOTE: # This script assumes that $REPOUSER has local SSH credentials for the pbot server -# readonly PBOTSAY_FMT="which pbot-say && pbot-say %s" |