summaryrefslogtreecommitdiff
path: root/nonprism/your-privacy
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-08-20 01:03:50 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-08-20 01:03:50 -0300
commitf6fdbc4ba29f50f77c6ec1cbce249569551c6cfc (patch)
tree64bf1197fd3f13baa8fb1ea30671540cf21c27f7 /nonprism/your-privacy
parent54dc76aa52ec1f0feb46e36604fa7a15fa8062d6 (diff)
move coherence to nonprism repo
Diffstat (limited to 'nonprism/your-privacy')
-rw-r--r--nonprism/your-privacy/PKGBUILD24
-rw-r--r--nonprism/your-privacy/your-coherence.install30
2 files changed, 54 insertions, 0 deletions
diff --git a/nonprism/your-privacy/PKGBUILD b/nonprism/your-privacy/PKGBUILD
new file mode 100644
index 000000000..c5bfbe5d7
--- /dev/null
+++ b/nonprism/your-privacy/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/nonprism/your-privacy/your-coherence.install b/nonprism/your-privacy/your-coherence.install
new file mode 100644
index 000000000..d5ece49d4
--- /dev/null
+++ b/nonprism/your-privacy/your-coherence.install
@@ -0,0 +1,30 @@
+
+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 :)
+
+ 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: