summaryrefslogtreecommitdiff
path: root/coherence/your-coherence
diff options
context:
space:
mode:
Diffstat (limited to 'coherence/your-coherence')
-rw-r--r--coherence/your-coherence/PKGBUILD24
-rw-r--r--coherence/your-coherence/your-coherence.install33
2 files changed, 57 insertions, 0 deletions
diff --git a/coherence/your-coherence/PKGBUILD b/coherence/your-coherence/PKGBUILD
new file mode 100644
index 000000000..c5bfbe5d7
--- /dev/null
+++ b/coherence/your-coherence/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Parabola Project <dev@list.parabolagnulinux.org>
+pkgname=your-coherence
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+pkgrel=1
+pkgdesc="This package will remove support for unsafe/dangerous for privacy protocols/services."
+arch=('any')
+url="https://parabolagnulinux.org"
+license=('GPL3')
+install=${pkgname}.install
+source=(${pkgname}-blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt)
+
+package() {
+ conflicts=($(cut -d: -f1,2 ${pkgname}-blacklist-${pkgver}.txt | \
+ sed "s/:$//" | \
+ grep -v ":" | \
+ grep -v '^#' | \
+ sort -u
+ ))
+ cd ${srcdir}
+ install -d ${pkgdir}/usr/share/doc/${pkgname}
+ install -m644 ${pkgname}-blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/
+}
+
+md5sums=('5fd14982619414fea1882b351607291e')
diff --git a/coherence/your-coherence/your-coherence.install b/coherence/your-coherence/your-coherence.install
new file mode 100644
index 000000000..f8ebcf34d
--- /dev/null
+++ b/coherence/your-coherence/your-coherence.install
@@ -0,0 +1,33 @@
+
+pre_install() {
+ cat <<EOM
+ == IMPORTANT NOTICE ==
+
+ 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.
+
+ 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-coherence :)
+
+ Remember edit your pacman.conf to add 'pcr' repo to get the *-coherence
+ packages.
+
+ Please report any issue to the Coherence Team on the usual channels:
+ * https://labs.parabola.nu
+ * irc://freenode.net/#your-coherence
+ * mailto:dev@lists.parabolagnulinux.org
+EOM
+}
+
+pre_upgrade() {
+ pre_install
+}
+
+# vim:set ts=2 sw=2 et: