diff options
-rw-r--r-- | libre-testing/your-system-sanity/PKGBUILD | 27 | ||||
-rw-r--r-- | libre-testing/your-system-sanity/your-system-sanity.hook | 24 | ||||
-rw-r--r-- | libre/your-freedom/PKGBUILD | 8 | ||||
-rw-r--r-- | libre/your-freedom/your-freedom.install | 51 | ||||
-rw-r--r-- | libre/your-freedom_emu/PKGBUILD | 43 | ||||
-rw-r--r-- | libre/your-freedom_emu/your-freedom_emu.install | 40 | ||||
-rw-r--r-- | nonprism/your-privacy/PKGBUILD | 30 | ||||
-rw-r--r-- | nonprism/your-privacy/your-privacy.install | 43 | ||||
-rw-r--r-- | nonsystemd/your-initfreedom/PKGBUILD | 37 | ||||
-rw-r--r-- | nonsystemd/your-initfreedom/your-initfreedom.install | 40 |
10 files changed, 178 insertions, 165 deletions
diff --git a/libre-testing/your-system-sanity/PKGBUILD b/libre-testing/your-system-sanity/PKGBUILD index 800f21131..0020c5ce2 100644 --- a/libre-testing/your-system-sanity/PKGBUILD +++ b/libre-testing/your-system-sanity/PKGBUILD @@ -1,26 +1,23 @@ -# Copyright (C) 2019 Freemor <freemor@freemor.ca> -# This program is free software: you can redistribute it and/or modify -# it under the terms of the CC0 1.0 License. -# Maintainers: Parabola hackers <dev@lists.parabola.nu> +# SPDX-License-Identifier: CC0-1.0 +# Maintainer: Parabola Hackers <dev@lists.parabola.nu> + pkgname=your-system-sanity -pkgdesc="This package Warns about and fails to install/upgrade any offending Third Party Package Manager." -license=('GPL3') -url="https://git.parabola.nu/abslibre.git" pkgver=0.2 pkgrel=2 - -arch=('any') -depends=('pacman') -groups=('base' 'base-openrc') +pkgdesc="This package Warns about and fails to install/upgrade any offending Third Party Package Manager." +arch=(any) +url=https://labs.parabola.nu/issues/1035 # TODO: add wiki article for 'url' +license=(GPL3) source=('TPPM.hook' 'TPPMwarn') + sha512sums=('452022078de19bc9353ee3f0a2bfca2142c56b99d21276ae4de00568dbf77e3701bd4edd6e70f7454b35602712d601ce08542afcce7a86370399318d09aa74ba' 'cc30673b8bdf63c8de6cb0cdd4397f93f3c855a051ce194cb3d2459f83728d8749b661dfab33ae961b64ba6ec4809946421806c596e459101f1da28d2fec6876') -package() { - cd "$srcdir" - install -Dm755 TPPMwarn "$pkgdir"/usr/bin/TPPMwarn - install -Dm644 TPPM.hook "$pkgdir"/etc/pacman.d/hooks/TPPM.hook +package() +{ + install -Dm755 TPPMwarn "${pkgdir}"/usr/bin/TPPMwarn + install -Dm644 TPPM.hook "${pkgdir}"/etc/pacman.d/hooks/TPPM.hook } diff --git a/libre-testing/your-system-sanity/your-system-sanity.hook b/libre-testing/your-system-sanity/your-system-sanity.hook new file mode 100644 index 000000000..9a7763850 --- /dev/null +++ b/libre-testing/your-system-sanity/your-system-sanity.hook @@ -0,0 +1,24 @@ +notice() +{ + cat <<EOF + The 'your-system-sanity' package detects other packages on your system, + which are known to facilitate installing other non-free packages, + or to otherwise disregard the authority of the system package manager, + and protects you from (accidentally) installing those in the future. + + Also, as any other such packages are identified in the future, + an updated 'your-system-sanity' package will prompt you for their removal. + + Your feedback/participation is important. It is _your_ system, after all. + If you notice any problems caused by this package, or notice some package + which does or does not deserve to be guarded, please do start a discussion. + + * Bugs: https://labs.parabola.nu + * Forum: https://forum.parabola.nu + * Email: mailto:assist@lists.parabola.nu + * Chat: ircs://irc.libera.chat/#parabola +EOF +} + +pre_install() { notice ; } +pre_upgrade() { notice ; } diff --git a/libre/your-freedom/PKGBUILD b/libre/your-freedom/PKGBUILD index dbec24487..fdbc0aa13 100644 --- a/libre/your-freedom/PKGBUILD +++ b/libre/your-freedom/PKGBUILD @@ -16,13 +16,13 @@ pkgver=20220508 _gitver=c3a0d49f9f95503ed41feed32efbfd8b38401852 pkgrel=1 pkgdesc="This meta-package conflicts with every known non-free Arch package, to ensure that your system is libre" -license=(GPL3) -url=https://wiki.parabola.nu/Blacklist arch=(any) +url=https://wiki.parabola.nu/Blacklist +license=(GPL3) makedepends=(librelib) install=${pkgname}.install -source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_gitver}) +source=(${pkgname}-blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/blacklist.txt?id=${_gitver}) sha256sums=('53e27f1b6ef1042e2377a710b5faf8edfa4a63efeee082702dac15aa1cb1e550') @@ -34,5 +34,5 @@ package() conflicts=( $( libreblacklist normalize < blacklist-${_gitver}.txt | \ cut -d: -f1,2 | sed -n 's/:$//p' | sort -u ) ) - install -Dm644 blacklist-${_gitver}.txt "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt + install -Dm644 ${pkgname}-blacklist-${_gitver}.txt "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt } diff --git a/libre/your-freedom/your-freedom.install b/libre/your-freedom/your-freedom.install index 45a76f3f1..34e65626b 100644 --- a/libre/your-freedom/your-freedom.install +++ b/libre/your-freedom/your-freedom.install @@ -1,32 +1,23 @@ - -pre_install() { - cat <<EOM - == IMPORTANT NOTICE == - - This package will help you identify nonfree packages that are installed - on your system at the time of its installation, as well as protecting - you from (accidentally) installing them. - - Also, if any other nonfree package is identified, later updates will ask - you for its removal. - - Have in mind that, if you want to retain certain nonfree packages - installed on your system, you'll have to remove your-freedom :) - - If you find out any of the following: - * Cascade package removal due to nonfree dependencies, - * Your-freedom conflicting with a libre package, - * Etc. - - Please report back to the Parabola Project on the usual channels: - * https://labs.parabola.nu - * mailto:assist@lists.parabola.nu - * irc://irc.libera.chat/#parabola -EOM -} - -pre_upgrade() { - pre_install +notice() +{ + cat <<EOF + The 'your-freedom' package detects other packages on your system, + which are known to be non-free or depend on other non-free packages, + and protects you from (accidentally) installing those in the future. + + Also, as any other such packages are identified in the future, + an updated 'your-freedom' package will prompt you for their removal. + + Your feedback/participation is important. It is _your_ freedom, after all. + If you notice any problems caused by this package, or notice some package + which does or does not deserve to be guarded, please do start a discussion. + + * Bugs: https://labs.parabola.nu + * Forum: https://forum.parabola.nu + * Email: mailto:assist@lists.parabola.nu + * Chat: ircs://irc.libera.chat/#parabola +EOF } -# vim:set ts=2 sw=2 et: +pre_install() { notice ; } +pre_upgrade() { notice ; } diff --git a/libre/your-freedom_emu/PKGBUILD b/libre/your-freedom_emu/PKGBUILD index cc84004ff..57592046b 100644 --- a/libre/your-freedom_emu/PKGBUILD +++ b/libre/your-freedom_emu/PKGBUILD @@ -1,30 +1,37 @@ -# Maintainer: Parabola Project <dev@lists.parabola.nu> +# SPDX-License-Identifier: CC0-1.0 +# Maintainer: Parabola Hackers <dev@lists.parabola.nu> + + +# NOTE: This PKGBUILD does not need to be edited manually. +# The package is normally built automatically by autobuilder. +# To generate a new package, simply push changes to blacklist.git. +# The autobuilder will modify this PKGBUILD, +# replacing $pkgver, $_gitver, and the checksum (updpkgsums), +# build and publish the package, +# and commit the modified PKGBUILD to abslibre. + pkgname=your-freedom_emu -pkgdesc="This package removes free software emulators for which no free software games, OS or applications exist (yet)." -license=('GPL3') -url="https://git.parabola.nu/blacklist.git" pkgver=20210421 -_gitver=095aa1e09cfc51d31b3bb04cb83b29a418346b72 pkgrel=1 +_gitver=095aa1e09cfc51d31b3bb04cb83b29a418346b72 +pkgdesc="This package removes free software emulators for which no free software games, OS or applications exist (yet)." +arch=(any) +url=https://wiki.parabola.nu/Blacklist +license=(GPL3) -arch=('any') +makedepends=(librelib) install=${pkgname}.install +source=(${pkgname}-blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) -makedepends=(librelib) -source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) sha512sums=('736b2e8bc9f766b72787851a7f2bc9914ef1e1234040e954098568b62c561b09de753206e24439df796f7f9117b1e5fe748d5a4c7f691818c61d415be75c3488') -package() { - cd "$srcdir" - conflicts=($( \ - < blacklist-${_gitver}.txt \ - libreblacklist normalize | \ - cut -d: -f1,2 | \ - sed -n 's/:$//p' | \ - sort -u \ - )) +package() +{ + # collect blacklisted package names as pacman conflicts + conflicts=( $( libreblacklist normalize < blacklist-${_gitver}.txt | \ + cut -d: -f1,2 | sed -n 's/:$//p' | sort -u ) ) - install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt + install -Dm644 ${pkgname}-blacklist-${_gitver}.txt "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt } diff --git a/libre/your-freedom_emu/your-freedom_emu.install b/libre/your-freedom_emu/your-freedom_emu.install index 8ddcba62a..2743d14f1 100644 --- a/libre/your-freedom_emu/your-freedom_emu.install +++ b/libre/your-freedom_emu/your-freedom_emu.install @@ -1,27 +1,23 @@ +notice() +{ + cat <<EOF + The 'your-freedom_emu' package detects other packages on your system, + which implement emulators of computers with no known libre software, + and protects you from (accidentally) installing those in the future. -pre_install() { - cat <<EOM - == IMPORTANT NOTICE == + Also, as any other such packages are identified in the future, + an updated 'your-freedom_emu' package will prompt you for their removal. - This package will help you identify emulator packages that are installed - on your system at the time of its installation, as well as protecting - you from (accidentally) installing them. + Your feedback/participation is important. It is _your_ freedom, after all. + If you notice any problems caused by this package, or notice some package + which does or does not deserve to be guarded, please do start a discussion. - Also, if any other emulator package is identified, later updates will ask - you for its removal. - - Have in mind that, if you want to retain certain emulator packages - installed on your system, you'll have to remove your-freedom_emu :) - - Please report back to the Parabola Project on the usual channels: - * https://labs.parabola.nu - * irc://freenode.net/#parabola - * mailto:dev@lists.parabola.nu -EOM -} - -pre_upgrade() { - pre_install + * Bugs: https://labs.parabola.nu + * Forum: https://forum.parabola.nu + * Email: mailto:assist@lists.parabola.nu + * Chat: ircs://irc.libera.chat/#parabola +EOF } -# vim:set ts=2 sw=2 et: +pre_install() { notice ; } +pre_upgrade() { notice ; } diff --git a/nonprism/your-privacy/PKGBUILD b/nonprism/your-privacy/PKGBUILD index 1a00cf537..8d6213f64 100644 --- a/nonprism/your-privacy/PKGBUILD +++ b/nonprism/your-privacy/PKGBUILD @@ -1,31 +1,39 @@ # SPDX-License-Identifier: CC0-1.0 -# Maintainer: Parabola Project <dev@lists.parabola.nu> +# Maintainer: Parabola Hackers <dev@lists.parabola.nu> + + +# NOTE: This PKGBUILD does not need to be edited manually. +# The package is normally built automatically by autobuilder. +# To generate a new package, simply push changes to blacklist.git. +# The autobuilder will modify this PKGBUILD, +# replacing $pkgver, $_gitver, and the checksum (updpkgsums), +# build and publish the package, +# and commit the modified PKGBUILD to abslibre. pkgname=your-privacy -pkgdesc="This package will remove support for protocols and services known to endanger privacy." -license=('GPL3') -url="https://git.parabola.nu/blacklist.git" pkgver=20211130 -_gitver=ab32447a5a47a2a5ec5a3fa6043dc6b9024e3674 pkgrel=1 +_gitver=ab32447a5a47a2a5ec5a3fa6043dc6b9024e3674 +pkgdesc="This package will remove support for protocols and services known to endanger privacy." +arch=(any) +url=https://wiki.parabola.nu/Blacklist +license=(GPL3) -arch=('any') +makedepends=(librelib) install=${pkgname}.install +source=(${pkgname}-blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) -makedepends=(librelib) -source=(blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) sha512sums=('9ab837a9ca351bb844ecdfc147d69ec1f0d1971fbe12ceeed3b837fc59c54b10d2476901e60f677b0f53166a805b493b0a8bcd638e9e6638012dd454c7930cf8') package() { - cd "${srcdir}" - + # collect blacklisted package names as pacman conflicts conflicts=( $( libreblacklist normalize < blacklist-${_gitver}.txt | \ cut -d: -f1,2 | \ sed -n 's/:$//p' | \ sort -u ) ) - install -Dm644 blacklist-${_gitver}.txt "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt + install -Dm644 ${pkgname}-blacklist-${_gitver}.txt "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt } diff --git a/nonprism/your-privacy/your-privacy.install b/nonprism/your-privacy/your-privacy.install index bbb2a3dd1..e2b0f02a7 100644 --- a/nonprism/your-privacy/your-privacy.install +++ b/nonprism/your-privacy/your-privacy.install @@ -1,30 +1,23 @@ +notice() +{ + cat <<EOF + The 'your-privacy' package detects other packages on your system, + which are known to support privacy-unsafe protocols/services, + and protects you from (accidentally) installing those in the future. -pre_install() { - cat <<EOM - == IMPORTANT NOTICE == + Also, as any other such packages are identified in the future, + an updated 'your-privacy' package will prompt you for their removal. - This package will help you identify if packages that support - unsafe/dangerous for privacy protocols/services are installed on your - system at the time of its installation, as well as protecting you from - (accidentally) installing them. + Your feedback/participation is important. It is _your_ privacy, after all. + If you notice any problems caused by this package, or notice some package + which does or does not deserve to be guarded, please do start a discussion. - Also, if any other package that support unsafe/dangerous for privacy - protocols/services is identified, later updates will ask you for its - removal. - - Have in mind that, if you want to retain certain packages that support - unsafe/dangerous for privacy protocols/services installed on your system, - you'll have to remove your-privacy :) - - Please report back to the Parabola Project on the usual channels: - * https://labs.parabola.nu - * irc://irc.libera.chat/#parabola - * mailto:dev@lists.parabola.nu -EOM -} - -pre_upgrade() { - pre_install + * Bugs: https://labs.parabola.nu + * Forum: https://forum.parabola.nu + * Email: mailto:assist@lists.parabola.nu + * Chat: ircs://irc.libera.chat/#parabola +EOF } -# vim:set ts=2 sw=2 et: +pre_install() { notice ; } +pre_upgrade() { notice ; } diff --git a/nonsystemd/your-initfreedom/PKGBUILD b/nonsystemd/your-initfreedom/PKGBUILD index 2c8c77714..268d0e718 100644 --- a/nonsystemd/your-initfreedom/PKGBUILD +++ b/nonsystemd/your-initfreedom/PKGBUILD @@ -1,30 +1,31 @@ +# SPDX-License-Identifier: CC0-1.0 # Maintainer: Parabola Project <dev@lists.parabola.nu> -pkgname=your-initfreedom -pkgdesc="This package conflicts with every package known to work only for/with systemd." -license=('GPL3') -url="https://git.parabola.nu/blacklist.git" + +pkgname=your-init-freedom pkgver=20220719 -_gitver=daf9eebc77cc719c818165e256efd5e0d5dee7aa pkgrel=1 +_gitver=daf9eebc77cc719c818165e256efd5e0d5dee7aa +pkgdesc="This package conflicts with every package known to work only for/with systemd." +arch=(any) +url=https://wiki.parabola.nu/Blacklist +license=(GPL3) -arch=('any') -install="${pkgname}.install" +provides=(your-initfreedom) +replaces=(your-initfreedom) makedepends=(librelib) -source=("blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}") +install=${pkgname}.install +source=(${pkgname}-blacklist-${_gitver}.txt::https://git.parabola.nu/blacklist.git/plain/${pkgname}-blacklist.txt?id=${_gitver}) + sha512sums=('0060ebc516b1aee1149186e53a1c665d6790da2db7e43ade136731c8b5bd7ab24c4ce9431af8c5a06f3ad569ab73bcd2e5ff0179ac3c8f332ae78fdc266addeb') -package() { - cd "$srcdir" - conflicts=($( \ - < blacklist-${_gitver}.txt \ - libreblacklist normalize | \ - cut -d: -f1,2 | \ - sed -n 's/:$//p' | \ - sort -u \ - )) +package() +{ + # collect blacklisted package names as pacman conflicts + conflicts=( $( libreblacklist normalize < blacklist-${_gitver}.txt | \ + cut -d: -f1,2 | sed -n 's/:$//p' | sort -u ) ) - install -Dm644 blacklist-${_gitver}.txt "$pkgdir"/usr/share/doc/${pkgname}/blacklist.txt + install -Dm644 ${pkgname}-blacklist-${_gitver}.txt "${pkgdir}"/usr/share/doc/${pkgname}/blacklist.txt } diff --git a/nonsystemd/your-initfreedom/your-initfreedom.install b/nonsystemd/your-initfreedom/your-initfreedom.install index a59ac20e8..c090efca1 100644 --- a/nonsystemd/your-initfreedom/your-initfreedom.install +++ b/nonsystemd/your-initfreedom/your-initfreedom.install @@ -1,27 +1,23 @@ +notice() +{ + cat <<EOF + The 'your-init-freedom' package detects other packages on your system, + which are known to have a hard dependency on systemd, + and protects you from (accidentally) installing those in the future. -pre_install() { - cat <<EOM - == IMPORTANT NOTICE == + Also, as any other such packages are identified in the future, + an updated 'your-init-freedom' package will prompt you for their removal. - This package will help you identify if packages that support or have a hard - dependency on systemd are installed on your system at the time of its - installation, as well as protecting you from (accidentally) installing them. + Your feedback/participation is important. It is _your_ freedom, after all. + If you notice any problems caused by this package, or notice some package + which does or does not deserve to be guarded, please do start a discussion. - Also, if any other package that supports or needs systemd is identified, - later updates will ask you for its removal. - - Have in mind that, if you want to retain certain packages that support - systemd installed on your system, you'll have to remove your-initfreedom :) - - Please report back to the Parabola Project on the usual channels: - * https://labs.parabola.nu - * irc://irc.libera.chat/#parabola - * mailto:dev@lists.parabola.nu -EOM -} - -pre_upgrade() { - pre_install + * Bugs: https://labs.parabola.nu + * Forum: https://forum.parabola.nu + * Email: mailto:assist@lists.parabola.nu + * Chat: ircs://irc.libera.chat/#parabola +EOF } -# vim:set ts=2 sw=2 et: +pre_install() { notice ; } +pre_upgrade() { notice ; } |